NG update Migrations — Angular 15
Migrations available with the ng update Angular CLI command for Angular 15. Details and example diffs below.
In Angular version 15, the deprecated `relativeLinkResolution` config parameter of the Router is removed. This migration removes all `relativeLinkResolution` fields from the Router config objects.
No example diff available for this migration yet.
Remove Browserslist configuration files that matches the Angular CLI default configuration.
No example diff available for this migration yet.
Remove exported `@angular/platform-server` `renderModule` method. The `renderModule` method is now exported by the Angular CLI.
No example diff available for this migration yet.
Since Angular v15, the `RouterLink` contains the logic of the `RouterLinkWithHref` directive. This migration replaces all `RouterLinkWithHref` references with `RouterLink`.
No example diff available for this migration yet.
Remove no longer needed require calls in Karma builder main file.
No example diff available for this migration yet.
Update TypeScript compiler `target` and set `useDefineForClassFields`. These changes are for IDE purposes as TypeScript compiler options `target` and `useDefineForClassFields` are set to `ES2022` and `false` respectively by the Angular CLI. To control ECMA version and features use the Browerslist configuration.
No example diff available for this migration yet.
No example diff available for this migration yet.