Laravel 11.31, weekly updates, and tip

Laravel 11.31

Lot's of new features this week brings us to Laravel 11.31. Here are the highlights:

  • Allow Batch and Chain onQueue to accept Backed Enums in #53359
  • Add append and prepend middleware priority from the application builder in #53326
  • Add URL::forceHttps() to enforce HTTPS scheme for URLs in #53381
  • Dynamically build mailers on-demand with Mail::build in #53411
  • Ensure datetime cache durations account for script execution time in #53431
  • Enable cache token repository for password resets in #53428
  • Add DB::build in #53464
  • Add Cache::build in #53454

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

Note: This release also includes a critical security patch. So whether you have a Shifty Plan subscription or not, be sure to run composer update. If you're not running Laravel 6 or higher, might be time to Shift.

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

I had a few more fixes for the outstanding Human Shifts last week. These are pretty much wrapped up. So, I had a deep refactor Friday and made some minor tweaks to Shift from these and support emails. I pushed those live over the weekend.

I also refactored the Livewire component within one of the side-projects. We had built the code quickly to prove out the concept. But now that we were using the application and making tweaks, the code itself was a bit dense. So I reviewed each property and method to see if it was truly needed. I was able to reduce the code by 30%. Now I just want to review Philo's talk at Laracon US for any performance optimizations.

Unfortunately the girls were sick over the weekend, which means I am now sick. Feeling a bit better today. But wasn't able to do much the last few days. I had a bit of energy yesterday morning to work on the side-project with JT. It is very close. But we expanded our scope a bit to ensure the payment flow was part of the initial launch. I think this is important to have this from the beginning to demonstrate it is not just a free service.

Today I'm livestreaming and with the rest of the week I'll work on side-projects.

Weekly Tip

Tomorrow I am giving a talk to a web programming class at my former High School. I'm pretty exited to connect with them and demonstrate my evolution through code.

Of course I'm going to share my love for PHP and hopefully blow their minds with a Tailwind demo. But I also want to give some real-world advice if they choose to pursue programming. Things like burnout, empathy, etc.

So, if you have any tips, please let me know as I'd love to share them with our future programmers.