Packages

@angular-devkit/core

22.2.5 · 28 Oct 2026MIT24.5M / weekRepositorynpmAtom feed

Your version

17.0.0

major8 Nov 2023Where it was published

17.3.17 is the newest release of 17.x.

In short

6 breaking2 deprecated

  • breaking

    Routing is enabled by default for new applications when using ng generate application and ng new. The --no-routing command line option can be used to disable this behaviour.

  • breaking

    ng g interceptor now generate a functional interceptor by default. or guard by default. To generate a class-based interceptor the --no-functional command flag should be used.

  • breaking

    rootModuleClassName, rootModuleFileName and main options have been removed from the public pwa and app-shell schematics.

  • breaking

    App-shell and Universal schematics deprecated unused appId option has been removed.

  • breaking

    Node.js v16 support has been removed

  • breaking

    Deprecated runExternalSchematicAsync and runSchematicAsync methods have been removed in favor of runExternalSchematic and runSchematic.

  • deprecated

    StateTransferInitializerModule, TransferHttpCacheInterceptor and domContentLoadedFactory have been deprecated in favor of provideClientHydration. See: angular.io/api/platform-browser/provideClientHy…

  • deprecated

    The browserTarget in the dev-server and extract-i18n builders have been deprecated in favor of buildTarget.

Release note

@angular/cli

CommitDescription
fix - f4e7fa873add @angular/ssr as part of the ng update packageGroup
fix - 1f7156b11add Node.js 20 as supported version
fix - 4b9a87c90ignore peer mismatch when updating @nguniversal/builders
fix - f66f9cf61remove Node.js 16 from supported checks

@schematics/angular

CommitDescription
feat - 741cca73cadd ng new --ssr
feat - 3938863b9add migration to migrate from @nguniversal to @angular/ssr
feat - dc6b6eaf6add migration to replace usages of @nguniversal/builders
feat - 6979eba3cenable hydration when adding SSR, SSG or AppShell
feat - 1a6a139aaenable routing by default for new applications
feat - ac0db6697enable standalone by default in new applications
feat - a189962a5generate functional interceptors by default
feat - ae45c4ab8update ng new generated application
feat - 3f8aa9d8cupdate ng new to use the esbuild application builder based builder
fix - 03a1eaf01account for new block syntax in starter template
fix - eb0fc7434add missing express REQUEST and RESPONSE tokens
fix - ecdcff2dbadd missing icons in ng-new template
fix - 175944672do not add unnecessary dependency on @angular/ssr during migration
fix - 23c4c5e42enable TypeScript esModuleInterop by default for ESM compliance
fix - d60a6e86anoop workspace config migration when already executed
fix - e516a4bdbpass ssr option to application schematics
fix - 419b5c191remove baseUrl from tsconfig.json
fix - 0368b23f2use @types/node v18
refactor - b15e82758remove deprecated appId option

@angular-devkit/build-angular

CommitDescription
feat - c48982dc1add buildTarget option to dev-server and extract-i18n builders
feat - 1fb0350ebadd initial support for bundle budgets to esbuild builders
feat - 8168ae2a8apply global CSS updates without a live-reload when using vite
feat - 91019bde2enable localize support for SSR with application builder
feat - 3c0719bdeinitial i18n extraction support for application builder
feat - 8bce80b91initial support for application Web Worker discovery with esbuild
feat - 49f07a84dstandardize application builder output structure
feat - c3a87a60esupport basic web worker bundling with esbuild builders
feat - 9e425308asupport component style budgets in esbuild builders
feat - 771e036d5support deploy URL option for browser-esbuild builder
feat - c5f3ec71fsupport i18n inlining with esbuild-based builder
feat - fd62a9315support i18n with service worker and app-shell with esbuild builders
feat - 5898f72a9support namedChunks option in application builder
feat - 8f9a0d70csupport standalone apps route discovery during prerendering
fix - 6b08efa6faccount for arrow function IIFE
fix - 2f299fc7baccount for styles specified as string literals and styleUrl
fix - 9994b2ddeadd a maximum rendering timeout for SSR and SSG during development
fix - da4e19145address a path concatenation on Windows
fix - 9d4d11cc4allow SSR compilation to work with TS allowJs option
fix - e3c5b91e8automatically include known packages in vite prebundling
fix - ca38ee34cavoid binary content in architect results with browser-esbuild
fix - 657f78292avoid dev server update analysis when build fails with vite
fix - 2c33f09dbavoid dev-server proxy rewrite normalization when invalid value
fix - b182be8aaavoid in-memory prerendering ESM loader errors
fix - 0c982b993avoid repeat error clear in vite development server
fix - e41e2015bavoid spawning workers when there are no routes to prerender
fix - 2d2e79921clean up internal Angular state during rendering SSR
fix - 83020fc32clear diagnostic cache when external templates change with esbuild builders
fix - c12f98f94conditionally enable deprecated Less stylesheet JavaScript support
fix - e10f49efaconvert AOT compiler exceptions into diagnostics
fix - 667f43af6correctly resolve polyfills when baseUrl URL is not set to root
fix - d46fb128adisable dependency optimization for SSR
fix - 1b384308cdisable parallel TS/NG compilation inside WebContainers
fix - 070da72c4do not perform advanced optimizations on @angular/common/locales/global
fix - 508c7606edo not print Angular is running in development mode. in the server console when running prerender in dev mode
fix - e817656f6do not print Angular is running in development mode. in the server console when running prerender in dev mode
fix - f806e3498elide setClassDebugInfo calls
fix - 188a00f3eelide setClassMetadataAsync calls
fix - 05ce9d697ensure all SSR chunks are resolved correctly with dev server
fix - d392d653censure correct web worker URL resolution in vite dev server
fix - 1a6aa4378ensure css url() prefix warnings support Sass rebasing
fix - 52f595655ensure i18n locale data is included in SSR application builds
fix - 3ad028bb4ensure localize polyfill and locale specifier are injected when not inlining
fix - 3e5a99c2censure recalculation of component diagnostics when template changes
fix - fa234a418ensure secondary Angular compilations are unblocked on start errors
fix - c0c7dad77ensure that externalMetadata is defined
fix - ac7caa426ensure unique internal identifiers for inline stylesheet bundling
fix - 1f73bcc49ensure Web Worker code file is replaced in esbuild builders
fix - 23a722b79exclude node.js built-ins from vite dependency optimization
fix - fd2c4c324expose ssr-dev-server builder in the public api
fix - 9eb58cf7afail build on non bundling error when using the esbuild based builders
fix - a3e9efe80fully track Web Worker file changes in watch mode
fix - b9505ed09generate a file containing a list of prerendered routes
fix - 192a2ae6bhandle HTTP requests to assets during prerendering
fix - 19191e32bhandle HTTP requests to assets during SSG in dev-server
fix - 8981d8c35improve sharing of TypeScript compilation state between various esbuild instances during rebuilds
fix - 5a3ae0159in vite skip SSR middleware for path with extensions
fix - f87f22d3fkeep dependencies pre-bundling validate between builds
fix - 0da87bf1climit concurrent output file writes with application builder
fix - 391ff78cblog number of prerendered routes in console
fix - c46f312admedia files download files in vite
fix - 87425a791normalize paths when invalidating stylesheet bundler
fix - d4f37da50only show changed output files in watch mode with esbuild
fix - 0d54f2d20only watch used files with application builder
fix - 1f299ff2dprebundle dependencies for SSR when using Vite
fix - 58bd3971fprocess nested tailwind usage in application builder
fix - 60ca3c82dprovide server baseUrl result property in Vite-based dev server
fix - 0c20cc4dcre-add TestBed compileComponents in schematics to support defer block testing
fix - 9453a2380remove CJS usage warnings for inactionable packages
fix - 5bf7022c4remove support for Node.js v16
fix - c27ad719fremove unactionable error overlay suggestion from Vite-based dev server
fix - 263271faeresolve and load sourcemaps during prerendering to provide better stacktraces
fix - 651e3195fresolve and load sourcemaps when using vite dev server with prerendering and ssr
fix - b78508fc8several fixes to assets and files writes in browser-esbuild builder
fix - c4c299bcesilence xhr2 not ESM module warning
fix - f7f6e97d0skip checking CommonJS module descendants
fix - c11a0f0d3support custom index option paths in Vite-based dev server
fix - 6c3d7d1c1update ssr option definition
fix - 4e89c3caeuse a dash in bundle names
fix - 83b4b2567use browserslist when processing global scripts in application builder
fix - ca4d1634fuse component style load result caching information for file watching
fix - 34947fc64use incremental component style bundling only in watch mode
fix - ec160fe4ewarn if using partial mode with application builder
fix - 559e89159Windows Node.js 20 prerendering failure (#26186)
perf - 2cbec36c7cache polyfills virtual module result
perf - e06e95f73conditionally add Angular compiler plugin to polyfills bundling
perf - 61f409cbedisable ahead of time prerendering in vite dev-server
perf - 01ab16c5dfully avoid rebuild of component stylesheets when unchanged
perf - 99d9037eeonly perform a server build when either prerendering, app-shell or ssr is enabled
perf - c013a95e2only rebundle browser polyfills on explicit changes
perf - e68a662bconly rebundle global scripts/styles on explicit changes
perf - 28d9ab88fonly rebundle server polyfills on explicit changes
perf - 6d3942723optimize server or browser only dependencies once
perf - 2e8e9d802patch fetch to load assets from memory
perf - 49fe74e24reduce CLI loading times by removing critters from critical path
perf - 07e2120daremove JavaScript transformer from server polyfills bundling
perf - c28475d30reuse esbuild generated output file hashes
perf - 59c22aa4cstart SSR dependencies optimization before the first request
perf - 223a82f5fuse incremental bundling for component styles in esbuild builders
perf - 4b67d2afduse single JS transformer instance during dev-server prebundling

@angular-devkit/schematics

CommitDescription
refactor - f600bbc97remove deprecated runExternalSchematicAsync and runSchematicAsync

@angular/pwa

CommitDescription
fix - 81e4917cereplace Angular logos

@angular/ssr

CommitDescription
feat - dcf3fddffadd performance profiler to CommonEngine
fix - 6224b0599correctly set config URL
fix - 8d033841denable prerender and ssr for all build configuration
fix - ee0991bedenable performance profiler option name

@ngtools/webpack

CommitDescription
feat - f43754570add automated preconnects for image domains
fix - 4fe03266aaccount for arrow function IIFE
fix - 828030da0account for styles specified as string literals and styleUrl
fix - 16428fc97adjust static scan to find image domains in standlone components
fix - 486becdbbremove setClassDebugInfo calls
fix - 89f21ac8cremove setClassMetadataAsync calls
fix - 8899fb9e3skip transforming empty inline styles in Webpack JIT compilations

Breaking Changes

@schematics/angular

  • breaking

    Routing is enabled by default for new applications when using ng generate application and ng new. The --no-routing command line option can be used to disable this behaviour.

  • breaking

    ng g interceptor now generate a functional interceptor by default. or guard by default. To generate a class-based interceptor the --no-functional command flag should be used.

  • breaking

    rootModuleClassName, rootModuleFileName and main options have been removed from the public pwa and app-shell schematics.

  • breaking

    App-shell and Universal schematics deprecated unused appId option has been removed.

@angular-devkit/build-angular

  • breaking

    Node.js v16 support has been removed

    Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17.
    For Node.js release schedule details, please see: github.com/nodejs/release

@angular-devkit/schematics

  • breaking

    Deprecated runExternalSchematicAsync and runSchematicAsync methods have been removed in favor of runExternalSchematic and runSchematic.

Deprecations

@angular-devkit/build-angular

  • deprecated

    The browserTarget in the dev-server and extract-i18n builders have been deprecated in favor of buildTarget.