Laravel 10.46, weekly updates, and 🔥 deals

Laravel 10.46

There was a patch release late last week and a minor release today bringing us to Laravel 10.46. Here are the highlights:

  • Add only and except to Enum validation rule in #50226
  • Fixes on nesting operations performed while applying scopes in #50207
  • Custom RateLimiter increase in #50197
  • Add Lateral Join to Query Builder in #50050
  • Add Conditionable in enum rule in #50257
  • Ability to return specific types from Config (ref)

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 worked on a PR to address a papercut around mass assignment. Personally, I feel mass assignment is one of the only rough edges in Laravel. I find the dance between fillable and saving models tedious. As the developer, it would be nice to be able to tell the framework, "I know what I'm doing, just save it!" without completely unguarding my entire application or calling other methods.

Although the PR was ultimately closed, it did achieve my underlying goal - to start a conversation. I may open a smaller PR that makes it possible to revisit this in a minor release. Otherwise, it'll have to wait another year for Laravel 12.

On Friday, Taylor decided to include a streamlined version of the config files in the default Laravel 11 app. However, removing the config files is still supported. I believe this is the way to go for a far majority of projects. As such the Laravel 11.x Shift will still slim them. It, of course, will do so in an atomic commit so it's easy to revert.

Yesterday, I returned to the side-project. We had been working on a rather large feature that we felt was important for launch. I'm hoping to finish that up this week, as well as send the rest of the automated PRs to the Laravel packages Shift tracks.

🔥 Tip

I'm excited to announce the public beta of the Laravel 11.x Shift. For old times' sake, this Shift is offered for $9 until Laravel 11 is officially released.

To that point, this is a preview. It's offered for those early adopters who may want to test out Laravel 11 in their projects and become familiar with its changes. Laravel 11 is still being finalized and many packages don't yet support it. So, again, it's a test run.

That's another reasons it's offered at a lower price point. You save being an early adopter and I get some more feedback on its automation. Of course anyone who runs the Laravel 11.x Shift now may request a rerun after Laravel 11 is officially released.