Angular core has a new major version, 18.0.0, released on May 22, 2024. This version introduces updates and refinements compared to the previous stable version, 17.3.12, released on July 17, 2024. While both versions share the same core dependencies, tslib, and peer dependencies, rxjs and zone.js ensuring a degree of compatibility, there are key differences that developers should acknowledge.
A notable change is the reduction in the unpacked size of the package. Version 18.0.0 is significantly smaller at 25.4 MB compared to version 17.3.12 which had 28.8 MB. This reduction contributes to faster installation times, a smaller footprint in node_modules, and potentially improved application performance due to reduced bundle sizes. Also, the number of files in the package is changed from 389 to 415 so it requires an analysis of the type of files and if they are tree shakable or not.
Developers considering an upgrade should carefully evaluate potential breaking changes associated with a major version bump. Always consult the official Angular update guide for detailed migration instructions and information on deprecated features. Review the changelog for specific updates, bug fixes, and new features introduced in version 18.0.0 to determine its impact on an existing project. While the description and repository details remain constant, these performance-related changes are immediately valuable for Angular developers working on optimizing their applications.
The are not vulnerabilities for the version 18.0.0 of the package @angular/core