News

Laravel 5.6.18 Released

Published
Laravel 5.6.18 Released image

Release updates

Never miss a Laravel release

Get an email whenever a new Laravel release lands.

Laravel 5.6.18 was released on Friday with added support for MySQL 8 compatibility, support for custom filesystem driver URLs, more PostgreSQL operators, and added support for JSONP callbacks when broadcasting to Pusher.

First, the MySqlConnector now supports MySQL version 8. The updated connector now checks for 8.0.11 and adjusts the sql_mode appropriately because theNO_AUTO_CREATE_USER SQL mode is invalid in MySQL 8.0.11.

Next, some filesystem drivers don’t support URLs at the adapter level, but through Flysystem plugins URL support is possible. Now a method_exists($this->driver, 'getUrl') check allows URL support via the FilesystemAdapter.

More PostgreSQL operators were added, including:

  • not ilike
  • is distinct from
  • is not distinct from

Next up, pagination accessibility was improved by adding appropriate attributes, including aria-disabled=true on disabled items, aria-hidden="true" to hide decoration arrows from screen readers, and aria-current="page" to mark the current page.

Last, be mindful of a bugfix change of ValidationException in ThrottlesLogins was changed to 429 TOO MANY REQUESTS from 423.

Here are the full release notes for Laravel 5.6.18:

v5.6.18 (2018-04-26)

Added

  • Added support for MySQL 8 (#23948)
  • Added support for custom filesystem drivers URLs (#23964)
  • Added more PostgreSQL operators (#23945)
  • Added support for JSONP callback when broadcasting using Pusher (#24018, b9ab427)

Changed

  • Support chaining using $this->be() helper (#23919)
  • Improved pagination accessibility (#23962)
  • Changed response code of ValidationException in ThrottlesLogins to 429 (#24002)
  • Throw exception if called command doesn’t exist (#23942)
  • Made notification email translatable (#23903)

Fixed

  • Fixed saving timestamp columns on pivots without parent (#23917)
  • Quote collation names in MySQL migrations (#23989)
  • Fixed sending plain-text only emails (#23981)
  • Fixed counting the number of jobs on Queue::fake() (#23933)
Paul Redmond photo

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

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
WhenMounted and BigInt Props in Inertia.js v3.8 image

WhenMounted and BigInt Props in Inertia.js v3.8

Read article
Postcodes for Laravel: GB Postcode Lookup and Geography Data image

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Read article
Laravel 14 Adds a defaults() Method to Eloquent Models image

Laravel 14 Adds a defaults() Method to Eloquent Models

Read article
Laravel AI SDK and Laravel MCP Security Fixes: Update Now image

Laravel AI SDK and Laravel MCP Security Fixes: Update Now

Read article
Mailbox for Laravel: Preview and Test Rendered Email image

Mailbox for Laravel: Preview and Test Rendered Email

Read article
Count Worker Crashes as Job Exceptions in Laravel 13.34 image

Count Worker Crashes as Job Exceptions in Laravel 13.34

Read article