Laravel 12.9, weekly updates, and weekly tip

Laravel 12.9

Couple new features this week bring us to Laravel 12.9.0.

  • Return frozen time for easier testing in #55323
  • Add a callback on transaction failure in #55338
  • Add withRelationshipAutoloading to model in #55344
  • Introduce memoized cache driver in #55304
  • Introduce uri helper in 234db1c
  • Fix cc/bcc/replyTo address merging in MailMessage in #55404
  • Add make to Fluent in #55417

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 was more of the same - livestreams, tweaks to Shift, and some side-project work.

This week I'll onboard a new contractor to work on laravelshift.com. I typically do it myself. But I've put off a move to Stripe's Billing Portal for a long time. Figured if I brought someone on, it'll actually get it done.

I'll also continue livestreams with more Blueprint maintenance.

Weekly Tip

Looking at the new Cache memoization in this week's release, I immediately asked - wouldn't you always want to do this?

Seems this was asked this on Twitter. Which Taylor replied, "Probably."

Also seems Tim Mac has more in the works here. So maybe this is coming. But I'd like to see memoization be the default. Or at least configurable to enable by default. That way I don't have to chain every Cache call with memo().

Either way, this seems like a cool feature I'll be adopting immediately.