Angular Router version 3.1.0 introduces key improvements and compatibility updates compared to its predecessor, version 3.0.2. Most notably, version 3.1.0 upgrades the peer dependencies for Angular core, common, and platform-browser to version 2.1.0. This signifies a move to align with the broader Angular ecosystem, ensuring developers can leverage the latest features and bug fixes available in the core Angular libraries.
For developers considering an upgrade, this peer dependency update is crucial. It necessitates updating the core Angular dependencies within their projects to maintain compatibility and prevent potential runtime errors. While version 3.0.2 targeted Angular versions 2.0.2, adopting version 3.1.0 effectively future-proofs the routing module against deprecation of older Angular APIs.
Aside from the peer dependency updates, both versions share similar characteristics. They are both licensed under MIT and are maintained by the Angular team. Developers can rely on the same core routing functionalities, such as defining routes, navigating between views, and passing parameters. The underlying GitHub repository remains consistent, indicating that the fundamental development process and contribution model are unchanged. If you need to use a newer Angular version, ensure you use version 3.1.0 or higher of the router as well. Ensure that rxjs version remains compatible at 5.0.0-beta.12 in both versions.
The are not vulnerabilities for the version 3.1.0 of the package @angular/router