Angular Forms version 12.2.0 brings subtle but important updates compared to the previous stable release, 12.1.5. Both versions provide the essential directives and services needed for building robust forms within Angular applications. Core functionalities for template-driven and reactive forms remain consistent, empowering developers to create dynamic user interfaces for data input and validation. The dependency on tslib stays at ^2.2.0 for both, ensuring compatibility with TypeScript helper functions.
However, key differences lie in the peer dependencies and the overall package size. Version 12.2.0 broadens its rxjs peer dependency to include both version 6.5.3 and version 7.0.0, offering greater flexibility for projects already using RxJS 7. This is a significant improvement for many developers who migrated to RxJS 7 and want to maintain a compatible @angular/forms version. Notably, @angular/core, @angular/common, and @angular/platform-browser peer dependencies were updated to version 12.2.0 to ensure better alignment among Angular modules within one application, creating a more stable version.
Moreover, the unpacked size has increased from 2,368,617 bytes in 12.1.5 to 2,423,359 bytes in 12.2.0, indicating some underlying code changes or additions. Developers should weigh these points when deciding whether to upgrade, considering project compatibility and potential performance impacts. The release date also reveals that the newer version was released shortly after the older version.
The are not vulnerabilities for the version 12.2.0 of the package @angular/forms