News

Laravel 5.5.25 Released

Published
Laravel 5.5.25 Released image

Release updates

Never miss a Laravel release

Get an email whenever a new Laravel release lands.

Laravel 5.5.25 was released Monday with Flysystem caching support, year database data type, and support for setting the Whoops editor.

Flysystem caching addition adds support for caching without the need for a custom filesystem configuration.

The following will add per-request caching:

's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'cache' => true,
],

If you want to use a cache store, you can use any cache defined in config/cache.php by referencing its name:

's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'cache' => [
'store' => 'redis',
'expire' => 300,
'prefix' => 'custom-cache-key-prefix',
]
],

The prefix is optional and will fall back to whatever is set in config/cache.php.

Next, the yeardata type is available with a polyfill using an integer type for databases that don’t support the year data type.

The last addition optionally sets the editor that will open files with the Whoops package by setting the app.debug_editor in the config/app.php file. For example, you can configure Whoops to open files in the stack trace with VS Code or Sublime.

v5.5.25 (2017-12-11)

Added

  • Added support for Flysystem caching (#22310, 0657496)
  • Added support for year data type (#22377)
  • Added support for setting Whoops debug editor (#22350, c6e3a73)

Changed

  • Use Model::newQueryWithoutRelationships() in Collection::load() (#22363)
  • Respect schema config in PostgresBuilder (#22365, de561cb)

Fixed

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 →
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