Laravel 12.36, weekly updates, and weekly tip

Laravel 12.36

This week we had a minor release followed by a patch release bringing us to Laravel 12.36.1. Here are the highlights:

  • Store previous route name in session in #57477
  • Pass exception to QueueFailedOver event in #57503
  • Emit underlying store name in cache events when using failover in #57505
  • Namespace file cache lock keys in #57516
  • Stop double prefixing S3 filesystem paths in #57534
  • Add enforceSameOrigin() to RedirectResponse in #57533
  • Add setAppends() and withoutAppends() to EloquentCollection in #57561
  • Allow validator message placeholders to be capitalized in #57556
  • Add concurrency control to Http::pool() and Http::batch() in #57555
  • Add allDirectories() to Filesystem in #57565
  • Ensure HTTP batch results are returned in the same order as requested in #57483

You may review the full branch diff on GitHub for a complete list of changes.

Weekly Journal

I wasn't feeling too great towards the end of the week. It was also my daughter's birthday over the weekend. We had a big bounce house for her on Saturday. Crazy to think she is already 5. Anyway, bit of a wash last week.

Once I was feeling better, I mostly focused on finishing my talk for wire:live. I headed to Buffalo on Monday and I'm heading back tonight.

Tomorrow I have a few PRs to merge for Shift that I worked on at the Hack and Hang. Then I'll probably give some focus to Blueprint as I'll be talking about that at Laracon AU in a few weeks.

Weekly Tip

I had a code tip, but something came up this week I feel is a better PSA...

I noticed artisan tinker started truncating some output. I didn't see anything obvious change in the framework. Taylor pointed me to the upstream dependency.

They did indeed have a change last week. It seems they now shorten the output when you run a command, such as an assignment statement.

According to the issue comments, they are still twiddling the knobs.

But this was a rather old issue, and given the massive downstream dependency of Laravel, it's a pretty significant change.

Anyway, if you want to preserve the old behavior, you may lock the dependency within your project:

composer require psy/psysh:0.12.12

I don't foresee any compatibility issues with doing so. Potentially with Laravel 13. But hopefully they'll revisit by then.