Angular Animations sees a major version update with the release of version 18.0.0, moving up from the previous stable version 17.3.12. Primarily, this update signifies a shift in the dependency on @angular/core, now requiring version 18.0.0 as a peer dependency, marking a significant jump corresponding to a new Angular major release and core framework features. Developers upgrading to Angular 18 will need to update Angular Animations as well. The tslib dependency remains consistent at ^2.3.0.
Interestingly, even with the major version bump, the file count in the distribution package remains stable at 62 files. However, there's a slight decrease in the unpacked size, from 1734838 bytes in version 17.3.12 to 1729617 bytes in the newer 18.0.0. This suggests potential optimizations or refactoring in the animations package with the latest offering. The release date indicates a considerable gap, with version 18.0.0 arriving in May well before version 17.3.12 arriving in July, indicating that version 17.3.12 was likely a patch.
For developers, the key takeaway is the necessity to align @angular/animations with the core Angular version they are using, as the peer dependency dictates compatibility. Benefits may extend from performance improvements via the decreased unpacked size as well as bug fixes and improvements. Always refer to the official Angular changelog for detailed information on precise changes and any breaking shifts. Ensure all dependencies are compatible before updating.
The are not vulnerabilities for the version 18.0.0 of the package @angular/animations