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

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Volker Dusch on the PHP RCE Vulnerabilities and Disclosure image

Volker Dusch on the PHP RCE Vulnerabilities and Disclosure

Read article
Decide with Jev: Turn AI Answers into Decisions with PHP Rules image

Decide with Jev: Turn AI Answers into Decisions with PHP Rules

Read article
Skuul: Open-Source School Management Built on Laravel image

Skuul: Open-Source School Management Built on Laravel

Read article
Laravel Read Replicas: Prevent Stale Reads After a Write image

Laravel Read Replicas: Prevent Stale Reads After a Write

Read article
Screenshot: Capture Images and PDFs with PHP and Laravel image

Screenshot: Capture Images and PDFs with PHP and Laravel

Read article
Reset Sticky Database Connections Between Laravel Queue Jobs image

Reset Sticky Database Connections Between Laravel Queue Jobs

Read article