Angularjs 1.x 支持生命周期和报废

我目前管理 AngularJS 开发项目。有人说我们需要从现在的1.2升级到至少 AngularJS 1.5。我的要求之一,移动是,我必须提供的支持1.5结束的证据,但无法找到任何支持信息的结束后,许多小时的角度网站和多个谷歌搜索。

关于何时不再为 Angular v1.x 开发安全补丁和 bug 修复程序,有官方评论吗?

55468 次浏览

End Of Life for AngularJS is December 31st, 2021. You can read more about it HERE on the AngularJS docs page.

Previously the EOL was scheduled for June 30, 2021. However, the Angular team released a blog post stating that they moved that deadline back to the end of December 2021 due to COVID-19.

On July 1st 2018, we entered a Long Term Support (LTS) period for AngularJS 1.8. We originally announced that we would discontinue the support on the 31st of July 2021.

Over the past few months we heard that many companies are hurt by the unprecedented times caused by the global pandemic of COVID-19. In response, we are extending the AngularJS LTS with another 6 months, until the 31st of December 2021.

A lot of companies have yet to begin/finish their migrations away from AngularJS 1.x. On the AngularJS docs there is a project referenced called XLTS.dev that will be providing an extended support for AngularJS projects. That team is made up of some of the core AngularJS team members, AngularJS Material team members, inventors of Angular Universal, former Angular team members, the Scully team members, and ng-conf team members. Sounds like you can go there to continue getting:

  • Security Patches
  • Browser Breakage Patches
  • jQuery Breakage Patches

This is great news for anyone still on an AngularJS project that needs support.

Has there been an official comment on when security patches and bug fixes will no longer be developed for Angular v1.x?

Not until last contributor goes away! Foremost AngularJS is licensed under liberal MIT License and everybody can fork it and modify it endlessly.

For those worrying about "official Google support" - well, between March 2016 and March 2017 there were 20 releases of AngularJS 1.x - the latest is 1.6.3 - doesn't look like abandoned project any time soon. It differs so much from Angular v2 and v4 (to be released this month) that it will have it's own life even after Google decides move away. Either they transfer the github project to community maintainers or community fork will take over.

There are lots of spectacular examples of communities taking over projects for various reasons. A notable example is io.js - large group of contributors decided to fork Node.js when Joyent, the creator company, was not releasing updates often enough to satisfy the community.

This is the beauty of open source software.

The AngularJS team announced the end of official support by July 2021. They will release one more version (v1.7) and in July 2018, they will enter a Long Term Support period of 3 years.

During this LTS period they will only apply fixes to v1.7 that are essential for security or browser compatibility, or jQuery changes that would cause production applications to stop working.

After the LTS period, no changes will be made anymore (by Google).

The official announcement can be found in the Angular Blog: Stable AngularJS and Long Term Support.

An update has been posted to the Angular blog on 2018-01-26: Stable AngularJS and Long Term Support

The team is currently working towards a release of AngularJS 1.7.0 and we will continue development of 1.7 through June 30, 2018. On July 1, we will enter a 3 year period of Long Term Support (LTS).

  • January 1 — June 30, 2018 AngularJS 1.7 Active Development
  • July 1, 2018 — December 31, 2021 AngularJS 1.7 LTS Period

In addition to the post to the Angular blog on 2018-01-26: Stable AngularJS and Long Term Support

The following announcement has been added to the AngularJS Docs:

After July 1st 2018

Any version branch not shown in the following table (e.g. 1.6.x) is no longer being developed.

Version   Status  Comments
1.2.x   Long Term Support   Last version to provide IE 8 support
1.7.x   Long Term Support   See Long Term Support section below.

Long Term Support

On July 1st 2018, we will enter a Long Term Support period for AngularJS.

At this time we will focus exclusively on providing fixes to bugs that satisfy at least one of the following criteria:

  • A security flaw is detected in the 1.7.x branch of the framework
  • One of the major browsers releases a version that will cause current production applications using AngularJS 1.7.x to stop working
  • The jQuery library releases a version that will cause current production applications using AngularJS 1.7.x to stop working.

AngularJS MISC - Long Term Support

Just to keep things here up to date, the LTS offered by Google was extended from mid 2021 to December 2021. Information for this can be found here which now includes information on how to get support beyond Google's provided LTS.