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 →
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article
Statamic Mailables Viewer Previews Laravel Emails in the Control Panel image

Statamic Mailables Viewer Previews Laravel Emails in the Control Panel

Read article
Laravel Tackle: Run an AI Coding Agent in Your Laravel App image

Laravel Tackle: Run an AI Coding Agent in Your Laravel App

Read article
Queue::forward(): Reroute Laravel Queues in One Place image

Queue::forward(): Reroute Laravel Queues in One Place

Read article
Laravel Read-Through Filesystem: Lazy Storage Migration image

Laravel Read-Through Filesystem: Lazy Storage Migration

Read article