Laravel 11.39, weekly updates, and deals
Laravel 11.39
A few fixes and a few new features brings us to Laravel 11.39 this week. Here are the highlights:
- Improve
Rule::email
with custom translation messages in #54202 - Add backoff and max retry to PHPRedis config options in #54191
- Introduce
UseFactory
attribute in #54065 - Add a report/log option to filesystem exceptions without throwing in #54212
- Fix job not logged when timeout occurs within database transaction in #54173
- Add
migrate:rollback
toDB::prohibitDestructiveCommands
in #54238
You may review the full branch diff on GitHub for a complete list of changes.
This version bump and update is automated for subscribers to a Shifty Plan. If you don't have one of those, be sure to bump your constraint and run composer update
to get the latest features.
Weekly Journal
Last week I did my Wednesday livestream. I'm trying to focus more on Blueprint at the beginning of this year. Then switch to the Shift CLI. I have hopes of refreshing Confident Laravel after Laravel 12 is released (but I've hoped this before).
With the remainder of last week I demoed the side-project JT and I have been building. It went good and bad. Bad in that it didn't work for about half of the projects. Good in that we found these bugs now (instead of publicly) and have already patched them. So this week we'll deploy the updates and I'll re-demo it.
Today was a bit rough due to a "hard down" Bitbucket outage. All these cloud-based Git services have far more micro outages than people realize. But today's Bitbucket outage was wide-spread and long-lasting.
Tomorrow I'll do my Wednesday livestream and finish some consulting via Human Shifts.
Weekly Tip
When working in Laravel, you pretty much always want to use Backed Enums. Laravel supports both backed and unbacked enums for simple features like model casts. But other features currently only seem to work with backed enums.
So, even though you might not need a backed enum (YAGNI), might be best to go ahead and set the type and value.