Laravel 13.33, weekly updates and tip
Laravel 13.33
This week brings us to Laravel 13.33. Here are the highlights:
- Add
order()toDevCommandsin #61575 - Allow relative URLs for Mercure hub in #61629
- Add
EncodedParametertoRouteUrlGeneratorin #61610 - Add
valkey://andvalkeys://protocol support in #61635 - Add
--pretendoption toinstall:broadcastingcommand in #61633
You may review the full branch diff on GitHub for a complete list of changes.
Weekly Journal
Last week Emma was sick a few days. So that ate into a bit of my screen time. With the time I had, I kept the tasks pretty lightweight focusing on adoption for Double.
Since I'm already using it in all my own projects, I need other projects. I scoured Packagist to find some top candidates. The challenge is most of those are testing packages, which have mockery/mockery as a require dependency. Meaning any change would require a major release. Probably to early to try those.
Instead, I tried other popular packages that had a require-dev dependency. Fortunately for me, most of the candidates were Laravel packages. So I converted laravel/sanctum, laravel/jetstream, laravel/tinker, and others. The process is mostly automated by the Double Converter. Then I automate the rest with AI using the /shift:review command.
During the process, I also have it review if mocks are even needed. Arguably, Mockery made it too easy to create mock objects when they aren't really needed (YAGNI). So I have AI first check the test suite to review the use of Mockery. Sometimes, like with laravel/tinker, mocks aren't needed at all. You can just use a real (dummy) object.
This week I'll continue those conversions in a series of livestreams. Between that, I have some client work to finish up.
Weekly Tip
Got some good feedback from the AI prompt I shared a few weeks ago. So, here's another one I use anytime I'm wrapping up a long session:
Before we call this done, walk back through the sessionand check for anything we might not have considered,may be incomplete, or was quietly dropped?