angular.courses

NG update Migrations — Angular 17

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

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.

block-template-entities

angular17.0.0

Angular v17 introduces a new control flow syntax that uses the @ and } characters. This migration replaces the existing usages with their corresponding HTML entities.

No example diff available for this migration yet.

compiler-options

angular17.0.0

CompilerOption.useJit and CompilerOption.missingTranslation are unused under Ivy. This migration removes their usage

No example diff available for this migration yet.

replace-nguniversal-builders

angular-cli17.0.0

Replace usages of '@nguniversal/builders' with '@angular-devkit/build-angular'.

No example diff available for this migration yet.

replace-nguniversal-engines

angular-cli17.0.0

Replace usages of '@nguniversal/' packages with '@angular/ssr'.

No example diff available for this migration yet.

transfer-state

angular17.0.0

Updates `TransferState`, `makeStateKey`, `StateKey` imports from `@angular/platform-browser` to `@angular/core`.

No example diff available for this migration yet.

add-browser-sync-dependency

angular-cli17.1.0

Add 'browser-sync' as dev dependency when '@angular-devkit/build-angular:ssr-dev-server' is used, as it is no longer a direct dependency of '@angular-devkit/build-angular'.

No example diff available for this migration yet.

invalid-two-way-bindings

angularIntroduced 17.3.0

Updates two-way bindings that have an invalid expression to use the longform expression instead.

No example diff available for this migration yet.