Angular Router version 19.0.0 represents a major update to Angular's routing library, introducing notable changes compared to the previous stable version, 18.2.13. The most significant difference is the jump in Angular core dependency. Version 19.0.0 requires Angular core, common, and platform-browser also at version 19.0.0, implying a full upgrade to the Angular framework is necessary to utilize this router version. For developers, this means potential access to new framework features and performance improvements, but also the overhead of migrating their entire application.
A decrease in the fileCount from 72 to 12 and a reduction in unpackedSize from 2440798 bytes to 1180440 bytes may indicate a refactoring of the package's structure, potentially leading to a smaller bundle size and faster load times for applications depending on the router. The update signifies a shift to a more streamlined architecture, possibly improving developer experience via simplified APIs or reduced code complexity. However, it is hard to assess the impact without further investigation of the changes. The newer release date means the version 19 has the most recent fixes and features. It is also worth noting that both versions maintain the same peer dependency requirements for rxjs, ensuring compatibility with existing codebases using versions 6.5.3 or 7.4.0.
The are not vulnerabilities for the version 19.0.0 of the package @angular/router