Laravel 10.28, weekly updates, and 🔥 tip

Laravel 10.28

A minor release yesterday and one today brings us to Laravel 10.28.0. Here are the highlights:

  • Add chunkByIdDesc to Query Build in #48666
  • Fix afterCommit on Postgres and MSSQL database drivers in #48662
  • Fix Model::replicate() when using unique keys in #48636
  • Fix whereRaw to use getValue in #48652
  • Add percentage to be used as High Order Messages in #48689
  • Optimize exists validation for empty array input in #48684

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 messed around with Tailwind UI. I had forgotten most of the examples use React or Next.js. Neither of which I'm using. Unfortunately, the only way to get the raw HTML is to basically view source. I'm admittedly impatient with frontend, but this took the wind out of my sails (pun).

The rest of the week I helped with the girls and saw a guy about a pig. So not much coding. Although I did get to hang out with some fellow PHP developers.

I got back into the swing of things today by patching some bugs reported in support emails. With the rest of the week I hope to add a few premium tasks to the Shift CLI, then return to more Tailwind UI on the new side-project.

🔥 Tip

While I didn't code much, I did consume a few blog posts. Notably this one from TimMac. He goes on a bit about "single use tests", but the real take away for me was the refactor from declaring middleware in the controller to declaring it in the routes file. I like that refactor and might see if it's something the Shift CLI could automate.