Laravel 12.34, weekly updates, and weekly tip
Laravel 12.34
Back on track this week with another minor release, bringing us to Laravel 12.34.0. Here are the highlights:
- PostgreSQL virtual columns in #57290
- Add enum support to
Schedule::useCache()
in #57311 - Fix
schedule:list
format for multibyte characters in #57367 - Introduce
failover
queue configuration in #57341 - Allow closures when calling
throw_if
in #57349 - Add
defer()
to HTTP batch in #57387
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
Didn't get too much done last week. My daughters were out of school most of the week for fall break. So we spent a long weekend at the lake. Always nice to get outdoors. And spent time with the family, of course.
With the limited time I did have, I continued to increase the caching for laravelshift.com with Cloudflare. I'm up to 82% (past that now). All of this was achieved without changing any code (other than the cache headers). This week, I'll start actually changing code to push the page cache closer to 100%.
I also need to finalize my talk for Wire:Live. I'm pretty excited to speak at the inaugural conference. To that point, if you encountered any gotchas while testing Livewire, or even just questions about testing in Livewire, please reply. I want to cover as much as possible in my talk.
Weekly Tip
A big thing in last week's release was Http::batch()
. Allow me to give it a bit of love.
The Http
client already allowed sending concurrent requests with Http::pool()
. My understanding is, Http::batch()
does the same thing as Http::pool()
- sending concurrent requests.
But, like job batching, Http::batch()
provides all sorts of callbacks to handle request completion, failure, progress, and more.
If this sounds interesting to you, check out the Laravel docs, as well as the original PR for more details.