Home >Web Front-end >JS Tutorial >AngularJS important version update

AngularJS important version update

亚连
亚连Original
2018-06-08 16:39:462181browse

The team is currently developing AngularJS 1.7.0, and the 1.7 development cycle will continue until June 30, 2018

One of the early members of the Angular team Pete Bacon Darwin recently announced a news on the Angular blog. He said:

The team is currently developing AngularJS 1.7.0, and the 1.7 development cycle will continue until June 30, 2018. Starting July 1, AngularJS will enter a 3-year long-term support phase (LTS).

Pete Bacon Darwin said that the team knows that many developers are still using AngularJS, and that migrating to Angular requires a certain amount of time and effort, but they need developers to clearly understand the future development plans for AngularJS.

We all know that AngularJS is the exclusive name of Angular 1, and versions after Angular 2 began to be called Angular. Angular 2 is not an upgrade from Angular 1. Angular 2 uses TypeScript for rewriting, so the difference between AngularJS and Angular is relatively large. Even if you have used AngularJS, there is a certain learning curve to get started with Angular. Basically, you can think of Angular It's a completely new framework.

But the versions after Angular 2, such as Angular 4, 5, 6, can be regarded as Angular 2.4, 2.5, 2.6. The official explanation was that the reason why Angular 2 went directly to Angular 4 was, Angular started using semver semantic version and did a version alignment.

AngularJS schedule

  • ##January 1st - June 30th, 2018: AngularJS 1.7.0 development phase

  • July 1, 2018 - June 30, 2021: AngularJS 1.7 Long-term Support Phase

All AngularJS applications running now will work fine in the future work and will also receive officially supported updates. AngularJS's npm, bower, and CDN can also continue to be used.

So what does it mean to enter the long-term support phase? This means that the team will only focus on delivering fixes for bugs that meet at least one of the following criteria:

  • A security vulnerability was detected in the 1.7.x branch of the framework

  • The version released by major browsers causes applications using AngularJS 1.7.x in production environments to stop working

  • The version released by jQuery causes applications using AngularJS in production environments 1.7.x applications stopped working

So the development team stated that patch versions released after 1.7.0 such as 1.7.1, 1.7.2, they will not contain breaking changes , mainly to fix some bugs in the framework.

The above is what I compiled for everyone. I hope it will be helpful to everyone in the future.

Related articles:

How to implement the single image cross-domain upload function in VUE UEditor

In vue, the watch detects that it is not possible Issues related to changes in object attributes

veloticy-ui implements text animation effects

The above is the detailed content of AngularJS important version update. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn