laravel

Laravel Framework 8.34.0 have just been released with new features, bugfixes and even some new inspiring quotes ! If you are using a MySQL master-master cluster you will get a communication failure if the cluster goes into split brain mode and every node is non-Primary. Usually this is resolved quickly, but using the database driver will get stuck as it doesn’t retry the connection, so this got managed in this release. More changes and bugfixes in this release are listed below.

Laravel Framework 8.34

Changes in Laravel framework 8.34

Added

  • Added WSREP communication link failure for lost connection detection (#36668)
  • Added “exclude-path” option to route:list command (#36619, 76e11ee)
  • Added IlluminateSupportStr::remove() and IlluminateSupportStringable::remove() methods (#36639, 7b0259f, 20e2470)
  • Added IlluminateDatabaseEloquentRelationsMorphPivot::getMorphType() (#36640, 7e08215)
  • Added assertion to verify type of key in JSON (#36638)
  • Added prohibited validation rule (#36667)
  • Added strict comparison to distinct validation rule (#36669)
  • Added IlluminateTranslationFileLoader::getJsonPaths() (#36689)
  • Added IlluminateSupportTestingFakesEventFake::assertAttached() (#36690)
  • Added lazy() and lazyById() methods to IlluminateDatabaseConcernsBuildsQueries (#36699)

Fixed

  • Fixes the issue using cache:clear with PhpRedis and a clustered Redis instance. (#36665)
  • Fix replacing required :input with null on PHP 8.1 in IlluminateValidationConcernsFormatsMessages::getDisplayableValue() (#36622)
  • Fixed artisan schema:dump error (#36698)

Changed

  • Adjust Fluent Assertions (#36620)
  • Added timestamp reference to schedule:work artisan command output (#36621)
  • Expect custom markdown mailable themes to be in mail subdirectory (#36673)
  • Throw exception when unable to create LockableFile (#36674)

Refactoring

  • Always prefer typesafe string comparisons (#36657)

Laravel framework is open-sourced software licensed under the MIT license. More information at https://github.com/laravel/framework

LEAVE A REPLY

Please enter your comment!
Please enter your name here