angular/packages/examples/router
Andrew Scott 579440170b fix(router): make currentSnapshot required in CanMatchFn (#67452)
it was only optional to avoid a breaking change in a minor

BREAKING CHANGE: The `currentSnapshot` parameter in `CanMatchFn` and the `canMatch` method of the `CanMatch` interface is now required. While this was already the behavior of the Router at runtime, existing class implementations of `CanMatch` must now include the third argument to satisfy the interface.

PR Close #67452
2026-04-02 12:53:57 -07:00
..
activated-route refactor(common): update examples to align with Angular best practices 2025-11-19 14:29:49 -08:00
testing refactor: clean up explicit standalone flags from tests (#63963) 2025-09-22 14:27:34 +00:00
utils refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
route_functional_guards.ts fix(router): make currentSnapshot required in CanMatchFn (#67452) 2026-04-02 12:53:57 -07:00