Angular Router version 18.0.0 marks a significant upgrade from the previous stable version, 17.3.12, primarily aligning with the major Angular framework version jump to 18. While the core description of the package remains consistent as "Angular - the routing library," developers should note the peer dependency updates. Angular Router 18.0.0 mandates version 18.0.0 of @angular/core, @angular/common, and @angular/platform-browser, emphasizing compatibility with the latest Angular features and improvements. In contrast, version 17.3.12 naturally requires version 17.3.12 of these core Angular packages.
Beyond the version number synchronizations, subtle but important differences exist. The unpacked size of version 18.0.0 is larger, at 2420728 bytes, compared to 17.3.12's 2336455 bytes, implying potential additions in functionalities, bug fixes, or performance enhancements. The release date also highlights the freshness of version 18.0.0, launched around May 2024 against July 2024 (after the version 18). Developers planning upgrades should thoroughly test their applications to ensure seamless transition and leverage any new routing capabilities provided by the core Angular framework. These peer dependency updates and size deltas are crucial for ensuring application stability and benefiting from the latest improvements in the Angular ecosystem. Using the latest Angular Router ensures compatibility with the latest Angular features and bug fixes, contributing to more robust and efficient routing solutions.
The are not vulnerabilities for the version 18.0.0 of the package @angular/router