Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Laravel 5.6.18 Released

Published on by

Laravel 5.6.18 Released image

Never Miss a Laravel Release 🚀

Sign up and get an email with each new Laravel release

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.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

image
Laravel Code Review

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

Visit Laravel Code Review
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $3200/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

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

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

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

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

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Laravel Cloud logo

Laravel Cloud

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

Laravel Cloud
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit

The latest

View all →
Blaze: An Optimized Blade Template Compiler for Laravel image

Blaze: An Optimized Blade Template Compiler for Laravel

Read article
Chief: Run Claude Code on Large Projects with Task-Based Workflows image

Chief: Run Claude Code on Large Projects with Task-Based Workflows

Read article
Laravel OpenAPI CLI: Generate Artisan Commands from Your API Spec image

Laravel OpenAPI CLI: Generate Artisan Commands from Your API Spec

Read article
Improved Skill and Guideline Detection in Laravel Boost v2.2.0 image

Improved Skill and Guideline Detection in Laravel Boost v2.2.0

Read article
"The Vibes" — NativePHP Hosts a Day 3 after Laracon US image

"The Vibes" — NativePHP Hosts a Day 3 after Laracon US

Read article
New Colors Added in Tailwind CSS v4.2 image

New Colors Added in Tailwind CSS v4.2

Read article