Do I have to wait for Drupal 9 for my web project?

Birds migration

In a previous post, we saw the Drupal 8's new policies for versioning, support and maintenance for its minor and major versions. This policy has evolved somewhat since the last DrupalCon Baltimore conference in April 2017. And this evolution of Drupal's strategy deserves a little attention because it can bring new light to those who hesitate to migrate their site on Drupal 8. Or those who are wondering about the relevance of launching their web project on Drupal 8.

Since drupal 7 is maintained until the release of Drupal 9, the issue of waiting for Drupal 9 release can be legitimate, especially since the technological break between Drupal 7 and Drupal 8 has been consistent, we can say, with a re-writing from scratch of a very large part of its source code (~ 80%), but also at the same time a reduction of its technical debt.

And uncertainty hangs up to now on the height of the march that would be between Drupal 8 and Drupal 9. Let's face this uncertainty.

A maintenance of Drupal 8 until 2019?

The publication of the Drupal 8 road map has apparently misled some readers somewhat stunned. Indeed, the schedule published on the cycle of releases on drupal.org can sometimes be misinterpreted. So much so that now the online version of this schedule has a watermark Example only.

drupal release cycle

This diagram explains the principle of the publication cycle of the minor versions of Drupal 8, and the maintenance principles of Drupal 8 from the moment Drupal 9 will be released. This diagram does not indicate that Drupal 9 will be published 4 and a half years after the release of Drupal 8, in 2019. Note the 8.n.x of the last minor version.

And yet I could see these categorical assertions circulating:

  • Maintenance of Drupal 8 is scheduled until 2019
  • Drupal 8 will receive security maintenance only from 2020 to 2021

And this with the support of a somewhat adapted scheme (no doubt that it was misunderstood), with the addition of the years on the abscissa axis.

False release cycle drupal 8
Schema modified (and skewed) of the release cycle of Drupal's major and minor versions.

 

To date nobody knows if the Drupal 8.4.x version will be the last minor version of Drupal 8, with the launch of Drupal 9 in 2018. In fact we are already talking about versions 8.5.x and 8.6.x currently and new additions in Drupal 8 core, whether it's the publishing process, content versioning, redesigned media management, JsonAPI integration, and so on.

No. The end of the Drupal 8 maintenance is not scheduled for 2019. In fact, to be clear, nobody knows. You can also have a Drupal 8.6.x version as the latest LTS minor version as a Drupal 8.14.x LTS version in 2022.

And if anyone dares to say otherwise to this day, then he has a vision of the future out of the ordinary, and would do well to play the Lotto right away.

Will Drupal 9 be a technological break with Drupal 8?

Drupal 8 was a real technological breakthrough. And it is understandable that some reluctance is expressed if the effort required to migrate a Drupal 8 project on the future Drupal 9 version is as important as that between Drupal 7 and Drupal 8. Given this uncertainty, we can understand that many sites on Drupal 7 can wait for Drupal 9 version, in case...

Instead of two migrations, which are not trivial for complex sites (and still it depends on the project, some Drupal 7 sites can be migrated in a few days at most), I prefer to make only one.

This is logical and understandable.

But since DrupalCon Baltimore last April, Dries Buytaert has clarified this policy on the next major versions of Drupal (see Making Drupal upgrades easy forever) and lifted this uncertainty and fear.

Migrating from Drupal 8 to Drupal 9 will be as easy as migrating from a minor version of Drupal 8 to another. In fact Drupal 9 will be neither more nor less than a new Drupal 8 lightened of all its API which will have been deprecated during its different minor versions. An image is better than all speeches.

Migration Drupal 9

The consequences of this policy with regard to the future Drupal 9 are multiple

  • For those who use Drupal 8 core, the migration to Drupal 9 will be instantaneous. In fact it will be just as simple as a minor version change.
  • The Drupal 8 contrib modules will be ~90-95% compatible with Drupal 9, or even 100% if the maintainers maintains their modules regularly and replace the deprecated functions by the new introduced APIs
  • The custom modules, developed to measure, will be compatible with Drupal 9 as well as the contrib modules

One could almost say that Drupal 9 will be the continuity of Drupal 8 with a consolidated API, refined, and purified but also with all the functional richness, at the click, introduced with all the additions that are released with the Drupal 8.x minor versions.

In fact, if we were to try to guess the date of the maintenance end of Drupal 8 today, we would just as well try to find a needle in a haystack. And even if it was found, the good deal! Drupal 9 would be an additional minor version, just a little more special. With all the ecosystem contributed modules preserved and compatible.

In other words, the compatibility of the modules is now guaranteed on the major ascending versions.

And this is very good news. No ?

 

Commentaires

Soumis par rachel_norfolk (non vérifié) le 22/06/2017 à 19:26 - Permalien

It was me that changed the original diagram 1 from 8.4.x to 8.n.x as we were hearing just the queries you are discussing.
Which actual minor version is the “last” is not yet determined, only that there will eventually be one and the process you describe above happens.

Ajouter un commentaire