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

laravelcloud logo
Laravel Cloud

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

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article