Laravel 10.39, weekly updates, and 🔥 tip

Laravel 10.39

Couple patches last week and a minor today brings us to what is likely the last release of 2023 - Laravel 10.39. Here are the highlights:

  • Allow deprecation logging in tests in #49457
  • Fix missing validation rules not working with nested array in #49449
  • Dynamic maxTries for queued jobs in #49473
  • Fix @use statement compilation in #49479
  • Add "roundrobin" Symfony mailer transport driver in #49435

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 quietly launched the side-project. There is still a bit more to do with it. But all of the MVP features are available and a user can pay. So that's good enough for me. This week I'll try to finish the two additional features that would make this "complete". I also hope to do a more beta testing.

I took a break from the side-project yesterday to get my head back into the Laravel 11.x Shift. I wrote the actual code for the proof of concept I did a few weeks back. I need to backfill some tests, but I hope to have an alpha version for this Shift ready by mid-January.

🔥 Tip

I posted a thread on Twitter, but allow me to cross-post here during this holiday week. In working on the side-project, I had a lot of models which used SoftDeletes. There are a lot of built-in features for working with SoftDeletes models. Here are a few I reached for:

  • Allowing my resource controller show to bind soft deleted models (ref).
  • Using the trashed() factory state to quickly generate a soft deleted model (ref)
  • Using additional helper methods in the SoftDeletes trait instead of leaking implementation details by messing with the deleted_at column directly (ref).