Laravel 9.8, weekly updates, and 🔥 tip

Laravel 9.8

Minor release this week with a fast-follow patch brings us to Laravel 9.8.1. Here are highlights:

  • Add DB::scalar() to retrieve the first column of the first row from a query in #41858
  • Allow model to be passed into old in #41842
  • Make DatabaseManager macroable in #41868
  • Fix seeder property for in-memory tests in #41869
  • Add option to disable cached view in #41859
  • Make Connection macroable in #41865
  • Discover anonymous Blade components in other folders in #41637
  • Add set to model factory in #41890
  • Add multibyte support to string methods in #41899
  • Allow setting custom log level in exception handler in #41925

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 I finished up the remaining Human Shifts.

We left for vacation Friday, so it was a bit of a short week. I always do a bit of work on vacation. Normally while traveling or on a rainy day.

This time I'm working on improving the abandonment emails for laravelshift.com as well as reviewing the content on the Shifty Plans page.

Next week I'll return to working on the Workbench.

🔥 Tip

Every few years, I revisit some of my educational products. Many of these I made to fill gaps relating Shift.

Getting Git aimed to share my knowledge of Git from the command line after fielding support emails around Git.

Confident Laravel aimed to build awareness around testing Laravel applications after noticing less than 20% of applications contained tests.

BaseLaravel aimed to demonstrate some of the ways to use native Laravel features to streamline applications consulting on hundreds of Laravel applications.

The exception is BaseCode. I wrote BaseCode to standalone. It's a collection of 10 simple coding practices I distilled down after 20 years of programming. All aimed at writing more readable code.

It's something I want everyone to read. So I decided to make the book free. 🔥