DEV Community

Cover image for How does the “new” versioning of Laravel work?
Tiago S. P Rodrigues
Tiago S. P Rodrigues

Posted on

How does the “new” versioning of Laravel work?

Although version 6 of Laravel was released in September 2019, there is still some confusion in the community about the new versioning standard and the feeling that things are going too fast.

Since I have been using Laravel for some time, I am used to the release cycle, and I would like to explain here what has changed, and why you should not be concerned.

Well, first, I will leave here the official statement of the change:

The Laravel framework (laravel/framework) package now follows the semantic versioning standard. This makes the framework consistent with the other first-party Laravel packages which already followed this versioning standard. The Laravel release cycle will remain unchanged.

As I highlighted in bold, the versioning cycle has not been changed. New versions with potential breaking changes have always been released every six months and will continue to be released in that period. In practice, nothing has changed.

That is, changing from 5.5 to 5.6, or from 5.7 to 5.8, is comparable to changing from 5.8 to 6.x, or from 6.x to 7.x, and so on.

The only thing that has changed is the way the numbers are presented. Before, the “major” number (The first number) of the version was not changed even with “Breaking Changes”, as you can see in the image below:

Alt Text

So, even if they had high impact changes, Laravel was still in version 5. See how many high-impact changes were made in the Upgrade from 5.7 to 5.8:

Alt Text

As seen in the official statement, the decision was taken to adopt semantic versioning so that there is consistency between Laravel and many of the packages used. In addition, semantic versioning demarcates version cycles well. With the previous model, you always seemed to be on Laravel 5, even if there were high impact changes.

That's basically it ... if you get the feeling that things are going too fast, just remember:

It is going at the same speed as always, with new versions being released every six months.

I hope I helped to clarify the matter. Cheers!

Did you like this post? Consider following me on Twitter to stay on top: @Tiago_Ferat (I will be writing constantly now, and I will also be launching tools for the community regularly)

Top comments (0)