angular/packages/core
Andrew Scott 73f03ad2d2 feat(router): Add new NavigationSkipped event for ignored navigations (#48024)
The Router currently silently ignores navigations for two reasons:

1. By default, same URL navigations are ignored. When this situation is
   encountered, the navigation is ignored without any events
2. A `UrlHandlingStrategy` may ignore some URLs. For situations when the
   strategy returns `false` for `shouldProcessUrl`, the Router silently
   ignores the URL and updates its internal state without running
   matching, guards, or resolver logic.

This commit adds new `NavigationSkipped` events for the above two situations.

PR Close #48024
2022-11-22 11:34:49 -08:00
..
global build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
schematics feat(router): add a migration to remove relativeLinkResolution usages (#47604) 2022-10-07 10:28:42 -07:00
src docs: extract XSS security doc URL into a constant (#48082) 2022-11-17 13:21:16 -08:00
test feat(router): Add new NavigationSkipped event for ignored navigations (#48024) 2022-11-22 11:34:49 -08:00
testing refactor(core): support EnvironmentProviders types internally (#47669) 2022-10-07 14:03:13 -07:00
BUILD.bazel build(bazel): remove tsec patch to enable runfiles on Windows (#46447) 2022-06-21 12:19:53 -07:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json fix(core): add zone.js version 0.12.x as a valid peer dependency (#48002) 2022-11-09 09:54:10 -08:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00