Angular Forms version 2.0.1 represents a minor update to the Angular Forms library, building upon the foundation established by version 2.0.0. Both versions provide the essential directives and services needed for building dynamic and interactive forms within Angular applications.
A key difference lies in the peer dependencies specified. Version 2.0.0 has peer dependencies on @angular/core and @angular/common versions ^2.0.0, meaning it is compatible with any version greater than or equal to 2.0.0 but less than 3.0.0. Version 2.0.1 tightens these constraints, requiring specifically @angular/core version 2.0.1 and @angular/common version 2.0.1. This suggests that version 2.0.1 might include bug fixes or optimizations that specifically rely on features or API changes introduced in @angular/core and @angular/common version 2.0.1.
Developers should carefully consider this dependency update when upgrading. While a minor version bump usually implies backwards compatibility, the stricter peer dependencies in 2.0.1 necessitate ensuring your Angular core and common modules are updated to version 2.0.1 as well. Failing to do so could result in unexpected errors or runtime issues. If you are starting a new project and want the latest bug fixes consider using the 2.0.1 with Angular core and common also at version 2.0.1. If you are already running the 2.0.0 and is stable, consider upgrading if you are facing issues with forms.
Both versions are released under the MIT license and can be found on the official Angular GitHub repository.
The are not vulnerabilities for the version 2.0.1 of the package @angular/forms