Packages

@angular-devkit/core

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

Your version

18.0.0

major22 May 2024Where it was published

18.2.21 is the newest release of 18.x.

In short

4 breaking1 deprecated

  • breaking

    The ng doc command has been removed without a replacement. To perform searches, please visit angular.dev

  • breaking

    Node.js support for versions <18.19.1 and <20.11.1 has been removed.

  • breaking

    By default, the index.html file is no longer emitted in the browser directory when using the application builder with SSR. Instead, an index.csr.html file is emitted. This change is implemented because in many cases server and cloud providers incorrectly treat the index.html file as a statically generated page. If you still require the old behavior, you can use the index option to specify the output file name.

  • breaking

    The support for the legacy Sass build pipeline, previously accessible via NG_BUILD_LEGACY_SASS when utilizing webpack-based builders, has been removed.

  • deprecated

    NodePackageLinkTask in @angular-devkit/schematics. A custom task should be created instead.

Release note

Breaking Changes

@angular/cli

  • breaking

    The ng doc command has been removed without a replacement. To perform searches, please visit angular.dev

  • breaking

    Node.js support for versions <18.19.1 and <20.11.1 has been removed.

@angular-devkit/build-angular

  • breaking

    By default, the index.html file is no longer emitted in the browser directory when using the application builder with SSR. Instead, an index.csr.html file is emitted. This change is implemented because in many cases server and cloud providers incorrectly treat the index.html file as a statically generated page. If you still require the old behavior, you can use the index option to specify the output file name.

    "architect": {
      "build": {
        "builder": "@angular-devkit/build-angular:application",
        "options": {
          "outputPath": "dist/my-app",
          "index": {
            "input": "src/index.html",
            "output": "index.html"
          }
        }
      }
    }
  • breaking

    The support for the legacy Sass build pipeline, previously accessible via NG_BUILD_LEGACY_SASS when utilizing webpack-based builders, has been removed.

Deprecations

@angular-devkit/schematics

@angular/cli

CommitTypeDescription
ac3019570featadd ng dev alias to ng serve
4087728c3featsupport for Node.js v22
41ab6c8c3fixadd --version option
df4dde95dfixadd @angular/build package to update group list
1039f6d79fixchange update guide link to angular.dev
f4670fcb1fixeliminate prompts during ng version command
a99ec6a54fixkeep cli package first in update package group metadata
dd786d495fixonly add --version option on default command
03eee0545refactorremove ng doc command
c7b208555refactorremove support for Node.js versions <18.19.1 and <20.11.1

@schematics/angular

CommitTypeDescription
b2ac5fac7featallow application migration to use new build package in projects where possible
6530aa11bfeatreplace assets with public directory
725883713featuse eventCoalescing option by default (standalone bootstrap)
508d97da7featuse ngZoneEventCoalescing option by default (module bootstrap)
f452589e2featuse TypeScript bundler module resolution for new projects
95a4d6ee5fixadd less dependency in application migration if needed
c46aa084ffixadd postcss dependency in application migration if needed
157329384fixadd spaces around eventCoalescing option
23cc337aafixkeep deployUrl option when migrating to application builder

@angular-devkit/architect

CommitTypeDescription
ddd08efeffixresolve builder aliases from containing package

@angular-devkit/build-angular

CommitTypeDescription
53c319aaafeatadd support for the poll option in the library builder
83d1d233afeatenhance Sass rebasing importer for resources URL defined in variables and handling of external paths
d51cb598afeatinject event-dispatch in SSR HTML page
0b03829bcfeatmove i18n extraction for application builder to new build system package
4ffe07aa2featmove Vite-based dev-server for application builder to new build system package
d1c632af9featsupport native async/await when app is zoneless
37fc7f0ccfixdisable Vite prebundling when script optimizations are enabled
2acf95a94fixdo not generate an index.html file in the browser directory when using SSR.
8a54875cbfixhandle wrapping of class expressions emitted by esbuild
97973059erefactorremove Sass legacy implementation

@angular-devkit/schematics

CommitTypeDescription
797584583refactordeprecate NodePackageLinkTask

@angular/build

CommitTypeDescription
810d213e1featintroduce new official build system package
b7a0792b3fixadd a maximum rendering timeout for SSG
411115303fixadd console note about development server raw file size
921fa7cf4fixadd missing ansi-colors and picomatch dependencies
791cf75affixcheck both potential build packages in Angular version check
4d7cd5e3efixcorrectly wrap class expressions with static properties or blocks emitted by esbuild
57f448a0ffixdecode URL pathname decoding during SSG fetch
940e382dbfixdisable Vite prebundling when script optimizations are enabled
70dbc7a6efixemit error for invalid self-closing element in index HTML
44b401747fixensure input index HTML file triggers rebuilds when changed
dff4deaebfixensure recreated files are watched
17931166dfixformat sizes using decimal byte units consistently
2085365e0fixonly generate shallow preload links for initial files
33cd47c85fixproperly configure headers for media resources and HTML page
d10fece2cfixproperly rebase Sass url() values with leading interpolations
3f2963835perfadd persistent caching of JavaScript transformations
a15eb7d1cperfimprove rebuild time for file loader usage with prebundling