News

Laravel 6.5.1 Released

Published
Laravel 6.5.1 Released image

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:

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)
Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Image Dominant Color and HEIC Support in Laravel 13.24 image

Image Dominant Color and HEIC Support in Laravel 13.24

Read article
Official Laravel Zed Extension: LSP for PHP & Blade image

Official Laravel Zed Extension: LSP for PHP & Blade

Read article
Laravel Head: Manage Meta Tags, Open Graph, and JSON-LD image

Laravel Head: Manage Meta Tags, Open Graph, and JSON-LD

Read article
PhpStorm 2026.2 Released image

PhpStorm 2026.2 Released

Read article
Laravel Doctor: Diagnose Your App With One Artisan Command image

Laravel Doctor: Diagnose Your App With One Artisan Command

Read article
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article