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
Laravel News Partners

Laravel Jobs

Backend Software Engineer (PHP Developer)
Austin TX, Bonita Springs FL
Certified eSupport Corp
Laravel Developer
Glendale, CA (COVID Remote)
Jogg, Inc
Senior PHP Engineer
Remote, USA Only
Full-Stack Engineer (Mid to Senior)
Remote (EST, CST)
Senior Laravel Developer (AI Applications)
Remote from anywhere in the UK or from our London office
GreenShoot Labs


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