Laravel 5.8 is Released
Now Laravel 5.8 is available to everyone. Laravel 5.8 some new features and have some latest bug fixes, and it is also an improvement in the core of the framework.PHP dotenv
PHP dotenv 3.0 with Laravel 5.8 get integrated and there are some new features through PHP dotenv 3.0 as follows:- There is first-class support for multi-line variables.
- You will get the value exactly in the real form, no more trimming of value is required.
- More flexibility in term of which parts of the environment we try to read and modify.
- To avoid silent features or obscure errors included strong validation of variable name.
- Accept a list of paths to try in order looking for the dotenv file, rather than a single path.
Carbon v2
Laravel 5.8 has is capable of using,CarbonImmutable
and also we can make CarbonImmutable
the default. You can learn more from Laravel news writeup Carbon update Comming to Laravel 5.8.Cache TTL Changes
A significant change that might have a moderate to high impact is the Cache TTL ChangesComming to Laravel 5.8.Deprecated String and Array Helpers
In Laravel 5.8, the global string and array helpers are deprecated. Learn more: Laravel 5.8 Deprecates String and Array Helpers.Automatic Policy Resolution
In Laravel 5.8, as long as policies and modules are in conventional locations, you will not need to register in theAuthServiceProvider
class.Learn more: Automatic Policy Resolution is coming to Laravel 5.8.
Nexmo and Slack Notification Channels
Likelihood of Impact is High. The Nexmo and Slack Notification Channels have been extracted into first-party packages. Learn more: Nexmo and Slack Notification ChannelsBlade Template File Path
Compiled blade templates in Laravel 5.8 will include the blade template path thanks to the contribution from Olga Strizhenko (@bxixilu) of JetBrains. Learn More: Blade Template File PathMarkdown File Directory Change
Likelihood of Impact is High. Learn More: Markdown File Directory ChangeLaravel 5.7 will receive the security updates until August 2019.
Laravel 5.8 is the latest stable version and it is going to receive bug fixes and updates up to August 2019, and security updates until about February 2020.
Official documentation is available on Laravels official website laravel.com.
To upgrade Laravel 5.7 to Laravel 5.8 go to the link upgrade guide.
Please read carefully the upgrade guide and make sure you must have a backup of your project before upgrading from Laravel 5.7 to Laravel 5.8.
No comments:
Post a Comment
Thank for your valuable Feedback