---
title: "@angular/router 22.3.0 Breaking Changes on npm | Since.dev"
description: "What each @angular/router release removed, renamed or changed: 547 breaking changes in 115 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@angular/router
last_updated: 2026-12-04
---

# @angular/router breaking changes

@angular/router 22.3.0 (November 18, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed RouterFeatures. Every breaking API change we have recorded in @angular/router on npm: 547 breaking changes in 115 versions. Below, its 115 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `22.3.2`, released December 1, 2026. [Source repository](https://github.com/angular/angular)

Its 22.0.0-next.0 release requires Node.js 22.22.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [21.2.25](#v-21-2-25) to [22.3.0](#v-22-3-0): 64 breaking changes in 19 versions.
- From [4.0.0](#v-4-0-0) to [22.3.0](#v-22-3-0): 503 breaking changes in 110 versions.

## @angular/router 22.3.0 breaking changes

@angular/router 22.3.0, released November 18, 2026: 2 breaking changes.

- **Signature changed** `RouterFeatures`  

Was type RouterFeatures = PreloadingFeature | DebugTracingFeature | InitialNavigationFeature | InMemoryScrollingFeature | RouterConfigurationFeature | NavigationErrorHandlerFeature | ComponentInputBindingFeature | ViewTransitionsFeature |... [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.3.0)
- **Signature changed** `RouterLink.ɵdir`  

Was static ɵdir: i0.ɵɵDirectiveDeclaration\<RouterLink, "\[routerLink\]", never, {"target": {"alias": "target"; "required": false;}; "queryParams": {"alias": "queryParams"; "required": false;}; "fragment": {"alias": "fragment"; "required"... [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.3.0)

## @angular/router 22.3.0-next.3 breaking changes

@angular/router 22.3.0-next.3, released November 18, 2026: 1 breaking change.

- **Behavior changed** `createUrlTreeFromSnapshot`  

Query params with null values are now omitted from the URL created by createUrlTreeFromSnapshot. Code that relied on null query params appearing in the URL must be updated. [github.com](https://github.com/angular/angular/releases/tag/v22.3.0-next.3)

## @angular/router 22.2.4 breaking changes

@angular/router 22.2.4, released October 29, 2026: 4 breaking changes.

- **Behavior changed** `createUrlTreeFromSnapshot`  

createUrlTreeFromSnapshot no longer keeps query parameters whose values are null in the URL it builds. Code that relied on null params appearing in the URL must change. [github.com](https://github.com/angular/angular/releases/tag/v22.2.4)
- **Behavior changed** `SignalFormControl`  

SignalFormControl now throws when given an updateOn value it does not support. Code that passed such values will need to change them. [github.com](https://github.com/angular/angular/releases/tag/v22.2.4)
- **Default changed**  

Libraries built before v22 that run in JIT mode now default to Eager change detection. Check components from older libraries if their change detection timing matters. [github.com](https://github.com/angular/angular/releases/tag/v22.2.4)
- **Configuration changed**  

The compiler CLI now requires @jridgewell/sourcemap-codec 1.6.0 or later. Upgrade that dependency if your install pins an older version. [github.com](https://github.com/angular/angular/releases/tag/v22.2.4)

## @angular/router 22.2.1 breaking changes

@angular/router 22.2.1, released September 30, 2026: 4 breaking changes.

- **Behavior changed**  

Absolute redirects returned from redirect functions are now limited, so code relying on unrestricted absolute redirects may need to change. [github.com](https://github.com/angular/angular/releases/tag/v22.2.1)
- **Behavior changed**  

Duplicate router outlets are now rejected in production builds, so routes that previously worked with duplicate outlets may now fail. [github.com](https://github.com/angular/angular/releases/tag/v22.2.1)
- **Behavior changed**  

Router outlets must now match a route before child segments are processed, which can change navigation results for some route setups. [github.com](https://github.com/angular/angular/releases/tag/v22.2.1)
- **Behavior changed**  

The URL sanitizer now blocks dangerous data: and vbscript: URLs, so code that relied on them passing through may now be sanitized. [github.com](https://github.com/angular/angular/releases/tag/v22.2.1)

## @angular/router 22.2.0 breaking changes

@angular/router 22.2.0, released September 23, 2026: 7 breaking changes.

- **Removed** `ɵnonBlocking`  

ɵnonBlocking was removed in @angular/router 22.2.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.2.0)
- **Removed** `ɵResourceContext`  

ɵResourceContext was removed in @angular/router 22.2.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.2.0)
- **Removed** `ɵResourceResult`  

ɵResourceResult was removed in @angular/router 22.2.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.2.0)
- **Removed** `ɵwithRouterResources`  

ɵwithRouterResources was removed in @angular/router 22.2.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.2.0)
- **Signature changed** `RedirectCommand`  

Was class RedirectCommand; now class RedirectCommand extends Error. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.2.0)
- **Signature changed** `RouterFeatures`  

Was type RouterFeatures = PreloadingFeature | DebugTracingFeature | InitialNavigationFeature | InMemoryScrollingFeature | RouterConfigurationFeature | NavigationErrorHandlerFeature | ComponentInputBindingFeature | ViewTransitionsFeature |... [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.2.0)
- **Signature changed** `withExperimentalAutoCleanupInjectors`  

Was function withExperimentalAutoCleanupInjectors(): ExperimentalAutoCleanupInjectorsFeature; now function withExperimentalAutoCleanupInjectors(): AutoCleanupInjectorsFeature. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.2.0)

## @angular/router 22.2.0-next.6 breaking changes

@angular/router 22.2.0-next.6, released September 23, 2026: 1 breaking change.

- **Behavior changed**  

The router now decides blocking state solely from resource loading status. Navigations that relied on the previous blocking rules may behave differently. [github.com](https://github.com/angular/angular/releases/tag/v22.2.0-next.6)

## Older versions

109 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @angular/router 22.2.0-next.5 breaking changes

@angular/router 22.2.0-next.5, released September 23, 2026: 1 breaking change.

- **Behavior changed**  

The router no longer starts its own view transition when the browser already provides one. Code that depended on the router's view transition running in that case will see different behavior. [github.com](https://github.com/angular/angular/releases/tag/v22.2.0-next.5)

### @angular/router 22.2.0-next.2 breaking changes

@angular/router 22.2.0-next.2, released September 23, 2026: 1 breaking change.

- **Behavior changed**  

Protocol-relative URLs are now handled only during URL serialization. Code that relied on the previous router handling of them may need to change. [github.com](https://github.com/angular/angular/releases/tag/v22.2.0-next.2)

### @angular/router 22.1.6 breaking changes

@angular/router 22.1.6, released September 9, 2026: 10 breaking changes.

- **Signature changed** `ChildrenOutletContexts.ɵprov`  

Was static ɵprov: i0.ɵɵInjectableDeclaration\<ChildrenOutletContexts>; now static ɵprov: i0.ɵɵInjectableDeclaration\<any>. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.1.6)
- **Signature changed** `DefaultTitleStrategy.ɵprov`  

Was static ɵprov: i0.ɵɵInjectableDeclaration\<DefaultTitleStrategy>; now static ɵprov: i0.ɵɵInjectableDeclaration\<any>. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.1.6)

And 8 more in this version.

### @angular/router 22.1.3 breaking changes

@angular/router 22.1.3, released August 19, 2026: 1 breaking change.

- **Removed** `ɵwithActivatedRouteInjectors`  

ɵwithActivatedRouteInjectors was removed in @angular/router 22.1.3 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.1.3)

### @angular/router 22.1.0 breaking changes

@angular/router 22.1.0, released July 29, 2026: 2 breaking changes.

- **Signature changed** `RouterLinkActive.routerLinkActive`  

Was routerLinkActive: string\[\] | string; now routerLinkActive: string\[\] | string | null | undefined. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.1.0)
- **Signature changed** `RouterLinkActive.routerLinkActiveOptions`  

Was routerLinkActiveOptions: {exact: boolean;} | Partial\<IsActiveMatchOptions>; now routerLinkActiveOptions: {exact: boolean;} | Partial\<IsActiveMatchOptions> | null | undefined. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.1.0)

### @angular/router 22.0.0 breaking changes

@angular/router 22.0.0, released June 3, 2026: 7 breaking changes.

- **Removed** `DefaultExport.default`  

DefaultExport.default was removed in @angular/router 22.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.0.0)
- **Signature changed** `CanMatch.canMatch`  

Was canMatch(route: Route, segments: UrlSegment\[\], currentSnapshot?: PartialMatchRouteSnapshot): MaybeAsync\<GuardResult>; now canMatch(route: Route, segments: UrlSegment\[\], currentSnapshot: PartialMatchRouteSnapshot)... [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.0.0)

And 5 more in this version.

### @angular/router 22.0.0-rc.1 breaking changes

@angular/router 22.0.0-rc.1, released June 3, 2026: 1 breaking change.

- **Signature changed** `TitleStrategy.getResolvedTitleForRoute`  

The return type was previously 'any' and is now string or undefined. Code that reads the returned value may need to be adjusted. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/22.0.0)

### @angular/router 22.0.0-next.9 breaking changes

@angular/router 22.0.0-next.9, released June 3, 2026: 1 breaking change.

- **Default changed** `paramsInheritanceStrategy`  

Route parameters are now inherited from all parent routes by default. To keep the previous behavior, set paramsInheritanceStrategy to 'emptyOnly' in your router configuration. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.9)

### @angular/router 22.0.0-next.7 breaking changes

@angular/router 22.0.0-next.7, released June 3, 2026: 6 breaking changes.

- **Removed**  

TypeScript versions older than 6.0 are no longer supported. Upgrade TypeScript before using this release. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.7)
- **Removed** `ComponentFactory`  

ComponentFactory is gone. Pass the component class directly to APIs such as ViewContainerRef.createComponent. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.7)

And 4 more in this version.

### @angular/router 22.0.0-next.5 breaking changes

@angular/router 22.0.0-next.5, released June 3, 2026: 3 breaking changes.

- **Removed**  

The built-in Hammer.js integration was removed. Provide your own implementation. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.5)
- **Behavior changed**  

Elements matching multiple selectors now throw at compile time. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.5)

And 1 more in this version.

### @angular/router 22.0.0-next.4 breaking changes

@angular/router 22.0.0-next.4, released June 3, 2026: 2 breaking changes.

- **Removed** `ChangeDetectorRef.checkNoChanges`  

checkNoChanges was removed. In tests use fixture.detectChanges() instead. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.4)
- **Behavior changed**  

Leave animations are no longer limited to the element being removed. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.4)

### @angular/router 22.0.0-next.2 breaking changes

@angular/router 22.0.0-next.2, released June 3, 2026: 1 breaking change.

- **Removed** `createNgModuleRef`  

createNgModuleRef was removed. Use createNgModule instead. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.2)

### @angular/router 22.0.0-next.0 breaking changes

@angular/router 22.0.0-next.0, released June 3, 2026: 9 breaking changes.

- **Removed**  

Node.js v20 is no longer supported; the minimum supported versions are now v22.22.0 and v24.13.1. Upgrade Node.js before using this release. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.0)
- **Removed** `getAngularLib`  

getAngularLib was removed. Use getAngularJSGlobal instead. [github.com](https://github.com/angular/angular/releases/tag/v22.0.0-next.0)

And 7 more in this version.

### @angular/router 21.2.25 breaking changes

@angular/router 21.2.25, released September 30, 2026: 2 breaking changes.

- **Behavior changed**  

Outlets must now match a route before the router processes child segments, which can change how some navigations resolve. Check route configurations that use named outlets. [github.com](https://github.com/angular/angular/releases/tag/v21.2.25)
- **Behavior changed**  

Production builds now reject duplicate router outlets, which were previously accepted. Remove duplicate outlet names from route configurations. [github.com](https://github.com/angular/angular/releases/tag/v21.2.25)

### @angular/router 21.2.21 breaking changes

@angular/router 21.2.21, released August 19, 2026: 1 breaking change.

- **Behavior changed** `Meta`  

The platform-browser Meta service no longer accepts event handler attributes. Code that relies on them in Meta tags must change. [github.com](https://github.com/angular/angular/releases/tag/v21.2.21)

### @angular/router 21.2.16 breaking changes

@angular/router 21.2.16, released June 3, 2026: 1 breaking change.

- **Behavior changed**  

Platform-server now throws when it encounters suspicious URLs and limits protocol-relative URLs. Code that relied on those URLs passing through may need to change. [github.com](https://github.com/angular/angular/releases/tag/v21.2.16)

### @angular/router 21.2.13 breaking changes

@angular/router 21.2.13, released May 13, 2026: 1 breaking change.

- **Behavior changed**  

Event attribute bindings in host bindings are now disallowed unconditionally, so code that relied on them must move the logic elsewhere. [github.com](https://github.com/angular/angular/releases/tag/v21.2.13)

### @angular/router 21.2.12 breaking changes

@angular/router 21.2.12, released May 6, 2026: 1 breaking change.

- **Behavior changed**  

Submitting a signal form while a previous submit is still running is now blocked, so code that relies on overlapping submits must wait for the first to finish. [github.com](https://github.com/angular/angular/releases/tag/v21.2.12)

### @angular/router 21.2.10 breaking changes

@angular/router 21.2.10, released April 22, 2026: 1 breaking change.

- **Signature changed** `ɵRestoredState`  

Was type RestoredState = {\[k: string\]: any; navigationId: number; ɵrouterPageId?: number;}; now type RestoredState = {\[k: string\]: any; navigationId: number; ɵrouterPageId?: number; ɵrouterUrl?: string;}. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/21.2.10)

### @angular/router 21.2.9 breaking changes

@angular/router 21.2.9, released April 15, 2026: 1 breaking change.

- **Behavior changed** `router`  

The router URL parser now collapses multiple leading slashes in URLs. Code relying on the previous parsing of leading slashes may need review. [github.com](https://github.com/angular/angular/releases/tag/v21.2.9)

### @angular/router 21.2.4 breaking changes

@angular/router 21.2.4, released March 12, 2026: 3 breaking changes.

- **Removed**  

The release reverts the earlier addition of nested animations support in core. Code that relied on nested animations may stop behaving as before. [github.com](https://github.com/angular/angular/releases/tag/v21.2.4)
- **Behavior changed**  

Translations of iframe src are now disallowed. Templates that translate iframe src will no longer get translated values. [github.com](https://github.com/angular/angular/releases/tag/v21.2.4)

And 1 more in this version.

### @angular/router 21.2.0 breaking changes

@angular/router 21.2.0, released February 25, 2026: 13 breaking changes.

- **Signature changed** `CanMatch.canMatch`  

Was canMatch(route: Route, segments: UrlSegment\[\]): MaybeAsync\<GuardResult>; now canMatch(route: Route, segments: UrlSegment\[\], currentSnapshot?: PartialMatchRouteSnapshot): MaybeAsync\<GuardResult>. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/21.2.0)
- **Signature changed** `CanMatchFn`  

Was type CanMatchFn = (route: Route, segments: UrlSegment\[\]) => MaybeAsync\<GuardResult>; now type CanMatchFn = (route: Route, segments: UrlSegment\[\], currentSnapshot?: PartialMatchRouteSnapshot) => MaybeAsync\<GuardResult>. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/21.2.0)

And 11 more in this version.

### @angular/router 21.1.6 breaking changes

@angular/router 21.1.6, released February 25, 2026: 1 breaking change.

- **Behavior changed**  

Angular now applies only known attributes from HTML in translated ICU content and drops unknown ones. Check translated templates that rely on custom or unknown attributes. [github.com](https://github.com/angular/angular/releases/tag/v21.1.6)

### @angular/router 21.1.0 breaking changes

@angular/router 21.1.0, released January 14, 2026: 5 breaking changes.

- **Removed** `ɵprovideSometimesSyncRecognize`  

ɵprovideSometimesSyncRecognize was removed in @angular/router 21.1.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/21.1.0)
- **Removed** `ɵwithPlatformNavigation`  

ɵwithPlatformNavigation was removed in @angular/router 21.1.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/21.1.0)

And 3 more in this version.

### @angular/router 21.1.0-next.4 breaking changes

@angular/router 21.1.0-next.4, released January 14, 2026: 3 breaking changes.

- **Renamed** `FieldContext.field`  

The field property on FieldContext is renamed to fieldTree, so code reading it must use the new name. [github.com](https://github.com/angular/angular/releases/tag/v21.1.0-next.4)
- **Renamed** `ValidationError.field`  

The field property on ValidationError is renamed to fieldTree, so code reading it must use the new name. [github.com](https://github.com/angular/angular/releases/tag/v21.1.0-next.4)

And 1 more in this version.

### @angular/router 21.0.6 breaking changes

@angular/router 21.0.6, released December 17, 2025: 3 breaking changes.

- **Renamed** `FieldContext.field`  

The field property on FieldContext was renamed to fieldTree; update code that reads the old name. [github.com](https://github.com/angular/angular/releases/tag/v21.0.6)
- **Renamed** `ValidationError.field`  

The field property on ValidationError was renamed to fieldTree; update code that reads the old name. [github.com](https://github.com/angular/angular/releases/tag/v21.0.6)

And 1 more in this version.

### @angular/router 21.0.0 breaking changes

@angular/router 21.0.0, released November 19, 2025: 13 breaking changes.

- **Removed** `UpgradeAdapter`  

UpgradeAdapter is no longer available. Use upgrade/static instead. [github.com](https://github.com/angular/angular/releases/tag/21.0.0)
- **Behavior changed**  

Navigations may finish later in the microtask queue, which can break tests that depend on exact timing. Await all navigations before making assertions in tests. [github.com](https://github.com/angular/angular/releases/tag/21.0.0)

And 11 more in this version.

### @angular/router 21.0.0-next.9 breaking changes

@angular/router 21.0.0-next.9, released November 19, 2025: 2 breaking changes.

- **Behavior changed** `Router.parseUrl`  

Router.parseUrl now surfaces parse errors rather than silently accepting bad input, so code that calls it with malformed URLs may now see errors. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.9)
- **Behavior changed** `UrlSerializer`  

The router now uses a custom UrlSerializer's handling of query parameters. Code that relied on the previous default query parameter handling may see different URLs. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.9)

### @angular/router 21.0.0-next.8 breaking changes

@angular/router 21.0.0-next.8, released November 19, 2025: 2 breaking changes.

- **Behavior changed**  

Scroll restoration now uses instant scroll behavior for back and forward traversals. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.8)
- **Behavior changed** `Scroll restoration`  

Scroll restoration on traversals now uses instant scroll behavior. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.8)

### @angular/router 21.0.0-next.6 breaking changes

@angular/router 21.0.0-next.6, released November 19, 2025: 2 breaking changes.

- **Behavior changed** `newInput`  

Signal inputs on custom elements are now read directly rather than by calling them as functions. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.6)
- **Behavior changed** `signal input getter`  

Signal inputs in custom elements are now read directly instead of by calling them; update code that invokes the getter. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.6)

### @angular/router 21.0.0-next.4 breaking changes

@angular/router 21.0.0-next.4, released November 19, 2025: 6 breaking changes.

- **Removed** `interpolation`  

The interpolation option on Components was removed; only the default {{ ... }} is supported. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.4)
- **Removed** `moduleId`  

The moduleId property was removed from Component metadata. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.4)

And 4 more in this version.

### @angular/router 21.0.0-next.3 breaking changes

@angular/router 21.0.0-next.3, released November 19, 2025: 8 breaking changes.

- **Removed**  

TypeScript versions less than 5.9 are no longer supported; upgrade TypeScript. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.3)
- **Behavior changed**  

TypeScript versions less than 5.9 are no longer supported; upgrade TypeScript. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.3)

And 6 more in this version.

### @angular/router 21.0.0-next.2 breaking changes

@angular/router 21.0.0-next.2, released November 19, 2025: 6 breaking changes.

- **Removed** `ignoreChangesOutsideZone`  

ignoreChangesOutsideZone is no longer available for configuring ZoneJS change detection. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.2)
- **Removed** `UpgradeAdapter`  

UpgradeAdapter is no longer available; use upgrade/static instead. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.2)

And 4 more in this version.

### @angular/router 21.0.0-next.1 breaking changes

@angular/router 21.0.0-next.1, released November 19, 2025: 4 breaking changes.

- **Removed** `NgComponentOutlet.ngModuleFactory`  

The ngModuleFactory input of NgComponentOutlet has been removed. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.1)
- **Removed** `ngModuleFactory`  

The ngModuleFactory input of NgComponentOutlet was removed. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.1)

And 2 more in this version.

### @angular/router 21.0.0-next.0 breaking changes

@angular/router 21.0.0-next.0, released November 19, 2025: 3 breaking changes.

- **Behavior changed**  

The compiler now fails when the emitDeclarationOnly TypeScript option is enabled, so projects using it must turn it off. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.0)
- **Behavior changed** `compiler-cli`  

The Angular compiler now produces an error when the emitDeclarationOnly TypeScript compiler option is enabled, since this mode is not supported. Disable that option in your tsconfig. [github.com](https://github.com/angular/angular/releases/tag/21.0.0-next.0)

And 1 more in this version.

### @angular/router 20.3.34 breaking changes

@angular/router 20.3.34, released October 14, 2026: 1 breaking change.

- **Behavior changed**  

Requests to same-origin absolute URLs now get XSRF protection, so the XSRF token header may be sent where it was not before. Check that your server accepts this. [github.com](https://github.com/angular/angular/releases/tag/v20.3.34)

### @angular/router 20.0.0 breaking changes

@angular/router 20.0.0, released May 28, 2025: 18 breaking changes.

- **Removed**  

Upgrade TypeScript to 5.8 or later. [github.com](https://github.com/angular/angular/releases/tag/20.0.0)
- **Removed** `ViewTransitionInfo.transition.finished`  

ViewTransitionInfo.transition.finished was removed in @angular/router 20.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/20.0.0)

And 16 more in this version.

### @angular/router 20.0.0-rc.2 breaking changes

@angular/router 20.0.0-rc.2, released May 28, 2025: 1 breaking change.

- **Behavior changed**  

The minimum supported Node.js version is raised to 20.19, 22.12, and 24.0. Upgrade Node.js before using this release. [github.com](https://github.com/angular/angular/releases/tag/20.0.0-rc.2)

### @angular/router 20.0.0-next.9 breaking changes

@angular/router 20.0.0-next.9, released May 28, 2025: 5 breaking changes.

- **Removed** `TestBed.flushEffects`  

TestBed.flushEffects() was removed. Call TestBed.tick() instead. [github.com](https://github.com/angular/angular/releases/tag/20.0.0-next.9)
- **Removed** `useNgZoneOnStable`  

The useNgZoneOnStable option is removed. Use the interval option instead. [github.com](https://github.com/angular/angular/releases/tag/20.0.0-next.9)

And 3 more in this version.

### @angular/router 20.0.0-next.8 breaking changes

@angular/router 20.0.0-next.8, released May 28, 2025: 4 breaking changes.

- **Renamed** `provideExperimentalZonelessChangeDetection`  

The experimental zoneless provider is renamed to provideZonelessChangeDetection because the API is now in Developer Preview. Update imports and calls. [github.com](https://github.com/angular/angular/releases/tag/20.0.0-next.8)
- **Behavior changed**  

An 'in' in a template expression now refers to the operator, so existing template expressions using it may behave differently. [github.com](https://github.com/angular/angular/releases/tag/20.0.0-next.8)

And 2 more in this version.

### @angular/router 20.0.0-next.6 breaking changes

@angular/router 20.0.0-next.6, released May 28, 2025: 1 breaking change.

- **Behavior changed**  

Animations now flush after automatic change detection or ApplicationRef.tick. Tests that expected removed DOM to still be present may need updating. [github.com](https://github.com/angular/angular/releases/tag/20.0.0-next.6)

### @angular/router 20.0.0-next.5 breaking changes

@angular/router 20.0.0-next.5, released May 28, 2025: 2 breaking changes.

- **Removed**  

Angular no longer supports Node.js 18 or Node.js 22.0 to 22.10. Upgrade Node.js to at least 20.11.1 before upgrading Angular. [github.com](https://github.com/angular/angular/releases/tag/20.0.0-next.5)
- **Signature changed** `Route`  

The guards arrays on Route no longer include any in the type union. Use functional guards or ProviderToken values instead. [github.com](https://github.com/angular/angular/releases/tag/20.0.0-next.5)

### @angular/router 19.0.0 breaking changes

@angular/router 19.0.0, released November 19, 2024: 18 breaking changes.

- **Removed**  

@angular/router 19.0.0 requires TypeScript 5.5 or later [github.com](https://github.com/angular/angular/releases/tag/19.0.0)
- **Removed** `BrowserModule.withServerTransition`  

Use the APP_ID injection token to set the application id instead. [github.com](https://github.com/angular/angular/releases/tag/19.0.0)

And 16 more in this version.

### @angular/router 19.0.0-rc.0 breaking changes

@angular/router 19.0.0-rc.0, released November 19, 2024: 1 breaking change.

- **Signature changed** `OutletContext.injector`  

The setter for injector on OutletContext was removed, so code that assigns to it must stop doing so. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/19.0.0)

### @angular/router 19.0.0-next.0 breaking changes

@angular/router 19.0.0-next.0, released November 19, 2024: 1 breaking change.

- **Signature changed** `Resolve`  

Resolve implementations may now return a RedirectCommand, so code that consumes or implements Resolve may need to handle it. [github.com](https://github.com/angular/angular/releases/tag/19.0.0-next.0)

### @angular/router 18.0.0 breaking changes

@angular/router 18.0.0, released May 22, 2024: 10 breaking changes.

- **Behavior changed**  

When a guard returns a UrlTree as a redirect and the initial navigation used replaceUrl, the redirect now also replaces the URL. Return a RedirectCommand with new options to avoid this. [github.com](https://github.com/angular/angular/releases/tag/18.0.0)
- **Behavior changed** `RouterOutlet`  

Routed components now take providers only from the route injector hierarchy and never from the RouterOutlet. Providers that were only available through the outlet's component must be provided on the routes instead. [github.com](https://github.com/angular/angular/releases/tag/18.0.0)

And 8 more in this version.

### @angular/router 18.0.0-next.6 breaking changes

@angular/router 18.0.0-next.6, released May 22, 2024: 1 breaking change.

- **Removed** `matchesElement`  

The deprecated matchesElement method was removed from AnimationDriver because it was unused. Code calling it must stop doing so. [github.com](https://github.com/angular/angular/releases/tag/18.0.0-next.6)

### @angular/router 18.0.0-next.3 breaking changes

@angular/router 18.0.0-next.3, released May 22, 2024: 1 breaking change.

- **Behavior changed** `RouterOutlet`  

Routed components only get providers from the route injector hierarchy. Providers available only to the component that defines the RouterOutlet are no longer available to route components. [github.com](https://github.com/angular/angular/releases/tag/18.0.0-next.3)

### @angular/router 18.0.0-next.2 breaking changes

@angular/router 18.0.0-next.2, released May 22, 2024: 1 breaking change.

- **Behavior changed**  

A redirect returned as a UrlTree now uses replaceUrl if the initial navigation also used it. Return a RedirectCommand with the desired NavigationBehaviorOptions to change this. [github.com](https://github.com/angular/angular/releases/tag/18.0.0-next.2)

### @angular/router 18.0.0-next.1 breaking changes

@angular/router 18.0.0-next.1, released May 22, 2024: 1 breaking change.

- **Behavior changed** `RouterOutlet`  

Routed components only get providers from the route injector hierarchy. Providers available only to the component that defines the RouterOutlet are no longer available to route components. [github.com](https://github.com/angular/angular/releases/tag/18.0.0-next.1)

### @angular/router 18.0.0-next.0 breaking changes

@angular/router 18.0.0-next.0, released May 22, 2024: 1 breaking change.

- **Signature changed** `Route`  

Guards can now return RedirectCommand for redirects in addition to UrlTree. Code that types guard return values as only boolean or UrlTree needs to be adjusted. [github.com](https://github.com/angular/angular/releases/tag/18.0.0-next.0)

### @angular/router 17.0.0 breaking changes

@angular/router 17.0.0, released November 8, 2023: 7 breaking changes.

- **Removed** `ExtraOptions.malformedUriErrorHandler`  

ExtraOptions.malformedUriErrorHandler was removed in @angular/router 17.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/17.0.0)
- **Removed** `Router.malformedUriErrorHandler`  

Router.malformedUriErrorHandler was removed in @angular/router 17.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/17.0.0)

And 5 more in this version.

### @angular/router 17.0.0-rc.1 breaking changes

@angular/router 17.0.0-rc.1, released November 8, 2023: 1 breaking change.

- **Behavior changed** `RouterTestingHarness`  

If a component is expected but navigation fails, RouterTestingHarness now throws instead of continuing silently. Tests relying on the old behavior may need updating. [github.com](https://github.com/angular/angular/releases/tag/17.0.0-rc.1)

### @angular/router 17.0.0-next.8 breaking changes

@angular/router 17.0.0-next.8, released November 8, 2023: 1 breaking change.

- **Default changed** `paramsInheritanceStrategy`  

Routes with loadComponent now default paramsInheritanceStrategy to emptyOnly. To keep inheriting parent data in child routes, set paramsInheritanceStrategy to always. [github.com](https://github.com/angular/angular/releases/tag/17.0.0-next.8)

### @angular/router 17.0.0-next.6 breaking changes

@angular/router 17.0.0-next.6, released November 8, 2023: 2 breaking changes.

- **Removed** `setupTestingRouter`  

Use RouterModule.forRoot or provideRouter to set up the Router in tests. [github.com](https://github.com/angular/angular/releases/tag/17.0.0-next.6)
- **Behavior changed**  

Redirects after an absolute redirect are now followed. Check route configurations for redirect loops that were previously hidden. [github.com](https://github.com/angular/angular/releases/tag/17.0.0-next.6)

### @angular/router 17.0.0-next.5 breaking changes

@angular/router 17.0.0-next.5, released November 8, 2023: 2 breaking changes.

- **Removed**  

TypeScript versions older than 5.2 are no longer supported. Upgrade TypeScript before using this release. [github.com](https://github.com/angular/angular/releases/tag/17.0.0-next.5)
- **Removed**  

Node.js v16 is no longer supported and the minimum is now 18.13.0. Upgrade Node.js before using this release. [github.com](https://github.com/angular/angular/releases/tag/17.0.0-next.5)

### @angular/router 17.0.0-next.3 breaking changes

@angular/router 17.0.0-next.3, released November 8, 2023: 2 breaking changes.

- **Removed** `Router.urlHandlingStrategy`  

The Router property is no longer public. Configure it through provideRouter or RouterModule.forRoot instead. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/17.0.0)
- **Behavior changed**  

Host bindings and ngDoCheck of dynamically created OnPush components now run only when the component is dirty, as OnPush intends. [github.com](https://github.com/angular/angular/releases/tag/17.0.0-next.3)

### @angular/router 17.0.0-next.2 breaking changes

@angular/router 17.0.0-next.2, released November 8, 2023: 5 breaking changes.

- **Removed** `malformedUriErrorHandler`  

The Router property is no longer public. Configure it through provideRouter or RouterModule.forRoot instead. [github.com](https://github.com/angular/angular/releases/tag/17.0.0-next.2)
- **Removed** `Router.canceledNavigationResolution`  

The Router property is no longer public. Configure it through provideRouter or RouterModule.forRoot instead. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/17.0.0)

And 3 more in this version.

### @angular/router 16.0.0 breaking changes

@angular/router 16.0.0, released May 3, 2023: 21 breaking changes.

- **Removed**  

View Engine libraries no longer work because ngcc was removed. Use Ivy-compatible library versions. [github.com](https://github.com/angular/angular/releases/tag/16.0.0)
- **Removed**  

Angular v16 supports Node.js v16 and v18, so upgrade Node.js before using it. [github.com](https://github.com/angular/angular/releases/tag/16.0.0)

And 19 more in this version.

### @angular/router 16.0.0-rc.4 breaking changes

@angular/router 16.0.0-rc.4, released May 3, 2023: 1 breaking change.

- **Configuration changed**  

Users running SSR with JIT mode must add an import of @angular/compiler before bootstrapping the application. Angular CLI users are not affected. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-rc.4)

### @angular/router 16.0.0-rc.3 breaking changes

@angular/router 16.0.0-rc.3, released May 3, 2023: 1 breaking change.

- **Behavior changed** `TransferState`  

TransferState is now exported as a type, so value usages may need to change. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-rc.3)

### @angular/router 16.0.0-next.7 breaking changes

@angular/router 16.0.0-next.7, released May 3, 2023: 6 breaking changes.

- **Removed** `BrowserTransferStateModule`  

BrowserTransferStateModule was removed. TransferState can be injected without providing the module, so remove references to it. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.7)
- **Removed** `IterableDiffers.factories`  

The public factories property of IterableDiffers was dropped. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.7)

And 4 more in this version.

### @angular/router 16.0.0-next.6 breaking changes

@angular/router 16.0.0-next.6, released May 3, 2023: 1 breaking change.

- **Removed** `EventManager.addGlobalEventListener`  

The method was removed because Ivy does not use it. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.6)

### @angular/router 16.0.0-next.5 breaking changes

@angular/router 16.0.0-next.5, released May 3, 2023: 2 breaking changes.

- **Removed**  

Build output no longer includes FESM2015; ES2020 and FESM2020 are replaced by ES2022 and FESM2022. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.5)
- **Behavior changed** `NgTemplateOutlet`  

Add the missing properties to the context type or wrap the context in $any(...). [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.5)

### @angular/router 16.0.0-next.4 breaking changes

@angular/router 16.0.0-next.4, released May 3, 2023: 1 breaking change.

- **Signature changed** `renderApplication`  

Pass a bootstrapping function that returns a Promise\<ApplicationRef> instead. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.4)

### @angular/router 16.0.0-next.3 breaking changes

@angular/router 16.0.0-next.3, released May 3, 2023: 2 breaking changes.

- **Removed** `ComponentFactoryResolver`  

Stop passing a factory resolver to the router and use ViewContainerRef.createComponent. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.3)
- **Behavior changed** `APP_ID`  

When bootstrapping multiple applications on one page, provide APP_ID explicitly. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.3)

### @angular/router 16.0.0-next.2 breaking changes

@angular/router 16.0.0-next.2, released May 3, 2023: 1 breaking change.

- **Removed** `renderModuleFactory`  

Use renderModule instead. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.2)

### @angular/router 16.0.0-next.1 breaking changes

@angular/router 16.0.0-next.1, released May 3, 2023: 3 breaking changes.

- **Removed**  

Upgrade TypeScript to a supported version before upgrading Angular. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.1)
- **Removed**  

Angular v16 supports Node.js v16 and v18; move to one of those before upgrading. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.1)

And 1 more in this version.

### @angular/router 16.0.0-next.0 breaking changes

@angular/router 16.0.0-next.0, released May 3, 2023: 4 breaking changes.

- **Removed**  

View Engine libraries no longer work and must be rebuilt for Ivy. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.0)
- **Behavior changed** `MockPlatformLocation`  

Tests that rely on BrowserPlatformLocation may need to override the PlatformLocation provider again. [github.com](https://github.com/angular/angular/releases/tag/16.0.0-next.0)

And 2 more in this version.

### @angular/router 15.0.0 breaking changes

@angular/router 15.0.0, released November 16, 2022: 30 breaking changes.

- **Removed** `ExtraOptions.relativeLinkResolution`  

ExtraOptions.relativeLinkResolution was removed in @angular/router 15.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/15.0.0)
- **Removed** `relativeLinkResolution`  

The relativeLinkResolution option is no longer configurable in the Router. Remove it from router configuration. [github.com](https://github.com/angular/angular/releases/tag/15.0.0)

And 28 more in this version.

### @angular/router 14.0.0 breaking changes

@angular/router 14.0.0, released June 2, 2022: 24 breaking changes.

- **Removed** `initialNavigation`  

The deprecated initialNavigation: 'enabled' value is removed. Use initialNavigation: 'enabledBlocking' instead. [github.com](https://github.com/angular/angular/releases/tag/14.0.0)
- **Behavior changed**  

The router takes only the first value emitted by a resolver before navigating, instead of waiting for completion and using the last value. [github.com](https://github.com/angular/angular/releases/tag/14.0.0)

And 22 more in this version.

### @angular/router 13.0.0 breaking changes

@angular/router 13.0.0, released November 3, 2021: 33 breaking changes.

- **Removed** `ɵangular_packages_router_router_a`  

ɵangular_packages_router_router_a was removed in @angular/router 13.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/13.0.0)
- **Removed** `ɵangular_packages_router_router_b`  

ɵangular_packages_router_router_b was removed in @angular/router 13.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/13.0.0)

And 31 more in this version.

### @angular/router 13.0.0-next.13 breaking changes

@angular/router 13.0.0-next.13, released November 3, 2021: 1 breaking change.

- **Removed**  

Users must run Node.js v12.20.0 or later. [github.com](https://github.com/angular/angular/blob/13.0.0/CHANGELOG.md)

### @angular/router 13.0.0-next.12 breaking changes

@angular/router 13.0.0-next.12, released November 3, 2021: 3 breaking changes.

- **Removed**  

Users must upgrade TypeScript to 4.4.2 or later. [github.com](https://github.com/angular/angular/blob/13.0.0/CHANGELOG.md)
- **Signature changed** `SwUpdate.activateUpdate`  

Type-checking may fail in some cases; update types to the new return type. [github.com](https://github.com/angular/angular/blob/13.0.0/CHANGELOG.md)

And 1 more in this version.

### @angular/router 13.0.0-next.10 breaking changes

@angular/router 13.0.0-next.10, released November 3, 2021: 1 breaking change.

- **Removed** `WrappedValue`  

No replacement is available; remove its usage from code and libraries. [github.com](https://github.com/angular/angular/blob/13.0.0/CHANGELOG.md)

### @angular/router 13.0.0-next.9 breaking changes

@angular/router 13.0.0-next.9, released November 3, 2021: 5 breaking changes.

- **Removed** `DeprecatedLoadChildren`  

Remove usages of this type; string loadChildren is no longer supported. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/13.0.0)
- **Removed** `NgModuleFactoryLoader`  

These classes were removed from @angular/core and must no longer be used. [github.com](https://github.com/angular/angular/blob/13.0.0/CHANGELOG.md)

And 3 more in this version.

### @angular/router 13.0.0-next.7 breaking changes

@angular/router 13.0.0-next.7, released November 3, 2021: 1 breaking change.

- **Behavior changed** `Router`  

Hybrid apps relying on navigationId on initial navigations must subscribe to NavigationCancel events and call location.replaceState themselves. [github.com](https://github.com/angular/angular/blob/13.0.0/CHANGELOG.md)

### @angular/router 13.0.0-next.5 breaking changes

@angular/router 13.0.0-next.5, released November 3, 2021: 1 breaking change.

- **Behavior changed** `RouterTestingModule`  

Location.go no longer emits a popstate event in tests; simulateHashChange now triggers both hashchange and popstate. Tests relying on location.go to update the Router should switch to simulateHashChange. [github.com](https://github.com/angular/angular/blob/13.0.0/CHANGELOG.md)

### @angular/router 12.0.0 breaking changes

@angular/router 12.0.0, released May 12, 2021: 9 breaking changes.

- **Removed**  

Distributed npm packages no longer include minified UMD bundles, so code or tooling that loads those files must change. [github.com](https://github.com/angular/angular/releases/tag/12.0.0)
- **Removed**  

Angular no longer supports Node.js v10, so upgrade Node.js before using this release. [github.com](https://github.com/angular/angular/releases/tag/12.0.0)

And 7 more in this version.

### @angular/router 12.0.0-next.7 breaking changes

@angular/router 12.0.0-next.7, released May 12, 2021: 1 breaking change.

- **Removed** `XhrFactory`  

Import XhrFactory from @angular/common instead of @angular/common/http; the old re-export is deprecated temporarily. [github.com](https://github.com/angular/angular/blob/12.0.0/CHANGELOG.md)

### @angular/router 12.0.0-next.6 breaking changes

@angular/router 12.0.0-next.6, released May 12, 2021: 2 breaking changes.

- **Behavior changed**  

DOM elements are now removed when the root view is destroyed; SSR users must save the HTML before destroying the app, and tests may need setup changes. [github.com](https://github.com/angular/angular/blob/12.0.0/CHANGELOG.md)
- **Behavior changed** `ActivatedRouteSnapshot.fragment`  

Strict null checks now report fragment as possibly null; add a null check. [github.com](https://github.com/angular/angular/blob/12.0.0/CHANGELOG.md)

### @angular/router 12.0.0-next.5 breaking changes

@angular/router 12.0.0-next.5, released May 12, 2021: 1 breaking change.

- **Default changed** `emitDistinctChangesOnlyDefaultValue`  

The default changed to true, so QueryList.changes emits less often; set emitDistinctChangesOnly explicitly to keep old behavior if needed. [github.com](https://github.com/angular/angular/blob/12.0.0/CHANGELOG.md)

### @angular/router 12.0.0-next.4 breaking changes

@angular/router 12.0.0-next.4, released May 12, 2021: 2 breaking changes.

- **Signature changed** `APP_INITIALIZER`  

Initializer return type is now Promise\<unknown> | Observable\<unknown> | void; explicit Provider annotations may be needed to avoid TS2742. [github.com](https://github.com/angular/angular/blob/12.0.0/CHANGELOG.md)
- **Signature changed** `PlatformLocation.onPopState`  

onPopState and onHashChange now return functions that remove the handler instead of void. [github.com](https://github.com/angular/angular/blob/12.0.0/CHANGELOG.md)

### @angular/router 12.0.0-next.3 breaking changes

@angular/router 12.0.0-next.3, released May 12, 2021: 2 breaking changes.

- **Signature changed** `HttpParams`  

HttpParams methods now accept string | number | boolean values; subclasses overriding these methods must update their signatures. [github.com](https://github.com/angular/angular/blob/12.0.0/CHANGELOG.md)
- **Signature changed** `RouterLinkActive.routerLinkActiveOptions`  

The type of routerLinkActiveOptions was widened; code reading this property may need updating. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/12.0.0)

### @angular/router 11.0.0 breaking changes

@angular/router 11.0.0, released November 11, 2020: 18 breaking changes.

- **Removed** `initialNavigation`  

The initialNavigation option no longer accepts legacy_disabled, legacy_enabled, true or false. legacy_enabled is now enabledNonBlocking. [github.com](https://github.com/angular/angular/blob/11.0.0/CHANGELOG.md)
- **Removed** `NavigationExtras.preserveQueryParams`  

NavigationExtras.preserveQueryParams was removed in @angular/router 11.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/11.0.0)

And 16 more in this version.

### @angular/router 10.0.0 breaking changes

@angular/router 10.0.0, released June 24, 2020: 2 breaking changes.

- **Signature changed** `CanLoad.canLoad`  

Was canLoad(route: Route, segments: UrlSegment\[\]): Observable\<boolean> | Promise\<boolean> | boolean; now canLoad(route: Route, segments: UrlSegment\[\]): Observable\<boolean | UrlTree> | Promise\<boolean | UrlTree> | boolean | UrlTree. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/10.0.0)
- **Signature changed** `UrlMatcher`  

Was type UrlMatcher = (segments: UrlSegment\[\], group: UrlSegmentGroup, route: Route) => UrlMatchResult; now type UrlMatcher = (segments: UrlSegment\[\], group: UrlSegmentGroup, route: Route) => UrlMatchResult | null. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/10.0.0)

### @angular/router 10.0.0-rc.6 breaking changes

@angular/router 10.0.0-rc.6, released June 24, 2020: 1 breaking change.

- **Behavior changed**  

Navigation to the current URL is now judged against the browser URL, which can change navigation behavior. [github.com](https://github.com/angular/angular/blob/10.0.0/CHANGELOG.md)

### @angular/router 10.0.0-rc.0 breaking changes

@angular/router 10.0.0-rc.0, released June 24, 2020: 1 breaking change.

- **Removed**  

Closure Compiler advanced optimizations are no longer supported with the published packages; use source builds or SIMPLE compilation level. [github.com](https://github.com/angular/angular/blob/10.0.0/CHANGELOG.md)

### @angular/router 10.0.0-next.8 breaking changes

@angular/router 10.0.0-next.8, released June 24, 2020: 1 breaking change.

- **Removed**  

TypeScript 3.8 is no longer supported; update to TypeScript 3.9. [github.com](https://github.com/angular/angular/blob/10.0.0/CHANGELOG.md)

### @angular/router 10.0.0-next.7 breaking changes

@angular/router 10.0.0-next.7, released June 24, 2020: 1 breaking change.

- **Signature changed** `ModuleWithProviders`  

Add a type parameter to ModuleWithProviders; a migration updates application code, but libraries that omit it will fail to build. [github.com](https://github.com/angular/angular/blob/10.0.0/CHANGELOG.md)

### @angular/router 10.0.0-next.6 breaking changes

@angular/router 10.0.0-next.6, released June 24, 2020: 4 breaking changes.

- **Removed**  

TypeScript 3.6 and 3.7 are no longer supported; update to TypeScript 3.8 or later. [github.com](https://github.com/angular/angular/blob/10.0.0/CHANGELOG.md)
- **Removed**  

Angular npm packages no longer ship esm5 and fesm5 formats; downlevel to es5 yourself if you build without the Angular CLI. [github.com](https://github.com/angular/angular/blob/10.0.0/CHANGELOG.md)

And 2 more in this version.

### @angular/router 10.0.0-next.4 breaking changes

@angular/router 10.0.0-next.4, released June 24, 2020: 1 breaking change.

- **Behavior changed** `CanLoad`  

CanLoad guard may now return UrlTree in @angular/router 10.0.0-next.4 [github.com](https://github.com/angular/angular/blob/10.0.0/CHANGELOG.md)

### @angular/router 10.0.0-next.3 breaking changes

@angular/router 10.0.0-next.3, released June 24, 2020: 1 breaking change.

- **Behavior changed** `DatePipe`  

Formatting with the b or B format codes now renders day periods that span midnight correctly, so output changes for formatDate() and DatePipe users of those codes. [github.com](https://github.com/angular/angular/blob/10.0.0/CHANGELOG.md)

### @angular/router 10.0.0-next.0 breaking changes

@angular/router 10.0.0-next.0, released June 24, 2020: 1 breaking change.

- **Behavior changed** `UrlMatcher`  

UrlMatcher's type now reflects that it could always return null. If you implemented your own Router or Recognizer class, update it to handle a matcher returning null. [github.com](https://github.com/angular/angular/blob/10.0.0/CHANGELOG.md)

### @angular/router 9.0.0-next.12 breaking changes

@angular/router 9.0.0-next.12, released February 6, 2020: 1 breaking change.

- **Removed**  

TypeScript 3.4 and 3.5 are no longer supported. Users must upgrade to TypeScript 3.6 before using this release. [github.com](https://github.com/angular/angular/blob/9.0.0/CHANGELOG.md)

### @angular/router 9.0.0-next.11 breaking changes

@angular/router 9.0.0-next.11, released February 6, 2020: 6 breaking changes.

- **Removed** `FormsModule.withConfig`  

Use the FormsModule directly instead of FormsModule.withConfig. [github.com](https://github.com/angular/angular/blob/9.0.0/CHANGELOG.md)
- **Removed** `ngForm`  

Use the ng-form element selector instead of ngForm. [github.com](https://github.com/angular/angular/blob/9.0.0/CHANGELOG.md)

And 4 more in this version.

### @angular/router 9.0.0-next.10 breaking changes

@angular/router 9.0.0-next.10, released February 6, 2020: 4 breaking changes.

- **Removed** `RenderComponentType`  

Use RendererType2 instead of the removed RenderComponentType type. [github.com](https://github.com/angular/angular/blob/9.0.0/CHANGELOG.md)
- **Removed** `Renderer`  

Use Renderer2 instead of the removed Renderer type. [github.com](https://github.com/angular/angular/blob/9.0.0/CHANGELOG.md)

And 2 more in this version.

### @angular/router 9.0.0-next.9 breaking changes

@angular/router 9.0.0-next.9, released February 6, 2020: 1 breaking change.

- **Removed** `versionedFiles`  

Remove versionedFiles from asset groups in ngsw-config.json and use files instead. [github.com](https://github.com/angular/angular/blob/9.0.0/CHANGELOG.md)

### @angular/router 8.0.0 breaking changes

@angular/router 8.0.0, released May 28, 2019: 37 breaking changes.

- **Removed**  

TypeScript 3.1 and 3.2 are no longer supported. Update TypeScript to 3.3 or later. [github.com](https://github.com/angular/angular/blob/8.0.0/CHANGELOG.md)
- **Removed** `DOCUMENT`  

The DOCUMENT token is no longer exported from platform-browser. Import it from @angular/common instead. [github.com](https://github.com/angular/angular/blob/8.0.0/CHANGELOG.md)

And 35 more in this version.

### @angular/router 8.0.0-rc.5 breaking changes

@angular/router 8.0.0-rc.5, released May 28, 2019: 2 breaking changes.

- **Removed** `TestBed.deprecatedOverrideProvider`  

TestBed.deprecatedOverrideProvider was removed, so tests using it must change. [github.com](https://github.com/angular/angular/blob/8.0.0/CHANGELOG.md)
- **Signature changed** `ViewChild`  

Every @ViewChild and @ContentChild query must now specify a static flag saying whether it is static or dynamic. [github.com](https://github.com/angular/angular/blob/8.0.0/CHANGELOG.md)

### @angular/router 8.0.0-rc.0 breaking changes

@angular/router 8.0.0-rc.0, released May 28, 2019: 1 breaking change.

- **Removed** `DOCUMENT`  

The deprecated DOCUMENT token was removed from platform-browser, so code importing it must change. [github.com](https://github.com/angular/angular/blob/8.0.0/CHANGELOG.md)

### @angular/router 7.0.0 breaking changes

@angular/router 7.0.0, released October 18, 2018: 1 breaking change.

- **Signature changed** `CanLoad.canLoad`  

Was canLoad(route: Route): Observable\<boolean> | Promise\<boolean> | boolean; now canLoad(route: Route, segments: UrlSegment\[\]): Observable\<boolean> | Promise\<boolean> | boolean. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/7.0.0)

### @angular/router 6.0.0 breaking changes

@angular/router 6.0.0, released May 3, 2018: 13 breaking changes.

- **Removed** `ɵa`  

ɵa was removed in @angular/router 6.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/6.0.0)
- **Removed** `ɵb`  

ɵb was removed in @angular/router 6.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/6.0.0)

And 11 more in this version.

### @angular/router 5.0.0 breaking changes

@angular/router 5.0.0, released November 1, 2017: 14 breaking changes.

- **Removed** `initialNavigation`  

The values true, false, legacy_enabled and legacy_disabled for the initialNavigation router parameter were removed. Use enabled or disabled instead. [github.com](https://github.com/angular/angular/blob/5.0.0/CHANGELOG.md)
- **Removed** `NavigationStart.constructor`  

new NavigationStart() was removed in @angular/router 5.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/5.0.0)

And 12 more in this version.

### @angular/router 4.0.0 breaking changes

@angular/router 4.0.0, released March 23, 2017: 35 breaking changes.

- **Removed** `__router_private__`  

\_\_router_private\_\_ was removed in @angular/router 4.0.0 [npmjs.com](https://www.npmjs.com/package/@angular/router/v/4.0.0)
- **Signature changed** `ActivatedRoute.children`  

Was children: ActivatedRoute\[\]; now readonly children: ActivatedRoute\[\]. [npmjs.com](https://www.npmjs.com/package/@angular/router/v/4.0.0)

And 33 more in this version.

### @angular/router 4.0.0-rc.4 breaking changes

@angular/router 4.0.0-rc.4, released March 23, 2017: 5 breaking changes.

- **Removed** `equalsTo`  

The equalsTo validator is gone. Code using it must be changed. [github.com](https://github.com/angular/angular/blob/4.0.0/CHANGELOG.md)
- **Behavior changed**  

Only components, directives, pipes and NgModules are created eagerly now. Providers are eager only when injected into one of them. [github.com](https://github.com/angular/angular/blob/4.0.0/CHANGELOG.md)

And 3 more in this version.

### @angular/router 4.0.0-rc.3 breaking changes

@angular/router 4.0.0-rc.3, released March 23, 2017: 1 breaking change.

- **Behavior changed**  

Synthetic properties and listeners now throw by default instead of being silently accepted. [github.com](https://github.com/angular/angular/blob/4.0.0/CHANGELOG.md)

### @angular/router 4.0.0-beta.7 breaking changes

@angular/router 4.0.0-beta.7, released March 23, 2017: 1 breaking change.

- **Removed**  

Angular 4 supports only TypeScript 2.1, so projects on TypeScript 1.8 must upgrade. [github.com](https://github.com/angular/angular/blob/4.0.0/CHANGELOG.md)

### @angular/router 4.0.0-beta.3 breaking changes

@angular/router 4.0.0-beta.3, released March 23, 2017: 2 breaking changes.

- **Behavior changed**  

A resolver is now called again when parent route parameters change, so resolvers may run more often than before. [github.com](https://github.com/angular/angular/blob/4.0.0/CHANGELOG.md)
- **Behavior changed** `navigate`  

Calling navigate with a null or undefined path now throws instead of failing silently. Code that passes such values must check them first. [github.com](https://github.com/angular/angular/blob/4.0.0/CHANGELOG.md)

## Related packages

- [@angular/core](https://since.dev/packages/npm/@angular/core.md)
- [@angular/compiler](https://since.dev/packages/npm/@angular/compiler.md)
- [@angular/common](https://since.dev/packages/npm/@angular/common.md)
- [@angular/platform-server](https://since.dev/packages/npm/@angular/platform-server.md)
- [@angular/forms](https://since.dev/packages/npm/@angular/forms.md)
- [@angular/platform-browser](https://since.dev/packages/npm/@angular/platform-browser.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
