Laravel 5.5.25 Released

News

December 12th, 2017

Laravel 5.5.25 Released

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

Filed in:

Paul Redmond

Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.