Angular Forms version 11.2.0 introduces subtle but important refinements over its predecessor, version 11.1.2. While both versions share the same fundamental architecture for building dynamic and reactive forms in Angular applications, a careful examination reveals key modifications. Both versions depend on tslib v2.0.0 or higher, ensure compatibility with recent TypeScript versions. They also share a liberal MIT license, fostering open-source adoption and modification. The core functionality remains consistent, providing directives and services for creating and managing forms effectively, reflected in identical fileCount and unpackedSize values in their distributions despite the newer release. This suggests that the release mainly focused on improvements without adding new files.
The crucial difference lies in the peer dependencies. The upgrade to version 11.2.0 mandates alignment with Angular Core, Common, and Platform-Browser versions 11.2.0, whereas version 11.1.2 required versions 11.1.2. Essentially, developers upgrading to @angular/forms 11.2.0 must also update their core Angular dependencies to maintain compatibility and leverage any associated bug fixes or performance enhancements introduced in the broader Angular ecosystem. Note that both versions support rxjs ^6.5.3. Developers should prioritize upgrading all related packages together to benefit from the latest bug fixes, security patches, and performance improvements across the entire Angular framework. The release date also indicates a week difference between the 2 versions, released respectively on February 10 and February 3 of 2021.
The are not vulnerabilities for the version 11.2.0 of the package @angular/forms