The Array Cache Driver Now Supports Locking in Laravel 6.3

The Array Cache Driver Now Supports Locking in Laravel 6.3

The Laravel team released v6.3.0 this week with locking added to the array cache driver among a few new quality of life additions and fixes.

If your tests depend on cache locking, you can now use the array driver in tests, which simplifies testing setup in those scenarios. A big thanks to Tim MacDonald for contributing the array cache locking, which is a huge win for testing locks! Check out Pull Request #30253 for more details.

Next, the framework’s ResetsPasswords trait has a new setUserPassword() method that you can override on password reset.

Next, the MorphPivot relationship now fires the deleting and deleted events.

You can see the full list of new features and updates below, and the whole diff between 6.2.0 and 6.3.0 on GitHub. The full release notes for Laravel 6.0 are available in the GitHub v6 changelog:



  • Added ability to override setUserPassword on password reset (#30218)
  • Added firing deleting \ deleted events in MorphPivot (#30229)
  • Added locking mechanism for the array cache driver (#30253)
  • Added dropAllViews functionality to the SQL Server builder (#30222)


  • Optimize eager loading memory handling (#30248)


  • Fixed extra ? for empty query string in RouteUrlGenerator::getRouteQueryString() (#30280)


  • Updated list of URI schemes for Url validator (#30220)
  • Added schema name when dropping all FKs in SQL Server (#30221)
  • Used contracts in RequirePassword middleware (#30215)
  • Added ability to return array in receivesBroadcastNotificationsOn if channelName is array (#30242, 2faadcd)

Filed in: News / Releases


Join 31,000+ others and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Laravel Senior Developer
Remote, Canada Only
BeMo Academic Consulting
Senior Fullstack Developer / Architect (w/m/d)
Remote / Munich - Germany GmbH
Medior full stack developer (Laravel)
Deventer (or remote) in the Netherlands, Dutch speaking required.
Senior Full Stack PHP Developer (Laravel)
Senior Laravel Developer