Wednesday, September 25, 2024

Laravel 12: Everything you need to know

Rutger Broerze
Laravel 12: Everything you need to know image

When will Laravel 12 be released?

Laravel 12 is scheduled for release in Q1 2025. It will receive bug fixes until Q3 2026, and security fixes until Q1 2027. Exact dates will be announced later.

What new features can we expect in Laravel 12?

Laravel 12 will introduce a variety of changes and new features. These are the most important ones.

  • MD5 will be replaced by the much faster xxHash.
  • Models that make use of the HasUuids trait, will now use UUID v7 instead of UUID v4.
  • When using MariaDB, Laravel will utilize native MariaDB CLI commands instead of relying on MySQL equivalents.
  • The RefreshDatabase trait will work better when using multiple databases in your application.
  • The Collection::range method will have a new step parameter.
  • Chunked queries will now honor user-defined limits.

A complete list of merged Laravel 12 pull requests can be found in the laravel/framework repository on GitHub.

It takes only one minute to get started

Start monitoring your Laravel applications today

Websites will go down, and errors will happen. With Sorane, you are sure to catch any errors and performance issues the moment they happen.

Takes 1 minute to get started.
No credit card required. Cancel anytime.