NG update Migrations — Angular 18

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

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.

http-providers

angular18.0.0

Replace deprecated HTTP related modules with provider functions

No example diff available for this migration yet.

use-application-builder

angular-cliIntroduced 18.0.0

Migrate application projects to the new build system. Application projects that are using the '@angular-devkit/build-angular' package's 'browser' and/or 'browser-esbuild' builders will be migrated to use the new 'application' builder. You can read more about this, including known issues and limitations, here: https://angular.dev/tools/cli/build-system-migration

No example diff available for this migration yet.

after-render-phase

angular18.1.0

Updates calls to afterRender with an explicit phase to the new API

No example diff available for this migration yet.