Skip to content

Latest commit

 

History

History
120 lines (87 loc) · 8.66 KB

CHANGELOG-6.x.md

File metadata and controls

120 lines (87 loc) · 8.66 KB

Release Notes for 6.x

Added

  • Added support for callable objects in Container::call() (#30156)
  • Add multipolygonz type for postgreSQL (#30173)
  • Add "unauthenticated" method in auth middleware (#30177)
  • Add partialMock shorthand (#30202)
  • Allow Storage::put to accept a Psr StreamInterface (#30179)
  • Implement new password rule and password confirmation (#30214)

Changed

  • Remove unnecessary param passed to updatePackageArray method (#30155)
  • Add optional connection name to DatabaseUserProvider (#30154)
  • Remove brackets arround URL php artisan serve (#30168)
  • Apply limit to database rather than collection (#30148)
  • Allow to use scoped macro in nested queries (#30127)
  • Added array to json conversion for sqlite (#30133)
  • Use the policies() method instead of the property policies (#30189)
  • Split hasValidSignature method (#30208)

Fixed

  • validateDimensions() handle image/svg MIME (#30204)

Added

  • Added Illuminate\Support\LazyCollection::eager() method (#29832)
  • Added forgetChannel() and getChannels() methods to Illuminate\Log\LogManager (#30132, a52a0dd)
  • Added Illuminate\Foundation\Testing\TestResponse::assertNoContent() method (#30125)
  • Added InteractsWithQueue to SendQueueNotifications (#30140)
  • Added SendQueueNotifications::retryUntil() method (#30141)
  • Added methods for sending cookies with test requests (#30101)
  • Added support of job middleware for queued notifications (#30070)

Fixed

  • Fixed migration class duplicate check in make:migration command (#30095)
  • Fixed monolog v2 handler preparation (#30123)
  • Fixed return of callback value for DurationLimiter (#30143)

Changed

  • Added runtime information output for seeders (#30086)
  • Added strict parameter to Illuminate\Foundation\Testing\TestResponse::assertJsonPath() (#30142)
  • Added deletedAtColumn optional parameter to Foundation\Testing\Concerns\InteractsWithDatabase::assertSoftDeleted() (#30111)

Improved

  • Improved AuthServiceProvider::registerEventRebindHandler() in case if guard is not initialized (#30105)

Added

  • Added TestResponse::assertJsonPath() method (#29957)
  • Added hasMacro \ getGlobalMacro \ hasGlobalMacro methods to Eloquent Builder (#30008)
  • Added Illuminate\Database\Eloquent\Relations\BelongsToMany::getPivotColumns() method (#30049)
  • Added ScheduledTaskFinished \ ScheduledTaskStarting events to signal when scheduled task runs (#29888)
  • Allowing adding command arguments and options with InputArgument \ InputOption objects (#29987)

Fixed

  • Fixed __() with null parameter (#29967)
  • Fixed modifying updated_at column on custom pivot model (#29970)
  • Fixed Illuminate\Redis\Limiters\ConcurrencyLimiter (#30005)
  • Fixed VerifyCsrfToken middleware when response object instance of Responsable interface (#29972)
  • Fixed Postgresql column creation without optional precision (#29873)
  • Fixed migrations orders with multiple path with certain filenames (#29996)
  • Fixed adding NotFoundHttpException to "allowed" exceptions in tests (#29975)

Changed

  • Make it possible to disable encryption via 0/false (#29985)
  • Allowed a symfony file instance in validate dimensions (#30009)
  • Create storage fakes with custom configuration (#29999)
  • Set locale in PendingMail only if locale present conditionally (dd1e0a6)
  • Improved sorting of imports alphabetically on class generation from stub (#29951)

Refactoring

  • Changed imports to Alpha ordering in stubs (#29954, #29958)
  • Used value helper where possible (#29959)
  • Improved readability in auth.throttle translation (#30011, #30017)

Reverted

Refactoring

  • Converted call_user_func where appropriate to native calls (#29932)
  • Changed imports to Alpha ordering (#29933)

Changed

  • Used Application::normalizeCachePath() method to define cache path`s (#29890, ac9dbf6)
  • Wrapped MySQL default values in parentheses (#29878)

Fixed

  • Prevent event auto discovery from crashing when trying to instantiate files without php classes (#29895)
  • Fix resolving class command via container (#29869)

Fixed

  • Fixed Schedule::runInBackground() not fired on Windows (#29826)

Changed

  • Throw Symfony\Component\Routing\Exception\RouteNotFoundException instead of InvalidArgumentException in UrlGenerator::route() (#29861)

Reverted

Check the upgrade guide in the Official Laravel Upgrade Documentation. Also you can see some release notes in the Official Laravel Release Documentation.