angular.courses

NG update Migrations — Angular 19

Migrations available with the ng update Angular CLI command for Angular 19. 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.

Availability

  • 15.0.0introduced
  • 17.0.0
  • 19.0.0

use-application-builder

angular-cliIntroduced 18.0.0

Migrate application projects using '@angular-devkit/build-angular:browser' and '@angular-devkit/build-angular:browser-esbuild' to use the '@angular-devkit/build-angular:application' builder. Read more about this here: https://angular.dev/tools/cli/esbuild#using-the-application-builder

No example diff available for this migration yet.

Availability

  • 18.0.0introducedoptional
  • 19.0.0optional
  • 20.0.0optional
  • 21.0.0optional

explicit-standalone-flag

angular19.0.0

Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone

No example diff available for this migration yet.

pending-tasks

angular19.0.0

Updates ExperimentalPendingTasks to PendingTasks

No example diff available for this migration yet.

provide-initializer

angular19.0.0

Replaces `APP_INITIALIZER`, `ENVIRONMENT_INITIALIZER` & `PLATFORM_INITIALIZER` respectively with `provideAppInitializer`, `provideEnvironmentInitializer` & `providePlatformInitializer`.

No example diff available for this migration yet.

update-ssr-imports

angular-cli19.0.0

Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.

No example diff available for this migration yet.