Laravel 6.5.1 Released

News

November 13th, 2019

The Laravel team released v6.5.1 this week with the latest changes and fixes. This week is a patch version release, containing changes and fixes.

First, an @includeUnless directive includes a template unless the condition is false:

noparse_d0456d81b1dafb5cc13dcbdbd124b4ff
@includeWhen(! $headless, 'dashboard/partials/nav')

{{-- You can do this --}}
@includeUnless($headless, 'dashboard/partials/nav')

Next, the PhpRedis spop implementation was fixed by passing the count value and updating the default value to equal 1.

Next, the Model::isDirty() check received a fix for collection and object casts.

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

v6.5.1

Added

  • Added includeUnless directive (#30538)

Fixed

  • Fixed default value for $count in PhpRedisConnection::spop() method (#30546)
  • Fixed breaking compatibility with multi-schema postgres (#30562, 6460d2b)
  • Fixed Model::isDirty() with collection \ object casts (#30565)
  • Fixed bcc in MailgunTransport::send() (#30569)

Changed

  • Remove illuminate/support dependency from Container package (#30518, #30528)

Filed in:

Paul Redmond

Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.