Laravel 8.33, weekly updates, and 🔥 tip

Laravel 8.33

Mostly fixes this week with a few new features. So we bump to 8.33.0. Here are the highlights:

  • Fix nullable columns for AsArrayObject/AsCollection casts in #36526
  • Fix stack driver with defined processors in #36591
  • Fix checking password before rehashing when logging out other devices in #36608
  • Use different config key for overriding temporary url host in #36612
  • Accept callable class for reportable and renderable exceptions in #36551
  • Add missing callback for resource routes in #36562
  • Add StringEncrypter interface for better DX in #36578

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

This minor 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 Jess and I continued working on the Tailwind Shifts. After some last-minute tweaks from dogfooding them on our own projects, we felt ready to release.

So, a beta version of the Tailwind Shifts are now available at a discounted price while we continue to improve the automation.

I already have some actionable feedback to ensure that these run for all types of project formats beyond just Laravel. I'll be working on that for the rest of the day.

Also had a few Human Shifts come in last week. One of which was from Laravel 5.6, and the other from Laravel 5.8. Both are in final review.

This week I'll probably take a bit of a break. Specifically tomorrow by watching Laracon Online and virtually mingling with the community.

I'll use the remainder of the week to make some tweaks to Shift from the Human Shifts I ran, and to the Tailwind Shifts as I'll likely have some user feedback by then.

🔥 Tip

I know I've mentioned the additional Blade directives a few times before, but they are some of my favorite refactors. I noticed it from one of the automations by the Laravel Fixer, which I run as part of all Human Shifts.

In this case, I'll note the @method directive. Instead of crafting a hidden input field (and remembering the name) to override Laravel's HTTP method type, such as:

1<input type="hidden" name="_method" value="PATCH">

You may simply write:


Take a minute to scroll through the Blade Directives for even more.