NG update Migrations — Angular 20
Migrations available with the ng update Angular CLI command for Angular 20. Details and example diffs below.
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.
Converts the entire application to block control flow syntax
No example diff available for this migration yet.
No example diff available for this migration yet.
No example diff available for this migration yet.
Update workspace generation defaults to maintain previous style guide behavior.
No example diff available for this migration yet.
Migrate imports of 'provideServerRendering' from '@angular/platform-server' to '@angular/ssr'.
No example diff available for this migration yet.
Migrate 'provideServerRendering' to use 'withRoutes', and remove 'provideServerRouting' and 'provideServerRoutesConfig' from '@angular/ssr'.
No example diff available for this migration yet.
No example diff available for this migration yet.
Update 'moduleResolution' to 'bundler' in TypeScript configurations. You can read more about this, here: https://www.typescriptlang.org/tsconfig/#moduleResolution
No example diff available for this migration yet.
Remove any karma configuration files that only contain the default content. The default configuration is automatically available without a specific project file.
No example diff available for this migration yet.
Replaces usages of the deprecated Router.getCurrentNavigation method with the Router.currentNavigation signal
No example diff available for this migration yet.
Adds `BootstrapContext` to `bootstrapApplication` calls in `main.server.ts` to support server rendering.
No example diff available for this migration yet.