Skip to content

Latest commit

 

History

History
213 lines (142 loc) · 13.6 KB

CHANGELOG-5.8.md

File metadata and controls

213 lines (142 loc) · 13.6 KB

Release Notes for 5.8.x

Added

  • Implemented Job Based Retry Delay (#28265)

Changed

  • Update auth stubs with @error blade directive (#28273)
  • Convert email data tables to layout tables (#28286)

Reverted

Refactoring

  • Replace code with Null Coalescing Operator (#28280, #28287)

Added

  • Added @error blade directive (#28062)
  • Added the ability to register custom Doctrine DBAL types in the schema builder (#28214, 91a6afe)

Fixed

Reverted

Added

  • Added Illuminate\Support\Collection::duplicates() (#28181)
  • Added Illuminate\Database\Eloquent\Collection::duplicates() (#28194)
  • Added Illuminate\View\FileViewFinder::getViews() (#28198)
  • Added helper methods onSuccess() \ onFailure() \ pingOnSuccess() \ pingOnFailure() \ emailOnFailure() to Illuminate\Console\Scheduling\Event (#28167)
  • Added SET datatype on MySQL Grammar (#28171)
  • Added possibility for use in / not in operators in the query builder (#28192)

Fixed

  • Fixed memory leak in JOIN queries (#28220)
  • Fixed circular dependency in Support\Testing\Fakes\QueueFake for undefined methods (#28164)
  • Fixed exception in lt \ lte \ gt \ gte validations with different types (#28174)
  • Fixed string quoting for SQL Server (#28176)
  • Fixed whereDay and whereMonth when passing int values (#28185)

Changed

  • Added autocomplete attributes to the html stubs (#28226)
  • Improved event:list command (#28177, cde1c5d)
  • Updated Illuminate\Database\Console\Factories\FactoryMakeCommand to generate more IDE friendly code (#28188)
  • Added missing LockProvider interface on DynamoDbStore (#28203)
  • Change session's user_id to unsigned big integer in the stub (#28206)

Added

  • Allowed to call macros directly on Illuminate\Support\Facades\Date (#28129)
  • Allowed lock to be configured in local filesystems (#28124)
  • Added tracking of the exit code in scheduled event commands (#28140)

Fixed

  • Fixed of escaping single quotes in json paths in Illuminate\Database\Query\Grammars\Grammar (#28160)
  • Fixed event discovery with different Application Namespace (#28145)

Changed

  • Added view path to end of compiled blade view (in case if path is not empty) (#28117, #28141)
  • Added realpath to app_path during string replacement in Illuminate\Foundation\Console\Kernel::load() (82ded9a)

Refactoring

  • Refactoring of Illuminate\Foundation\Events\DiscoverEvents::within() (#28122, 006f999)

Added

  • Added replicating model event (#28077)
  • Make NotificationFake macroable (#28091)

Fixed

  • Exclude non-existing directories from event discovery (#28098)

Changed

  • Sorting of events in event:list command (3437751)
  • Removed path hint in compiled view (33ce7bb)

Added

Fixed

  • Fixed serializing a collection from a Resource with preserveKeys property (#27985)
  • Fixed: SoftDelete::runSoftDelete and SoftDelete::performDeleteOnModel with overwritten Model::setKeysForSaveQuery (#28081)

Changed

  • Update forever cache duration for database driver from minutes to seconds (#28048)

Refactoring:

  • Refactoring of Illuminate\Auth\Access\Gate::callBeforeCallbacks() (#28079)

Added

  • Added Illuminate\Database\Query\Builder::forPageBeforeId() method (#28011)

Fixed

  • Fixed BelongsToMany::detach() with custom pivot class (#27997)
  • Fixed incorrect event namespace in generated listener by event:generate command (#28007)
  • Fixed unique validation without ignored column (#27987)

Changed

  • Added parameters argument to resolve helper (#28020)
  • Don't add the path only if path is empty in compiled view (#27976)

Refactoring

  • Refactoring of env() helper (#27965)

Fixed

  • Fix: Locks acquired with block() are not immediately released if the callback fails (#27957)

Changed

  • Allowed retrieving env variables with getenv() (#27958, c37702c)
  • Used stripslashes for Validation\Rules\Unique.php (#27940, 34759cc)

Refactoring

  • Refactoring of Illuminate\Http\Concerns::allFiles() (#27955)

Added

  • Added Illuminate\Database\DatabaseManager::setReconnector() (#27845)
  • Added Illuminate\Auth\Access\Gate::none() (#27859)
  • Added OtherDeviceLogout event (#27865, 5e87f2d)
  • Added even and odd flags to the Loop variable in the blade (#27883)

Changed

  • Add replacement for lower danish æ (#27886)
  • Show error message from exception, if message exist for 403.blade.php and 503.blade.php error (#27893, #27902)

Fixed

  • Fixed seeding logic in Arr::shuffle() (#27861)
  • Fixed Illuminate\Database\Query\Builder::updateOrInsert() with empty $values (#27906)
  • Fixed Application::getNamespace() method (#27915)
  • Fixed of store previous url (#27935, 791992e)

Security

  • Changed Validation\Rules\Unique.php (da4d4a4). You can read more here

Added

  • Added Illuminate\Support\Collection::join() method (#27723)
  • Added Illuminate\Foundation\Http\Kernel::getRouteMiddleware() method (#27852)
  • Added danish specific transliteration to Str class (#27857)

Fixed

  • Fixed JSON boolean queries (#27847)

Added

  • Added Collection::countBy (#27770)
  • Added protected EloquentUserProvider::newModelQuery() (#27734, 9bb7685)
  • Added protected StartSession::saveSession() method (#27771, 76c7126)
  • Allow belongsToMany to take Model/Pivot class name as a second parameter (#27774)

Fixed

  • Fixed environment variable parsing (#27706)
  • Fixed guessed policy names when using Gate::forUser (#27708)
  • Fixed via as string in the Notification (#27710)
  • Fixed StartSession middleware (499e4fe)
  • Fixed stack channel's bug related to the level (#27726, bc884bb)
  • Fixed email validation for not string values (#27735)

Changed

  • Check if MessageBag is empty before checking keys exist in the MessageBag (#27719)

Fixed

  • Fixed quoted environment variable parsing (#27691)

Added

  • Added Illuminate\View\FileViewFinder::setPaths() (#27678)

Changed

  • Return fake objects from facades (#27680)

Reverted

  • reverted changes related to the Facade (63d87d7)

Check the upgrade guide in the Official Laravel Documentation.