angular.courses

NG update Migrations — Angular 15

Migrations available with the ng update Angular CLI command for Angular 15. Details and example diffs below.

relative-link-resolution

angular15.0.0

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-config

angular-cli15.0.0

Remove Browserslist configuration files that matches the Angular CLI default configuration.

No example diff available for this migration yet.

remove-platform-server-exports

angular-cli15.0.0

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.

router-link-with-href

angular15.0.0

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.

update-karma-main-file

angular-cli15.0.0

Remove no longer needed require calls in Karma builder main file.

No example diff available for this migration yet.

update-typescript-target

angular-cli15.0.0

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.

update-workspace-config

angular-cliIntroduced 15.0.0

Remove options from 'angular.json' that are no longer supported by the official builders.

No example diff available for this migration yet.