Packages

@angular-devkit/build-angular

22.2.5 · 28 Oct 2026MIT2.8M / weekRepositorynpmAtom feed

Deprecated by its maintainers: Angular's Webpack support is deprecated. Use the esbuild and Vite-based "@angular/build" package instead.What to use instead
Your version

21.0.0

major19 Nov 2025Where it was published

21.2.29 is the newest release of 21.x.

In short

3 breaking

  • breaking

    The ng commands will no longer automatically detect and use cnpm as the package manager. As an alternative use the .npmrc file to ensure npm uses the cnpm registry.

  • breaking

    TypeScript versions older than 5.9 are no longer supported.

  • breaking

    The javascriptEnabled option for Less is no longer supported. Projects relying on inline JavaScript within Less files will need to refactor their stylesheets to remove this dependency.

Release note

Breaking Changes

@angular/cli

  • breaking

    The ng commands will no longer automatically detect and use cnpm as the package manager. As an alternative use the .npmrc file to ensure npm uses the cnpm registry.

@angular/build

  • breaking

    TypeScript versions older than 5.9 are no longer supported.

  • breaking

    The javascriptEnabled option for Less is no longer supported. Projects relying on inline JavaScript within Less files will need to refactor their stylesheets to remove this dependency.

@schematics/angular

CommitTypeDescription
e417c89f9featAdd addTypeToClassName option to relevant schematics
ede5e52bcfeatadd include option to jasmine-to-vitest schematic
c119910f4featadd AGENTS.md support to ai-config schematic
d0d2a17b8featadd Jasmine spy API transformations to jasmine-to-vitest schematic
e7d955bedfeatadd matcher transformations to jasmine-to-vitest schematic
629f5cb18featadd misc transformations to jasmine-to-vitest schematic
4912f3990featadd Tailwind CSS option to application schematic and ng new
2a518016dfeatApplications are zoneless by default
2ffc527b1featconfigure Vitest for new projects and allow runner choice
58474ec7dfeatintroduce initial jasmine-to-vitest unit test refactor schematic
9f255f2b3featset packageManager in package.json on new projects
4e6c94f21featsupport different file name style guides in ng new
77741f5eefixadd 'update-typescript-lib' migration
f89750b27fixadd addImports option to jasmine-vitest schematic
9dab5780afixadd fixture.whenStable in spec files when zoneless apps
8f0f6a5f1fixadd migration to update moduleResolution to bundler
e8feba9eefixadd missing typeSeparator to main.ts.template file
515b09c4ffixadd Vitest config generation and runner checks
0e83fe1a8fixadd warnings and improve Karma config generation
b91fa31f2fixalign Karma project generation with unified unit-test builder
c967a447cfixcorrect spacing in application spec tsconfig
00d941c43fixcorrect style guide paths for standalone components
e33e77d12fixflag '--file-name-style-guide=2016' - wrong import in main.ts
f35b9f331fiximprove comment preservation in jasmine-to-vitest
6615fcf03fixissues in apps generated with '--file-name-style-guide=2016' flag
e304821d5fixmake ai-config schematic non-destructive
512ad282afixpreserve blank lines in jasmine-to-vitest schematic
b524ba426fixremove empty i18n-extract target for new projects
8e6e0a293fixremove explicit flag for host bindings
afb4d3e37fixremove extra space before async in spec templates
b983ea8e5fixrespect skip-install for tailwind schematic
54c4eae2afixtransform Jasmine type annotations in jasmine-to-vitest schematic
14c0a9bacperfoptimize AST traversal utilities

@angular/cli

CommitTypeDescription
58d101d5efeatadd --json output to ng version
d014630fafeatadd advanced filtering to MCP example search
6d3a3c579featadd ai-tutor mcp tool
1c06b16a9featadd builder info to list_projects MCP tool
301b50da4featadd fallback support for packages without direct ng add functionality
3040b777efeatadd style language detection to list_projects tool
45024e836featadd unit test framework detection to list_projects tool
104c90768featenhance ng version output with more details
286b6204cfeatmake documentation search tool version-aware
406315d09featmake find_examples tool version-aware
68e711307featmake get_best_practices tool version-aware
50453fdeefeatoverhaul ng version command output
1ee9ce3c9featpromote MCP find_examples tool to a stable tool
0d53e82d5featprovide detailed peer dependency conflict errors in ng add
f513089e2featremove direct support for cnpm
c17d7a929fixadd schema versioning and metadata to example database
dbf1aaf70fixadd snippet support to example search MCP tool
dfb4242b3fixadd vitest to version command output
11cee1acbfixcorrect boolean parsing in MCP example front matter
122a8c0e2fixcorrect frontmatter parsing in MCP examples tool
431106559fixcorrect query in find_examples to prevent runtime error
def412a55fixenhance find_examples MCP tool with structured output
0922a033ffiximprove JSON schema parsing for command options
f099c9157fiximprove list_projects MCP tool to find all workspaces in monorepos
1be35b343fixpromote zoneless migration MCP tool to stable
e5aed6d65fixshow planned actions in ng add dry run
4deac3ec7fixsupport multi-database search in find_examples MCP tool
aeb49dd52perfcache dependency lookups during ng add
5e534090eperfparallelize peer dependency checks in ng add

@angular-devkit/build-angular

CommitTypeDescription
6e395fc0cfixensure vitest code coverage handles virtual files correctly
53899511afixexpand jest and jest-environment-jsdom to allow version 30
7a8c94615fixmake zone.js optional in server and app-shell builders

@angular/build

CommitTypeDescription
00426e315featadd --list-tests flag to unit-test builder
a908bf3d4featadd 'filter' option to unit-test builder
3e0209d0afeatadd browserViewport option for vitest browser tests
3b7dabbf1featadd advanced coverage options to unit-test builder
c0b00d78efeatadd reporter output file option for unit-test
66dd6dd83featallow options for unit test reporters
a90bea5b5featsupport .test.ts files by default in unit test builder
b2f048773fixadd --ui option for Vitest runner
530d9270efixadd define option to dev-server
b554bd73afixadd temporary directory cleanup for Vitest executor
c6176f6dffixadd upfront dependency validation for unit-test runners
63c98741afixadd webcontainer support for Vitest browser provider
fcdbf6c19fixallow globals to be set to false
542d52868fixallow custom runner configuration file for unit-test
0505f954dfixallow unit-test progress option passthrough for building
931c62d20fixallow unit-test runner config with absolute path
a11dd31f0fixconfigure Vitest cache to use Angular cache
abf003268fixcorrect Vitest builder watch mode execution
f05ffd104fixcorrect Vitest coverage include handling for virtual files
cd5c92b99fixcorrect Vitest coverage reporting for test files
07f712253fixcorrectly handle absolute paths and casing in test discovery
bf468e1ebfixdirect check include file exists in unit-test discovery
50e330d33fixdisable glob directory expansion when finding tests
49b65aba8fixdisable Vitest test isolation by default
1529595d4fixdrop support for TypeScript 5.8
a44f8fa94fixdynamically select Vitest DOM environment
ae35543affixenhance Vitest config merging and validation
fec106b60fixenhance Vitest dependency externalization and pre-bundling
f7c4a4c1dfixenhance Vitest resolution for optimal package loading
ee5e127d5fixensure ɵgetOrCreateAngularServerApp is always defined after errors
0830f4fb5fixensure TestBed cleanup hooks are always registered
41b12509afixensure TestBed setup is robust in non-isolated Vitest
55145f582fixensure Vitest setup files are executed in order
3478aa332fixexclude .angular from coverage instrumentation
7c529c1bcfixexternalize Angular dependencies in Vitest runner
69c3b1226fiximprove error handling in unit-test builder
bab5806c2fixintroduce vitest-base.config for test configuration
73621998ffixnormalize paths for Vitest runner output files
fa5c92346fixprioritize string type for runnerConfig schema
d0787c11dfixprovide default excludes for vitest coverage
ac10f323efixrelax requirement for files to be in TS compilation
139758586fixremove deprecated javascriptEnabled option for Less
6576bb598fixremove explicit test isolation configuration
9132e6af9fixresolve browser provider packages using project resolver
26127bd3bfixresolve PostCSS plugins relative to config file
dae732059fixserve build assets and styles in vitest
705af2278fixset coverage report directory to coverage/project-name
0851d2eaefixshow full aggregate errors from vitest
cc2668f57fixsimplify SSL handling for ng serve with SSR (#31723)
907eabdd3fixsupport ESM PostCSS plugins
62938e799fixupdate vitest to 4.0.6 and remove coverage workaround