Upgrading @angular/router 10 to 11
Unknown10.2.5 → 11.2.14Fixed3
UnknownUpgrade verdict
DepDelta hasn't looked for the notes of 48 of 49 releases yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
- Their commits are listed with this comparison.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- removed:
property NavigationExtras.fragment?: string - removed:
property NavigationExtras.preserveFragment?: boolean - removed:
property NavigationExtras.preserveQueryParams?: boolean - removed:
property NavigationExtras.queryParams?: Params | null - removed:
property NavigationExtras.queryParamsHandling?: QueryParamsHandling | null - removed:
property NavigationExtras.relativeTo?: ActivatedRoute | null - removed:
property NavigationExtras.replaceUrl?: boolean - removed:
property NavigationExtras.skipLocationChange?: boolean - removed:
property NavigationExtras.state?: { [k: string]: any } - removed:
set RouterLink.preserveQueryParams(value: boolean) - removed:
set RouterLinkWithHref.preserveQueryParams(value: boolean) - changed:
interface NavigationExtras → interface NavigationExtras extends UrlCreationOptions, NavigationBehaviorOptions - changed:
method Router.createUrlTree(commands: any[], navigationExtras?: NavigationExtras): UrlTree → method Router.createUrlTree(commands: any[], navigationExtras?: UrlCreationOptions): UrlTree - changed:
method Router.navigateByUrl(url: string | UrlTree, extras?: NavigationExtras): Promise<boolean> → method Router.navigateByUrl(url: string | UrlTree, extras?: NavigationBehaviorOptions): Promise<boolean> - changed:
property RouterLink.fragment: string → property RouterLink.fragment?: string - changed:
property RouterLink.queryParams: { [k: string]: any } → property RouterLink.queryParams?: Params | null - changed:
property RouterLink.queryParamsHandling: QueryParamsHandling → property RouterLink.queryParamsHandling?: QueryParamsHandling | null - changed:
property RouterLinkWithHref.fragment: string → property RouterLinkWithHref.fragment?: string - changed:
property RouterLinkWithHref.queryParams: { [k: string]: any } → property RouterLinkWithHref.queryParams?: Params | null - changed:
property RouterLinkWithHref.queryParamsHandling: QueryParamsHandling → property RouterLinkWithHref.queryParamsHandling?: QueryParamsHandling | null - changed:
type InitialNavigation = true | false | 'enabled' | 'disabled' | 'legacy_enabled' | 'legacy_disabled' → type InitialNavigation = 'disabled' | 'enabled' | 'enabledBlocking' | 'enabledNonBlocking' - added:
function ɵassignExtraOptionsToRouter(opts: ExtraOptions, router: Router): void - added:
interface NavigationBehaviorOptions - added:
interface UrlCreationOptions - added:
property NavigationBehaviorOptions.replaceUrl?: boolean - added:
property NavigationBehaviorOptions.skipLocationChange?: boolean - added:
property NavigationBehaviorOptions.state?: { [k: string]: any } - added:
property RouterLink.relativeTo?: ActivatedRoute | null - added:
property RouterLinkWithHref.relativeTo?: ActivatedRoute | null - added:
property UrlCreationOptions.fragment?: string - added:
property UrlCreationOptions.preserveFragment?: boolean - added:
property UrlCreationOptions.queryParams?: Params | null - added:
property UrlCreationOptions.queryParamsHandling?: QueryParamsHandling | null - added:
property UrlCreationOptions.relativeTo?: ActivatedRoute | null