Laravel 8.49.2, weekly updates, and 🔥 tip

Laravel 8.49.2

A patch release last week and a patch release today brings us to 8.49.2.

Here are the highlights:

  • Reset the log context after each worker loop in #37865
  • Improve pretend run Doctrine failure message in #37879
  • Fix facade isMock to recognise LegacyMockInterface in #37882
  • Add ResponseReceived events to async requests of HTTP Client in #37917

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 Jess and I launched the alpha version of the Workbench desktop app. Finally, yay!

This was followed by a few patch releases and a minor release today including 3 new tasks for:

  • Removing the rarely (or never) used down method from migrations.
  • Adopting anonymous migrations to avoid naming collisions.
  • Adopting "unguarded" models over fillable property.

We will continue to update the Workbench and expect release a "beta" late next week.

In the meantime, we're significantly discounting the annual license. So if you expect to use any of the "premium" tasks in the future, take advantage now.

Jess and I also took some time yesterday to start recording a continuation of the BaseCode Podcast miniseries on building products. Episode 37 is now available in which Jess and I discuss some of our product decisions and how they affected what and when we released.

This week we will likely continue to focus on squashing the open issues for the new Workbench desktop app. To that point, I'm looking for some projects which I could demo running the Workbench tasks.

We have run the automation on all of our own projects, so it would be helpful to have a few real-world applications we could clean up and modernize with the Workbench.

As an incentive, any project we use would receive a free, 1 year license for the Workbench.

🔥 Tip

A task we're considering is the conversion of Laravel's optional helper. This was suggested by Freek Van der Herten during beta testing.

Now with PHP 8, you may use the null safe operator instead of the optional helper. For example, instead of:

1optional($object)->method();

You may simply write the following with native PHP:

1$object?->method();