Categories: Laravel Application, Laravel Framework - The PHP Framework For Web Artisans

Laravel Upgrading To 5.8.0 From 5.72 min read

Laravel Upgrading To 5.8.0 From 5.7
Reading Time: 2 minutes

With the release of Laravel 5.8 on the horizon ,it will be na excellent idea to get a little knowledge about how you can upgrade to Laravel 5.8.0 from Laravel 5.7 . There are some major changes in the Laravel 5.8.0 such as Cache TTL in seconds , Cache Lock safety improvement , markdown file directory change and Nexmo / Slack Notification channel among other medium impact changes.

Laravel Upgrading to 5.8.0

Update your laravel/framework dependency to 5.8.* in your composer.json file. and run the composer update command.

1 ) Cache In TTL Seconds

Cache time to live has been changed from minute to seconds. Now you have to ensuer that you are passing the integer as seconds earlier it accept the integer as minute.

2 ) Cache Lock Safety Improvement

The “atomic lock” feature provided by some cache drivers could have unexpected behavior leading to the early release of locks.

3 ) Markdown file directory change

From Laravel 5.8.0 , markdown file directory will be changed and it will impact highly in the upcoming version of the Laravel Laravel’s Markdown mail components using the vendor:publishcommand, you should rename the /resources/views/vendor/mail/markdown directory to text .

You can read further about the changes from the given below links .

Medium Impact Changes

While many of these changes are not required, you may wish to keep these files in sync with your application. Some of these changes will be covered in this upgrade guide, but others, such as changes to configuration files or comments, will not be.

All Rights Reserved @ Techanical-Atom
%d bloggers like this: