Upgrading @angular/router 9 to 10
Unknown9.1.13 → 10.2.5
UnknownUpgrade verdict
None of the 56 releases in this range publish notes, so breaking changes can't be ruled out.
In plain terms
- Some releases in this range publish no notes, so DepDelta can't rule out breaking changes.
- 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.
Adds tslib ^2.0.0.
Installs 1 package in all (was 0).
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- changed:
class RouterLink → class RouterLink implements OnChanges - changed:
constructor RouterLinkActive(router: Router, element: ElementRef, renderer: Renderer2, link?: RouterLink | undefined, linkWithHref?: RouterLinkWithHref | undefined) → constructor RouterLinkActive(router: Router, element: ElementRef, renderer: Renderer2, cdr: ChangeDetectorRef, link?: RouterLink | undefined, linkWithHref?: RouterLinkWithHref | undefined) - changed:
method CanLoad.canLoad(route: Route, segments: UrlSegment[]): Observable<boolean> | Promise<boolean> | boolean → method CanLoad.canLoad(route: Route, segments: UrlSegment[]): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree - changed:
method RouterLinkWithHref.ngOnChanges(changes: {}): any → method RouterLinkWithHref.ngOnChanges(changes: SimpleChanges): any - changed:
method RouterLinkWithHref.onClick(button: number, ctrlKey: boolean, metaKey: boolean, shiftKey: boolean): boolean → method RouterLinkWithHref.onClick(button: number, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean - changed:
type UrlMatcher = (segments: UrlSegment[], group: UrlSegmentGroup, route: Route) => UrlMatchResult → type UrlMatcher = (segments: UrlSegment[], group: UrlSegmentGroup, route: Route) => UrlMatchResult | null - added:
abstract class BaseRouteReuseStrategy implements RouteReuseStrategy - added:
method BaseRouteReuseStrategy.retrieve(route: ActivatedRouteSnapshot): DetachedRouteHandle | null - added:
method BaseRouteReuseStrategy.shouldAttach(route: ActivatedRouteSnapshot): boolean - added:
method BaseRouteReuseStrategy.shouldDetach(route: ActivatedRouteSnapshot): boolean - added:
method BaseRouteReuseStrategy.shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean - added:
method BaseRouteReuseStrategy.store(route: ActivatedRouteSnapshot, detachedTree: DetachedRouteHandle): void - added:
method RouterLink.ngOnChanges(changes: SimpleChanges): void