Drupal8将在2021年11月停止更新
根据Drupal.org 官网的新闻,Drupal8将在2021年11月停止更新。对于刚刚学会Drupal8开发的同学来说,这估计未必是件好事,因为Drupal8的生命周期比Drupal6和Drupal7都短,很现实的,学习成本大大提高。
Drupal 8's innovation model depends on introducing new functionality in minor versions while maintaining backwards compatibility. This approach is working so well that some people have suggested we institute minor releases forever, and never release Drupal 9 at all.
However that approach is not feasible. We need to periodically remove deprecated functionality to keep Drupal modern, maintainable, and performant, and we need to stay on secure, supported versions of Drupal 8's third-party dependencies. As Nathaniel Catchpole explained in his post "The Long Road to Drupal 9", our use of various third party libraries such as Symfony, Twig, and Guzzle means that we need to be in sync with their release timelines.
Our biggest dependency in Drupal 8 is Symfony 3, and according to Symfony's roadmap, Symfony 3 has an end-of-life date in November 2021. This means that after November 2021, security bugs in Symfony 3 will not get fixed. To keep your Drupal sites secure, Drupal must adopt Symfony 4 or Symfony 5 before Symfony 3 goes end-of-life. A major Symfony upgrade will require us to release Drupal 9 (we don't want to fork Symfony 3 and have to backport Symfony 4 or Symfony 5 bug fixes). This means we have to end-of-life Drupal 8 no later than November 2021.
https://www.drupal.org/files/drupal-8-will-be-end-of-life-by-november-2021.jpg
Drupal9将在2020年发布,Drupal9将很容易更新
If Drupal 8 will be end-of-life on November 2021, we have to release Drupal 9 before that. Working backwards from November 2021, we'd like to give site owners one year to upgrade from Drupal 8 to Drupal 9.
If November 2020 is the latest we could release Drupal 9, what is the earliest we could release Drupal 9?
We certainly can't release Drupal 9 next week or even next month. Preparing for Drupal 9 takes a lot of work: we need to adopt Symfony 4 and/or Symfony 5, we need to remove deprecated code, we need to allow modules and themes to declare compatibility with more than one major version, and possibly more. The Drupal 8 Core Committers believe we need more than one year to prepare for Drupal 9.
Therefore, our current plan is to release Drupal 9 in 2020. Because we still need to figure out important details, we can't be more specific at this time.
Drupal7将被支持到2021年11月(和Drupal8相同)
根据Drupal官网的消息,Drupal一般都只同时支持2个版本,由于Drupal7有很多站点仍然在大量使用,所以决定支持到2021年11月。备注:对于Drupal开发者来说,Drupal9的到来估计是一件好事。
We'll launch a Drupal 7 commercial Long Term Support program
In the past, commercial vendors have extended Drupal's security support. In 2015, a Drupal 6 commercial Long Term Support program was launched and continues to run to this day. We plan a similar paid program for Drupal 7 to extend support beyond November 2021. The Drupal Security Team will announce the Drupal 7 commercial LTS program information by mid-2019. Just like with the Drupal 6 LTS program, there will be an application for vendors.
We'll update Drupal 7 to support newer versions of PHP
The PHP team will stop supporting PHP 5.x on December 31st, 2018 (in 3 months), PHP 7.0 on December 3rd, 2018 (in 2 months), PHP 7.1 on December 1st, 2019 (in 1 year and 3 months) and PHP 7.2 on November 30th, 2020 (in 2 years and 2 months).
Drupal will drop official support for unsupported PHP versions along the way and Drupal 7 site owners may have to upgrade their PHP version. The details will be provided later.
We plan on updating Drupal 7 to support newer versions of PHP in line with their support schedule. Drupal 7 doesn't fully support PHP 7.2 yet as there have been some backwards-incompatible changes since PHP 7.1. We will release a version of Drupal 7 that supports PHP 7.2. Contributed modules and custom modules will have to be updated too, if not already.
Conclusion
If you are still using Drupal 7 and are wondering what to do, you currently have two options:
Stay on Drupal 7 while also updating your PHP version. If you stay on Drupal 7 until after 2021, you can either engage a vendor for a long term support contract, or migrate to Drupal 9.
Migrate to Drupal 8 by 2020, so that it's easier to update to Drupal 9 when it is released.
The announcements in this blog post made option (1) a lot more viable and/or hopefully helps you better evaluate option (2).
If you are on Drupal 8, you just have to keep your Drupal 8 site up-to-date and you'll be ready for Drupal 9.
We plan to have more specifics by April 2019 (DrupalCon Seattle).
Thanks for the Drupal 7 Core Committers, the Drupal 8 Core Committers and the Drupal Security Team for their contributions to this blog post.
原文地址:
https://www.drupal.org/blog/drupal-7-8-and-9