Laravel 6.5.1 Released

Laravel 6.5.1 Released

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:

{{-- Instead of this --}}
@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:



  • Added includeUnless directive (#30538)


  • 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)


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

Filed in: News


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

Laravel News Partners

Laravel Jobs

Laravel Partner Seeks Team Lead / Developer
Kirschbaum Development Group, LLC
Lead Developer/Director of Technology
Hamilton, Ontario, Canada
Qualify EHS - A Worksite Safety Company
Engineering Director
Vancouver or remote (EST/PST preferred)
Engine Digital
Full-Stack Engineer
Vancouver or remote (EST/PST preferred)
Engine Digital
Sr. Software Engineer
Boca Raton - Florida, Remote - USA Only