Laravel 10, What's New?

What's new update on laravel 10?

Laravel 10, What's New?

As of February 14th, 2023, Laravel has officially released version 10. In this update, Laravel has added types and return types wherever possible or practical, as well as updated the doc blocks to remove any superfluous declarations. This required updating every single Laravel repository to add all of the missing types, and then updating the doc blocks, as well as making some slight tweaks to converting old Anonymous functions to short closures. It was a big PR, but a good one.

The aesthetic of Laravel 10 is similar to that of Laravel 9, but "cranked up a notch." However, the updated native types are a significant improvement in Laravel 10. In the console kernel, for example, they were able to remove redundancies and improve declarations.

Nuno created the original PR on October 11th, which included all the steps required to make the change and have it ready to go in time for Laravel 10. The speaker notes that this was a necessary change, and while it may not seem like a massive release, it will make a significant difference.

Overall, Laravel 10 is a big release with many improvements, and we looking forward to additional new features.