21.2.10 (2026-05-06)

May 6, 2026 · View on GitHub

21.2.10 (2026-05-06)

@angular/cli

CommitTypeDescription
bb8611913fixrestrict MCP workspace access to allowed client roots during resolution

19.2.25 (2026-04-30)

@angular-devkit/build-angular

CommitTypeDescription
49ae0ad2dfixupgrade postcss to 8.5.12

@angular/build

CommitTypeDescription
2d53feca5fixupdate esbuild to 0.28.0

@angular/ssr

CommitTypeDescription
02ce8bf26fixintroduce trustProxyHeaders option to safely validate and sanitize proxy headers

22.0.0-next.7 (2026-04-29)

@angular/cli

CommitTypeDescription
0572df064fixfix broken img ref in ai-tutor
d6121b5e8fixintroduce initial package manager workspace awareness
48eab1fc0fixremove standalone true ref in ai tutor

@schematics/angular

CommitTypeDescription
b47dfbac4fixadd missing imports for focus and skip APIs in refactor-jasmine-vitest
dc1238e5afixadd trusted-proxy-headers migration

@angular/build

CommitTypeDescription
e9aa7967bfeatadd isolate option to unit-test builder
73233dc5ffeatsupport Istanbul coverage in Vitest runner

@angular/ssr

CommitTypeDescription
126b19b9cfixadd support for configuring trusted proxy headers via environment variable
53b9623b7fixdecode route segments when building and matching route tree
5adc92541fixenforce explicit opt-in for proxy headers
c34c569b0fixuse router to normalize URLs for comparison

21.2.9 (2026-04-29)

@angular/cli

CommitTypeDescription
233deef01fixfix broken img ref in ai-tutor
7cea9885cfixintroduce initial package manager workspace awareness
5b1a5b743fixremove standalone true ref in ai tutor

@schematics/angular

CommitTypeDescription
e7abeb5c7fixadd missing imports for focus and skip APIs in refactor-jasmine-vitest

@angular/ssr

CommitTypeDescription
94023f62cfixintroduce trustProxyHeaders option to safely validate and sanitize proxy headers
5ffe5c309fixadd support for configuring trusted proxy headers via environment variable
930ada9b7fixdecode route segments when building and matching route tree
0dc8a440cfixuse router to normalize URLs for comparison

20.3.25 (2026-04-29)

@angular-devkit/build-angular

CommitTypeDescription
5e01ef40efixupgrade postcss to 8.5.12

@angular/ssr

CommitTypeDescription
6686848d9fixintroduce trustProxyHeaders option to safely validate and sanitize proxy headers

22.0.0-next.6 (2026-04-22)

@angular/cli

CommitTypeDescription
cc30034dafixdynamically resolve project Angular CLI executable inside MCP tools
ead60d3d5fixignore EBADF file system errors during MCP project scan
0d984cf1cfixuse headless option in MCP test tool

@schematics/angular

CommitTypeDescription
de630c2fcfeatstabilize refactor-jasmine-vitest schematic

@angular-devkit/build-angular

CommitTypeDescription
30d8332edfixensure route has leading slash in prerender builder
cf5b49ed7fixfix app-shell route format and

@angular/build

CommitTypeDescription
0781f7498featadd quiet option to suppress build noise in unit tests
cd2ad3c19featenable chunk optimization by default with heuristics
b85ec6798fixallow configuring Access-Control-Allow-Origin via headers option
59803b12bfixuse rootDir for HMR component updates path resolution
74e7dbe56fixvalidate V8 coverage support for browsers in Vitest

20.3.24 (2026-04-15)

@angular/build

CommitTypeDescription
10c09c77bfixupdate esbuild to 0.28.0

22.0.0-next.5 (2026-04-08)

Breaking Changes

@angular/build

  • istanbul-lib-instrument is now an optional peer dependency. Projects using karma with code coverage enabled will need to ensure that istanbul-lib-instrument is installed. Note: ng update will automatically add this dependency during the update process.

@schematics/angular

CommitTypeDescription
be60a63b7featadd migrate-karma-to-vitest update migration
43505066efeatadd migration to add istanbul-lib-instrument
470e1f937fixadd istanbul-lib-instrument to application/library generator dependencies

@angular/cli

CommitTypeDescription
422c8183efixhandle missing package manager during analytics initialization

@angular/build

CommitTypeDescription
3007f46b7featmove istanbul-lib-instrument to optional peer dependency
829bdc61dfixpreserve coverage ignore comments in development
e2f95fc19fixshow clear error when styleUrl points to a TypeScript file

21.2.7 (2026-04-08)

@angular/cli

CommitTypeDescription
971041aa1fixhandle missing package manager during analytics initialization

@angular/build

CommitTypeDescription
365cce81dfixpreserve coverage ignore comments in development
9f74660c3fixshow clear error when styleUrl points to a TypeScript file

20.3.23 (2026-04-08)

@angular/build

CommitTypeDescription
ccab02ba0fixupdate vite to 7.3.2

19.2.24 (2026-04-08)

@angular/build

CommitTypeDescription
f4595d599fixupdate vite to 6.4.2

22.0.0-next.4 (2026-04-01)

@angular/cli

CommitTypeDescription
87d99e98bfeatsupport custom port in MCP devserver start tool
4815a5417fixfix sourceRoot resolution for MCP projects tool

@angular/build

CommitTypeDescription
21d8aa474fixensure transitive SCSS partial errors are tracked in watch mode
e558117b7fixensure Vitest mock patching is executed only once
81e4faae7fixpreserve error stack traces during prerendering
8dd341e21fixscope CHROME_BIN executable path to individual playwright instances

@angular/ssr

CommitTypeDescription
e7e434ca3fixallow underscores in host validation
bcd99f944fixpatch Headers.forEach in cloneRequestAndPatchHeaders

21.2.6 (2026-04-01)

@angular/cli

CommitTypeDescription
ea14f28ccfixfix sourceRoot resolution for MCP projects tool

@angular/build

CommitTypeDescription
9136eb376fixensure transitive SCSS partial errors are tracked in watch mode
8186faa11fixensure Vitest mock patching is executed only once
107d1a9e2fixpreserve error stack traces during prerendering
b7f457253fixscope CHROME_BIN executable path to individual playwright instances

21.2.5 (2026-03-27)

@angular/cli

CommitTypeDescription
cadf9b201featsupport custom port in MCP devserver start tool

@angular/ssr

CommitTypeDescription
bbc255419fixallow underscores in host validation
b1fe66a7ffixpatch Headers.forEach in cloneRequestAndPatchHeaders

20.3.22 (2026-03-27)

@angular-devkit/build-angular

CommitTypeDescription
5978eeefffixupdate picomatch to 4.0.4

@angular-devkit/core

CommitTypeDescription
6e9b92612fixupdate picomatch to 4.0.4

@angular/build

CommitTypeDescription
6f209c26dfixupdate picomatch to 4.0.4

19.2.23 (2026-03-27)

@angular/cli

CommitTypeDescription
67cfbe32ffixupdate picomatch to 4.0.4

@angular-devkit/build-angular

CommitTypeDescription
771b979e7fixupdate picomatch to 4.0.4

@angular-devkit/core

CommitTypeDescription
de2da4874fixupdate picomatch to 4.0.4

@angular/build

CommitTypeDescription
27a9ce4a7fixupdate picomatch to 4.0.4

22.0.0-next.3 (2026-03-26)

@angular/cli

CommitTypeDescription
4bbd1bf53fixrestore console methods after logger completes

@schematics/angular

CommitTypeDescription
f98cc82ebfeatrely on strict template default in generated workspaces

@angular/build

CommitTypeDescription
01bd5d064fixdeduplicate and merge coverage excludes with vitest
355ebe8c5fixprevent reporter duplicates by explicitly overriding Vitest configuration
1a8376beefixremove default for unit-test coverage option
a203dcf1dfixwarn about performance of test.exclude in vitest configuration
ec10eb365fixwarn when vitest watch config conflicts with builder

@angular/ssr

CommitTypeDescription
ca6f08c6efixapply forwarded prefix and vary header in accept-language redirects
3b99ee140fixsupport '*' in allowedHosts and warn about security risks

21.2.4 (2026-03-26)

@angular/cli

CommitTypeDescription
a7787d092fixrestore console methods after logger completes

@angular/build

CommitTypeDescription
7170599abfixdeduplicate and merge coverage excludes with vitest
c73f13797fixprevent reporter duplicates by explicitly overriding Vitest configuration
956ccaa71fixremove default for unit-test coverage option
36978db7efixwarn about performance of test.exclude in vitest configuration
6ec36f5befixwarn when vitest watch config conflicts with builder

@angular/ssr

CommitTypeDescription
9bdf782c8fixapply forwarded prefix and vary header in accept-language redirects
628c58672fixsupport '*' in allowedHosts and warn about security risks

20.3.21 (2026-03-19)

@angular/ssr

CommitTypeDescription
1dc6992a5fixdisallow x-forwarded-prefix starting with a backslash
0a2ff0b2bfixensure unique values in redirect response Vary header
cdbac82a8fixsupport custom headers in redirect responses

22.0.0-next.2 (2026-03-18)

@angular/cli

CommitTypeDescription
c9f07db8ffixuse parsed package name for migrate-only updates

@schematics/angular

CommitTypeDescription
6572a6944fixdefault components to OnPush change detection

@angular/build

CommitTypeDescription
9b33e1781fixalias createRequire banner import to avoid duplicate binding
4643a8a3bfixonly use external packages for polyfills when no local files are present

@angular/ssr

CommitTypeDescription
4d564f66ffixdisallow x-forwarded-prefix starting with a backslash
ff1160e30fixensure unique values in redirect response Vary header
998b8298efixsupport custom headers in redirect responses

21.2.3 (2026-03-18)

@angular/cli

CommitTypeDescription
1505164bbfixuse parsed package name for migrate-only updates

@angular/build

CommitTypeDescription
75fa94cadfixalias createRequire banner import to avoid duplicate binding
d009aa1ecfixonly use external packages for polyfills when no local files are present

@angular/ssr

CommitTypeDescription
f3e0e82c2fixdisallow x-forwarded-prefix starting with a backslash
b8bcd59b4fixensure unique values in redirect response Vary header
84385411dfixsupport custom headers in redirect responses

22.0.0-next.1 (2026-03-11)

Breaking Changes

@angular/build

  • The @angular/build:dev-server (ng serve) now assigns the highest priority to the PORT environment variable. This value will override any port configurations specified in angular.json or via the --port command-line flag. This includes the default port 4200.

@schematics/angular

CommitTypeDescription
b3d838dfdfixreplace deprecated ChangeDetectionStrategy.Default with Eager

@angular/cli

CommitTypeDescription
598a690a0fixconditionally quote package names when adding dependencies based on host requirements
b5fb457e1fixpreserve exact version in ng add when requested
93c3eb8fbfixupdate zoneless migration tool to handle ChangeDetectionStrategy.Eager
ad0fd5f41perfavoid redundant package version resolution in ng add
a39a33128perfcache root manifest and resolve restricted package exports in ng add

@angular/build

CommitTypeDescription
fe720cab6featadd process.env.PORT support to the dev server
af2c7e944featrename experimentalPlatform to platform in application builder
6324133c2fixnormalize line endings for CSP hash generation
839c725c2fixpass process environment variables to prerender workers
f30f8900efixresolve assets correctly during i18n prerendering

21.2.2 (2026-03-11)

@angular/cli

CommitTypeDescription
8447d9132fixconditionally quote package names when adding dependencies based on host requirements
d2f209823fixpreserve exact version in ng add when requested
28f4d684aperfavoid redundant package version resolution in ng add

@angular/build

CommitTypeDescription
06010294ffixallow any CHROME_BIN for vitest playwright provider
8dec0c62bfixnormalize line endings for CSP hash generation
58688ebd7fixpass process environment variables to prerender workers
4ca61647ffixresolve assets correctly during i18n prerendering

20.3.20 (2026-03-11)

@angular/build

CommitTypeDescription
0fd6823affixpass process environment variables to prerender workers

22.0.0-next.0 (2026-03-05)

Breaking Changes

  • Node.js v20 is no longer supported. The minimum supported Node.js versions are now v22.22.0 and v24.13.1.
  • The @angular-devkit/architect-cli package is no longer available. The architect CLI tool has been moved to the @angular-devkit/architect package.
  • The experimental @angular-devkit/build-angular:jest and @angular-devkit/build-angular:web-test-runner builders have been removed.

@angular/ssr

  • The server no longer falls back to Client-Side Rendering (CSR) when a request fails host validation. Requests with unrecognized 'Host' headers will now return a 400 Bad Request status code. Users must ensure all valid hosts are correctly configured in the 'allowedHosts' option.

@angular/cli

CommitTypeDescription
a5c7c0b5ffixreflect new minimum supported Node version in ng.js

CommitTypeDescription
d0e9e8163buildupdate minimum supported Node.js versions
1f21e89d9refactorremove @angular-devkit/architect-cli package
b4885b851refactorremove experimental Jest and Web Test Runner builders

@angular/build

CommitTypeDescription
414320d02featsupport runtime Zone.js detection in Vitest unit test runner
f190263a4fixallow any CHROME_BIN for vitest playwright provider

@angular/ssr

CommitTypeDescription
27cd35561refactorremove CSR fallback for invalid hosts

21.2.1 (2026-03-05)

@angular/cli

CommitTypeDescription
ae4c28d00fixcorrect dev dependency detection logic in ng add
465073bc1fixdisable npm update notifier in package manager host
36270634ffixensure group members are updated to targeted version
d87dba6affixignore unknown files when formatting schematic changes

@schematics/angular

CommitTypeDescription
72d466aa0fixprevent adding test dependencies when minimal option is enabled

@angular-devkit/build-angular

CommitTypeDescription
0019d1c8efixupdate copy-webpack-plugin to v14.0.0

@angular/build

CommitTypeDescription
6ad860863fixbundle polyfills to preserve execution order in dev server
d17397375fixconditionally allow vi.mock for non-relative imports
0d49f86edfixresolve style include paths relative to ng-package.json in unit-test builder
584f6a2d9fixtreat empty browsers array as undefined in unit-test builder
6699cdc9bperffix memory leak in ng serve with i18n

@angular/ssr

CommitTypeDescription
43a9dfa66fiximprove header validation logic
dee3717b3fixintroduce DI token to signal route discovery process

20.3.19 (2026-03-04)

@angular-devkit/build-angular

CommitTypeDescription
0299b4d1afixupdate copy-webpack-plugin to v14.0.0

20.3.18 (2026-02-26)

@angular-devkit/core

CommitTypeDescription
39596d529fixupdate ajv to 8.18.0

@angular/build

CommitTypeDescription
f668e2778fixupdate rollup to 4.59.0

19.2.22 (2026-02-26)

@angular-devkit/core

CommitTypeDescription
0a01aecd9fixupdate ajv to 8.18.0

@angular/build

CommitTypeDescription
79f59412afixupdate rollup to 4.59.0

21.2.0 (2026-02-25)

@angular/cli

CommitTypeDescription
0dd04f289featadd markdown files to Prettier's formatting list
fbae1b6abfeatautomatic formatting files modified by schematics
91b9d281ffeatintegrate file formatting into update migrations
98a24d040featstandardize MCP tools around workspace/project options
d9cd609c5fixcorrectly parse scoped packages in yarn classic list output
5b05f2500fixenable shell option for Prettier execution on Windows platforms
25b8a157dfixquote complex range specifiers in package manager
6f29a8c35fixrenamed files by their new path in the schematic workflow
201a036f2fixsimplify Angular version compatibility checks and add special handling for local builds of new major versions
cdd26bb66fixvalidate package manager version using semver.valid and throw an error if invalid
bc363af8bperfoptimize package manager discovery with stat-based probing

@schematics/angular

CommitTypeDescription
aa7381efdfeatadd a '.prettierrc' file to generated workspaces and add Prettier as dev dependency
f80db6fb7featadd ng-add support for Vitest browser providers
5d1df50d8fixadd actionable feedback to vitest-browser schematic

@angular/build

CommitTypeDescription
ece30f235featadd headless option to unit-test builder
cad7a7c0ffeatrun vitest browser with playwright with OS theme
0b4982720fixadjust sourcemap sources when Vitest wrapper is bypassed
1f114a9e8fixbundle setup files in unit-test builder for Vitest
fd5cb28c8fixexplicitly fail when using Vitest runtime mocking
dc899e8a5fixnormalize allowedHosts in dev-server
26bbea12ffixserve extensionless assets without transformation

21.1.5 (2026-02-23)

@angular/ssr

CommitTypeDescription
8695d6063fixprevent open redirect via X-Forwarded-Prefix header
e4d445ec6fixvalidate host headers to prevent header-based SSRF

20.3.17 (2026-02-23)

@angular/ssr

CommitTypeDescription
8700e18d7fixprevent open redirect via X-Forwarded-Prefix header
67582a946fixvalidate host headers to prevent header-based SSRF

19.2.21 (2026-02-23)

@angular/ssr

CommitTypeDescription
288e22816fixprevent open redirect via X-Forwarded-Prefix header
2a72d7483fixvalidate host headers to prevent header-based SSRF

19.2.20 (2026-02-13)

@angular-devkit/build-angular

CommitTypeDescription
0e5421ba7fixupdate webpack to 5.105.0

21.1.4 (2026-02-11)

@angular/build

CommitTypeDescription
7a9dd6b47fixcorrectly resolve absolute setup file paths in Vitest

20.3.16 (2026-02-09)

@angular/cli

CommitTypeDescription
656888a25fixupdate dependency @modelcontextprotocol/sdk to v1.26.0

21.1.3 (2026-02-05)

@schematics/angular

CommitTypeDescription
a18196a10fixwarn when production configuration is missing for service worker

@angular-devkit/build-angular

CommitTypeDescription
6d05d27cafixaddress Node.js deprecation DEP0190

21.1.2 (2026-01-28)

@angular-devkit/schematics-cli

CommitTypeDescription
e7458c81dfixAdd boolean type inference for 'true' and 'false' string values in argument parsing

@angular-devkit/architect

CommitTypeDescription
d66f1fe64fixAdd boolean type inference for 'true' and 'false' string values in argument parsing

@angular/build

CommitTypeDescription
80911af67fixloosen Vitest dependency checks when runnerConfig is used
2d30639d3fixsupport merging coverage thresholds with Vitest runnerConfig

21.1.1 (2026-01-21)

@angular/cli

CommitTypeDescription
151b69587fixRemove nonexistent link from MCP response

@schematics/angular

CommitTypeDescription
9da6d8fa7fixcorrect vscode MCP configuration for new projects
361758c75fixremove special characters from jasmine-vitest report filename

@angular/build

CommitTypeDescription
1b7e3307afixallow application assets in workspace root
d1e596dc5fixprevent incorrect catch binding removal in downleveled for-await
98ef0981afixupdate undici to v7.18.2

20.3.15 (2026-01-21)

@angular/cli

CommitTypeDescription
795d65413fixupdate pacote to v21.0.4

@angular-devkit/build-angular

CommitTypeDescription
ffc72cbc5fixupdate webpack to version 5.104.1

21.1.0 (2026-01-14)

@angular/cli

CommitTypeDescription
772e6efe7featadd 'test' and 'e2e' MCP tools
8efb86318featAdd "all" as an experimental tool group
c3c9ac506featAdd MCP tools for building and running devservers
d635a6c63featadd signal forms lessons
d8b76e93dfixcorrectly handle yarn classic tag manifest fetching
7ab5c0b0afixcorrectly spawn package managers on Windows in new abstraction
348096623fixenhance list_projects MCP tool file system traversal and symlink handling
316fca862fixhandle array output from npm view in manifest parser
032257a6dfiximprove signal forms lesson examples in AI tutor
18d74dde8fixrename mcp devserver tools to comply with naming spec
1ad773671fixupdate dependency @modelcontextprotocol/sdk to v1.25.2
45d4f5668fixupdate yarn berry package manager configuration
122ed27c9fixuse project-local temporary directory in ng add
a15db28b2perfcache resolved specific version in package manager abstraction
240588b7eperfoptimize ng add version discovery

@schematics/angular

CommitTypeDescription
36cf3afb4featadd browserMode option to jasmine-vitest schematic
e71a72ffdfeatgenerate detailed migration report for refactor-jasmine-vitest
18cf6c51bfixadd MCP configuration file to new workspaces

@angular/build

CommitTypeDescription
1eda0a99ffeatdirectly support ng-packagr in unit-test builder
87175f9dcfeatdisable TestBed teardown during debugging in Vitest
1e39c77a4fixinject source-map-support for Vitest browser tests
3fd7dcd76fixnormalize roots to POSIX in test discovery for Windows compatibility
164e7dbbcfixresolve test files correctly on Windows when using non-C drives
ad99e00adfixsimplify SSL handling for ng serve with SSR (#31722)

21.0.6 (2026-01-14)

@angular/ssr

CommitTypeDescription
730ae6609fixhandle platform destruction during rendering

21.0.5 (2026-01-07)

@angular/cli

CommitTypeDescription
249563749fixuse narrower types for new MCP TS SDK compatibility

@schematics/angular

CommitTypeDescription
cbd0718b9fixmove 'provideZoneChangeDetection' to the root module
33f7cf761fixupdate application schematics for module-based apps to use 'provideZoneChangeDetection'
37b14d1f7fixupdate default app component message
c37dccb09fixupdate default app component welcome message

@angular/build

CommitTypeDescription
2b9be3a7cfixensure correct project targeting during Vitest debugging

20.3.14 (2026-01-07)

@angular/cli

CommitTypeDescription
ff366499efixupdate dependency @modelcontextprotocol/sdk to v1.25.2

21.0.4 (2025-12-18)

@schematics/angular

CommitTypeDescription
b671245b9fiximprove VS Code background compilation start/end detection
85a28dec7fixremove inlineSources from library tsconfig template

@angular/build

CommitTypeDescription
deb4fff61fixadd browser condition to resolver for vitest
570ce8d3efixallow non-prefixed requests when using SSR and base href
4dd3c1a32fixconditionally manage Vitest UI option
4b8b7caecfixensure tests run when compilation error is resolved
bef4fcecbfixremove LmdbCacheStore export from private API

@angular/ssr

CommitTypeDescription
bb54747dafixadd leading slash to well-known non-Angular URLs
0cfe2e749fixpropagate status code to redirect
eadadb848fixskip SSR processing for well-known non-Angular URLs like favicon.ico

21.0.3 (2025-12-10)

@angular-devkit/build-angular

CommitTypeDescription
5d85f416ffixconditionally provide Zone.js change detection in the built-in test main file

@angular/build

CommitTypeDescription
778b4cffcfixAdd custom middleware for to present an Angular-tailored message
9b02ab2eefixEnsure disposal of close-javascript-transformer
0fc7d576efixensure locale base href retains leading slash (#32040)
b141670a2fixinject testing polyfills in Karma unit-test executor
88c18ce68fixsupport NODE_EXTRA_CA_CERTS in SSR SSL plugin

21.0.2 (2025-12-03)

@angular/cli

CommitTypeDescription
f1a7116cdfixupdate @modelcontextprotocol/sdk to v1.24.0

@angular-devkit/schematics

CommitTypeDescription
dc6d9469efixremove lazy imports in node tasks

@angular/build

CommitTypeDescription
f8a1939fdfixadd filename truncation to test discovery
86dd3297ffixallow overriding Vitest coverage reportsDirectory option

20.3.13 (2025-12-03)

@angular/cli

CommitTypeDescription
cfbb61602fixupdate @modelcontextprotocol/sdk to v1.24.0

21.0.1 (2025-11-26)

@angular/cli

CommitTypeDescription
363496ae0fixensure dependencies are resolved correctly for node modules directory check

@schematics/angular

CommitTypeDescription
2f58705cbfixadd missing imports for lifecycle hooks in jasmine-vitest migration
c973bb9cafixadd mock names to createSpyObj transformation
4534c9848fixdo not set esModuleInterop and moduleResolution when module is preserve
16d898e75fixfix migration of jasmine.clock().mockDate()
21c3eac72fixhandle createSpyObj without base name on refactor-jasmine-vitest
b8c99aa4cfiximprove safety of done callback transformation
4a71e06fcfixsilently skip when the build target already uses one of the new builders
2ffdae421fixsupport testRunner option in library schematic
145de4a58fixwarn about loose matching in arrayWithExactContents

@angular/build

CommitTypeDescription
d097df2d7fixcorrect Vitest coverage path resolution for JSDOM on Windows
cdb607adafixcorrectly configure per-browser headless mode in Vitest runner
244931ecefixcorrectly invoke isTTY as a function
54d542738fixensure correct URL joining for prerender routes
a28b38bbefixforce dev-server to use HTTP/1.1 when using SSR with SSL
59ff867f0fixnormalize --include paths to posix

@angular/ssr

CommitTypeDescription
03e231216fixhandle X-Forwarded-Prefix and APP_BASE_HREF in redirects
3cac01882fixprevent redirect loop with encoded query parameters

20.3.12 (2025-11-25)

@angular/build

CommitTypeDescription
25bb7e65cfixensure correct URL joining for prerender routes

@angular/ssr

CommitTypeDescription
cceb86296fixhandle X-Forwarded-Prefix and APP_BASE_HREF in redirects
1abe68ad8fixprevent redirect loop with encoded query parameters

21.0.0 (2025-11-19)

Breaking Changes

@angular/cli

  • 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

    • TypeScript versions older than 5.9 are no longer supported.
  • 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

20.3.11 (2025-11-19)

@angular/build

CommitTypeDescription
8053f2d92fixensure ɵgetOrCreateAngularServerApp is always defined after errors

20.3.10 (2025-11-12)

@schematics/angular

CommitTypeDescription
c854a719bfixcorrect tsconfig.spec.json include for spec files

@angular/build

CommitTypeDescription
b3908f68efixdo not remove @angular/localize when having external packages (#31721)

20.3.9 (2025-11-05)

@angular/ssr

CommitTypeDescription
08e07e338fiximprove locale handling in app-engine
683697ebcfiximprove route matching for wildcard routes

20.3.8 (2025-10-29)

@angular-devkit/build-angular

CommitTypeDescription
813cba9b9fixexpand jest and jest-environment-jsdom to allow version 30

@angular/build

CommitTypeDescription
542973ab0fixadd adapters to new reporter
f0885691dfixensure locale data plugin runs before other plugins
45e498f95fixhandle redirects from guards during prerendering

19.2.19 (2025-10-29)

@angular/build

CommitTypeDescription
4d8ea27a1fixupdate vite to v6.4.1

20.3.7 (2025-10-22)

@angular-devkit/schematics

CommitTypeDescription
a31533cf4fixrespect --force option when schematic contains host.create

@angular/build

CommitTypeDescription
8cdda111cfixresolve Angular locale data namespace in esbuild
5847ccc54fixupdate vite to 7.11.1

@angular/ssr

CommitTypeDescription
3a28fb6a1fixcorrectly handle routes with matrix parameters
5db6d6487fixensure server-side navigation triggers a redirect

20.3.6 (2025-10-15)

@angular/ssr

CommitTypeDescription
5271547c8fixprevent malicious URL from overriding host

19.2.18 (2025-10-15)

@angular/ssr

CommitTypeDescription
9136a5d13fixprevent malicious URL from overriding host

20.3.5 (2025-10-08)

@angular/build

CommitTypeDescription
7f7140680fixcleanup karma temporary directory after process exit

20.3.4 (2025-10-02)

@schematics/angular

CommitTypeDescription
c94bf7ff0fixOut of the box support for PM2
465436c9ffixuse bracket notation for process.env['pm_id']

@angular-devkit/build-angular

CommitTypeDescription
bc6b63114fixmark InjectionToken as pure for improved tree-shaking

@angular/build

CommitTypeDescription
e510ff828fixmark InjectionToken as pure for improved tree-shaking

20.3.3 (2025-09-24)

@schematics/angular

CommitTypeDescription
b7f92da78fixadd __screenshots__/ to .gitignore

@angular/ssr

CommitTypeDescription
a4c9a2007fixavoid retaining rendered HTML in memory post-request

20.3.2 (2025-09-17)

19.2.17 (2025-09-17)

@angular/build

CommitTypeDescription
365d525b5fixupdate vite to 6.3.6

20.3.1 (2025-09-11)

@angular/build

CommitTypeDescription
be60be499fixadd timestamp to bundle generation log
d60f4e53dfixupdate vite to version 7.1.5

18.2.21 (2025-09-10)

Breaking Changes

@angular/ssr

  • The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.

    Before:

    const bootstrap = () => bootstrapApplication(AppComponent, config);
    

    After:

    const bootstrap = (context: BootstrapContext) =>
      bootstrapApplication(AppComponent, config, context);
    

@angular-devkit/build-angular

CommitTypeDescription
700e6bc01fixavoid extra tick in SSR builds

@angular/build

CommitTypeDescription
cccc91b91fixavoid extra tick in SSR dev-server builds

@angular/ssr

CommitTypeDescription
4af385201featintroduce BootstrapContext for isolated server-side rendering

19.2.16 (2025-09-10)

Breaking Changes

@angular/ssr

  • The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.

    Before:

    const bootstrap = () => bootstrapApplication(AppComponent, config);
    

    After:

    const bootstrap = (context: BootstrapContext) =>
      bootstrapApplication(AppComponent, config, context);
    

@angular-devkit/build-angular

CommitTypeDescription
b0f4330a9fixavoid extra tick in SSR builds

@angular/build

CommitTypeDescription
ee5c5f823fixavoid extra tick in SSR dev-server builds

@angular/ssr

CommitTypeDescription
32980f7e7featintroduce BootstrapContext for isolated server-side rendering

20.3.0 (2025-09-10)

Breaking Changes

@angular/ssr

  • The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.

    Before:

    const bootstrap = () => bootstrapApplication(AppComponent, config);
    

    After:

    const bootstrap = (context: BootstrapContext) =>
      bootstrapApplication(AppComponent, config, context);
    

@schematics/angular

CommitTypeDescription
ef20a278dfixalign labels in ai-config schema

@angular/cli

CommitTypeDescription
f6ad41c13fiximprove bun lockfile detection and optimize lockfile checks

@angular-devkit/build-angular

CommitTypeDescription
1a7890873fixavoid extra tick in SSR builds

@angular/build

CommitTypeDescription
5d46d6ec1fixpreserve names in esbuild for improved debugging in dev mode

@angular/ssr

CommitTypeDescription
7eacb4187featintroduce BootstrapContext for isolated server-side rendering

20.2.2 (2025-09-03)

@angular/cli

CommitTypeDescription
a793bbc47fixdon't set a default for array options when length is 0
2736599e2fixset process title when running architect commands

@angular/build

CommitTypeDescription
5c2abffeafixavoid extra tick in SSR dev-server builds
f3c826853fixmaintain media output hashing with vitest unit-testing

20.2.1 (2025-08-27)

@angular/cli

CommitTypeDescription
3b693e09efixcorrectly set default array values

@schematics/angular

CommitTypeDescription
6937123a3fixdirectly resolve karma config template in migration
5d6dd4425fixprevent AI config schematic from failing when 'none' and other AI tools are selected

@angular-devkit/schematics-cli

CommitTypeDescription
e93919deafixcorrectly set default array values

@angular/build

CommitTypeDescription
06a6ddc10fixcorrect JS/TS file paths when running under Bazel
b6816b0cbfixensure karma polyfills reporter factory returns a value

20.2.0 (2025-08-20)

@angular/cli

CommitTypeDescription
b4de9a1bffeatadd --experimental-tool option to mcp command
755ba70fdfeatadd --local-only option to mcp command
59d7ef343featadd --read-only option to mcp command
4e92eb6f1featadd modernize tool to the MCP server
a3b25f675fixadd choices to command line parser when type is array and has an enum
e19eee614fixaddress Node.js deprecation DEP0190
4ee6f327afixapply default to array types
8ba6b0bccfixuse correct path for MCP get_best_practices tool

@schematics/angular

CommitTypeDescription
2e3cfd598featadd migration to remove default Karma configurations
d80dae276featadd schematics to generate ai context files.
ffe6fb916fixallow AI config prompt to be skipped without selecting a value
ae2802b7dfiximprove AI config prompt wording
b017f84fdfiximprove coverage directory handling for Karma configuration comparisons
6a79f9a75fixzoneless is now stable

@angular-devkit/schematics

CommitTypeDescription
c43504d8dfixaddress Node.js deprecation DEP0190

@angular/build

CommitTypeDescription
fb06bb505featadd headless mode for vitest browser mode

20.1.6 (2025-08-13)

@schematics/angular

CommitTypeDescription
584bc1d41fixadd extra prettier config
02b0506fdfixcorrect configure the typeSeparator in the library schematic

20.1.5 (2025-08-06)

@angular/cli

CommitTypeDescription
48ca04474fixcache MCP best practices content and add tool annotations

20.1.4 (2025-07-30)

@angular/cli

CommitTypeDescription
2d753cc62fixskip workspace-specific tools when outside a workspace

@angular/build

CommitTypeDescription
42d72ef4dfixskip vite transformation of CSS-like assets

20.1.3 (2025-07-24)

@angular/build

CommitTypeDescription
ea5cd0e81fixupdate vite to 7.0.6

20.1.2 (2025-07-23)

@angular/cli

CommitTypeDescription
96785224ffixdefine option is being included multiple times in the JSON help

@angular-devkit/core

CommitTypeDescription
0d0040bdffixuse crypto.randomUUID instead of Date.now for unique string in tmp file names

20.1.1 (2025-07-16)

@angular/build

CommitTypeDescription
541b33f8dfixemit a warning when outputHashing is set to all or bundles when HMR is enabled
558a0fe92fixnormalize code coverage include paths to POSIX

20.1.0 (2025-07-09)

@angular/cli

CommitTypeDescription
dc45c186efeatadd initial MCP server implementation

@schematics/angular

CommitTypeDescription
1c19e0dcdfeatuse signal in app component

@angular-devkit/build-angular

CommitTypeDescription
49a09737dfeatprovide partial custom postcss configuration support

@angular/build

CommitTypeDescription
1159cf081featadd code coverage reporters option for unit-test
8f305ef0bfeatadd dataurl, base64 loaders
adfeee0a4fixadjust coverage includes/excludes for unit-test vitest runner
c19cd2985fixcoverage reporter option
8879716cafixexpose unit test and karma builder API
a415a4999fiximprove default coverage reporter handling for vitest
e0de8680dfixinject zone.js/testing before karma builder execution
2672f6ec1fixjson and json-summary as vitest coverage reporters
b67fdfd6bfixresolve "Controller is already closed" error in Karma
2784883ecfixsupport extra test setup files with unit-test vitest runner
f177f5508fixsupport injecting global styles into vitest unit-tests
130c65014fixuse an empty array as default value for vitest exclude
917af12aefixuse date/time based output path for vitest unit-test

@angular/ssr

CommitTypeDescription
21b5852f1fixensure loadChildren runs in correct injection context during route extraction

20.0.6 (2025-07-09)

@schematics/angular

CommitTypeDescription
5542445d3fixremove constructor from service template

@angular/build

CommitTypeDescription
0836ad28ffixcorrectly remap Angular diagnostics
c475e546bfixexclude @vitest/browser/context from esbuild bundling
1a2da161efixfailed to proxy error for assets

20.0.5 (2025-07-01)

@angular-devkit/build-angular

CommitTypeDescription
1ebd53df7fixremove unused @vitejs/plugin-basic-ssl dependency

@angular/build

CommitTypeDescription
05cebdbcdfixproxy karma request from / to /base

20.0.4 (2025-06-25)

@schematics/angular

CommitTypeDescription
2316fe29dfixadd missing prettier config

@angular/ssr

CommitTypeDescription
309742289fixavoid preloading unnecessary dynamic bundles
82691b98ffixensure correct referer header handling in web request conversion

20.0.3 (2025-06-18)

@schematics/angular

CommitTypeDescription
e90a808c0fixinclude main.server.ts in tsconfig.files when present
5c48b8e0afixreset module typeSeparator when generating applications

@angular/build

CommitTypeDescription
56f426e25fixinclude custom bundle name scripts with karma
dfe3a8b73fixincrease worker idle timeout
e6d27bd5efixset scripts option output as classic script for karma

20.0.2 (2025-06-11)

@schematics/angular

CommitTypeDescription
bf64a0f2dfixadd less as a devDependency when selected as the style preprocessor
cb258a3e1fixcorrectly detect modules using new file extension format

@angular/build

CommitTypeDescription
424f1cbbffixdo not consider internal Angular files as external imports

19.2.15 (2025-06-11)

@angular-devkit/build-angular

CommitTypeDescription
b120e1411fixupdate dependency webpack-dev-server to v5.2.2

18.2.20 (2025-06-11)

@angular-devkit/build-angular

CommitTypeDescription
f048078fixupdate dependency webpack-dev-server to v5.2.2

20.0.1 (2025-06-04)

@angular/cli

CommitTypeDescription
0883248cbfiximprove Node.js version check and error messages

@schematics/angular

CommitTypeDescription
525ddcbd2fixonly overwrite JSON file if actually changed
83c820e5afixremove karma config devkit package usages during application migration
87266b38afixskip zone.js dependency for zoneless applications

@angular/build

CommitTypeDescription
e5efdc577fixalso disable outputMode in vitest unit-tests
5814393dbfixresolve junit karma reporter output to workspace root

20.0.0 (2025-05-28)

Breaking Changes

@angular/cli

  • Node.js v18 is no longer supported with Angular.

    Before updating a project to Angular v20, the Node.js version must be at least 20.11.1. For the full list of supported Node.js versions, see https://angular.dev/reference/versions.

  • Node.js versions from 22.0 to 22.10 are no longer supported

@schematics/angular

  • --server-routing option has been removed from several schematics. Server routing will be used when using the application builder.

@angular-devkit/schematics

  • The NodePackageLinkTask has been removed without a replacement. Create a custom task if needed.

    Note: This does not affect application developers.

@angular/build

  • TypeScript versions less than 5.8 are no longer supported.

@schematics/angular

CommitTypeDescription
e03f2b899featAdd global error listeners to new app generation
1e137ca84featadd migration to update moduleResolution to bundler
26fd4ea73featadd migrations for server rendering updates
5876577affeatAdd prompt for new apps to be zoneless
fdc6291ddfeatadd update migration to keep previous style guide generation behavior
093c5a315featdirectly use @angular/build in new projects
d6f594fe0featgenerate applications using TypeScript project references
0ab1ddf63featgenerate libraries using TypeScript project references
18e13e2cefeatremove --server-routing option
03180fe03featuse TypeScript module preserve option for new projects
86d241629fixadd @angular/ssr dependency only when provideServerRendering import has been updated
9e6b9b537fixadd type checking of host bindings to strict config
8654b3feafixapplication migration should migrate karma builder package
c557a19effixavoid empty polyfill option for new zoneless application
90615a88bfixdefault component templates to not use .ng.html extension
672ae14cdfixdrop composite in tsconfig
da6ef626ffixensure app-shell schematic consistently uses withAppShell
f126f8d34fixensure module discovery checks for an NgModule decorator
dc2f65999fixgenerate component templates with a .ng.html file extension
23fc8e1e1fixgenerate components without a .component extension/type
8d715fa94fixgenerate directives without a .directive extension/type
5fc595144fixgenerate guards with a dash type separator
040282d8ffixgenerate interceptors with a dash type separator
070d60fb3fixgenerate modules with a dash type separator
e6083b57bfixgenerate pipes with a dash type separator
92e193c0bfixgenerate resolvers with a dash type separator
bc0f07b48fixgenerate services without a .service extension/type
ea1143dddfixinfer app component name and path in server schematic
bcc0892a6fixmigrate provideServerRoutesConfig to provideServerRendering
5e8c6494dfixrelative tsconfig paths in references
381d35fe4fixremove empty scripts option value from new applications
148498c2bfixRemove experimental from zoneless
a910fe9aefixremove explicit outputPath option value from generated applications
901ab60d9fixremove explicit index option from new applications
be6f13ec1fixremove setting files tsconfig field with SSR/Server generation
661609e3efixset explicit type in library schematic
0f7dc2cd8fixskip spec project reference for minimal ng new
3cf6ab0f7fixsupport using default browser option when not present
b13805a77fixuse protected for class member

@angular/cli

CommitTypeDescription
e513cd4aafixadd Node.js 24 as supported version
5e90c1b4efixremove Node.js v18 support
787e510dcfixupdate min Node.js support to 20.19, 22.12, and 24.0
64732534efixupdate minimum supported Node.js 22 version to 22.11.0

@angular-devkit/build-angular

CommitTypeDescription
a42e045bafixrespect i18nDuplicateTranslation option when duplicates exist

@angular-devkit/schematics

CommitTypeDescription
e6be37601refactorremove deprecated NodePackageLinkTask

@angular/build

CommitTypeDescription
d6ea6b09ffeatadd experimental vitest browser support to unit-testing
12def3a2efeatadd experimental vitest unit-testing support
c1de63300featallow control of source map sources content for application builds
31c81e9c6featdrop support for TypeScript older than 5.8
e80963036featexpand browser support policy to widely available Baseline
3c9172159featintegrate Chrome automatic workspace folders
9b682e625featsupport a default outputPath option for applications
d067cedf0featsupport custom resolution conditions with applications
f4be83119featSupport Sass package importers
f36a27272fixallow a default application browser option
f42f5c14cfixallow component HMR for templates with i18n
e36bf964afixallow TestBed provider configuration with vitest unit-testing
769961e4afixallow vitest-based unit testing to use watch option
3e24a59a9fixdisable TypeScript composite option with Angular compiler
b155ba1dcfixenable unit-test builder watch outside CI
7bb1f8747fixenable unit-test reporters option
05485ede7fixensure com.chrome.devtools.json is consistently served after initial run
7877d9a97fixensure disabled vitest config loading
c8c73185afixensure matching coverage excludes with karma on Windows
aec95042bfixexclude only source test files with unit-test vitest support
5bea3de4cfixinvalidate com.chrome.devtools.json if project is moved
1cd65a08dfixperform testing module cleanup when using Vitest
c51a540cefixprovide direct debugging support for unit test builder
c7f2cb596fixprovide vitest globals in unit-test builder
d2bfc6bd4fixrevert setup unit-test polyfills before TestBed init
0d40cdecdfixsetup unit-test polyfills before TestBed init
fa3dc6387fixshow unit-test error for missing vitest browser package
247cd3352fixshow unit-test error for missing vitest package
eee816f79fixuse global unit-test hooks during TestBed init
566de64cbfixuse virtual module for Karma TestBed initialization
52fbffcd7fixwarn and remove jsdom launcher when used with karma
5ff6188c4perfdirectly check code for Angular partial linking

@angular/pwa

CommitTypeDescription
fa0a06f9ffixsupport using default index option when not present

@angular/ssr

CommitTypeDescription
33b9de3ebfeatexpose provideServerRendering and remove provideServerRouting
cdfc50c29featstabilize AngularNodeAppEngine, AngularAppEngine, and provideServerRouting APIs
319b8e0c2fixmanage unhandled errors in zoneless applications
2d11e8e45fixreturn 302 when redirectTo is a function
059c10eb4fixSSR should work without @angular/router
63428f3f1perfflush headers prior to start rendering the HTML
280693231perfoptimize response times by introducing header flushing
6bd7b9b4aperfoptimized request handling performance

@ngtools/webpack

CommitTypeDescription
427bd846ffixdisable TypeScript composite option with Angular compiler

19.2.14 (2025-05-28)

@angular/build

CommitTypeDescription
a3504fd45fixHMR requires AOT do not show HMR enabled when using JIT
5ce9f96a4fixinclude full metadata for AOT unit-testing

19.2.13 (2025-05-21)

@angular/pwa

CommitTypeDescription
ad2fb2959fixremove background_color and theme_color from manifest

19.2.12 (2025-05-14)

@angular/cli

CommitTypeDescription
0098c38c6fixproperly handle Node.js require() errors with ESM modules

19.2.11 (2025-05-07)

@angular-devkit/build-angular

CommitTypeDescription
9eaf34405fixcorrectly set i18n subPath in webpack browser builder

@angular/build

CommitTypeDescription
cba66a85cfixavoid attempting to watch bundler internal files
009fc3776fixavoid internal karma request cache for assets
b43da3949perffix unnecessary esbuild rebuilds

19.2.10 (2025-04-30)

@angular/build

CommitTypeDescription
067f1cba0fixupdate vite to 6.2.7

17.3.17 (2025-04-30)

@angular-devkit/build-angular

CommitTypeDescription
743d85bacfixupdate http-proxy-middleware to v2.0.8

19.2.9 (2025-04-23)

@angular-devkit/build-angular

CommitTypeDescription
de52cc2c8fixupdate http-proxy-middleware to v3.0.5

@angular/build

CommitTypeDescription
cc5229a45fixpass preserveSymlinks option to Karma esbuild builder

@angular/ssr

CommitTypeDescription
a4e415ea6fixsupport getPrerenderParams for wildcard routes

18.2.19 (2025-04-23)

@angular-devkit/build-angular

CommitTypeDescription
01cc617bcfixupdate http-proxy-middleware to v3.0.5

19.2.8 (2025-04-16)

@angular/build

CommitTypeDescription
4a8a4a083fixinclude module value check when adding custom conditions
00cd0d123fixprevent nested CSS in components
a297c4153fixproperly resolve transitive external dependencies in vite-dev-server
8ab033e8efixupdate vite to 6.2.6

19.2.7 (2025-04-09)

@angular/build

CommitTypeDescription
7f1e8c677fixinclude component test metadata in development builds
74cd4edd5fixskip normalization of relative externals

18.2.18 (2025-04-09)

@angular/build

CommitTypeDescription
4245ca7b4fixupdate vite to 5.4.17

17.3.16 (2025-04-09)

@angular-devkit/build-angular

CommitTypeDescription
5aa53b40cfixremove undici from dependencies
fce61564dfixupdate vite to 5.4.17

19.2.6 (2025-04-02)

@angular-devkit/schematics

CommitTypeDescription
e5aec562ffixproperly resolve relative schematics when executed from a nested directory

@angular/build

CommitTypeDescription
76cfd364afixcorrectly handle false value in server option
d69188c6bfixupdate vite to 6.2.4 due to a security issues

18.2.17 (2025-04-02)

@angular/build

CommitTypeDescription
247ceff7ffixupdate vite to 5.4.16 due to a security issues

17.3.15 (2025-04-02)

@angular-devkit/build-angular

CommitTypeDescription
0525fec61fixupdate vite to 5.4.16 due to a security issues

19.2.5 (2025-03-26)

@angular/build

CommitTypeDescription
20455e2a6fixcorrect handling of response/request errors
32b1dcd91fixhandle undefined getOrCreateAngularServerApp during error compilation
7552a9fecfixnormalize karma asset paths before lookup
1eb5b4357fixupdate vite to 6.2.3

18.2.16 (2025-03-26)

@angular-devkit/build-angular

CommitTypeDescription
4267a80c5fixremove @vitejs/plugin-basic-ssl from dependencies

@angular/build

CommitTypeDescription
9c2904d0dfixupdate vite to 5.4.15

17.3.14 (2025-03-26)

@angular-devkit/build-angular

CommitTypeDescription
cb8f859f1fixupdate vite to 5.4.15

19.2.4 (2025-03-19)

@schematics/angular

CommitTypeDescription
0a4e96bdafixreplace @angular/platform-browser-dynamic with @angular/platform-browser

@angular/build

CommitTypeDescription
b0b643e46fixensure errors for missing component resources
2cd763e89fixensure relative karma stack traces for test failures

17.3.13 (2025-03-13)

@angular-devkit/build-angular

CommitTypeDescription
22901df02fixupdate babel packages

19.2.3 (2025-03-13)

@angular/build

CommitTypeDescription
5a739820bfixupdate babel packages

18.2.15 (2025-03-13)

@angular-devkit/build-angular

CommitTypeDescription
255c8a50dfixupdate babel packages

19.2.2 (2025-03-12)

@angular/cli

CommitTypeDescription
0ee24e29bfixrecord analytics for nested schematics

@angular/build

CommitTypeDescription
4575265f0fixexclude all entrypoints of a library from prebundling
83fcffbb7fixhandle postcss compilation errors gracefully
78297ee47fixprovide extract-i18n does not respect
b18b9c8f2fixremove duplicate prebundling warning

@angular/ssr

CommitTypeDescription
e6e8ce960fixprevent stream draining if write does not return a boolean

19.2.1 (2025-03-05)

@schematics/angular

CommitTypeDescription
4c35b5721fixprevent accidental deletion of main.ts during application builder migration
d7f9cb578fixprevent error when tsconfig file is missing in application builder migration

@angular-devkit/architect

CommitTypeDescription
3ebd7ca7cfiximprove error message when configuration is missing

@angular/build

CommitTypeDescription
c07330967fixallow component HMR with a service worker
c989c91c3fixexclude component styles from 'any' and 'all' budget calculations
96e5dcb5ffixhandle undefined less stylesheet sourcemap values

19.2.0 (2025-02-26)

@schematics/angular

CommitTypeDescription
fe8d83a1ffixadd additional checks for application builder usage
adf4ea5d4fixremove animations module from ng new app

@angular-devkit/build-angular

CommitTypeDescription
ef7ea536ffeatadd aot option to jest
523d539c6featadd aot option to karma
a00a49a65featadd aot to WTR schema
2bae1a9c0fixsupport aot option for karma browser builder

@angular/build

CommitTypeDescription
11fab9c7dfeatadd application builder karma testing to package
a5fcf8044fixprovide karma stack trace sourcemap support
964fb778bfixsupport per component updates of multi-component files
f836be9e6fixsupport Vite allowedHosts option for development server
0ddf6aafafixutilize bazel stamp instead of resolving peer dependency versions

@angular/ssr

CommitTypeDescription
9726cd084featAdd support for route matchers with fine-grained render mode control

19.1.9 (2025-02-26)

@angular/build

CommitTypeDescription
2d361e9b0fixalways disable JSON stats with dev-server

19.1.8 (2025-02-19)

@angular/cli

CommitTypeDescription
f76cee637fixcorrectly parse and resolve relative schematic collection names on Windows
ceba7739cfixprefer installed package as fallback when listing package groups

@angular-devkit/build-angular

CommitTypeDescription
c54b9996afixpass missing options to Karma esbuild builder

@angular/build

CommitTypeDescription
2f60a24ddfixsuppress asset missing warning for /index.html requests
b8f7952b7fixupdate critical CSS inlining to support autoCsp

19.1.7 (2025-02-12)

@schematics/angular

CommitTypeDescription
de73b1c0cfixinclude default export for Express app

@angular/build

CommitTypeDescription
8890a5f76fixalways provide Vite client helpers with development server
df1d38846fixconfigure Vite CORS option
a13a49d95fixexclude unmodified files from logs with --localize
0826315fafixhandle unlocalizable files correctly in localized prerender
d2e1c8e9fperfcache translated i18n bundles for faster builds

@angular/ssr

CommitTypeDescription
f5d974576fixaccurately calculate content length for static pages with \r\n
c26ea1619fixproperly handle baseHref with protocol

17.3.12 (2025-02-12)

@angular-devkit/build-angular

CommitTypeDescription
d83237028fixupdate vite to version 5.4.14

19.1.6 (2025-02-05)

@schematics/angular

CommitTypeDescription
3f7042672fixremove additional newline after standalone property
e9778dba0fixskip ssr migration when @angular/ssr is not a dependency

@angular/build

CommitTypeDescription
27f833186fixavoid pre-transform errors with Vite pre-bundling
8f6ee7ed9fixensure full rebuild after initial error build in watch mode
2b9c00f68fixprevent fallback to serving main.js for unknown requests
45abd15b7fixprevent server manifest generation when no server features are enabled

@angular/ssr

CommitTypeDescription
5bf5e5fd2fixprioritize the first matching route over subsequent ones

19.1.5 (2025-01-29)

@schematics/angular

CommitTypeDescription
14e3a71e4fixupdate library schematic to use @angular-devkit/build-angular:ng-packagr

@angular/build

CommitTypeDescription
d53d25fc1fixallow tailwindcss 4.x as a peer dependency
bd9d379f0fixdisable TypeScript removeComments option
e73e9102efixhandle empty module case to avoid TypeError
bb413456efixkeep background referenced HMR update chunks
2011d3428fixsupport template updates that also trigger global stylesheet changes
688019946fixupdate vite to version 6.0.11

@angular/ssr

CommitTypeDescription
94643d54dfixenhance dynamic route matching for better performance and accuracy
747557aa0fixredirect to locale pathname instead of full URL
bbbc1eb7afixrename provideServerRoutesConfig to provideServerRouting

18.2.14 (2025-01-29)

@angular-devkit/build-angular

CommitTypeDescription
9d34d28ecfixremove unused vite dependency

18.2.13 (2025-01-29)

@angular/cli

CommitTypeDescription
deeaf1883fixcorrectly select package versions in descending order during ng add

@angular/build

CommitTypeDescription
fdddf2c08fixupdate vite to version 5.4.14

19.1.4 (2025-01-22)

@angular-devkit/schematics

CommitTypeDescription
aa6f0d051fixensure collections can be resolved via test runner in pnpm workspaces

@angular/build

CommitTypeDescription
ff8192a35fixcorrect path for /@ng/components on Windows
14d2f7ca0fixinclude extracted routes in the manifest during prerendering
c87a38f5bfixonly issue invalid i18n config error for duplicate subPaths with inlined locales
d50788cf9fixreplace deprecation of i18n.baseHref with a warning

@angular/ssr

CommitTypeDescription
bcc5fab75fixprevent route matcher error when SSR routing is not used
9bacf3981fixproperly manage catch-all routes with base href
59c757781fixunblock route extraction with withEnabledBlockingInitialNavigation

19.1.3 (2025-01-20)

@angular/build

CommitTypeDescription
7d8c34172fixallow asset changes to reload page on incremental updates
9fa29af37fixhandle relative @ng/components
c4de34703fixperform full reload for templates with $localize usage

19.1.2 (2025-01-17)

@angular/build

CommitTypeDescription
939d1612afixperform incremental background file updates with component updates
304027207fixprevent full page reload on HMR updates with SSR enabled
148acbd58fixreset component updates on dev-server index request

19.1.1 (2025-01-16)

@angular/build

CommitTypeDescription
298506751fixresolve HMR-prefixed files in SSR with Vite

19.1.0 (2025-01-15)

Deprecations

@angular/build

  • The baseHref option under i18n.locales and i18n.sourceLocale in angular.json is deprecated in favor of subPath.

    The subPath defines the URL segment for the locale, serving as both the HTML base HREF and the directory name for output. By default, if not specified, subPath will use the locale code.

@schematics/angular

CommitTypeDescription
02825eec5featuse @angular/build package in library generation schematic
88431b756fixapplication migration should migrate ng-packagr builder package

@angular-devkit/architect

CommitTypeDescription
2b8a02bacfeatrequire build schemas from modules
fe1ae6933fixavoid Node.js resolution for relative builder schema

@angular-devkit/core

CommitTypeDescription
ce7c4e203fixhandle Windows drive letter case insensitivity in path functions

@angular-devkit/schematics

CommitTypeDescription
2f55209ddfixupdate Rule type to support returning a Promise of Tree

@angular/build

CommitTypeDescription
2c9d7368ffeatadd ng-packagr builder to the package
0a570c0c2featadd support for customizing URL segments with i18n
298b554a7featenable component template hot replacement by default
d350f357bfixcorrectly validate locales subPath
8aa1ce608fixhandle loaders correctly in SSR bundles for external packages
3b7e6a8c6fixinvalidate component template updates with dev-server SSR
8fa682e57fixremove deleted assets from output during watch mode
48cae815cfixskip vite SSR warmup file configuration when SSR is disabled
ba16ad6b5fixsupport incremental build file results in watch mode
955acef3dfixtrigger browser reload on asset changes with Vite dev server
e74300a2cfixuse component updates for component style HMR
6a19c217efixwarn when using both isolatedModules and emitDecoratorMetadata

@angular/ssr

CommitTypeDescription
8d7a51dfcfeatadd modulepreload for lazy-loaded routes
41ece633bfeatredirect to preferred locale when accessing root route without a specified locale
3feecddbbfixdisable component boostrapping when running route extraction
6edb90883fixthrow error when using route matchers

19.0.7 (2025-01-08)

@angular-devkit/architect

CommitTypeDescription
95c22aefffixprovide better error when builder is not defined

@angular-devkit/build-angular

CommitTypeDescription
028652992fixpreserve css type for jasmine.css

@angular/build

CommitTypeDescription
f7522342afixadd asset tracking to application builder watch files
e973643bffixdo not mark Babel _defineProperty helper function as pure
881095eecfixenable serving files with bundle-like names
db10af0b3fixfix incorrect budget calculation
c822f8f15fixhandle relative URLs when constructing new URLs during server fetch
b43c648b0fixmitigate JS transformer worker execArgv errors
1f2481a4ffixpass define option defined in application builder to Vite prebundling
c94f568a4fixwarn when @angular/localize/init is imported directly

19.0.6 (2024-12-18)

@angular-devkit/build-angular

CommitTypeDescription
db7421231fixjasmine.clock with app builder

@angular/build

CommitTypeDescription
5fbc105edfixforce HTTP/1.1 in dev-server SSR with SSL

@angular/ssr

CommitTypeDescription
2f4df6b2bfixcorrectly resolve pre-transform resources in Vite SSR without AppEngine
0789a9e13fixensure correct Location header for redirects behind a proxy

19.0.5 (2024-12-12)

@angular-devkit/build-angular

CommitTypeDescription
6c319e44cfixfix webpack config transform for karma

@angular/build

CommitTypeDescription
251bd9f22fixFixing auto-csp edge cases where
1047b8635fixhandle external @angular/ packages during SSR (#29094)
376ee9966fixprovide component HMR update modules to dev-server SSR
5ea9ce376fixuse consistent path separators for template HMR identifiers

@angular/ssr

CommitTypeDescription
b3c6c7eb2fixinclude Content-Language header when locale is set
4203efb90fixdisable component bootstrapping during route extraction

19.0.4 (2024-12-05)

@angular-devkit/build-angular

CommitTypeDescription
23667ed4afixhandle windows spec collisions

@angular/build

CommitTypeDescription
fc41f50b5fixshow error when Node.js built-ins are used during ng serve
14451e275perfreuse TS package.json cache when rebuilding

19.0.3 (2024-12-04)

@angular/cli

CommitTypeDescription
4e82ca180fixcorrectly select package versions in descending order during ng add

@schematics/angular

CommitTypeDescription
28a51cc5efixadd required type to CanDeactivate guard (#29004)

@angular/build

CommitTypeDescription
f26e1b462fixadd timeout to route extraction
ab4e77c75fixallow .json file replacements with application builds
06690d87efixapply define option to JavaScript from scripts option
775e6f780fixavoid deploy URL usage on absolute preload links
21f21eda3fixensure correct handling of index.output for SSR

@angular/ssr

CommitTypeDescription
75cf47e71fixapply HTML transformation to CSR responses
5880a0230fixcorrectly handle serving of prerendered i18n pages
277b8a378fixensure compatibility for Http2ServerResponse type

19.0.2 (2024-11-25)

@schematics/angular

CommitTypeDescription
2f53e2af5fixskip SSR routing prompt in webcontainer

@angular/build

CommitTypeDescription
f9da163f8fixminimize reliance on esbuild inject to prevent code reordering
c497749e6fixprevent errors with parameterized routes when getPrerenderParams is undefined

@angular/ssr

CommitTypeDescription
c8cd90e0ffixhandle nested redirects not explicitly defined in router config

19.0.1 (2024-11-21)

@angular-devkit/build-angular

CommitTypeDescription
b63123f20fixuse stylePreprocessorOptions

@angular/build

CommitTypeDescription
74461da64fixensure accurate content length for server assets
1b4dcedd5fixuse sha256 instead of sha-256 as hash algorithm name

@angular/ssr

CommitTypeDescription
8bd2b260efixhandle baseHref that start with ./

19.0.0 (2024-11-19)

Breaking Changes

@schematics/angular

  • The app-shell schematic is no longer compatible with Webpack-based builders.

@angular-devkit/build-angular

@angular-devkit/core

  • The deprecated fileBuffer function is no longer available. Update your code to use stringToFileBuffer instead to maintain compatibility.

    Note: that this change does not affect application developers.

@angular/build

  • The @angular/localize/init polyfill will no longer be added automatically to projects. To prevent runtime issues, ensure that this polyfill is manually included in the "polyfills" section of your "angular.json" file if your application relies on Angular localization features.

@angular/ssr

  • The CommonEngine API now needs to be imported from @angular/ssr/node.

    Before

    import { CommonEngine } from '@angular/ssr';
    

    After

    import { CommonEngine } from '@angular/ssr/node';
    

@angular-devkit/schematics-cli

CommitTypeDescription
37693c40efeatadd package manager option to blank schematic

@schematics/angular

CommitTypeDescription
a381a3db1featadd option to export component as default
755f3a07ffeatadd option to setup new workspace or application as zoneless mode
cfca5442efeatintegrate withEventReplay() in provideClientHydration for new SSR apps
292a4b7c2featupdate app-shell and ssr schematics to adopt new Server Rendering API
b1504c3bcfixcomponent spec with export default
4b4e000ddfixdon't show server routing prompt when using browser builder
4e2a5fe15fixenable opt-in for new @angular/ssr feature
fcf7443d6fixexplicitly set standalone:false
7992218a9fixremove declaration and sourceMap from default tsconfig
9e6ab1bf2fixuse default import for express

@angular/cli

CommitTypeDescription
201b60e1dfeathandle string key/value pairs, e.g. --define
b847d4460fixrecommend optional application update migration during v19 update
f249e7e85perfenable Node.js compile code cache when available
ecc107d83perfenable Node.js compile code cache when available

@angular-devkit/architect

CommitTypeDescription
78f76485ffeatmerge object options from CLI

@angular-devkit/build-angular

CommitTypeDescription
0a4ef3026featkarma-coverage w/ app builder
dcbdca85cfeatkarma+esbuild+watch
54594b5abfeatsupport karma with esbuild
ea5ae68dafixbring back style tags in browser builder
476f94f51fixfix --watch regression in karma
25d928b4ffixfix hanging terminal when browser-sync is not installed
2ec877dd0fixhandle basename collisions
ab6e19e1ffixhandle main field
43e7aae22fixremove double-watch in karma
1e37b5939fixserve assets
9d7613db9fixzone.js/testing + karma + esbuild
e40384e63refactorremove deprecated browserTarget
62877bdf2refactorremove Protractor builder and schematics

@angular-devkit/core

CommitTypeDescription
0d8a1006drefactorremove deprecated fileBuffer function in favor of stringToFileBuffer

@angular/build

CommitTypeDescription
b6951f448featadd sass to stylePreprocessorOptions in application builder
efb434136featAuto-CSP support as a part of angular.json schema
816e3cb86featenable component stylesheet hot replacement by default
3b00fc908featintroduce outputMode option to the application builder
7d883a152featintroduce ssr.experimentalPlatform option
c48d6947efeatset development/production condition
f63072668featutilize ssr.entry during prerendering to enable access to local API routes
bbc290133featutilize ssr.entry in Vite dev-server when available
5a7a2925bfixadd missing redirect in SSR manifest
06e5176c2fixadd warning when --prerendering or --app-shell are no-ops
ecaf870b5fixalways clear dev-server error overlay on non-error result
f8677f6a9fixalways record component style usage for HMR updates
099e477a8fixavoid hashing development external component stylesheets
3602bbb77fixavoid overwriting inline style bundling additional results
71534aadcfixcheck referenced files against native file paths
fed31e064fixcorrectly use dev-server hmr option to control stylesheet hot replacement
b86bb080efixdisable dev-server websocket when live reload is disabled
7c50ba9e2fixensure index.csr.html is always generated when prerendering or SSR are enabled
efb2232dffixensure accurate content size in server asset metadata
18a8584eafixensure SVG template URLs are considered templates with external stylesheets
7502fee28fixExclude known --import from execArgv when spawning workers
2551df533fixfully disable component style HMR in JIT mode
c41529cc1fixhandle APP_BASE_HREF correctly in prerendered routes
87a90afd4fixincomplete string escaping or encoding
1bb68ba68fixmove lmdb to optionalDependencies
a995c8ea6fixprevent prerendering of catch-all routes
1654acf0ffixrelax constraints on external stylesheet component id
0d4558ea5fixset ngServerMode during vite prebundling
55d7f01b6fixsimplify disabling server features with --no-server via command line
cf0228b82fixskip wildcard routes from being listed as prerendered routes
af52fb49bfixsynchronize import/export conditions between bundler and TypeScript
6c618d495fixupdate logic to support both internal and external SSR middlewares
bfa8fec9bfixuse named export reqHandler for server.ts request handling
c8e1521a2fixworkaround Vite CSS ShadowDOM hot replacement
d6a34034drefactorremove automatic addition of @angular/localize/init polyfill and related warnings

@angular/ssr

CommitTypeDescription
92209dd2efeatadd createRequestHandler and createNodeRequestHandler utilities
41fb2ed86featAdd getHeaders Method to AngularAppEngine and AngularNodeAppEngine for handling pages static headers
f346ee8a8featadd isMainModule function
d66aaa3cafeatadd server routing configuration API
bca568389featdynamic route resolution using Angular router
30c25bf68featexport AngularAppEngine as public API
455b5700cfeatexpose writeResponseToNodeResponse and createWebRequestFromNodeRequest in public API
9692a9054featimprove handling of aborted requests in AngularServerApp
576ff604cfeatintroduce AngularNodeAppEngine API for Node.js integration
3c9697a8cfeatintroduce new hybrid rendering API
4b09887a9featmove CommonEngine API to /node entry-point
d43180af5fixadd missing peer dependency on @angular/platform-server
74b3e2d51fixadd validation to prevent use of provideServerRoutesConfig in browser context
2640bf7a6fixcorrect route extraction and error handling
44077f54efixdesignate package as side-effect free
df4e1d360fixenable serving of prerendered pages in the App Engine
0793c78cffixensure wildcard RenderMode is applied when no Angular routes are defined
65b6e75a5fixexport RESPONSE_INIT, REQUEST, and REQUEST_CONTEXT tokens
4ecf63a77fixexport PrerenderFallback
50df63196fiximprove handling of route mismatches between Angular server routes and Angular router
3cf7a5223fixinitialize the DI tokens with null to avoid requiring them to be set to optional
85df4011bfixresolve bootstrap is not a function error
e9c9e4995fixresolve circular dependency issue from main.server.js reference in manifest
64c52521dfixshow error when multiple routes are set with RenderMode.AppShell
280ebbda4fixsupport for HTTP/2 request/response handling
fb05e7f0afixuse wildcard server route configuration on the '/' route when the app router is empty
12ff37adbperfcache generated inline CSS for HTML
1d70e3b46perfcache resolved entry-points
f460b91d4perfintegrate ETags for prerendered pages
e52ae7f6fperfprevent potential stampede in entry-points cache

18.2.12 (2024-11-14)

@angular/cli

CommitTypeDescription
c3925ed7ffixsupport default options for multiselect list x-prompt

@angular/build

CommitTypeDescription
c8bee8415fixallow .js file replacements in all configuration cases
93f552112fiximprove URL rebasing for hyphenated Sass namespaced variables

18.2.11 (2024-10-30)

@angular/build

CommitTypeDescription
87ec15ba2fixshow error message when error stack is undefined

18.2.10 (2024-10-23)

@angular-devkit/build-angular

CommitTypeDescription
7b775f4e0fixupdate http-proxy-middleware to 3.0.3

@angular/build

CommitTypeDescription
b1e5f51f9fixAddress build issue in Node.js LTS versions with prerendering or SSR

17.3.11 (2024-10-23)

@angular-devkit/build-angular

CommitTypeDescription
8bad9cee0fixupdate http-proxy-middleware to 2.0.7

18.2.9 (2024-10-16)

@schematics/angular

CommitTypeDescription
237f7c5d0fixupdate browserslist config to include last 2 Android major versions

@angular/build

CommitTypeDescription
d749ba6a3fixallow direct bundling of TSX files with application builder
b91c82d89fixavoid race condition in sass importer

18.2.8 (2024-10-09)

@schematics/angular

CommitTypeDescription
b522002fffixadd validation for component and directive class name
dfd2d5c05fixinclude index.csr.html in resources asset group

@angular/build

CommitTypeDescription
9445916f9fixCtrl + C not terminating dev-server with SSR
9b5cfaa8cfixalways generate a new hash for optimized chunk

18.2.7 (2024-10-02)

@schematics/angular

CommitTypeDescription
3f98193d6fixsupport single quote setting in JetBrains IDEs

@angular/build

CommitTypeDescription
8274184e1fixadd animate to valid self-closing elements
2648e811efixadd few more SVG elements animateMotion, animateTransform, and feBlend etc. to valid self-closing elements
736e126e4fixseparate Vite cache by project

18.2.6 (2024-09-25)

@angular/build

CommitTypeDescription
9d0b67124fixallow missing HTML file request to fallback to index
5fea635b2fixupdate rollup to 4.22.4

17.3.10 (2024-09-25)

@angular-devkit/build-angular

CommitTypeDescription
30489d8fdfixupdate vite to 4.1.8

18.2.5 (2024-09-18)

@angular/build

CommitTypeDescription
707431625fixsupport HTTP HEAD requests for virtual output files
1032b3da1fixupdate vite to 5.4.6

16.2.16 (2024-09-18)

@angular-devkit/build-angular

CommitTypeDescription
12aca0060fixupdate vite to 4.5.5

18.2.4 (2024-09-11)

@angular/build

CommitTypeDescription
765309a2efixprevent transformation of Node.js internal dependencies by Vite

18.2.3 (2024-09-04)

@angular-devkit/build-angular

CommitTypeDescription
482076612fixupdate webpack-dev-middleware to 7.4.2

18.2.2 (2024-08-29)

@angular-devkit/build-angular

CommitTypeDescription
504b00b93fixclear context in Karma by default for single run executions
82b76086efixupdate webpack to 5.94.0

17.3.9 (2024-08-29)

@angular-devkit/build-angular

CommitTypeDescription
e2c5c034dfixclear context in Karma by default for single run executions
88501f3d5fixupgrade webpack to 5.94.0

16.2.15 (2024-08-29)

@angular-devkit/build-angular

CommitTypeDescription
f596a3d5dfixclear context in Karma by default for single run executions
56fa051bdfixupgrade webpack to 5.94.0

18.2.1 (2024-08-21)

@angular/cli

CommitTypeDescription
05a274a01fixprevent bypassing select/checkbox prompts on validation failure

@angular-devkit/schematics-cli

CommitTypeDescription
94e27c88bfixprevent bypassing select/checkbox prompts on validation failure

@angular-devkit/build-angular

CommitTypeDescription
ddeb2b2b9fixremove outdated browser-esbuild option warning

@angular/build

CommitTypeDescription
83b2699abfiximprove error message when an unhandled exception occurs during prerendering
0be4038a5fixsupport reading on-disk files during i18n extraction

18.2.0 (2024-08-14)

@schematics/angular

CommitTypeDescription
4da922e4ffeatuse isolatedModules in generated project

@angular/build

CommitTypeDescription
24aaf1e37featsupport import attribute based loader configuration

18.1.4 (2024-08-07)

@angular/build

CommitTypeDescription
f8b092711fixallow explicitly disabling TypeScript incremental mode
f3a5970fcfixlazy load Node.js inspector for dev server

18.1.3 (2024-07-31)

@angular/build

CommitTypeDescription
a28615d7dfixadd CSP nonce attribute to script tags when inline critical CSS is disabled
747a1447cfixprevent build failures with remote CSS imports when Tailwind is configured
c0933f2c0fixresolve error with extract-i18n builder for libraries

18.1.2 (2024-07-24)

@angular/build

CommitTypeDescription
5b9378a3bfixaccount for HTML base HREF for dev-server externals
3e4ea77d7fixcorrectly detect comma in Sass URL lexer
d868270f1fixprevent redirection loop
3573ac655fixserve HTML files directly

18.1.1 (2024-07-17)

@angular-devkit/build-angular

CommitTypeDescription
4f6cee272fixskip undefined files when generating budget stats

@angular/build

CommitTypeDescription
96dc7e6edfixremove Vite "/@id/" prefix for explicit external dependencies
bdef39801fixresolve only ".wasm" files

18.1.0 (2024-07-10)

@angular/cli

CommitTypeDescription
6d266c146fixadd fallbacks for migration package resolution

@schematics/angular

CommitTypeDescription
22e05dcb4fixgenerate new projects with ECMAScript standard class field behavior

@angular/build

CommitTypeDescription
687a6c7ecfeatadd --inspect option to the dev-server
628d87a94featsupport WASM/ES Module integration proposal
3e359da8dfixaddress rxjs undefined issues during SSR prebundling
4ff914a16fixallow additional module preloads up to limit
fb8e3c39afixallow top-level await in zoneless applications
83b75af9ffixcheck inlineSourceMap option with isolated modules optimization
cd97134a6fixnormalize paths during module resolution in Vite
13d2100ddfixread WASM file from script location on Node.js
3091956f5fixsupport import attributes in JavaScript transformer
dd94a831bperfenable dependency prebundling for server dependencies
3acb77683perfuse direct transpilation with isolated modules

18.0.7 (2024-07-03)

@angular/cli

CommitTypeDescription
67bf90131fixmake ng update to keep newline at the end of package.json

@angular-devkit/build-angular

CommitTypeDescription
9b43ecbd0fixreduce the number of max workers to available CPUs minus one
03dad6806fixrollback terser to 5.29.2

@angular/build

CommitTypeDescription
fc928f638fixcorrectly name entry points to match budgets
2d51e8607fixredirect to path with trailing slash for asset directories
16f1c1e01fixreduce the number of max workers to available CPUs minus one

18.0.6 (2024-06-26)

@angular/build

CommitTypeDescription
98a8a8a78fixshow JavaScript cache store initialization warning

18.0.5 (2024-06-20)

@schematics/angular

CommitTypeDescription
5c705e800fixupdate schematics to use RouterModule when --routing flag is present

@angular-devkit/build-angular

CommitTypeDescription
86e031dc7fixuse istanbul-lib-instrument directly for karma code coverage

@angular/build

CommitTypeDescription
bdd168f37fixadd CSP nonce to script with src tags
405c14809fixautomatically resolve .mjs files when using Vite
7360a346efixuse Node.js available parallelism for default worker count

18.0.4 (2024-06-13)

@angular/build

CommitTypeDescription
791ef809dfixdo not reference sourcemaps in web workers and global stylesheet bundles when hidden setting is enabled
20fc6ca05fixgenerate module preloads next to script elements in index HTML
3a1bf5c8afixInitiate PostCSS only once
78c611754fixissue warning when auto adding @angular/localize/init

18.0.3 (2024-06-05)

@angular/cli

CommitTypeDescription
b709d2a24fixadd schema.json options to parsed command, also when a version is passed to ng add <package>@<version>

@angular/build

CommitTypeDescription
43a2a7d13fixavoid escaping rebased Sass URL values
9acb5c7cafixdisable JS transformer persistent cache on web containers
346df4909fiximprove Sass rebaser ident token detection
6526a5f59fixwatch all related files during a Sass error

18.0.2 (2024-05-29)

@schematics/angular

CommitTypeDescription
9967c04b8fixcheck both application builder packages in SSR schematic
92b48ab14fixset builders assets option correctly for new applications

@angular/build

CommitTypeDescription
3bb06c37dfixdisable Worker wait loop for Sass compilations in web containers
c4cf35923fixprint Sass @warn location
352879804fixsupport valid self-closing MathML tags in HTML index file
476f3084afixsupport valid self-closing SVG tags in HTML index file

@angular/pwa

CommitTypeDescription
acbffd236fixset manifest icons location to match assets builder option

18.0.1 (2024-05-23)

@schematics/angular

CommitTypeDescription
01842f515fixuse angular.dev in readme

@angular/build

CommitTypeDescription
7d253e9cdfixavoid rebasing URLs with function calls
6b6a76a99fixdisable persistent disk caching inside webcontainers by default
ba70a50b6fixhandle esbuild-browser polyfills option as string during ng serve
706423acafixonly import persistent cache store with active caching

18.0.0 (2024-05-22)

Breaking Changes

@angular/cli

  • The ng doc command has been removed without a replacement. To perform searches, please visit www.angular.dev
  • Node.js support for versions <18.19.1 and <20.11.1 has been removed.

@angular-devkit/build-angular

  • 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"
          }
        }
      }
    }
    
  • 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

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

@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

17.3.8 (2024-05-22)

@angular/cli

CommitTypeDescription
3ada6eb52fixclarify optional migration instructions during ng update

@angular-devkit/schematics

CommitTypeDescription
4b6ba8df1fixSchematicTestRunner.runExternalSchematic fails with "The encoded data was not valid for encoding utf-8"

17.3.7 (2024-05-08)

@angular-devkit/build-angular

CommitTypeDescription
998c72036fixdecode URL pathname decoding during SSG fetch

@angular-devkit/schematics

CommitTypeDescription
1ab1c6c9efixuse web standard error check for Deno support

17.3.6 (2024-04-25)

@angular-devkit/build-angular

CommitTypeDescription
dcec59799fixproperly configure headers for media resources and HTML page

17.3.5 (2024-04-17)

@angular-devkit/build-angular

CommitTypeDescription
6191d06cafixaddress Unable to deserialize cloned data issue with Yarn PnP
0335d6a5dfixremove type="text/css" from style tag

17.3.4 (2024-04-11)

@angular-devkit/build-angular

CommitTypeDescription
1128bdd64fixensure esbuild-based builders exclusively produce ESM output

16.2.14 (2024-04-11)

@angular-devkit/build-angular

CommitTypeDescription
1068c3c73fixupdate vite to 4.5.3

17.3.3 (2024-04-02)

@schematics/angular

CommitTypeDescription
a673baf5cfixRevert "fix(@schematics/angular): rename SSR port env variable"

17.3.2 (2024-03-25)

@schematics/angular

CommitTypeDescription
935f931eefixrename SSR port env variable

@angular-devkit/build-angular

CommitTypeDescription
c9d436000fixInternal server error: Invalid URL when using a non localhost IP
59fba38ecfixensure proper resolution of linked SCSS files
27dd8f208fixservice-worker references non-existent named index output
c12907d92fixupdate webpack-dev-middleware to 6.1.2

16.2.13 (2024-03-25)

@angular-devkit/build-angular

CommitTypeDescription
5ad507e3dfixupdate webpack-dev-middleware to 6.1.2

15.2.11 (2024-03-25)

@angular-devkit/build-angular

CommitTypeDescription
c6feb0bb0fixupdate webpack-dev-middleware to 6.1.2

17.3.1 (2024-03-20)

@schematics/angular

CommitTypeDescription
198ca9afcfiximprove Sass format clarity for application style option

@angular-devkit/build-angular

CommitTypeDescription
2809971a5fixonly generate server directory when SSR is enabled
3f601a14efixtypo in allowedHosts warning for unsupported vite options
79c44adacperfavoid transforming empty component stylesheets
cc3167f30perfreduce build times for apps with a large number of components when utilizing esbuild-based builders

17.3.0 (2024-03-13)

@schematics/angular

CommitTypeDescription
5ab71fc92featupdate CSS/Sass import/use specifiers in application migration

@angular-devkit/build-angular

CommitTypeDescription
9ca3a5450featadd deployUrl to application builder
3821344dafixensure proper display of build logs in the presence of warnings or errors
de2d05049fixprovide better error message when server option is required but missing

17.2.3 (2024-03-06)

@angular-devkit/build-angular

CommitTypeDescription
7cc8261fdfixavoid implicit CSS file extensions when resolving
259ec72d5fixavoid marking component styles as media with no output media directory
faffdfdcefixdisable deployUrl when using vite dev-server

17.2.2 (2024-02-28)

@angular-devkit/build-angular

CommitTypeDescription
3394d3cf1fixensure all related stylesheets are rebuilt when an import changes

17.2.1 (2024-02-22)

@angular-devkit/build-angular

CommitTypeDescription
9e7c47b59fixallow mts and cts file replacement
f2a2e9287fixprovide Vite client code source map when loading

17.2.0 (2024-02-14)

@angular/cli

CommitTypeDescription
b3e206741featadd support to bun package manager

@schematics/angular

CommitTypeDescription
03e1aa790featadd support to bun package manager

@angular-devkit/build-angular

CommitTypeDescription
7f57123fdfeatadd define build option to application builder
f4f535653featadd JSON build logs when using the application builder
b59f663e5featallow control of Vite-based development server prebundling
8f47f1e96featprovide default and abbreviated build target support for dev-server and extract-i18n
7a12074dcfeatprovide option to allow automatically cleaning the terminal screen during rebuilds
7c522aa87featsupport using custom postcss configuration with application builder
476a68daafixadd output location in build stats
5e6f1a9f4fixavoid preloading server chunks
41ea985f9fixdisplay server bundles in build stats
d493609d3fixdowngrade copy-webpack-plugin to workaround Node.js support issue
8d5af1d5cfixensure correct .html served with Vite dev-server
944cbcdb1fixlimit the number of lazy chunks visible in the stats table
905e13633fixsupport string as plugin option in custom postcss plugin config

@angular-devkit/schematics

CommitTypeDescription
da1c38c48fixadd bun to known package managers

@angular/create

CommitTypeDescription
600498f2cfeatadd support to bun package manager

17.1.4 (2024-02-14)

@angular/cli

CommitTypeDescription
6d2168db9fixprevent BOM errors in package.json during ng update

@angular-devkit/build-angular

CommitTypeDescription
bf42d6df2fixbypass Vite prebundling for absolute URL imports

17.1.3 (2024-02-08)

@angular-devkit/build-angular

CommitTypeDescription
3de3aa170fixallow ./ baseHref when using vite based server
17f47a3c9fixensure WebWorker main entry is used in output code

17.1.2 (2024-01-31)

@angular-devkit/build-angular

CommitTypeDescription
6815f13e3fixadd required modules as externals imports
a0e306098fixcorrectly handle glob negation in proxy config when using vite
235c8403afixhandle regular expressions in proxy config when using Vite
5332e5b2efixresolve absolute output-path when using esbuild based builders
3deb0d4a1fixreturn 404 for assets that are not found

17.1.1 (2024-01-24)

@angular/cli

CommitTypeDescription
8ebb754c2fixupdate regex to validate the project-name

@schematics/angular

CommitTypeDescription
35ebf1efdfixretain trailing comma when adding providers to app config

@angular-devkit/build-angular

CommitTypeDescription
88de1da92fixENOENT: no such file or directory on Windows during component rebuild
4e2586aebfixallow package file loader option with Vite prebundling
aca1cfcdafixdo not add internal CSS resources files in watch
53258f617fixhandle load event for multiple stylesheets and CSP nonces
412fe6ec6fixpre-transform error when using vite with SSR
45dea6f44fixprovide actionable error message when server bundle is missing default export
4e2b23f03fixupdate dependency vite to v5.0.12

@angular/ssr

CommitTypeDescription
02d9d84c5fixhandle load event for multiple stylesheets and CSP nonces

16.2.12 (2024-01-24)

@angular-devkit/build-angular

CommitTypeDescription
5fad40162fixupdate dependency vite to v4.5.2

17.1.0 (2024-01-17)

@schematics/angular

CommitTypeDescription
b513d89b7featadd optional migration to use application builder
a708dccfffeatupdate SSR and application builder migration schematics to work with new outputPath
4469e481ffixdo not trigger NPM install when using ---skip-install and --ssr

@angular-devkit/build-angular

CommitTypeDescription
e0b274b8ffeatadd option to retain CSS special comments in global styles
204794c4ffeatadd support for --no-browsers in karma builder
4784155bdfeatadd wildcard option for allowedCommonJsDependencies
3b93df42dfeatallow configuring loaders for custom file extensions in application builder
cc246d50efeatallow customization of output locations
15a669c1efeatallowing control of index HTML initial preload generation
47a064b14featemit external sourcemaps for component styles
68dae539afeatinitial experimental implementation of @web/test-runner builder
f6e67df1cfeatinline Google and Adobe fonts located in stylesheets
364a16b7afeatmove browser-sync as optional dependency
ccba849e4featsupport keyboard command shortcuts in application dev server
329d80075fixalllow OPTIONS requests to be proxied when using vite
49ed9a26cfixemit error when using prerender and app-shell builders with application builder
6473b0160fixensure all configured assets can be served by dev server
874e576b5fixfilter explicit external dependencies for Vite prebundling
2a02b1320fixfix normalization of the application builder extensions
9906ab7b4fixnormalize asset source locations in Vite-based development server
ceffafe1afixprovide better error messages for failed file reads
6d7fdb952fixshow diagnostic messages after build stats
4e1f0e44dfixthe request url "..." is outside of Vite serving allow list for all assets
bd26a18e7fixtypo in preloadInitial option description
125fb779fperfreduce TypeScript JSDoc parsing in application builder

17.0.10 (2024-01-10)

@angular/cli

CommitTypeDescription
ed1e130dafixretain existing EOL when updating JSON files

@schematics/angular

CommitTypeDescription
09c32c678fixretain existing EOL when adding imports
a5c339eaafixretain existing EOL when updating JSON files

@angular-devkit/core

CommitTypeDescription
3dc4db7d7fixretain existing EOL when updating workspace config

17.0.9 (2024-01-03)

@angular/cli

CommitTypeDescription
446dfb76afixadd prerender and ssr-dev-server schemas in angular.json schema

@angular-devkit/schematics

CommitTypeDescription
88d6ca4a5fixreplace template line endings with platform specific

17.0.8 (2023-12-21)

@angular/cli

CommitTypeDescription
6dba26a0bfixng e2e and ng lint prompt requires to hit Enter twice to proceed on Windows
0b48acc4efixre-add -d alias for --dry-run

@schematics/angular

CommitTypeDescription
99b026edefixadd missing property "buildTarget" to interface "ServeBuilderOptions"
313004311fixdo not generate standalone component when using ng generate module

@angular-devkit/build-angular

CommitTypeDescription
cf11cdf6cfixadd missing tailwind @screen directive in matcher
aa6c757d7fixconstruct SSR request URL using server resolvedUrls
0662048d4fixensure empty optimized Sass stylesheets stay empty
d1923a66dfixensure external dependencies are used by Web Worker bundling

16.2.11 (2023-12-21)

@angular-devkit/build-angular

CommitTypeDescription
e0e011fc4buildupdate dependency vite to v4.5.1

17.0.7 (2023-12-13)

@angular-devkit/build-angular

CommitTypeDescription
3df3e583cfixbaseHref with trailing slash causes server not to be accessible without trailing slash
ef1178188fixallow vite to serve JavaScript and TypeScript assets
385eb77d2fixcache loading of component resources in JIT mode
4b3af73acfixensure browser-esbuild is used in dev server with browser builder and forceEsbuild
d1b27e53efixensure port 0 uses random port with Vite development server
f2f7d7c70fixfile is missing from the TypeScript compilation with JIT
7b8d6cdddfixhandle updates of an npm link library from another workspace when preserveSymlinks is true
c08c78cb8fixinlining of fonts results in jagged fonts for Windows users
930024811fixretain symlinks to output platform directories on builds
3623fe911fixupdate ESM loader to work with Node.js 18.19.0

17.0.6 (2023-12-06)

@schematics/angular

CommitTypeDescription
da5d39471fixenable TypeScript skipLibCheck in new workspace

@angular-devkit/build-angular

CommitTypeDescription
048512874fixapp-shell generation incorrect content when using the application builder
f9e982c44fixcheck namespaced Sass variables when rebasing URLs
a1e8ffa9dfixcorrectly align error/warning messages when spinner is active
46d88a034fixhandle watch updates on Mac OSX when using native FSEvents API
4594407aefiximprove file watching on Windows when using certain IDEs
aa9e7c615fixnormalize locale tags with Intl API when resolving in application builder
a8dbf1da2fixwatch symlink when using preserveSymlinks option
e3820cb6cperfonly enable advanced optimizations with script optimizations

17.0.5 (2023-11-29)

Rolling back bbbe13d67 which appears to break file watching on Mac devices.

17.0.4 (2023-11-29)

@schematics/angular

CommitTypeDescription
7a2823080fixremove CommonModule import from standalone components

@angular-devkit/build-angular

CommitTypeDescription
0634a4e40fixavoid native realpath in application builder
22880d9cbfixcorrect set locale when using esbuild based builders
a0680672ffixcorrectly watch files when app is in a directory that starts with a dot
bbbe13d67fiximprove file watching on Windows when using certain IDEs
27e7c2e1bfixpropagate localize errors to full build result
7455fdca0fixserve assets from the provided serve-path
657a07bd6fixtreeshake unused class that use custom decorators
77474951bfixuse workspace real path when not preserving symlinks

17.0.3 (2023-11-21)

@angular-devkit/build-angular

CommitTypeDescription
450dd29a1fixdefault to watching project root on Windows with application builder
8072b8574fixensure service worker hashes index HTML file for application builder
d99870740perfonly create one instance of postcss when needed

17.0.2 (2023-11-20)

@angular-devkit/build-angular

CommitTypeDescription
023645185fixalways normalize AOT file reference tracker paths
3b99980bdfixemit root files when localize is enabled when using the esbuild based builders
ef3e3abb8fixensure watch file paths from TypeScript are normalized
d11b36fe2fixnormalize paths in ssr sourcemaps to posix when using vite
62d51383afixonly include vendor sourcemaps when using the dev-server when the option is enabled
d28ba8a73fixremove browser-esbuild usage warning

17.0.1 (2023-11-15)

@angular/cli

CommitTypeDescription
5267e6055fixhandle packages with no version

@schematics/angular

CommitTypeDescription
d9f7d439efixadd helper script to spawn SSR server from dist
a80926cdbfixhtml indentation
f7f62c9d6fixremove downlevelIteration from tsconfig.json for new workspaces
7cb57317dfixuse href property binding for links
731917cd0fixuse styleUrl

@angular-devkit/build-angular

CommitTypeDescription
15dd71abafixdeleteOutputPath when using esbuild-builder
fa4d8ff31fixadd actionable error when file replacement is missing
160a91160fixadd support for vendor sourcemaps when using the dev-server
5623c193efixcache stylesheet load errors with application builder
1a5538e0cfixdisable Worker wait loop for TS/NG parallel compilation in web containers
883771946fixdo not process ssr entry-point when running ng serve
d3b549167fixempty output directory instead of removing
596f7639afixensure compilation errors propagate to all bundle actions
d900a5217fixmaintain current watch files after build errors
21549bdebfixprerender default view when no routes are defined
4c251647bfixrewire sourcemap back to original source root

17.0.0 (2023-11-08)

Breaking Changes

@schematics/angular

  • 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.
  • 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.
  • rootModuleClassName, rootModuleFileName and main options have been removed from the public pwa and app-shell schematics.
  • App-shell and Universal schematics deprecated unused appId option has been removed.

@angular-devkit/build-angular

  • 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: https://github.com/nodejs/release#release-schedule

@angular-devkit/schematics

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

Deprecations

@angular-devkit/build-angular

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

@angular/cli

CommitTypeDescription
f4e7fa873fixadd @angular/ssr as part of the ng update packageGroup
1f7156b11fixadd Node.js 20 as supported version
4b9a87c90fixignore peer mismatch when updating @nguniversal/builders
f66f9cf61fixremove Node.js 16 from supported checks

@schematics/angular

CommitTypeDescription
741cca73cfeatadd ng new --ssr
3938863b9featadd migration to migrate from @nguniversal to @angular/ssr
dc6b6eaf6featadd migration to replace usages of @nguniversal/builders
6979eba3cfeatenable hydration when adding SSR, SSG or AppShell
1a6a139aafeatenable routing by default for new applications
ac0db6697featenable standalone by default in new applications
a189962a5featgenerate functional interceptors by default
ae45c4ab8featupdate ng new generated application
3f8aa9d8cfeatupdate ng new to use the esbuild application builder based builder
03a1eaf01fixaccount for new block syntax in starter template
eb0fc7434fixadd missing express REQUEST and RESPONSE tokens
ecdcff2dbfixadd missing icons in ng-new template
175944672fixdo not add unnecessary dependency on @angular/ssr during migration
23c4c5e42fixenable TypeScript esModuleInterop by default for ESM compliance
d60a6e86afixnoop workspace config migration when already executed
e516a4bdbfixpass ssr option to application schematics
419b5c191fixremove baseUrl from tsconfig.json
0368b23f2fixuse @types/node v18
b15e82758refactorremove deprecated appId option

@angular-devkit/build-angular

CommitTypeDescription
c48982dc1featadd buildTarget option to dev-server and extract-i18n builders
1fb0350ebfeatadd initial support for bundle budgets to esbuild builders
8168ae2a8featapply global CSS updates without a live-reload when using vite
91019bde2featenable localize support for SSR with application builder
3c0719bdefeatinitial i18n extraction support for application builder
8bce80b91featinitial support for application Web Worker discovery with esbuild
49f07a84dfeatstandardize application builder output structure
c3a87a60efeatsupport basic web worker bundling with esbuild builders
9e425308afeatsupport component style budgets in esbuild builders
771e036d5featsupport deploy URL option for browser-esbuild builder
c5f3ec71ffeatsupport i18n inlining with esbuild-based builder
fd62a9315featsupport i18n with service worker and app-shell with esbuild builders
5898f72a9featsupport namedChunks option in application builder
8f9a0d70cfeatsupport standalone apps route discovery during prerendering
6b08efa6ffixaccount for arrow function IIFE
2f299fc7bfixaccount for styles specified as string literals and styleUrl
9994b2ddefixadd a maximum rendering timeout for SSR and SSG during development
da4e19145fixaddress a path concatenation on Windows
9d4d11cc4fixallow SSR compilation to work with TS allowJs option
e3c5b91e8fixautomatically include known packages in vite prebundling
ca38ee34cfixavoid binary content in architect results with browser-esbuild
657f78292fixavoid dev server update analysis when build fails with vite
2c33f09dbfixavoid dev-server proxy rewrite normalization when invalid value
b182be8aafixavoid in-memory prerendering ESM loader errors
0c982b993fixavoid repeat error clear in vite development server
e41e2015bfixavoid spawning workers when there are no routes to prerender
2d2e79921fixclean up internal Angular state during rendering SSR
83020fc32fixclear diagnostic cache when external templates change with esbuild builders
c12f98f94fixconditionally enable deprecated Less stylesheet JavaScript support
e10f49efafixconvert AOT compiler exceptions into diagnostics
667f43af6fixcorrectly resolve polyfills when baseUrl URL is not set to root
d46fb128afixdisable dependency optimization for SSR
1b384308cfixdisable parallel TS/NG compilation inside WebContainers
070da72c4fixdo not perform advanced optimizations on @angular/common/locales/global
508c7606efixdo not print Angular is running in development mode. in the server console when running prerender in dev mode
e817656f6fixdo not print Angular is running in development mode. in the server console when running prerender in dev mode
f806e3498fixelide setClassDebugInfo calls
188a00f3efixelide setClassMetadataAsync calls
05ce9d697fixensure all SSR chunks are resolved correctly with dev server
d392d653cfixensure correct web worker URL resolution in vite dev server
1a6aa4378fixensure css url() prefix warnings support Sass rebasing
52f595655fixensure i18n locale data is included in SSR application builds
3ad028bb4fixensure localize polyfill and locale specifier are injected when not inlining
3e5a99c2cfixensure recalculation of component diagnostics when template changes
fa234a418fixensure secondary Angular compilations are unblocked on start errors
c0c7dad77fixensure that externalMetadata is defined
ac7caa426fixensure unique internal identifiers for inline stylesheet bundling
1f73bcc49fixensure Web Worker code file is replaced in esbuild builders
23a722b79fixexclude node.js built-ins from vite dependency optimization
fd2c4c324fixexpose ssr-dev-server builder in the public api
9eb58cf7afixfail build on non bundling error when using the esbuild based builders
a3e9efe80fixfully track Web Worker file changes in watch mode
b9505ed09fixgenerate a file containing a list of prerendered routes
192a2ae6bfixhandle HTTP requests to assets during prerendering
19191e32bfixhandle HTTP requests to assets during SSG in dev-server
8981d8c35fiximprove sharing of TypeScript compilation state between various esbuild instances during rebuilds
5a3ae0159fixin vite skip SSR middleware for path with extensions
f87f22d3ffixkeep dependencies pre-bundling validate between builds
0da87bf1cfixlimit concurrent output file writes with application builder
391ff78cbfixlog number of prerendered routes in console
c46f312adfixmedia files download files in vite
87425a791fixnormalize paths when invalidating stylesheet bundler
d4f37da50fixonly show changed output files in watch mode with esbuild
0d54f2d20fixonly watch used files with application builder
1f299ff2dfixprebundle dependencies for SSR when using Vite
58bd3971ffixprocess nested tailwind usage in application builder
60ca3c82dfixprovide server baseUrl result property in Vite-based dev server
0c20cc4dcfixre-add TestBed compileComponents in schematics to support defer block testing
9453a2380fixremove CJS usage warnings for inactionable packages
5bf7022c4fixremove support for Node.js v16
c27ad719ffixremove unactionable error overlay suggestion from Vite-based dev server
263271faefixresolve and load sourcemaps during prerendering to provide better stacktraces
651e3195ffixresolve and load sourcemaps when using vite dev server with prerendering and ssr
b78508fc8fixseveral fixes to assets and files writes in browser-esbuild builder
c4c299bcefixsilence xhr2 not ESM module warning
f7f6e97d0fixskip checking CommonJS module descendants
c11a0f0d3fixsupport custom index option paths in Vite-based dev server
6c3d7d1c1fixupdate ssr option definition
4e89c3caefixuse a dash in bundle names
83b4b2567fixuse browserslist when processing global scripts in application builder
ca4d1634ffixuse component style load result caching information for file watching
34947fc64fixuse incremental component style bundling only in watch mode
ec160fe4efixwarn if using partial mode with application builder
559e89159fixWindows Node.js 20 prerendering failure (#26186)
2cbec36c7perfcache polyfills virtual module result
e06e95f73perfconditionally add Angular compiler plugin to polyfills bundling
61f409cbeperfdisable ahead of time prerendering in vite dev-server
01ab16c5dperffully avoid rebuild of component stylesheets when unchanged
99d9037eeperfonly perform a server build when either prerendering, app-shell or ssr is enabled
c013a95e2perfonly rebundle browser polyfills on explicit changes
e68a662bcperfonly rebundle global scripts/styles on explicit changes
28d9ab88fperfonly rebundle server polyfills on explicit changes
6d3942723perfoptimize server or browser only dependencies once
2e8e9d802perfpatch fetch to load assets from memory
49fe74e24perfreduce CLI loading times by removing critters from critical path
07e2120daperfremove JavaScript transformer from server polyfills bundling
c28475d30perfreuse esbuild generated output file hashes
59c22aa4cperfstart SSR dependencies optimization before the first request
223a82f5fperfuse incremental bundling for component styles in esbuild builders
4b67d2afdperfuse single JS transformer instance during dev-server prebundling

@angular-devkit/schematics

CommitTypeDescription
f600bbc97refactorremove deprecated runExternalSchematicAsync and runSchematicAsync

@angular/pwa

CommitTypeDescription
81e4917cefixreplace Angular logos

@angular/ssr

CommitTypeDescription
dcf3fddfffeatadd performance profiler to CommonEngine
6224b0599fixcorrectly set config URL
8d033841dfixenable prerender and ssr for all build configuration
ee0991bedfixenable performance profiler option name

@ngtools/webpack

CommitTypeDescription
f43754570featadd automated preconnects for image domains
4fe03266afixaccount for arrow function IIFE
828030da0fixaccount for styles specified as string literals and styleUrl
16428fc97fixadjust static scan to find image domains in standlone components
486becdbbfixremove setClassDebugInfo calls
89f21ac8cfixremove setClassMetadataAsync calls
8899fb9e3fixskip transforming empty inline styles in Webpack JIT compilations

16.2.10 (2023-11-08)

@angular-devkit/build-angular

CommitTypeDescription
bab3672cdfixnormalize exclude path

16.2.8 (2023-10-25)

@angular/cli

CommitTypeDescription
44275601bfixremove the need to specify --migrate-only when --name is used during ng update

16.2.7 (2023-10-19)

@schematics/angular

CommitTypeDescription
f1a0c3361fixchange Twitter logo to X

16.2.6 (2023-10-11)

@angular-devkit/build-angular

CommitTypeDescription
c6ea25626fixfully downlevel async/await when using vite dev-server with caching enabled

15.2.10 (2023-10-05)

@angular-devkit/build-angular

CommitTypeDescription
05213c95bfixupdate dependency postcss to v8.4.31

14.2.13 (2023-10-05)

@angular-devkit/build-angular

CommitTypeDescription
1ca44dcd9fixupdate dependency postcss to v8.4.31

16.2.5 (2023-10-04)

@angular-devkit/build-angular

CommitTypeDescription
933358186fixdo not print Angular is running in development mode. in the server console when using dev-server
493bd3906fixupdate dependency postcss to v8.4.31

16.2.4 (2023-09-27)

@schematics/angular

CommitTypeDescription
5dc7fb1a1fixupdate @angular/cli version specifier to use ^

16.2.3 (2023-09-20)

@angular-devkit/build-angular

CommitTypeDescription
39643bee1fixcorrectly re-point RXJS to ESM on Windows
d8d116b31fixseveral windows fixes to application builder prerendering

@ngtools/webpack

CommitTypeDescription
f1195d035fixfix recursion in webpack resolve

16.2.2 (2023-09-13)

@angular-devkit/build-angular

CommitTypeDescription
e3a40a49afixsupport dev server proxy pathRewrite field in Vite-based server

16.2.1 (2023-08-30)

@angular-devkit/build-angular

CommitTypeDescription
221ab2483fixdisplay warning when using resourcesOutputPath with esbuild builder
fe752ad87fixencode Sass package resolve directories in importer URLs
82b0f94fdfixhandle HMR updates of global CSS when using Vite
6a48a11b8fixupdate vite to be able to serve app-shell and SSG pages
fdb16f7cdfixuse correct type for extraEntryPoints

16.2.0 (2023-08-09)

@angular-devkit/build-angular

CommitTypeDescription
e6b377436featadd ssr option in application builder
c05c83be7featadd initial application builder implementation
095f5aba6featadd initial support for server bundle generation using esbuild
cb165a75dfeatadd pre-rendering (SSG) and App-shell support generation to application builder
2a3fc6846featadd preload hints based on transitive initial files
099cec758featadd support for serving SSR with dev-server when using the application builder
449e21b3afixcorrectly load dev server assets with vite 4.4.0+
f42f10135fixensure preload hints for external stylesheets are marked as styles
7defb3635fixensure that server dependencies are loaded also in ssr entrypoint
05f31bd28fixprevent race condition in setting up sass worker pool
5048f6e82fixSet chunk names explicitly
974748cdfperffilter postcss usage based on content in esbuild builder
61a652d91perfinject Sass import/use directive importer information when resolving
a0a2c7aefperfonly load browserslist in babel preset if needed
6bfd1800eperfuse in-memory Sass module resolution cache

16.1.8 (2023-08-04)

CommitTypeDescription
7a420d338fixbuild: update critters

16.1.7 (2023-08-02)

@angular-devkit/build-angular

CommitTypeDescription
1dab4ed87fixhot update filename suffix with .mjs

16.1.6 (2023-07-26)

@angular-devkit/build-angular

CommitTypeDescription
20816b57ffixerror during critical CSS inlining for external stylesheets

16.1.5 (2023-07-20)

@angular/cli

CommitTypeDescription
7e91d4709fixadd zone.js to ng version output
475506822fixthrow an error when executed in a google3-context

@angular-devkit/build-angular

CommitTypeDescription
07d3d8c6afixcorrectly wrap CommonJS exported enums when optimizing

16.1.4 (2023-07-06)

@angular-devkit/build-angular

CommitTypeDescription
7016cee57fixnormalize paths in loader cache with esbuild

16.1.3 (2023-06-29)

@angular-devkit/build-angular

CommitTypeDescription
b56ab0798fixuse absolute watch paths for postcss dependency messages

15.2.9 (2023-06-28)

@angular/cli

CommitTypeDescription
f36e38a91fixupdate direct semver dependencies to 7.5.3

16.1.2 (2023-06-28)

@angular/cli

CommitTypeDescription
3475e0281fixupdate direct semver dependencies to 7.5.3

@angular-devkit/build-angular

CommitTypeDescription
8108b8c2dfixallow linker JIT support with prebundling with esbuild builder
502365037fixuse all style language watch files in esbuild builder

14.2.12 (2023-06-28)

@angular/cli

CommitTypeDescription
bd396b656fixupdate direct semver dependencies to 7.5.3

16.1.1 (2023-06-22)

@angular-devkit/build-angular

CommitTypeDescription
f017fee2efixactually disable Vite prebundling file discovery
2b4beaca2fixexperimental esbuild pipeline, add es2015 to main fields for RxJS v6 compatibility
e3c85e00efixtrack postcss provided file dependencies in esbuild builder
1419fff88fixunpin and downgrade browserslist
950a4b60ffixwatch all bundler provided inputs with esbuild builder

16.1.0 (2023-06-13)

@schematics/angular

CommitTypeDescription
b14b95990featadd bootstrap-agnostic utilities for writing ng-add schematics

@angular-devkit/build-angular

CommitTypeDescription
3ede1a2cafeatallow forcing esbuild builder with dev-server
2d141fe3bfeatshow estimated transfer size with esbuild builder
9aa9b5264featsupport autoprefixer/tailwind CSS with Less/Sass in esbuild builder
3d1c09b23featsupport dev-server package prebundling with esbuild builder
d8930faccfeatsupport incremental TypeScript semantic diagnostics in esbuild builder
5cacd34a2fixwatch all TypeScript referenced files in esbuild builder
8336ad80dperfenable in-memory load result caching for stylesheets in esbuild builder

16.0.6 (2023-06-13)

@angular-devkit/build-angular

CommitTypeDescription
eebb54cbffixcorrectly handle sass imports
081b62539fixsupport proxy configuration array-form in esbuild builder

16.0.5 (2023-06-07)

@angular-devkit/build-angular

CommitTypeDescription
9817b984bfixignore .git folder in browser-esbuild watcher
ce95d2545fixignore folders starting with a dot in browser-esbuild watcher

16.0.4 (2023-06-01)

@angular-devkit/build-angular

CommitTypeDescription
5bff97d5bfixcorrectly set overridden compiler option
cd0247514fixpreemptively remove AOT metadata in esbuild builder

16.0.3 (2023-05-25)

@angular-devkit/build-angular

CommitTypeDescription
1d83bb656fixpercent encode asset URLs in development server for esbuild

16.0.2 (2023-05-17)

@angular-devkit/build-angular

CommitTypeDescription
7a3c895c8fixattempt relative global script read first in esbuild builder
f30be2518fixcorrectly generate serviceworker hashes for binary assets
117e8d001fixnormalize Vite dev-server Windows asset paths
e5c1d43deperfminor sourcemap ignorelist improvements for esbuild builder

16.0.1 (2023-05-10)

@angular-devkit/build-angular

CommitTypeDescription
ed82c83fefixavoid CommonJS warnings for relative imports with esbuild builders
3083c4edafixavoid hash filenames for non-injected global styles/scripts
b106bc9d0fixclean incoming index URL before processing in esbuild builder
2967705edfixconvert dev-server glob proxy entries for esbuild builder
a9d20015cfixdisable runtime errors from being displayed in overlay
822b552f6fixfix index option const value for browser-esbuild
131cd23b6fixprevent relative import failure with Less in esbuild builder
fedcc5d92fixproperly set base dev-server path with esbuild
cb3161045fixshow error note for CSS url() tilde usage in esbuild builder
54e5000cafixworkaround for esbuild static block AOT generated code

@angular-devkit/schematics

CommitTypeDescription
5a35970affixdo not generate an UpdateBuffer for created and overridden files

@angular/pwa

CommitTypeDescription
70d224ca7fixcompress PWA icons

16.0.0 (2023-05-03)

Breaking Changes

@angular/cli

  • The deprecated defaultCollection workspace option has been removed. Use schematicCollections instead.

    Before

    "defaultCollection": "@angular/material"
    

    After

    "schematicCollections": ["@angular/material"]
    
  • The deprecated defaultProject workspace option has been removed. The project to use will be determined from the current working directory.

  • Node.js v14 support has been removed

    Node.js v14 is planned to be End-of-Life on 2023-04-30. Angular will stop supporting Node.js v14 in Angular v16. Angular v16 will continue to officially support Node.js versions v16 and v18.

@schematics/angular

  • ng g resolver and ng g guard now generate a functional resolver or guard by default. It is still possible to generate a (deprecated) class-based resolver or guard by using ng g resolver --no-functional or ng g guard --no-functional.
  • The CLI no longer allows to generate CanLoad guards. Use CanMatch instead.

    • TypeScript 4.8 is no longer supported.

@angular-devkit/build-angular

  • Deprecated outputPath and outputPaths from the server and browser builder have been removed from the builder output. Use outputs instead.

    Note: this change does not effect application developers.

@angular-devkit/core

  • Several changes to the SchemaRegistry.
    • compile method now returns a Promise.
    • Deprecated flatten has been removed without replacement.
    • ContentHasMutatedException, InvalidUpdateRecordException, UnimplementedException and MergeConflictException API from @angular-devkit/core have been removed in favor of the API from @angular-devkit/schematics.
    • UnsupportedPlatformException - A custom error exception should be created instead.

@angular-devkit/schematics

  • The depracated UpdateBuffer has been removed and UpdateBuffer2 is renamed to UpdateBuffer. With this change the related and deprecated symbols ContentCannotBeRemovedException and Chunk have also been removed.

@ngtools/webpack

  • NGCC integration has been removed and as a result Angular View Engine libraries will no longer work.

@schematics/angular

CommitTypeDescription
c2d2da41bfeatadd support to add service worker to standalone application
22fdd7da9featgenerate functional resolvers and guards by default
a832c2028featImplement a standalone flag for new applications
5ceedcb11featremove deprecated CanLoad option for guards
c9e84d024featremove generation of BrowserModule.withServerTransition
50b9e59a5featupdate app-shell schematic to support standalone applications
dc5cc893dfeatUpdate universal schematic to support standalone applications
f98c9de80fixadd experimental message when using standalone application schematic.
a5cb46124fixadd standalone option to library library
b2ed7bd10fixprovide migration that disables build optimizer on dev server builds
ba4414b2cfixreformat app.config.ts
202e9a50ffixremove compileComponents from component test schematic
0d58f73c5fixrename app.server.module.ts to app.module.server.ts
de6d30102fixreplace provideServerSupport with provideServerRendering
bff634fe0fixupdate private Components utilities to work with standalone project structure
85fe820b0fixuse same property order in standalone AppComponent

@angular/cli

CommitTypeDescription
68024234efeatremove deprecated defaultCollection from workspace configuration
d58428d3dfeatremove deprecated defaultProject from workspace configuration
7cb5689e0featshow optional migrations during update process
c29c8e18drefactorremove Node.js v14 support

CommitTypeDescription
5a171ddffbuildupdate to TypeScript 5 and drop support for TypeScript 4.8

@angular-devkit/architect

CommitTypeDescription
48871381afixallow registered builder teardowns to execute

@angular-devkit/build-angular

CommitTypeDescription
ff5ebf9b1featadd CSP support for inline styles
ee8013f66featdisplay build output table with esbuild
0eac98f61featimplement progress option for esbuild builder
f04859d16featinitial autoprefixer support for CSS in esbuild builder
8c550302cfeatinitial development server for esbuild-based builder
52969db6bfeatinitial tailwindcss support for CSS in esbuild builder
ce46ecae0featsupport module resolution with less stylesheets in esbuild builder
584b51907featsupport scripts option with esbuild builder
e4883b0eefeatsupport SSL options with esbuild development server
290802060featsupport standalone app-shell generation
766c14698fixadd sourcemap x_google_ignoreList support for esbuild builder
cdfa7ca88fixallow multiple polyfills with esbuild-based builder
e690b7cbdfixalways enable looseEnums build optimizer rule
135ab4c36fixavoid double sourcemap comments with esbuild dev-server
dcf60d2befixcorrectly filter lazy global styles in esbuild builder
342a4ea30fixcorrectly show initial files in stat table with esbuild builder
107851ae4fixdisplay warning when preserveWhitespaces is set in the tsconfig provided to the server builder
ff8a89cbffixensure all build resources are served in esbuild dev server
f76a8358efixensure directories are properly ignored in esbuild builder
005ba4276fixensure empty component styles compile with esbuild
f74151baafixexclude @angular/platform-server/init from unsafe optimizations
f72155bc7fixfully remove third-party sourcemaps when disabled in esbuild builder
26dced95cfixJIT support for standalone applications
4822b3ba5fixkeep esbuild server active until builder fully stops
adbf2c8a1fixnormalize long-form asset option output to relative path
67670b612fixpass listening port in result for esbuild dev server
1a8833b21fixprovide option to run build-optimizer on server bundles
b8c9667f9fixremove unintended files in esbuild output stats table
04274afc1fixset public class fields as properties (#24849)
a778fe6c2fixshow lazy files in stat table correctly with esbuild
955b493b1fixsupport CSP on critical CSS link tags.
c272172c8fixupdate esbuild builder complete log
0b450578afixupdate list of known tailwind configuration files
759ae92aafixupdate peer dependencies to support version 16
eca366a84fixuse preserveSymlinks option for tsconfigs in esbuild builder
28c27567cperfasynchronously delete output path in esbuild builder
458400b7bperfavoid unnessary iterations
a710a262aperfcache Sass in memory with esbuild watch mode
e1398d333perfdo not inline sourcemap when using vite dev-server
b2ece91b7perfenhance Sass package resolution in esbuild builder
aae34fc02perffully lazy load sass in esbuild builder
9ea3e8e34perfonly import esbuild watcher when in watch mode
f88ac6fdfperfskip Angular linker in JIT mode with esbuild
a99018cd7refactorremove deprecated outputPaths and outputPath Builder output

@angular-devkit/core

CommitTypeDescription
f6624b974featupdate SchemaRegistry compile to return Promise
0ad81cdbcrefactorremove deprecated exceptions

@angular-devkit/schematics

CommitTypeDescription
d2ef386f4refactorremove UpdateBuffer and rename UpdateBuffer2 to UpdateBuffer

@ngtools/webpack

CommitTypeDescription
c8ac660d8refactorremove NGCC integration

15.2.8 (2023-05-03)

@angular/cli

CommitTypeDescription
069dcdf0cdocsimprove wording in doc command version description

15.2.7 (2023-04-26)

@angular/cli

CommitTypeDescription
f4a6dac87fixprocess keeps running when analytics are enabled
f9b2fb1c4perfregister CLI commands lazily

@schematics/angular

CommitTypeDescription
d9aefd6dafixreplace vscode launch type from pwa-chrome to chrome

15.2.6 (2023-04-12)

@schematics/angular

CommitTypeDescription
f0b257ef4fixignore hidden directories when running browserlist migration

15.2.5 (2023-04-05)

@angular/cli

CommitTypeDescription
db173d7edfixcollect tech information

Special Thanks

Alan Agius

15.2.4 (2023-03-16)

@angular-devkit/build-angular

CommitTypeDescription
f74bfea24fixupdate webpack dependency to 5.76.1

Special Thanks

Alan Agius

14.2.11 (2023-03-16)

@angular-devkit/build-angular

CommitTypeDescription
ddd33bf38fixupdate webpack dependency to 5.76.1

Special Thanks

Alan Agius and Joey Perrott

13.3.11 (2023-03-16)

@angular-devkit/build-angular

CommitTypeDescription
50fa9300ffixupdate webpack dependency to 5.76.1

Special Thanks

Alan Agius and Joey Perrott

15.2.3 (2023-03-15)

@angular-devkit/build-angular

CommitTypeDescription
a93680585fixcorrect wrap ES2022 classes with static properties

Special Thanks

Alan Agius and Paul Gschwendtner

15.2.2 (2023-03-08)

@angular-devkit/schematics-cli

CommitTypeDescription
dfd03aa7cfixcorrectly transform numbers from prompts

@angular-devkit/build-angular

CommitTypeDescription
eb22f634ffixbuild optimizer support for non spec-compliant ES2022 class static properties

Special Thanks

Alan Agius

15.2.1 (2023-03-01)

@angular-devkit/build-angular

CommitTypeDescription
9a5609a44fiximprove parsing of error messages

Special Thanks

Alan Agius and Paul Gschwendtner

15.2.0 (2023-02-22)

@angular/cli

CommitTypeDescription
0f58a17c4featlog number of files update during ng update

@angular-devkit/schematics-cli

CommitTypeDescription
ecf43090dfeatauto detect package manager (#24305)

@angular-devkit/build-angular

CommitTypeDescription
01b3bcf89featadd Less stylesheet support to experimental esbuild-based builder
09af70743featimplement node module license extraction for esbuild builder
bbc1a4f0dfeatsupport CommonJS dependency checking in esbuild
8cf0d17fbfeatsupport JIT compilation with esbuild
3f6769ef9fixallow empty scripts to be optimized
421417a36fixavoid CommonJS warning for zone.js in esbuild

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Jason Bedard, Joey Perrott, Marvin and Paul Gschwendtner

15.1.6 (2023-02-15)

@angular/cli

CommitTypeDescription
3d1f48fa2fixadd set SessionEngaged in GA
df07ab113fixconvert before option in .npmrc to Date
c787cc780fixreplace os.version with os.release.

@angular-devkit/build-angular

CommitTypeDescription
34a4a1bbffixcorrectly copy safety-worker.js contents
88a33155dfixupdate the ECMA output warning message to be more actionable
384ad29c9fixuse babel default export helper in build optimizer
59aa1cdbdperfreduce rebuilt times when using the scripts option

Special Thanks

Alan Agius and Charles Lyding

15.1.5 (2023-02-08)

@angular/cli

CommitTypeDescription
b8bbe9688fixerror if Angular compiler is used in a schematic
fabbb8a93fixonly set DebugView when NG_DEBUG is passed

@schematics/angular

CommitTypeDescription
499173b5dfixremove bootstrapping wrapping in universal schematic

@angular-devkit/build-angular

CommitTypeDescription
e87134fe9fixbuild optimizer support for spec-compliant downlevel class properties
d80adde2ffixdo not fail compilation when spec pattern does not match
11be502e7fixfix support of Safari TP versions
14e317d85fixload polyfills and runtime as scripts instead of modules

Special Thanks

Alan Agius, Charles Lyding, Kristiyan Kostadinov and Ricardo

15.1.4 (2023-02-01)

@angular-devkit/build-angular

CommitTypeDescription
6c8fdfc69fixload JavaScript bundles as modules in karma
317452e3bfixprint server builder errors and warnings

Special Thanks

Alan Agius

15.1.3 (2023-01-25)

@angular/cli

CommitTypeDescription
de15ec576fixhandle extended schematics when retrieving aliases

@schematics/angular

CommitTypeDescription
2c04f4a8ffixupdate browserslist config to include last 2 Chrome version

@angular-devkit/build-angular

CommitTypeDescription
f31bf300bfixavoid undefined module path for Sass imports in esbuild
c152a4a13fixupdate browserslist config to include last 2 Chrome versions

@angular-devkit/core

CommitTypeDescription
9de99202efixhandle number like strings in workspace writer

Special Thanks

Alan Agius, Charles Lyding and Doug Parker

15.1.2 (2023-01-18)

@angular/cli

CommitTypeDescription
387472a95fixregister schematic aliases when providing collection name in ng generate
5d9fd788afixremove --to option from being required when using --from in ng update

@schematics/angular

CommitTypeDescription
0f5fb7e59fixreplace existing BrowserModule.withServerTransition calls when running universal schematic

@angular-devkit/build-angular

CommitTypeDescription
bf4639a6efixprevent hanging initial build during exception with esbuild

Special Thanks

Alan Agius, Charles Lyding and Doug Parker

15.1.1 (2023-01-12)

@angular-devkit/build-angular

CommitTypeDescription
b94bf60cafixupdate esbuild to 0.16.17

Special Thanks

Alan Agius

15.1.0 (2023-01-11)

Deprecations

@angular-devkit/schematics

  • The Observable based SchematicTestRunner.runSchematicAsync and SchematicTestRunner.runExternalSchematicAsync method have been deprecated in favor of the Promise based SchematicTestRunner.runSchematic and SchematicTestRunner.runExternalSchematic.

@schematics/angular

CommitTypeDescription
5b18ce154featadd guardType as an alias of implements in guard schematic
dd2b65943featadd configuration files generation schematic
8d000d156featadd environments generation schematic
6c39a162bfeatAdd schematics for generating functional router guards and resolvers
62121f89afeatadd sideEffects:false to library package.json
9299dea64featgenerate functional interceptors
49b313f27fixadd missing import for functional interceptor spec
2f92fe7e5fixadd missing semicolon in functional guard/resolver/interceptor
9b6d190f4fixremove EnvironmentInjector import in functional guard spec
b11d3f644fixuse proper variable in functional guard spec
451975f76fixuse proper variable in resolver functional spec

@angular-devkit/build-angular

CommitTypeDescription
c29df6954featadd assets option to server builder
839d0cb57featimplement stats-json option for esbuild builder
216991b9dfeatsupport inline component Sass styles with esbuild builder
7c87ce47cfixensure Sass load paths are resolved from workspace root
7a063238bfixexplicitly send options to JS transformer workers
22cba7937fixprovide an option to exclude specs in Karma builder
20376649cfixtransform async generator class methods for Zone.js support
0520608f6fixuse relative css resource paths in esbuild JSON stats
0c01532cbperfuse worker pool for JavaScript transforms in esbuild builder

@angular-devkit/schematics

CommitTypeDescription
207358afbfeatadd runSchematic and runExternalSchematic methods

Special Thanks

Alan Agius, Andrew Scott, Charles Lyding, Cédric Exbrayat, Doug Parker, Felix Hamann, Jason Bedard, Joey Perrott and Kristiyan Kostadinov

15.0.5 (2023-01-06)

@angular-devkit/build-angular

CommitTypeDescription
c2030dec7fixformat esbuild error messages to include more information

Special Thanks

Alan Agius, Kristiyan Kostadinov, Paul Gschwendtner and aanchal

15.0.4 (2022-12-14)

@angular-devkit/build-angular

CommitTypeDescription
ccc8e0350fixdisplay actionable error when a style does not exist in Karma builder
507f756c3fixdownlevel class private methods when targeting Safari <=v15
a0da91dbafixinclude sources in generated
9fd356234fixonly set ngDevMode when script optimizations are enabled
8e85f4728fixupdate css-loader to 6.7.3
b2d4415cafixupdate locale setting snippet to use globalThis.

Special Thanks

Alan Agius and Charles Lyding

15.0.3 (2022-12-07)

@angular-devkit/build-angular

CommitTypeDescription
3d9971edbfixdefault preserve symlinks to Node.js value for esbuild
24f4b51d2fixdownlevel class fields with Safari <= v15 for esbuild
45afc42dbfixdownlevel class properties when targeting Safari <=v15
e6461badffixprevent optimization adding unsupported ECMASCript features

Special Thanks

Charles Lyding, Dominic Elm and Paul Gschwendtner

15.0.2 (2022-11-30)

@angular-devkit/build-angular

CommitTypeDescription
2891d5bc9fixcorrectly set Sass quietDeps and verbose options

@ngtools/webpack

CommitTypeDescription
d9cc4b028fixelide unused type references

Special Thanks

Alan Agius and Juuso Valkeejärvi

15.0.1 (2022-11-23)

@angular/cli

CommitTypeDescription
eda96def4fixuse global version of the CLI when running ng new

@schematics/angular

CommitTypeDescription
48426852bfixshow warning when a TS Config is not found during migrations

@angular-devkit/build-angular

CommitTypeDescription
2af32fd3afixhide loader paths in webpack warnings
19f5cc746fiximprove package deep import Sass index resolution in esbuild plugin
2220a907dfixuse url function lexer to rebase Sass URLs

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and Piotr Wysocki

15.0.0 (2022-11-16)

Breaking Changes

@angular/cli

  • The Angular CLI no longer supports 16.10.x, 16.11.x and 16.12.x. Current minimum versions of Node.js are 14.20.0, 16.13.0 and 18.10.0.
  • Node.js versions older than 14.20 are no longer supported.
  • The 'path' option in schematics schema no longer has a special meaning. Use 'workingDirectory' smart default provider should be used instead.

@schematics/angular

  • Removed unused appDir option from Universal and App-Shell schematic. This option can safely be removed if present since it no longer has effect.

  • analyticsSharing option in the global angular configuration has been removed without replacement. This option was used to configure the Angular CLI to access to your own users' CLI usage data.

    If this option is used, it can be removed using ng config --global cli.analyticsSharing undefined.

  • analytics APIs have been removed without replacement from @angular-devkit/core and @angular-devkit/architect.

@angular-devkit/build-angular

  • TypeScript versions older than 4.8.2 are no longer supported.

  • The server builder bundleDependencies option has been removed. This option was used pre Ivy. Currently, using this option is unlikely to produce working server bundles.

    The externalDependencies option can be used instead to exclude specific node_module packages from the final bundle.

    • Deprecated support for tilde import has been removed. Please update the imports by removing the ~.

    Before

    @import '~font-awesome/scss/font-awesome';
    

    After

    @import 'font-awesome/scss/font-awesome';
    
    • By default the CLI will use Sass modern API, While not recommended, users can still opt to use legacy API by setting NG_BUILD_LEGACY_SASS=1.
  • Internally the Angular CLI now always set the TypeScript target to ES2022 and useDefineForClassFields to false unless the target is set to ES2022 or later in the TypeScript configuration. To control ECMA version and features use the Browerslist configuration.

  • require.context are no longer parsed. Webpack specific features are not supported nor guaranteed to work in the future.

  • Producing ES5 output is no longer possible. This was needed for Internet Explorer which is no longer supported. All browsers that Angular supports work with ES2015+

  • server builder bundleDependencies option now only accept a boolean value.

  • Deprecated support for Stylus has been removed. The Stylus package has never reached a stable version and its usage in the Angular CLI is minimal. It's recommended to migrate to another CSS preprocessor that the Angular CLI supports.

@angular-devkit/core

  • Workspace projects with missing root is now an error.

@ngtools/webpack

  • TypeScript versions older than 4.8.2 are no longer supported.

@schematics/angular

CommitTypeDescription
766d4a089featadd migration to remove require calls from karma builder main file
d8bff4f1efeatAdded --project-root option to the library schematics
597bfea1bfeatdrop polyfills.ts file from new templates
1c21e470cfeatenable error on unknown properties and elements in tests
f2a0682dcfeatgenerate new projects using TypeScript 4.8.2
b06421d15featmark projectRoot as non hidden option in application schematic
b6897dbb0featremove karma.conf.js from newly generated projects
301b5669afeatremove ngOnInit from component template
9beb878e2featremove Browserslist configuration files from projects
283b564d1featremove environment files in new applications
56a1e8f9ffeatremove test.ts file from new projects
4e69e8050fixadd @angular/localize as type when localize package is installed
57d93fb7dfixmark project as required option
84e3f7727fixremove empty lines
316a50d75fixremove TypeScript target from universal schematic
69b221498refactorremove deprecated appDir option

@angular/cli

CommitTypeDescription
4827d1b23featadd support for Node.js version 18
4b623461afeatdrop support for Node.js versions older than 14.20
3dea1fa71fixadd unique user id as user parameter in GA
af07aa340fixadd workspace information as part of analytics collection
83524f625fixallow ng add to find prerelease versions when CLI is prerelease
22955f245fixdo not collect analytics when running in non TTY mode
35e5f4278fixexclude @angular/localize@<10.0.0 from ng add pa… (#24152)
1a584364efixexclude @angular/material@7.x from ng add package discovery
ff0382718fixrespect registry in RC when running update through yarn
774d349b7refactorremove deprecated path handler

CommitTypeDescription
639a3071crefactormigrate analytics collector to use GA4
c969152derefactorremove analytics API from core and architect

@angular-devkit/build-angular

CommitTypeDescription
4ead45cabfeatadd ng-server-context when using app-shell builder
1c527a9dafeatadd esbuild-based builder initial support for fileReplacements
67324b3e5featadd initial incremental code rebuilding to esbuild builder
3d94ca21bfeatadd initial watch support to esbuild-based builder
c592ec584featamend polyfills option in all builders to support an array of module specifiers
a95d130effeatauto include @angular/localize/init when found in types
979bce45efeatauto include @angular/platform-server/init during server builds
fd4175357featdrop support for TypeScript 4.6 and 4.7
15d3fc6dcfeatexport @angular/platform-server symbols in server bundle
05a98c029featkarma builder main option is now optional
2b6029245featproviding a karma config is now optional
9c13fce16featremove bundleDependencies from server builder
308e3a017featswitch to use Sass modern API
1e5d4a750featuse Browserslist to determine ECMA output
3ff391738fixaccount for package.json exports fields with CSS import statements
001445982fixaccount for package.json exports with Sass in esbuild builder
6280741cefixadd @angular/platform-server as an optional peer dependency
f9a2c3a12fixallow both script and module sourceTypes to be localized
4cb27b803fixavoid attempted resolve of external CSS URLs with esbuild builder
192e0e6d7fixcorrect escaping of target warning text in esbuild builder
4fcb0a82bfixcorrectly resolve Sass partial files in node packages
fb5a66ae6fixfix crash when Sass error occurs
b6df9c136fixhandle conditional exports in scripts and styles option
0ee7625d6fixignore cache path when watching with esbuild builder
e34bfe5ebfixignore specs in node_modules when finding specs
f143171fdfixonly add @angular/platform-server/init when package is installed.
3a1970b76fixonly import karma when running karma builder
8b84c18edfixprovide workaround for V8 object spread performance defect
7dd122ad5fixrebase Sass url() values when using esbuild-based builder
2105964affixresolve transitive dependencies in Sass when using Yarn PNP
54e1c01d8fixshow file replacement in TS missing file error in esbuild builder
6c3f281d9fixshow warning when using TypeScript target older then ES2022 in esbuild builder
8f8e02c32fixsupport Yarn PNP resolution in modern SASS API
fc82e3becfixupdate browerslist package
0d62157a3fixupdate sourcemaps when rebasing Sass url() functions in esbuild builder
1518133dbfixuse relative sourcemap source paths for Sass in esbuild builder
fb4ead2cefixwait during file watching to improve multi-save rebuilds for esbuild builder
b059fc735fixwarn when components styles sourcemaps are not generated when styles optimization is enabled
9d0872fb5perfadd initial global styles incremental rebuilds with esbuild builder
0fe6b3b75perfadd vendor chunking to server builder
8c915d414perfavoid extra babel file reads in esbuild builder rebuilds
919fe2148perfavoid extra TypeScript emits with esbuild rebuilds
92145c4a7perfavoid template diagnostics for declaration files in esbuild builder
52db3c000perfminimize Angular diagnostics incremental analysis in esbuild-based builder
feb06753dperfuse esbuild-based builder to directly downlevel for await...of
9d83fb91bperfuse Sass worker pool for Sass support in esbuild builder
45a94228fperfuse Uint8Arrays for incremental caching with esbuild-based builder
f393b0928refactordisable requireContext parsing
12931ba8crefactorremove deprecated ES5 support
7f1017e60refactorremove old bundleDependencies enum logic
2ba44a433refactorremove support for Stylus

@angular-devkit/core

CommitTypeDescription
ea4c0aa2efixthrow error when project has missing root property
de467f46dfixupdate logger forEach promiseCtor type

@angular-devkit/schematics

CommitTypeDescription
9b07b469brefactorremove UpdateBuffer and rename UpdateBuffer2 to UpdateBuffer

@ngtools/webpack

CommitTypeDescription
43bd0abc1featdrop support for TypeScript 4.6 and 4.7
1c1f985b9fixsupport inline style sourcemaps when using css-loader for component styles

Special Thanks

Alan Agius, Brent Schmidt, Charles Lyding, Cédric Exbrayat, Dariusz Ostolski, Doug Parker, Günhan Gülsoy, Jason Bedard, Lukas Spirig, Ruslan Lekhman, angular-robot[bot] and minijus

14.2.10 (2022-11-17)

@angular/cli

CommitTypeDescription
9ce386caffixexclude @angular/localize@<10.0.0 from ng add pa… (#24152)
6446091a3fixexclude @angular/material@7.x from ng add package discovery
7541e04f3fixrespect registry in RC when running update through yarn

@angular-devkit/build-angular

CommitTypeDescription
21cea0b42fixupdate loader-utils to 3.2.1

Special Thanks

Alan Agius and Charles Lyding

13.3.10 (2022-11-17)

@angular-devkit/build-angular

CommitTypeDescription
f298ebbd5fixupdate loader-utils to 3.2.1

Special Thanks

Alan Agius

14.2.9 (2022-11-09)

@angular-devkit/architect

CommitTypeDescription
e3e787767fixdefault to failure if no builder result is provided

@angular-devkit/build-angular

CommitTypeDescription
12b2dc5a2fixisolate zone.js usage when rendering server bundles

Special Thanks

Alan Agius and Charles Lyding

14.2.8 (2022-11-02)

@schematics/angular

CommitTypeDescription
4b0ee8ad1fixguard schematics should include all guards (CanMatch)

Special Thanks

Andrew Scott

14.2.7 (2022-10-26)

@angular/cli

CommitTypeDescription
91b5bcbb3fixdisable version check during auto completion
02a3d7b71fixskip node.js compatibility checks when running completion

@angular-devkit/build-angular

CommitTypeDescription
bebed9df8fixissue dev-server support warning when using esbuild builder

Special Thanks

Alan Agius and Charles Lyding

14.2.6 (2022-10-12)

@angular/cli

CommitTypeDescription
1c9cf594ffixhandle missing which binary in path
28b2cd18efixskip downloading temp CLI when running ng update without package names

@angular-devkit/core

CommitTypeDescription
ad6928184fixproject extension warning message should identify concerned project

Special Thanks

AgentEnder and Alan Agius

14.2.5 (2022-10-05)

@angular-devkit/schematics

CommitTypeDescription
17eb20c77fixthrow more relevant error when Rule returns invalid null value

Special Thanks

Alan Agius and Charles Lyding

14.2.4 (2022-09-28)

@angular/cli

CommitTypeDescription
05b18f4e4fixadd builders and schematic names as page titles in collected analytics

Special Thanks

Alan Agius, Jason Bedard and Paul Gschwendtner

14.2.3 (2022-09-15)

@angular-devkit/build-angular

CommitTypeDescription
e7e0cb78ffixcorrectly display error messages that contain "at" text.
4756d7e06fixwatch symbolic links

@ngtools/webpack

CommitTypeDescription
1e3ecbdb1perfavoid bootstrap conversion AST traversal where possible

Special Thanks

Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott

14.2.2 (2022-09-08)

@angular/cli

CommitTypeDescription
5405a9b3bfixfavor non deprecated packages during update

@schematics/angular

CommitTypeDescription
6bfd6a7fbfixupdate minimum Angular version to 14.2

@angular-devkit/build-angular

CommitTypeDescription
2b00bca61fixallow esbuild-based builder to use SVG Angular templates
45c95e1bffixchange service worker errors to compilation errors
ecc014d66fixhandle service-worker serving with localize in dev-server
39ea128c1fixhandling of @media queries inside css layers
17b7e1bdffixissue warning when using deprecated tilde imports
3afd784f1fixwatch index file when running build in watch mode

Special Thanks

Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott

14.2.1 (2022-08-26)

@schematics/angular

CommitTypeDescription
e4ca46866fixupdate ng-packagr version to ^14.2.0

Special Thanks

Alan Agius

14.2.0 (2022-08-25)

@angular/cli

CommitTypeDescription
596037010fixadd missing space after period in warning text

@angular-devkit/build-angular

CommitTypeDescription
44c25511efeatadd ability to serve service worker when using dev-server
3fb569b5cfeatswitch to Sass modern API in esbuild builder
5bd03353afixcorrect esbuild builder global stylesheet sourcemap URL
c4402b1bdfixcorrectly handle parenthesis in url
50c783307fixuse valid CSS comment for sourcemaps with Sass in esbuild builder
4c251853fperfavoid extra string creation with no sourcemaps for esbuild sass
d97640534perfwith esbuild builder only load Sass compiler when needed

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Jason Bedard, Joey Perrott, Kristiyan Kostadinov and angular-robot[bot]

14.1.3 (2022-08-17)

@angular-devkit/core

CommitTypeDescription
365035cb3fixupdate workspace extension warning to use correct phrasing

Special Thanks

AgentEnder, Alan Agius, Charles Lyding and Jason Bedard

14.1.2 (2022-08-10)

@angular-devkit/build-angular

CommitTypeDescription
3e19c842cfixavoid collect stats from chunks with no files
d0a0c597cfixcorrectly handle data URIs with escaped quotes in stylesheets
67b3a086ffixprocess stylesheet resources from url tokens with esbuild browser builder
e6c45c316perfreduce babel transformation in esbuild builder
38b71bcc0perfuse esbuild in esbuild builder to downlevel native async/await

@ngtools/webpack

CommitTypeDescription
dd47a5e8cfixelide type only named imports when using emitDecoratorMetadata

Special Thanks

Alan Agius, Charles Lyding and Jason Bedard

14.1.1 (2022-08-03)

@angular/cli

CommitTypeDescription
4ee825bacfixcatch clause variable is not an Error instance

@schematics/angular

CommitTypeDescription
83dcfb32ffixprevent numbers from class names

@angular-devkit/build-angular

CommitTypeDescription
ef6da4aadfixallow the esbuild-based builder to fully resolve global stylesheet packages
eed54b359fixcatch clause variable is not an Error instance
c98471094fixcorrectly respond to preflight requests
94b444e4cfixcorrectly set ngDevMode in esbuilder

@angular-devkit/core

CommitTypeDescription
44c18082afixclassify string util should concat string without using a .

@angular/create

CommitTypeDescription
cb0d3fb33fixuse appropriate package manager to install dependencies

Special Thanks

Alan Agius, Charles Lyding, Jason Bedard and Paul Gschwendtner

14.1.0 (2022-07-20)

@angular/cli

CommitTypeDescription
3884b8652fixadd esbuild browser builder to workspace schema

@schematics/angular

CommitTypeDescription
707911d42featsupport controlling addDependency utility rule install behavior
a8fe4fcc3fixAllow skipping existing dependencies in E2E schematic
b8bf3b480fixonly issue a warning for addDependency existing specifier

@angular-devkit/build-angular

CommitTypeDescription
a7709b718featadd externalDependencies to the esbuild browser builder
248860ad6featadd Sass file support to experimental esbuild-based builder
b06ae5514featadd service worker support to experimental esbuild builder
b5f6d862bfeatIdentify third-party sources in sourcemaps
b3a14d056fixallow third-party sourcemaps to be ignored in esbuild builder
53dd929e5fixensure esbuild builder sourcemap sources are relative to workspace

@angular-devkit/schematics

CommitTypeDescription
526cdb263featallow chain rule to accept iterables of rules

@angular/create

CommitTypeDescription
cfe93fbc8featadd support for yarn create and npm init

Special Thanks

Alan Agius, Charles Lyding, Derek Cormier, Doug Parker, Jason Bedard, Joey Perrott, Paul Gschwendtner, Victor Porof and renovate[bot]

14.0.7 (2022-07-20)

@schematics/angular

CommitTypeDescription
f653bf4fbfixincorrect logo for Angular Material

@angular-devkit/build-angular

CommitTypeDescription
5810c2cc2fixfallback to use projectRoot when sourceRoot is missing during coverage

@angular-devkit/core

CommitTypeDescription
2ba4678b6fixadd i18n as valid project extension
c2201c835fixlog name of invalid extension too

Special Thanks

Alan Agius, Fortunato Ventre, Katerina Skroumpelou and Kristiyan Kostadinov

13.3.9 (2022-07-20)

@angular-devkit/build-angular

CommitTypeDescription
0d62716aefixupdate terser to address CVE-2022-25858

Special Thanks

Alan Agius and Charles Lyding

14.0.6 (2022-07-13)

@angular/cli

CommitTypeDescription
178550529fixhandle cases when completion is enabled and running in an older CLI workspace
10f24498efixremove deprecation warning of no prefixed schema options

@schematics/angular

CommitTypeDescription
dfa6d73c5fixremove browserslist configuration

@angular-devkit/build-angular

CommitTypeDescription
4d848c4e6fixgenerate different content hashes for scripts which are changed during the optimization phase

@angular-devkit/core

CommitTypeDescription
2500f34a4fixprovide actionable warning when a workspace project has missing root property

Special Thanks

Alan Agius and martinfrancois

14.0.5 (2022-07-06)

@angular/cli

CommitTypeDescription
98a6aad60fixduring an update only use package manager force option with npm 7+
094aa16aafiximprove error message for project-specific ng commands when run outside of a project
e5e07fff1fixshow deprecated workspace config options in IDE

@schematics/angular

CommitTypeDescription
f9f970cabfixprevent importing RouterModule parallel to RoutingModule

@angular-devkit/build-angular

CommitTypeDescription
aa8ed532ffixdisable glob mounting for patterns that start with a forward slash
c76edb8a7fixdon't override base-href in HTML when it's not set in builder
f64903528fiximprove detection of CommonJS dependencies
74dbd5fc2fixsupport hidden component stylesheet sourcemaps with esbuild builder

@ngtools/webpack

CommitTypeDescription
7aed97561fixdo not run ngcc when node_modules does not exist

Special Thanks

Alan Agius, Charles Lyding, JoostK and Paul Gschwendtner

14.0.4 (2022-06-29)

@angular/cli

CommitTypeDescription
fc72c625bfixcorrectly handle --collection option in ng new
f5badf221fiximprove global schema validation
ed302ea4cfixremove color from help epilogue

@schematics/angular

CommitTypeDescription
c58c66c0dfixuse sourceRoot instead of src in universal schematic

@angular-devkit/architect

CommitTypeDescription
88acec1fdfixcomplete builders on the next event loop iteration

@angular-devkit/build-angular

CommitTypeDescription
694b73dfafixexit dev-server when CTRL+C is pressed
6d4782199fixexit localized builds when CTRL+C is pressed
282baffedfixhide stacktraces from webpack errors
c4b0abf5bfixset base-href in service worker manifest when using i18n and app-shell

@ngtools/webpack

CommitTypeDescription
33f1cc192fixrestore process title after NGCC is executed
6796998bffixshow a compilation error on invalid TypeScript version

Special Thanks

Alan Agius, Charles Lyding and Tim Bowersox

14.0.3 (2022-06-23)

@angular/cli

CommitTypeDescription
b3db91baffixdisable version check when running ng completion commands
cdab9fa74fixprovide an actionable error when using --configuration with ng run
5521648e3fixtemporarily handle boolean options in schema prefixed with no

@angular-devkit/build-angular

CommitTypeDescription
5e960ce24fixfix incorrect glob cwd in karma when using --include option
1b5e92075fixhandle codeCoverageExclude correctly in Windows
ff6d81a45fixignore supported browsers during i18n extraction

@angular-devkit/core

CommitTypeDescription
170c16f2efixworkspace writer skip creating empty projects property

Special Thanks

Alan Agius, Charles Lyding and Paul Gschwendtner

14.0.2 (2022-06-15)

@angular/cli

CommitTypeDescription
23095e9c3fixshow more actionable error when command is ran in wrong scope

@schematics/angular

CommitTypeDescription
5a486cb64fixremove vscode testing configurations for minimal workspaces

@angular-devkit/build-angular

CommitTypeDescription
9d88c96d8fixreplace fallback locale for en-US

Special Thanks

Alan Agius and Julien Marcou

13.3.8 (2022-06-15)

@angular/pwa

CommitTypeDescription
c7f994f88fixadd peer dependency on Angular CLI

Special Thanks

Alan Agius

14.0.1 (2022-06-08)

@angular/cli

CommitTypeDescription
e4fb96657fixadd text to help output to indicate that additional commands are available when ran in different context
7952e5790fixavoid creating unnecessary global configuration
66a1d6b9dfixcorrect scope cache command
e2d964289fixcorrectly print package manager name when an install is needed
75fd3330dfixduring an update only use package manager force option with npm 7+
e223890c1fixensure full process exit with older local CLI versions
0cca3638afixhandle project being passed as a flag
b1451cb5efiximprove resilience of logging during process exit
17fec1357fixprovide actionable error when project cannot be determined

@schematics/angular

CommitTypeDescription
73dcf39c6fixremove strict setting under application project

@angular-devkit/build-angular

CommitTypeDescription
c788d5b56fixlog modified and removed files when using the verbose option
6e8fe0ed5fixreplace dev-server socket path from /ws to /ng-cli-ws
651adadf4fixupdate Angular peer dependencies to 14.0 stable

@angular/pwa

CommitTypeDescription
cfd264d06fixadd peer dependency on Angular CLI

Special Thanks

Alan Agius, Charles Lyding and Doug Parker

14.0.0 (2022-06-02)

Breaking Changes

@angular/cli

  • Several changes to the ng analytics command syntax.

    • ng analytics project <setting> has been replaced with ng analytics <setting>
    • ng analytics <setting> has been replaced with ng analytics <setting> --global
  • Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.

  • Support for TypeScript 4.4 and 4.5 has been removed. Please update to TypeScript 4.6.

  • --all option from ng update has been removed without replacement. To update packages which don’t provide ng update capabilities in your workspace package.json use npm update, yarn upgrade-interactive or yarn upgrade instead.

  • Deprecated option --prod has been removed from all builders. --configuration production/-c production should be used instead if the default configuration of the builder is not configured to production.

  • --configuration cannot be used with ng run. Provide the configuration as part of the target. Ex: ng run project:builder:configuration.

  • Deprecated ng x18n and ng i18n-extract commands have been removed in favor of ng extract-i18n.

  • Several changes in the Angular CLI commands and arguments handling.

    • ng help has been removed in favour of the —-help option.
    • ng —-version has been removed in favour of ng version and ng v.
    • Deprecated camel cased arguments are no longer supported. Ex. using —-sourceMap instead of —-source-map will result in an error.
    • ng update, —-migrate-only option no longer accepts a string of migration name, instead use —-migrate-only -—name <migration-name>.
    • —-help json help has been removed.

@angular-devkit/architect-cli

  • camel case arguments are no longer allowed.

@angular-devkit/schematics-cli

  • camel case arguments are no longer allowed.

@angular-devkit/build-angular

  • browser and karma builders script and styles options input files extensions are now validated.

    Valid extensions for scripts are:

    • .js
    • .cjs
    • .mjs
    • .jsx
    • .cjsx
    • .mjsx

    Valid extensions for styles are:

    • .css
    • .less
    • .sass
    • .scss
    • .styl
  • We now issue a build time error since importing a CSS file as an ECMA module is non standard Webpack specific feature, which is not supported by the Angular CLI.

    This feature was never truly supported by the Angular CLI, but has as such for visibility.

  • Reflect metadata polyfill is no longer automatically provided in JIT mode Reflect metadata support is not required by Angular in JIT applications compiled by the CLI. Applications built in AOT mode did not and will continue to not provide the polyfill. For the majority of applications, the reflect metadata polyfill removal should have no effect. However, if an application uses JIT mode and also uses the previously polyfilled reflect metadata JavaScript APIs, the polyfill will need to be manually added to the application after updating. To replicate the previous behavior, the core-js package should be manually installed and the import 'core-js/proposals/reflect-metadata'; statement should be added to the application's polyfills.ts file.

  • NG_BUILD_CACHE environment variable has been removed. cli.cache in the workspace configuration should be used instead.

  • The deprecated showCircularDependencies browser and server builder option has been removed. The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tools.

@angular-devkit/core

  • parseJson and ParseJsonOptions APIs have been removed in favor of 3rd party JSON parsers such as jsonc-parser.
  • The below APIs have been removed without replacement. Users should leverage other Node.js or other APIs.
    • fs namespace
    • clean
    • mapObject

@angular-devkit/schematics

  • Schematics NodePackageInstallTask will not execute package scripts by default The NodePackageInstallTask will now use the package manager's --ignore-scripts option by default. The --ignore-scripts option will prevent package scripts from executing automatically during an install. If a schematic installs packages that need their install/postinstall scripts to be executed, the NodePackageInstallTask now contains an allowScripts boolean option which can be enabled to provide the previous behavior for that individual task. As with previous behavior, the allowScripts option will prevent the individual task's usage of the --ignore-scripts option but will not override the package manager's existing configuration.
  • Deprecated analytics property has been removed from TypedSchematicContext interface

@ngtools/webpack

  • ivy namespace has been removed from the public API.
    • ivy.AngularWebpackPlugin -> AngularWebpackPlugin
    • ivy.AngularPluginOptions -> AngularPluginOptions

Deprecations

@angular/cli

  • The defaultCollection workspace option has been deprecated in favor of schematicCollections.

    Before

    "defaultCollection": "@angular/material"
    

    After

    "schematicCollections": ["@angular/material"]
    
  • The defaultProject workspace option has been deprecated. The project to use will be determined from the current working directory.

@angular-devkit/core

    • ContentHasMutatedException, InvalidUpdateRecordException, UnimplementedException and MergeConflictException symbol from @angular-devkit/core have been deprecated in favor of the symbol from @angular-devkit/schematics.
    • UnsupportedPlatformException - A custom error exception should be created instead.

@angular/cli

CommitTypeDescription
afafa5788featadd --global option to ng analytics command
bb550436afeatadd ng analytics info command
e5bf35ea3featadd ng cache command
7ab22ed40featadd disable/enable aliases for off/on ng analytics command
4212fb8defeatadd prompt to set up CLI autocompletion
0316dea67featadd prompts on missing builder targets
607a723f7featadd support for auto completion
366cabc66featadd support for multiple schematics collections
036327e9cfeatdeprecated defaultProject option
fb0622893featdon't prompt to set up autocompletion for ng update and ng completion commands
4ebfe0341featdrop support for Node.js 12
022d8c7bbfeatmake ng completion set up CLI autocompletion by modifying .bashrc files
2e15df941featremember after prompting users to set up autocompletion and don't prompt again
7fa3e6587featsupport TypeScript 4.6.2
9e69331fafeatuse PNPM as package manager when pnpm-lock.yaml exists
6f6b453fbfixng doc doesn't open browser in Windows
8e66c9188fixng g show description from collection.json if not present in schema.json
9edeb8614fixadd long description to ng update
160cb0718fixcorrectly handle --search option in ng doc
d46cf6744fixdisplay option descriptions during auto completion
09f8659cefixdisplay package manager during ng update
a49cdfbfefixdon't prompt for analytics when running ng analytics
4b22593c4fixensure all available package migrations are executed
054ae02c2fixfavor project in cwd when running architect commands
ff4eba3d4fixhandle duplicate arguments
5a8bdeb43fixhide private schematics from ng g help output
644f86d55fiximprove error message for Windows autocompletion use cases
3012036e8fixpopulate path with working directory in nested schematics
8a396de6afixprint entire config when no positional args are provided to ng config
bdf2b9bfafixprint schematic errors correctly
efc3c3225fixremove analytics prompt postinstall script
bf15b202bfixremove cache path from global valid paths
142da460bfixremove incorrect warning during ng update
96a0d92dafixremove JSON serialized description from help output
78460e995fixremove type casting and add optional chaining for current in optionTransforms
e5bdadac4fixskip prompt or warn when setting up autocompletion without a global CLI install
ca401255ffixsort commands in help output
b97772dfcfixsupport silent package installs with Yarn 2+
87cd5cd43fixworkaround npm 7+ peer dependency resolve errors during updates
d94a67353refactorremove deprecated --all option from ng update
2fc7c73d7refactorremove deprecated --prod flag
b69ca3a7drefactorremove deprecated command aliases for extract-i18n.
2e0493130refactorreplace command line arguments parser

@schematics/angular

CommitTypeDescription
7b78b7840featadd --standalone to ng generate
e49220fbafeatadd migratiom to remove defaultProject in workspace config
3fa38b08bfeatintroduce addDependency rule to utilities
b07ccfbb1featintroduce a utility subpath export for Angular rules and utilities
7e7de6858featupdate Angular dependencies to use ^ as version prefix
69ecddaa7featupdate new and existing projects compilation target to ES2020
7e8e42063fixadd migration to remove package.json in libraries secondary entrypoints
b928d973efixalphabetically order imports during component generation
09a71bab6fixConsolidated setup with a single beforeEach()
1921b07eefixdon't add path mapping to old entrypoint definition file
c927c038bfixremove @types/node from new projects
27cb29438fixremove extra space in standalone imports

@angular-devkit/architect-cli

CommitTypeDescription
c7556b62brefactorreplace parser with yargs-parser

@angular-devkit/schematics-cli

CommitTypeDescription
5330d52aerefactorreplace parser with yargs-parser

@angular-devkit/build-angular

CommitTypeDescription
00186fb93featadd initial experimental esbuild-based application browser builder
d23a168b8featvalidate file extensions for scripts and styles options
2adf252dcfixadd es2015 exports package condition to browser-esbuild
72e820e7bfixbetter handle Windows paths in esbuild experimental builder
587082fb0fixclose compiler on Karma exit
c52d10d1ffixclose dev-server on error
48630ccfdfixdetect tailwind.config.cjs as valid tailwindcss configuration
4d5f6c659fixdownlevel libraries based on the browserslist configurations
1a160dac0fixensure karma sourcemap support on Windows
07e776ea3fixfail build when importing CSS files as an ECMA modules
ac1383f9efixproperly handle locally-built APF v14 libraries
966d25b55fixremove unneeded JIT reflect metadata polyfill
b8564a638refactorremove deprecated NG_BUILD_CACHE environment variable
0a1cd584drefactorremove deprecated showCircularDependencies browser and server builder option

@angular-devkit/core

CommitTypeDescription
c5b3e9299refactordeprecate unused exception classes
67144b9e5refactorremove deprecated parseJson and ParseJsonOptions APIs
a0c02af7erefactorremove deprecated fs, object and array APIs

@angular-devkit/schematics

CommitTypeDescription
c9c781c7dfeatadd parameter to listSchematicNames to allow returning hidden schematics.
0e6425fd8featdisable package script execution by default in NodePackageInstallTask
25498ad5bfeatre-export core string helpers from schematics package
464cf330afeatsupport null for options parameter from OptionTransform type
33f9f3de8featsupport reading JSON content directly from a Tree
01297f450featsupport reading text content directly from a Tree
48f9b79bcfixsupport ignore scripts package installs with Yarn 2+
3471cd6d8fixsupport quiet package installs with Yarn 2+
44c1e6d0drefactorremove deprecated analytics property

@angular/pwa

CommitTypeDescription
243cb4062fixremove @schematics/angular utility deep import usage

@ngtools/webpack

CommitTypeDescription
0c344259dfixupdate peer dependency to reflect TS 4.6 support
044101554perfuse Webpack's built-in xxhash64 support
9277eed1drefactorremove deprecated ivy namespace

Special Thanks

Adrien Crivelli, Alan Agius, Charles Lyding, Cédric Exbrayat, Daniil Dubrava, Doug Parker, Elton Coelho, George Kalpakas, Jason Bedard, Joey Perrott, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, Tobias Speicher and alkavats1

13.3.7 (2022-05-25)

@angular-devkit/build-angular

CommitTypeDescription
a54018d8ffixadd debugging and timing information in JavaScript and CSS optimization plugins

Special Thanks

Alan Agius and Joey Perrott

13.3.6 (2022-05-18)

@angular/cli

CommitTypeDescription
e20964c43fixresolve relative schematic from angular.json instead of current working directory

@angular-devkit/build-angular

CommitTypeDescription
16fec8d58fixupdate babel-loader to 8.2.5

Special Thanks

Alan Agius, Charles Lyding, Jason Bedard and Paul Gschwendtner

13.3.5 (2022-05-04)

@angular-devkit/build-angular

CommitTypeDescription
6da0910d3fixupdate @ampproject/remapping to 2.2.0

Special Thanks

Alan Agius, Charles Lyding and Paul Gschwendtner

13.3.4 (2022-04-27)

@angular/cli

CommitTypeDescription
f4da75656fixchange wrapping of schematic code

@angular-devkit/build-angular

CommitTypeDescription
5d0141bfbfixcorrectly resolve custom service worker configuration file

Special Thanks

Charles Lyding and Wagner Maciel

13.3.3 (2022-04-13)

@angular-devkit/build-angular

CommitTypeDescription
d38b247cffixdisplay debug logs when using the --verbose option

@angular-devkit/build-webpack

CommitTypeDescription
5682baee4fixemit devserver setup errors

Special Thanks

Alan Agius

13.3.2 (2022-04-06)

@angular/cli

CommitTypeDescription
49dc63d09fixensure lint command auto-add exits after completion

@schematics/angular

CommitTypeDescription
bbe74b87efixprovide actionable error message when routing declaration cannot be found

@angular-devkit/build-angular

CommitTypeDescription
c97c8e7c9fixupdate minimatch dependency to 3.0.5

Special Thanks

Alan Agius, Charles Lyding and Morga Cezary

13.3.1 (2022-03-30)

@schematics/angular

CommitTypeDescription
cf3cb2ecffixfix extra comma added when use --change-detection=onPush and --style=none to generate a component

@angular-devkit/architect-cli

CommitTypeDescription
9f8d4dea0fixupdate minimist to 1.2.6

@angular-devkit/schematics-cli

CommitTypeDescription
ba3486de9fixupdate minimist to 1.2.6

@angular-devkit/benchmark

CommitTypeDescription
1f7fa6970fixupdate minimist to 1.2.6

@angular-devkit/build-angular

CommitTypeDescription
293526c31fixadd node_modules prefix to excludes RegExp
58ed97410fixallow Workers in Stackblitz
4cd2331d3fixdon't override asset info when updating assets

@angular-devkit/core

CommitTypeDescription
c7c75820ffixadd Angular CLI major version as analytics dimension

Special Thanks

Alan Agius and gauravsoni119

12.2.17 (2022-03-31)

@angular-devkit/architect-cli

CommitTypeDescription
ccb0f95f3fixupdate minimist to 1.2.6

@angular-devkit/schematics-cli

CommitTypeDescription
abcdf4df2fixupdate minimist to 1.2.6

@angular-devkit/benchmark

CommitTypeDescription
2656a330efixupdate minimist to 1.2.6

Special Thanks

Alan Agius

11.2.19 (2022-03-30)

@angular-devkit/architect-cli

CommitTypeDescription
75caa1143fixupdate minimist to 1.2.6

@angular-devkit/schematics-cli

CommitTypeDescription
80d479e9ffixupdate minimist to 1.2.6

@angular-devkit/benchmark

CommitTypeDescription
f61cd1a79fixupdate minimist to 1.2.6

Special Thanks

Alan Agius and Doug Parker

13.3.0 (2022-03-16)

@angular/cli

CommitTypeDescription
c995ed5e8featsupport TypeScript 4.6

Special Thanks

Alan Agius and Doug Parker

13.2.6 (2022-03-09)

@angular-devkit/build-angular

CommitTypeDescription
90a5531b1fixignore css only chunks during naming

Special Thanks

Alan Agius, Charles Lyding and Daniele Maltese

13.2.5 (2022-02-23)

@angular-devkit/build-angular

CommitTypeDescription
acf1e5e4afixdon't rename blocks which have a name
7a493979cfixupdate terser to 5.11.0

Special Thanks

Alan Agius and Paul Gschwendtner

13.2.4 (2022-02-17)

@angular-devkit/build-angular

CommitTypeDescription
48c655ac9fixupdate esbuild to 0.14.22
c0736ea0bfixupdate license-webpack-plugin to 4.0.2

Special Thanks

Alan Agius, Anner Visser and Charles Lyding

13.2.3 (2022-02-09)

@angular-devkit/build-angular

CommitTypeDescription
8c8377feefixblock Karma from starting until build is complete

@ngtools/webpack

CommitTypeDescription
1317e470efixsupport locating PNPM lock file during NGCC processing

Special Thanks

Alan Agius, Derek Cormier and Joey Perrott

13.2.2 (2022-02-02)

@angular-devkit/build-angular

CommitTypeDescription
cc5505cfcfixadd whatwg-url to downlevel exclusion list
ff54b49e7fixensure to use content hash as filenames hashing mechanism
b0e2bb289perfupdate license-webpack-plugin to 4.0.1

@angular-devkit/core

CommitTypeDescription
c8826a973fixcorrectly resolve schema references defaults

Special Thanks

Alan Agius, Derek Cormier and Joey Perrott

13.2.1 (2022-01-31)

@angular-devkit/build-angular

CommitTypeDescription
acd752773fixinvalid browsers version ranges

Special Thanks

Alan Agius

13.2.0 (2022-01-26)

@schematics/angular

CommitTypeDescription
41a828e20fixupdated Angular new project version to v13.2.0-next.0

@angular-devkit/architect

CommitTypeDescription
f2c6b2b7efixcorrectly handle ESM builders

@angular-devkit/build-angular

CommitTypeDescription
cbe028e37featexpose i18nDuplicateTranslation option of browser and server builders
509322b62fixDon't use TAILWIND_MODE=watch

@angular-devkit/build-webpack

CommitTypeDescription
820ff2a3efixcorrectly handle ESM webpack configurations

Special Thanks

Alan Agius, Cédric Exbrayat, Derek Cormier, Doug Parker, Joey Perrott, Jordan Pittman, grant-wilson and minijus

13.1.4 (2022-01-19)

@angular-devkit/build-angular

CommitTypeDescription
2f2069dbafixdisable parsing new URL syntax
bddd0fb9ffixsupport ESNext as target for JavaScript optimizations

Special Thanks

Alan Agius, Derek Cormier and Doug Parker

13.1.3 (2022-01-12)

@angular/cli

CommitTypeDescription
4c9d72c65fixremove extra space in Unable to find compatible package during ng add

@schematics/angular

CommitTypeDescription
9b07191b1fixset skipTest flag for resolvers when using ng new --skip-tests

@angular-devkit/build-angular

CommitTypeDescription
5b39e0ecafixautomatically purge stale build cache entries
6046e06b9fixcorrectly resolve core-js/proposals/reflect-metadata
de68daa55fixenable :where CSS pseudo-class
6a617ff4afixensure $localize calls are replaced in watch mode
92b4e067bfixload translations fresh start
d674dcd1afixlocalized bundle generation fails in watch mode
6876ad36efixuse contenthash instead of chunkhash for chunks
11fd02105fixwebsocket client only injected if required
6ca0e41a9perfupdate esbuild to 0.14.11

Special Thanks

Alan Agius, Bill Barry, Derek Cormier, Elio Goettelmann, Joey Perrott, Kasper Christensen, Lukas Spirig and Zoltan Lehoczky

12.2.15 (2022-01-12)

@angular-devkit/build-angular

CommitTypeDescription
526115fdbfixupdated webpack-dev-server to latest security patch

Special Thanks

Doug Parker and iRealNirmal

11.2.18 (2022-01-12)

@angular-devkit/build-angular

CommitTypeDescription
534678450fixupdated webpack-dev-server to latest security patch

Special Thanks

Doug Parker and iRealNirmal

13.2.0-next.1 (2021-12-15)

@schematics/angular

CommitTypeDescription
41a828e20fixupdated Angular new project version to v13.2.0-next.0

@angular-devkit/build-angular

CommitTypeDescription
0323a35b4fixadd tailwindcss support for version 3
471930007fixdisplay FS cache information when verbose option is used
f1d2873cafixonly extract CSS styles when are specified in styles option

@ngtools/webpack

CommitTypeDescription
b03b9eefeperfreduce redundant module rebuilds when cache is restored

Special Thanks

Alan Agius, Cédric Exbrayat, Derek Cormier and Doug Parker

13.1.2 (2021-12-15)

@angular-devkit/build-angular

CommitTypeDescription
1ddbd75aefixadd tailwindcss support for version 3
adf925c07fixdisplay FS cache information when verbose option is used
09c3826c9fixonly extract CSS styles when are specified in styles option

@ngtools/webpack

CommitTypeDescription
f31d7f79dperfreduce redundant module rebuilds when cache is restored

Special Thanks

Alan Agius, Derek Cormier and Doug Parker

11.2.17 (2021-12-16)

@angular/cli

CommitTypeDescription
1efff8f82fixexclude deprecated packages with removal migration from update

Special Thanks

Alan Agius and Doug Parker

11.2.16 (2021-12-15)

@angular/cli

CommitTypeDescription
f456b0962fixerror when updating Angular packages across multi-major migrations
886d2511efixlogic which determines which temp version of the CLI is to be download during ng update
776d1210afixupdate ng update output for Angular packages

Special Thanks

Alan Agius and Doug Parker

10.2.4 (2021-12-15)

@angular/cli

CommitTypeDescription
745d77728fixerror when updating Angular packages across multi-major migrations
460ea21b5fixlogic which determines which temp version of the CLI is to be download during ng update
03da12899fixupdate ng update output for Angular packages

@schematics/angular

CommitTypeDescription
d6582d489fixchange karma-jasmine-html-reporter dependency to use tilde

Special Thanks

Alan Agius, Charles Lyding, Doug Parker and Joey Perrott

13.1.1 (2021-12-10)

@schematics/angular

CommitTypeDescription
a315b968afixupdated Angular new project version to v13.1.0

Special Thanks

Alan Agius, Cédric Exbrayat and Derek Cormier

13.1.0 (2021-12-09)

@angular/cli

CommitTypeDescription
56f802b7dfeatask to install angular-eslint when running ng lint in new projects
ecd9fb5c7featprovide more detailed error for not found builder
0b6071af3fixng doc does open browser on Windows

@schematics/angular

CommitTypeDescription
d5d9f042ffeatadd VS Code configurations when generating a new workspace
f95cc8281featgenerate new projects using TypeScript 4.5
21809e14cfeatloosen project name validation

@angular-devkit/schematics-cli

CommitTypeDescription
339bab06cfeatgenerate new projects using TypeScript 4.5

@angular-devkit/build-angular

CommitTypeDescription
bc8563760featadd estimated transfer size to build output report
bc17cf0cdfeatcolorize file raw sizes based on failing budgets
3c681b68dfeatset dir attribute when using localization
6d0f99a2dfeatsupport JSON comments in dev-server proxy configuration file
9300545e6featwatch i18n translation files with dev server
9bacba342fixdifferentiate components and global styles using file query instead of filename
7408511dafixdisplay cleaner errors
d55fc62effixfallback to use language ID to set the dir attribute
4c288b8bdfixlazy modules bundle budgets
562dc6a89fixprefer ES2015 entrypoints when application targets ES2019 or lower
ac66e400cfixSass compilation in StackBlitz webcontainers
e1bac5bbbfixupdate Angular peer dependencies to v13.1 prerelease
789ddfaebperfdisable webpack backwards compatible APIs

@ngtools/webpack

CommitTypeDescription
5402f99f8fixadd cjs and mjs to passthrough files
10d4ede2dfixhandle promise rejection during Angular program analyzes

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Ferdinand Malcher, Joey Perrott and Ruslan Lekhman

12.2.14 (2021-12-07)

@angular/cli

CommitTypeDescription
30295b33efixerror when updating Angular packages across multi-major migrations
e07bd059efixlogic which determines which temp version of the CLI is to be download during ng update
ce1ec0420fixupdate ng update output for Angular packages
dd9f8df52fixupdate pacote to 12.0.2

Special Thanks

Alan Agius and Doug Parker

13.0.4 (2021-12-01)

@angular/cli

CommitTypeDescription
ded7b5c06fixexit with a non-zero error code when migration fails during ng update
250a58b48fixlogic which determines which temp version of the CLI is to be download during ng update

@schematics/angular

CommitTypeDescription
372e2e633fixaddress eslint linting failures in test.ts

@angular-devkit/build-angular

CommitTypeDescription
b835389c8fixcorrectly extract messages when using cached build (#22266)
647a5f0b1fixdon't watch nested node_modules when polling is enabled
4d01d4f72fixtransform remapped sourcemap into a plain object

@ngtools/webpack

CommitTypeDescription
4d918ef99fixJIT mode CommonJS accessing inexistent default property

Special Thanks

Alan Agius, Billy Lando, David-Emmanuel DIVERNOIS and Derek Cormier

13.0.3 (2021-11-17)

Special Thanks

Alan Agius, Joey Perrott and Krzysztof Platis

13.0.2 (2021-11-10)

@angular/cli

CommitTypeDescription
34047b1adfixavoid redirecting @angular/core in Angular migrations
ff4538e98fixfavor ng-update packageGroupName in ng update output

@schematics/angular

CommitTypeDescription
1bc00b6fefixmigrate ng-packagr configurations in package.json
9ea74a13dfixshow warning when migrating ng-packagr JS configurations

@angular-devkit/build-angular

CommitTypeDescription
35164bf92fixdon't restore input of type file during HMR
facb5d8fffixdon't show [NG HMR] Unknown input type when restoring file type input
ef8815d04fiximprove sourcemap fidelity during code-coverage
966a1334afixsuppress "@charset" must be the first rule in the file warning
1cdc24da0fixupdate Angular peer dependencies to 13.0 stable

Special Thanks

Alan Agius, Charles Lyding, Joey Perrott and Paul Gschwendtner

13.0.1 (2021-11-03)

@schematics/angular

CommitTypeDescription
40f599241fixupdated Angular new project version to v13.0.0

Special Thanks

Charles Lyding and Joey Perrott

12.2.13 (2021-11-03)

@angular-devkit/build-angular

CommitTypeDescription
a2bd940e4fixadd verbose logging for differential loading and i18n

Special Thanks

Charles Lyding and Doug Parker

13.0.0 (2021-11-03)

Breaking Changes

@angular/cli

  • We drop support for Node.js versions prior to 12.20.

@schematics/angular

  • classlist.js and web-animations-js are removed from application polyfills and uninstalled from the package. These were only needed for compatibility with Internet Explorer, which is no longer needed now that Angular only supports evergreen browsers. See: https://angular.dev/reference/versions#browser-support.

Add the following to the polyfills file for an app to re-add these packages:

import 'classlist.js';
import 'web-animations-js';

And then run:

npm install classlist.js web-animations-js --save
  • We removed several deprecated @schematics/angular deprecated options.
  • lintFix have been removed from all schematics. ng lint --fix should be used instead.
  • legacyBrowsers have been removed from the application schematics since IE 11 is no longer supported.
  • configuration has been removed from the web-worker as it was unused.
  • target has been removed from the service-worker as it was unused.

@angular-devkit/build-angular

  • Support for karma-coverage-instanbul-reporter has been dropped in favor of the official karma coverage plugin karma-coverage.

  • Support for node-sass has been removed. sass will be used by default to compile SASS and SCSS files.

  • NG_PERSISTENT_BUILD_CACHE environment variable option no longer have effect. Configure cli.cache in the workspace configuration instead.

{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "cli": {
    "cache": {
      "enabled": true,
      "path": ".custom-cache-path",
      "environment": "all"
    }
  }
  ...
}
  • Calling BuilderContext.scheduleBuilder() with a builder from @angular-devkit/build-angular now requires passing the target property in the 3rd argument, like in the following example:

    context.scheduleBuilder('@angular-devkit/build-angular:ng-packagr', options, {
      target: context.target,
    });
    
  • The automatic inclusion of Angular-required ES2015 polyfills to support ES5 browsers has been removed. Previously when targeting ES5 within the application's TypeScript configuration or listing an ES5 requiring browser in the browserslist file, Angular-required polyfills were included in the built application. However, with Angular no longer supporting IE11, there are now no browsers officially supported by Angular that would require these polyfills. As a result, the automatic inclusion of these ES2015 polyfills has been removed. Any polyfills manually added to an application's code are not affected by this change.

  • With this change a number of deprecated dev-server builder options which proxied to the browser builder have been removed. These options should be configured in the browser builder instead.

The removed options are:

  • aot

  • sourceMap

  • deployUrl

  • baseHref

  • vendorChunk

  • commonChunk

  • optimization

  • progress

  • With this change we removed several deprecated builder options

  • extractCss has been removed from the browser builder. CSS is now always extracted.

  • servePathDefaultWarning and hmrWarning have been removed from the dev-server builder. These options had no effect.

  • Deprecated @angular-devkit/build-angular:tslint builder has been removed. Use https://github.com/angular-eslint/angular-eslint instead.

  • Differential loading support has been removed. With Angular no longer supporting IE11, there are now no browsers officially supported by Angular that require ES5 code. As a result, differential loading's functionality for creating and conditionally loading ES5 and ES2015+ variants of an application is no longer required.

  • TypeScript versions prior to 4.4 are no longer supported.

  • The dev-server now uses WebSockets to communicate changes to the browser during HMR and live-reloaded. If during your development you are using a proxy you will need to enable proxying of WebSockets.

  • We remove inlining of Google fonts in WOFF format since IE 11 is no longer supported. Other supported browsers use WOFF2.

@angular-devkit/build-webpack

Note: this change only affects users depending on @angular-devkit/build-webpack directly.

@angular-devkit/core

  • With this change we drop support for the deprecated behaviour to transform id in schemas. Use $id instead.

Note: this only effects schematics and builders authors.

  • The deprecated JSON parser has been removed from public API. jsonc-parser should be used instead.

@angular-devkit/schematics

  • isAction has been removed without replacement as it was unused.

  • With this change we remove the following deprecated APIs

  • TslintFixTask

  • TslintFixTaskOptions

Note: this only effects schematics developers.

@ngtools/webpack

  • Deprecated inlineStyleMimeType option has been removed from AngularWebpackPluginOptions. Use inlineStyleFileExtension instead.

  • Applications directly using the webpack-cli and not the Angular CLI to build must set the environment variable DISABLE_V8_COMPILE_CACHE=1. The @ngtools/webpack package now uses dynamic imports to provide support for the ESM @angular/compiler-cli package. The v8-compile-cache package used by the webpack-cli does not currently support dynamic import expressions and will cause builds to fail if the environment variable is not specified. Applications using the Angular CLI are not affected by this limitation.

Deprecations

  • @angular-devkit/build-optimizer

It's functionality has been included in @angular-devkit/build-angular so this package is no longer needed by the CLI and we will stop publishing the package soon. It has been an experimental (never hit 1.0.0) and internal (only used by Angular itself) package and should be not be used directly by others.

@angular-devkit/build-angular

  • NG_BUILD_CACHE environment variable option will be removed in the next major version. Configure cli.cache in the workspace configuration instead.

@angular/cli

CommitTypeDescription
9fe55752dfeatofficially support Node.js v16
5ad145722fixerror when updating Angular packages across multi-major migrations
e4bc35e33fixexclude packages from ng add that contain invalid peer dependencies
e1b954d70fixkeep relative migration paths during update analysis
c3acf3cc2fixremove unused cli project options.
77fe6c4e6fixupdate engines to require node 12.20.0
8795536a3fixupdate ng update output for Angular packages
d8c9f6eaffixupdate the update command to fully support Node.js v16

@schematics/angular

CommitTypeDescription
7ff8c5350featadd /.angular/cache to .gitignore
3ba13f467featadd noImplicitOverride and noPropertyAccessFromIndexSignature to workspace tsconfig
268a03b63featadd migration to update the workspace config
7bdcd7da1featcreate new projects with rxjs 7
eac18aed7featdrop polyfills required only for Internet Explorer now that support has been dropped for it
4f91816b2featmigrate libraries to be published from ViewEngine to Ivy Partial compilation
5986befcdfeatremove deprecated options
9fbd16655featremove IE 11 specific polyfills
a7b2e6f51featupdate ngsw-config resources extensions
732ef7985fixadd browserslist configuration in library projects
585adacd0fixdon't add destroyAfterEach in newly generated spec files
e58226ee9fixdon't export renderModuleFactory from server file
0ec0ad8a4fixremove target and lib options for library tsconfig
f227e145dfixupdated Angular new project version to v13.0 prerelease

CommitTypeDescription
5e435ff37docsmark @angular-devkit/build-optimizer as deprecated.

@angular-devkit/architect

CommitTypeDescription
09e039500featinclude workspace extensions in project metadata

@angular-devkit/build-angular

CommitTypeDescription
f53bf9dc2featadd type=module to all scripts tags
e95ecb8abfeatdeprecate deployUrl
7dcfffafffeatdrop support for karma-coverage-instanbul-reporter
ac3fc2752featdrop support for node-sass
5904afd1dfeatenable disk cache by default and provide configurable options
22cd9edfafeatfavor es2020 main fields
7576136b2featremove automatic inclusion of ES5 browser polyfills
000b0e51cfeatremove deprecated dev-server options
20e48a33cfeatremove deprecated options
e78f6ab5dfeatremove deprecated tslint builder
701214d17featremove differential loading support
fb1ad7c5bfeatsupport ESM proxy configuration files for the dev server
505438cc4featsupport TypeScript 4.4
32dbf659afeatupdate webpack-dev-server to version 4
c1efaa17ffixcalculate valid Angular versions from peerDependencies
d7af4a7b5fixenable custom es2020 and es2015 conditional exports
f383f3201fixESM-interop loaded plugin creators of @angular/localize/tools not respected
7934becb5fixgenerate unique webpack runtimes
b14e0a547fiximprove sourcemaps fidelity when code coverage is enabled
e19287453fixmove @angular/localize detection prior to webpack initialization
76d6d8826fixset browserslist defaults
167eed465fixupdate Angular peer dependencies to v13.0 prerelease
1d8cdf853fixupdate esbuild to 0.13.12
884111ac0fixupdate IE unsupported and deprecation messages
4be6537ddfixupdate TS/JS regexp checks to latest extensions
427a9ee97fixupdate workspace tsconfig lib es2020
ea926db25fixuse es2015 when generating server bundles
13cceab8efixuse URLs for absolute import paths with ESM
4e0743c8aperfchange webpack hashing function to xxhash64
cb7d156c2perfuse esbuild as a CSS optimizer for global styles
8e82263c5perfuse esbuild/terser combination to optimize global scripts
e82eef924refactorremove WOFF handling from inline-fonts processor

@angular-devkit/build-webpack

CommitTypeDescription
a0b5897d5featupdate webpack-dev-server to version 4
9efcb32e3fixbetter handle concurrent dev-servers

@angular-devkit/core

CommitTypeDescription
0c92ea5cafeatremove deprecated schema id handling
9874aff71fixadd missing option peer dependency on chokidar
a54e5e065fixsupport Node.js v16 with NodeJsSyncHost/NodeJsAsyncHost delete operation
d722fdf1frefactorremove deprecated JSON parser

@angular-devkit/schematics

CommitTypeDescription
0565ed62efeatadd UpdateBuffer2 based on magic-string
8954d1152featremove deprecated isAction
053b7d66cfeatremove deprecated tslint APIs
bdd89ae84fixhandle zero or negative length removals in update buffer

@ngtools/webpack

CommitTypeDescription
d2a97f919fixupdate Angular peer dependencies to v13.0 prerelease
7928b18edperfreduce repeat path mapping analysis during resolution
8ce8e4edcrefactorremove deprecated inlineStyleMimeType option
7d98ab3dfrefactorsupport an ESM-only @angular/compiler-cli package

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Douglas Parker, Joey Perrott, Kristiyan Kostadinov, Lukas Spirig and Paul Gschwendtner

12.2.9 (2021-10-06)

@angular-devkit/build-angular

CommitTypeDescription
9d45b7752fixadd web-streams-polyfill to downlevel exclusion list
ccedf53a8fixupdate esbuild to 0.13.4

Special Thanks

Alan Agius and Charles Lyding

12.2.8 (2021-10-01)

@angular-devkit/build-angular

CommitTypeDescription
821a1b5a9fixbabel adjust enum plugin incorrectly transforming loose enums

Special Thanks

Paul Gschwendtner

12.2.7 (2021-09-22)

@angular-devkit/build-angular

CommitTypeDescription
d856b4d23fixsupport WASM-based esbuild optimizer fallback

Special Thanks

Alan Agius and Charles Lyding

12.2.6 (2021-09-15)

@angular/cli

CommitTypeDescription
8b21effadfixhandle FORCE_COLOR when stdout is not instance of WriteStream

@angular-devkit/build-angular

CommitTypeDescription
ea60f0f52fixhandle FORCE_COLOR when stdout is not instance of WriteStream

Special Thanks

Alan Agius

12.2.5 (2021-09-08)

@angular-devkit/build-angular

CommitTypeDescription
0498768c5fixdisable dev-server response compression
367fce2e9fiximprove Safari browserslist to esbuild target conversion

Special Thanks:

Alan Agius and Charles Lyding

12.2.4 (2021-09-01)

@angular-devkit/build-angular

CommitTypeDescription
aaadef026fixupdate esbuild to 0.12.24
f8a9f4a01fixupdate mini-css-extract-plugin to 2.2.1

Special Thanks

Alan Agius

12.2.3 (2021-08-26)

@angular-devkit/build-angular

CommitTypeDescription
3e3321857fixRGBA converted to hex notation in component styles breaks IE11

Special Thanks:

Alan Agius and Trevor Karjanis

12.2.2 (2021-08-18)

@angular-devkit/build-angular

CommitDescription
a55118a75fix: provide supported browsers to esbuild
81baa4f95fix: update Angular peer dependencies to 12.2 stable
297410ae8fix: handle undefined entrypoints when marking async chunks

@ngtools/webpack

CommitDescription
b7199f366fix: update Angular peer dependencies to 12.2 stable

Special Thanks:

Alan Agius, Charles Lyding, Joey Perrott and Simon Primetzhofer

12.2.1 (2021-08-11)

@angular/cli

CommitDescription
8dc3c895afix(@angular/cli): show error when using non-TTY terminal without passing --skip-confirmation during ng add

@angular-devkit/schematics-cli

CommitDescription
eded01270fix(@angular-devkit/schematics-cli): log when in debug and/or dry run modes

@angular-devkit/build-angular

CommitDescription
22e0208a9fix(@angular-devkit/build-angular): ensure native async is downlevelled in third-party libraries
9b4b86fb0fix(@angular-devkit/build-angular): support both pure annotation forms for static properties
cea028090fix(@angular-devkit/build-angular): do not consume inline sourcemaps when vendor sourcemaps is disabled.
e7ec0346efix(@angular-devkit/build-angular): avoid attempting to optimize copied JavaScript assets
4f757c2bcfix(@angular-devkit/build-angular): handle null maps in JavaScript optimizer worker

Special Thanks:

Alan Agius and Charles Lyding

12.2.0 (2021-08-04)

@angular/cli

CommitDescription
259e26979fix(@angular/cli): merge npmrc files values
c1eddbdc9fix(@angular/cli): handle YARN_ environment variables during ng update and ng add
6b00d1270fix(@angular/cli): handle NPM_CONFIG environment variables during ng update and ng add
88ee85c41fix(@angular/cli): disable update notifier when retrieving package manager version during ng version

@angular-devkit/build-angular

CommitDescription
d750c686ffix(@angular-devkit/build-angular): add priority to copy-webpack-plugin patterns
4bcd1dc9efix(@angular-devkit/build-angular): allow classes with pure annotated static properties to be optimized
ceade0c27fix(@angular-devkit/build-angular): dasherize disable-host-check suggestion
8383c6b42fix(@angular-devkit/build-angular): silence Sass compiler warnings from 3rd party stylesheets
07763702ffix(@angular-devkit/build-angular): force linker sourceMapping option to false.
a5c69722ffix(@angular-devkit/build-angular): ensure NG_PERSISTENT_BUILD_CACHE always creates a cache in the specified cache directory
c65b04999fix(@angular-devkit/build-angular): fail browser build when index generation fails
3d71c63b3fix(@angular-devkit/build-angular): fix issue were @media all causing critical CSS inling to fail
9a04975a2fix(@angular-devkit/build-angular): extractLicenses didn't have an effect when using server builder
2ac8e9c0efix(@angular-devkit/build-angular): display incompatibility errors
2c2b49919fix(@angular-devkit/build-angular): limit advanced terser passes to two
1be3b0783fix(@angular-devkit/build-angular): exclude outputPath from persistent build cache key
fefd6d042perf(@angular-devkit/build-angular): use esbuild as a CSS optimizer for component styles
18cfa0431feat(@angular-devkit/build-angular): add support to inline Adobe Fonts
9a751f0f8fix(@angular-devkit/build-angular): handle ENOENT and ENOTDIR errors when deleting outputs
41e645792fix(@angular-devkit/build-angular): downlevel for await...of when targeting ES2018+
070a13364fix(@angular-devkit/build-angular): configure webpack target in common configuration
da32daa75perf(@angular-devkit/build-angular): use combination of esbuild and terser as a JavaScript optimizer
6a2b11906perf(@angular-devkit/build-angular): cache JavaScriptOptimizerPlugin results
ab17b1721fix(@angular-devkit/build-angular): handle ng-packagr errors more gracefully.
d4c5f8518fix(@angular-devkit/build-angular): control linker template sourcemapping via builder sourcemap options
06181c2fbfix(@angular-devkit/build-angular): parse web-workers in tests when webWorkerTsConfig is defined

@angular-devkit/build-webpack

CommitDescription
615353022fix(@angular-devkit/build-webpack): emit result when webpack is closed

@ngtools/webpack

CommitDescription
dbbcf5c8cfix(@ngtools/webpack): only track file dependencies
7536338e0fix(@ngtools/webpack): allow generated assets of Angular component resources
720feee34fix(@ngtools/webpack): avoid non-actionable template type-checker syntax diagnostics
6a7bcf330fix(@ngtools/webpack): encode component style data
12c14b565fix(@ngtools/webpack): remove no longer needed component styles workaround

@schematics/angular

CommitDescription
20fd33f6dfeat(@schematics/angular): destroy test module after every test
5b10d4f54fix(@schematics/angular): remove unsafe any usage in application spec file
1b5e18e7bfix(@schematics/angular): replace interactive div with button in application component template
0907b6941fix(@schematics/angular): use stricter semver for karma-jasmine-html-reporter
8ad1539c5fix(@schematics/angular): add 'none' value for the 'style' option of the component schematic
e5ba29c7dfix(@schematics/angular): display warning during migrations when using third-party builders
a44dc02fefix(@schematics/angular): add devtools to ng new

Special Thanks:

Alan Agius, Charles Lyding, David Scourfield, Doug Parker, hien-pham, Joey Perrott, LeonEck, Mike Jancar, twerske, Vaibhav Singh and originalfrostig

12.2.0-rc.0 (2021-07-28)

@angular/cli

CommitDescription
259e26979fix(@angular/cli): merge npmrc files values

@angular-devkit/build-angular

CommitDescription
d750c686ffix(@angular-devkit/build-angular): add priority to copy-webpack-plugin patterns

@angular-devkit/build-webpack

CommitDescription
615353022fix(@angular-devkit/build-webpack): emit result when webpack is closed

Special Thanks:

Alan Agius, Charles Lyding, Joey Perrott and originalfrostig

12.1.4 (2021-07-28)

@angular/cli

CommitDescription
e02c97dd0fix(@angular/cli): merge npmrc files values

@schematics/angular

CommitDescription
cfc267426fix(@schematics/angular): ensure valid SemVer range for new project Angular packages

@angular-devkit/build-angular

CommitDescription
55c0bddc8fix(@angular-devkit/build-angular): add priority to copy-webpack-plugin patterns

@angular-devkit/build-webpack

CommitDescription
b3736a3c0fix(@angular-devkit/build-webpack): emit result when webpack is closed

Special Thanks:

Alan Agius, Charles Lyding, Joey Perrott and originalfrostig

12.2.0-next.3 (2021-07-21)

@angular/cli

CommitDescription
c1eddbdc9fix(@angular/cli): handle YARN_ environment variables during ng update and ng add
6b00d1270fix(@angular/cli): handle NPM_CONFIG environment variables during ng update and ng add

@angular-devkit/build-angular

CommitDescription
4bcd1dc9efix(@angular-devkit/build-angular): allow classes with pure annotated static properties to be optimized
ceade0c27fix(@angular-devkit/build-angular): dasherize disable-host-check suggestion

Special Thanks:

Alan Agius, Charles Lyding, Joey Perrott, LeonEck and Mike Jancar

12.1.3 (2021-07-21)

@angular/cli

CommitDescription
eaa2378b6fix(@angular/cli): handle YARN_ environment variables during ng update and ng add
4b9a41bdefix(@angular/cli): handle NPM_CONFIG environment variables during ng update and ng add

@angular-devkit/build-angular

CommitDescription
04e9ffe4ffix(@angular-devkit/build-angular): allow classes with pure annotated static properties to be optimized
6ae17e265fix(@angular-devkit/build-angular): dasherize disable-host-check suggestion

Special Thanks:

Alan Agius, Charles Lyding, Joey Perrott, LeonEck and Mike Jancar

v12.2.0-next.2 (2021-07-14)

Commits

@angular-devkit/build-angular (12.2.0-next.2)

Commit Description Notes
silence Sass compiler warnings from 3rd party stylesheets [Closes #21235]
force linker `sourceMapping` option to false. [Closes #21271]
ensure `NG_PERSISTENT_BUILD_CACHE` always creates a cache in the specified cache directory
fail browser build when index generation fails
fix issue were `@media all` causing critical CSS inling to fail [Closes #20804]
`extractLicenses` didn't have an effect when using server builder
display incompatibility errors [Closes #21322]
limit advanced terser passes to two
exclude `outputPath` from persistent build cache key [Closes #21275]
use `esbuild` as a CSS optimizer for component styles

@ngtools/webpack (12.2.0-next.2)

Commit Description Notes
only track file dependencies [Closes #21228]
allow generated assets of Angular component resources
avoid non-actionable template type-checker syntax diagnostics

@schematics/angular (12.2.0-next.2)

Commit Description Notes
destroy test module after every test [Closes #21280]
remove unsafe any usage in application spec file
replace interactive `div` with `button` in application component template
use stricter semver for `karma-jasmine-html-reporter`


Special Thanks

Alan Agius, Charles Lyding, Joey Perrott

v12.1.2 (2021-07-14)

Commits

@angular-devkit/build-angular (12.1.2)

Commit Description Notes
silence Sass compiler warnings from 3rd party stylesheets [Closes #21235]
ensure `NG_PERSISTENT_BUILD_CACHE` always creates a cache in the specified cache directory
force linker `sourceMapping` option to false. [Closes #21271]
fail browser build when index generation fails
`extractLicenses` didn't have an effect when using server builder
fix issue were `@media all` causing critical CSS inling to fail [Closes #20804]
display incompatibility errors [Closes #21322]
exclude `outputPath` from persistent build cache key [Closes #21275]

@ngtools/webpack (12.1.2)

Commit Description Notes
only track file dependencies [Closes #21228]
allow generated assets of Angular component resources
avoid non-actionable template type-checker syntax diagnostics

@schematics/angular (12.1.2)

Commit Description Notes
remove unsafe any usage in application spec file
replace interactive `div` with `button` in application component template
use stricter semver for `karma-jasmine-html-reporter`


Special Thanks

Alan Agius, Charles Lyding, Joey Perrott, Terence D. Honles

v12.1.1 (2021-07-01)

Commits

@angular-devkit/build-angular (12.1.1)

Commit Description Notes
handle `ENOENT` and `ENOTDIR` errors when deleting outputs [Closes #21202]
downlevel `for await...of` when targeting ES2018+ [Closes #21196]
configure webpack target in common configuration [Closes #21239]
update `mini-css-extract-plugin` to `1.6.2`
update `webpack` to `5.41.1`

@angular/cli (12.1.1)

Commit Description Notes
disable update notifier when retrieving package manager version during `ng version` [Closes #21172]

@ngtools/webpack (12.1.1)

Commit Description Notes
encode component style data [Closes #21236]


Special Thanks

Alan Agius, Charles Lyding, Doug Parker

v12.2.0-next.1 (2021-07-01)

Commits

@angular-devkit/build-angular (12.2.0-next.1)

Commit Description Notes
add support to inline Adobe Fonts [Closes #21186]
handle `ENOENT` and `ENOTDIR` errors when deleting outputs [Closes #21202]
downlevel `for await...of` when targeting ES2018+ [Closes #21196]
configure webpack target in common configuration [Closes #21239]
use combination of `esbuild` and `terser` as a JavaScript optimizer
cache JavaScriptOptimizerPlugin results

@angular/cli (12.2.0-next.1)

Commit Description Notes
disable update notifier when retrieving package manager version during `ng version` [Closes #21172]

@ngtools/webpack (12.2.0-next.1)

Commit Description Notes
encode component style data [Closes #21236]


Special Thanks

Alan Agius, Charles Lyding, Doug Parker

v12.2.0-next.0 (2021-06-24)

Commits

@angular-devkit/build-angular (12.1.0)

Commit Description Notes
handle ng-packagr errors more gracefully.
control linker template sourcemapping via builder sourcemap options
parse web-workers in tests when webWorkerTsConfig is defined

@ngtools/webpack (12.1.0)

Commit Description Notes
remove no longer needed component styles workaround

@schematics/angular (12.1.0)

Commit Description Notes
add 'none' value for the 'style' option of the component schematic
display warning during migrations when using third-party builders
add devtools to ng new


Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Vaibhav Singh, Joey Perrott, twerske, David Scourfield, hien-pham

v12.1.0 (2021-06-24)

Commits

@angular-devkit/build-angular (12.1.0)

Commit Description Notes
enable webpack Trusted Types support
deprecate protractor builder
support using TypeScript 4.3
revert open to 8.0.2 [Closes #20807]
correctly ignore inline styles during i18n extraction
use the name as chunk filename instead of id
handle ng-packagr errors more gracefully.
control linker template sourcemapping via builder sourcemap options
parse web-workers in tests when webWorkerTsConfig is defined
use CSS optimization plugin that leverages workers
enable opt-in usage of file system cache

@angular/cli (12.1.0)

Commit Description Notes
show Node.js version support status in version command [Closes #20879]
handle unscoped authentication details in `.npmrc` files
don't resolve `.npmrc` from parent directories

@ngtools/webpack (12.1.0)

Commit Description Notes
support using TypeScript 4.3
remove redundant inline style cache
ensure plugin provided Webpack instance is used
disable caching for ngcc synchronous Webpack resolver
remove no longer needed component styles workaround

@schematics/angular (12.1.0)

Commit Description Notes
create new projects with TypeScript 4.3
add migration to replace deprecated `--prod` [Closes #21036]
add 'none' value for the 'style' option of the component schematic
display warning during migrations when using third-party builders
add devtools to ng new


Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Joey Perrott, Bjarki, Vaibhav Singh, twerske, David Scourfield, hien-pham, Alberto Calvo, Paul Gschwendtner, Keen Yee Liau

v12.1.0-next.6 (2021-06-17)

Commits

@angular-devkit/build-angular (12.1.0-next.6)

Commit Description Notes
don't parse `new Worker` syntax when `webWorkerTsConfig` is not defined in karma builder [Closes #21108]
explicitly set compilation target in test configuration [Closes #21111]
use the name as chunk filename instead of id
enable opt-in usage of file system cache

@angular/cli (12.1.0-next.6)

Commit Description Notes
handle unscoped authentication details in `.npmrc` files
don't resolve `.npmrc` from parent directories

@schematics/angular (12.1.0-next.6)

Commit Description Notes
add migration to replace deprecated `--prod` [Closes #21036]


Special Thanks

Alan Agius, Joey Perrott, Alberto Calvo, Charles Lyding

v12.0.5 (2021-06-17)

Commits

@angular-devkit/build-angular (12.0.5)

Commit Description Notes
don't parse `new Worker` syntax when `webWorkerTsConfig` is not defined in karma builder [Closes #21108]
explicitly set compilation target in test configuration [Closes #21111]

@angular/cli (12.0.5)

Commit Description Notes
handle unscoped authentication details in .npmrc files


Special Thanks

Alan Agius, Joey Perrott

v12.1.0-next.5 (2021-06-10)

Commits

@angular-devkit/build-angular (12.1.0-next.5)

Commit Description Notes
support using TypeScript 4.3
ensure all Webpack Stats assets are present on rebuilds [Closes #21038]
dispose Sass worker resources on Webpack shutdown [Closes #20985]
show progress during re-builds
correctly mark async chunks as non initial in dev-server
add web-workers in lazy chunks in stats output [Closes #21059]
styles CSS files not available in unit tests [Closes #21054]
reduce memory usage by cleaning output directory before emitting

@angular-devkit/schematics (12.1.0-next.5)

Commit Description Notes
handle updating renamed files [Closes #14255]
[Closes #21083]

@angular/cli (12.1.0-next.5)

Commit Description Notes
avoid shell exec when bootstrapping update command
correctly redirect nested Angular schematic dependency requests [Closes #21075]

@ngtools/webpack (12.1.0-next.5)

Commit Description Notes
support using TypeScript 4.3
ensure plugin provided Webpack instance is used
disable caching for ngcc synchronous Webpack resolver

@schematics/angular (12.1.0-next.5)

Commit Description Notes
create new projects with TypeScript 4.3
added webWorkerTsConfig into test option
working with formatting


Special Thanks

Charles Lyding, Alan Agius, Doug Parker, Santosh Mahto, Joey Perrott

v12.0.4 (2021-06-09)

Commits

@angular-devkit/build-angular (12.0.4)

Commit Description Notes
ensure all Webpack Stats assets are present on rebuilds [Closes #21038]
dispose Sass worker resources on Webpack shutdown [Closes #20985]
show progress during re-builds
correctly mark async chunks as non initial in dev-server
add web-workers in lazy chunks in stats output [Closes #21059]
styles CSS files not available in unit tests [Closes #21054]
reduce memory usage by cleaning output directory before emitting

@angular-devkit/schematics (12.0.4)

Commit Description Notes
handle updating renamed files [Closes #14255]
[Closes #21083]

@angular/cli (12.0.4)

Commit Description Notes
avoid shell exec when bootstrapping update command
correctly redirect nested Angular schematic dependency requests [Closes #21075]

@ngtools/webpack (12.0.4)

Commit Description Notes
ensure plugin provided Webpack instance is used

@schematics/angular (12.0.4)

Commit Description Notes
added webWorkerTsConfig into test option
working with formatting


Special Thanks

Alan Agius, Charles Lyding, Santosh Mahto, Joey Perrott, Doug Parker

v12.0.3 (2021-06-02)

Commits

@angular-devkit/build-angular (12.0.3)

Commit Description Notes
do not resolve web-workers in server builds [Closes #20877]
provided earlier build feedback in console [Closes #20957]
correctly ignore inline styles during i18n extraction [Closes #20968]
update `license-webpack-plugin` to `2.3.19`

@angular-devkit/build-webpack (0.1200.3)

Commit Description Notes
include only required stats in webpackStats

@angular-devkit/core (12.0.3)

Commit Description Notes
show allowed enum values when validation on enum fails
handle complex smart defaults in schemas
handle async schema validations
transform path using getSystemPath for NodeJsAsyncHost's `exists` method

@angular/cli (12.0.3)

Commit Description Notes
update supported range of node versions to be less restrictive [Closes #20796]

@ngtools/webpack (12.0.3)

Commit Description Notes
normalize paths when adding file dependencies [Closes #20891]
remove redundant inline style cache

@schematics/angular (12.0.3)

Commit Description Notes
make version 12 workspace config migration idempotent [Closes #20979]
show better error when non existing project is passed to the component schematic


Special Thanks

Alan Agius, Doug Parker, Charles Lyding, why520crazy

v12.1.0-next.4 (2021-06-02)

Commits

@angular-devkit/build-angular (12.1.0-next.4)

Commit Description Notes
do not resolve web-workers in server builds [Closes #20877]
provided earlier build feedback in console [Closes #20957]
correctly ignore inline styles during i18n extraction

@angular-devkit/build-webpack (0.1201.0-next.4)

Commit Description Notes
include only required stats in webpackStats

@angular-devkit/core (12.1.0-next.4)

Commit Description Notes
show allowed enum values when validation on enum fails
handle complex smart defaults in schemas
handle async schema validations
transform path using getSystemPath for NodeJsAsyncHost's `exists` method

@angular/cli (12.1.0-next.4)

Commit Description Notes
update supported range of node versions to be less restrictive [Closes #20796]

@ngtools/webpack (12.1.0-next.4)

Commit Description Notes
normalize paths when adding file dependencies [Closes #20891]
remove redundant inline style cache

@schematics/angular (12.1.0-next.4)

Commit Description Notes
make version 12 workspace config migration idempotent [Closes #20979]
show better error when non existing project is passed to the component schematic


Special Thanks

Alan Agius, Doug Parker, Charles Lyding, why520crazy

v12.1.0-next.3 (2021-05-26)

Commits

@angular-devkit/build-angular (12.1.0-next.3)

Commit Description Notes
enable webpack Trusted Types support
deprecate protractor builder
ensure Sass worker implementation supports Node.js 12.14
don't add `.hot-update.js` script tags [Closes #20855]
correctly generate ServiceWorker config on Windows [Closes #20894]
ensure latest inline stylesheet data is used during rebuilds
allow i18n extraction on application that uses web-workers [Closes #20930]
hide stacktraces from dart-sass errors
resolve absolute outputPath properly [Closes #20935]
show `--disable-host-check` warning only when not using `disableHostCheck` [Closes #20951]
disable CSS optimization parallelism for components styles [Closes #20883]
load postcss-preset-env configuration once

@angular/cli (12.1.0-next.3)

Commit Description Notes
show Node.js version support status in version command [Closes #20879]
ng update on windows to allow path

@ngtools/webpack (12.1.0-next.3)

Commit Description Notes
re-emit component stylesheet assets [Closes #20882]


Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Bjarki, Hassan Sani, JoostK, George Kalpakas, Joey Perrott

v12.0.2 (2021-05-26)

Commits

@angular-devkit/build-angular (12.0.2)

Commit Description Notes
ensure Sass worker implementation supports Node.js 12.14
don't add `.hot-update.js` script tags [Closes #20855]
correctly generate ServiceWorker config on Windows [Closes #20894]
ensure latest inline stylesheet data is used during rebuilds
allow i18n extraction on application that uses web-workers [Closes #20930]
hide stacktraces from dart-sass errors
resolve absolute outputPath properly [Closes #20935]
show `--disable-host-check` warning only when not using `disableHostCheck` [Closes #20951]
update PostCSS to 8.3
disable CSS optimization parallelism for components styles [Closes #20883]
load postcss-preset-env configuration once

@angular/cli (12.0.2)

Commit Description Notes
ng update on windows to allow path

@ngtools/webpack (12.0.2)

Commit Description Notes
re-emit component stylesheet assets [Closes #20882]


Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Hassan Sani, JoostK, George Kalpakas, Joey Perrott

v12.0.1 (2021-05-19)

Commits

@angular-devkit/build-angular (12.0.1)

Commit Description Notes
add experimental web-assembly [Closes #20762]
fix error with inline styles when running extract-i18n
add `NG_BUILD_MAX_WORKERS` settimgs to control maximum number of workers
non injected styles should not count as initial [Closes #20781]
revert open to 8.0.2 [Closes #20807]
correctly resolve babel runtime helpers [Closes #20800]
compile schema in synchronously [Closes #20847]
execute dart-sass in a worker
reduce JSON stats
use CSS optimization plugin that leverages workers
render Sass using a pool of workers
clean no-longer used assets during builds

@angular/cli (12.0.1)

Commit Description Notes
cannot locate bin for temporary package
clean node modules directory prior to updating
improve `--prod` deprecation warning [Closes #20806]

@ngtools/webpack (12.0.1)

Commit Description Notes
reduce non-watch mode TypeScript diagnostic analysis overhead

@schematics/angular (12.0.1)

Commit Description Notes
remove --prod option from README template
don't add `skipTest` option to module schematic options [Closes #20811]
add migration to remove `skipTests` from `@schematics/angular:module` [Closes #20848]


Special Thanks

Alan Agius, Charles Lyding, Joey Perrott, Keen Yee Liau, Luca Vazzano, Pankaj Patil, Ryan Lester, Terence D. Honles, Alan Cohen

v12.1.0-next.2 (2021-05-19)

Commits

@angular-devkit/build-angular (12.1.0-next.2)

Commit Description Notes
add experimental web-assembly [Closes #20762]
add `NG_BUILD_MAX_WORKERS` settimgs to control maximum number of workers
non injected styles should not count as initial [Closes #20781]
revert open to 8.0.2 [Closes #20807]
correctly resolve babel runtime helpers [Closes #20800]
compile schema in synchronously [Closes #20847]
execute dart-sass in a worker
reduce JSON stats
use CSS optimization plugin that leverages workers
render Sass using a pool of workers
clean no-longer used assets during builds

@angular/cli (12.1.0-next.2)

Commit Description Notes
cannot locate bin for temporary package
clean node modules directory prior to updating
improve `--prod` deprecation warning [Closes #20806]

@ngtools/webpack (12.1.0-next.2)

Commit Description Notes
reduce non-watch mode TypeScript diagnostic analysis overhead

@schematics/angular (12.1.0-next.2)

Commit Description Notes
remove --prod option from README template
don't add `skipTest` option to module schematic options [Closes #20811]
add migration to remove `skipTests` from `@schematics/angular:module` [Closes #20848]


Special Thanks

Alan Agius, Charles Lyding, Joey Perrott, Keen Yee Liau, Luca Vazzano, Pankaj Patil, Ryan Lester, Alan Cohen, Paul Gschwendtner

v12.0.0 (2021-05-12)

Commits

@angular-devkit/architect (0.1200.0)

Commit Description Notes
add implementation for defaultConfiguration

@angular-devkit/build-angular (12.0.0)

Commit Description Notes
add `postcss-preset-env` with stage 3 features
drop support for karma version 5.2
drop support for ng-packagr version 11
enable inlineCritical by default
show warning during build when project requires IE 11 support
expose legacy-migrate message format
integrate JIT mode linker [Closes #20281]
upgrade to Webpack 5 throughout the build system
support processing component inline CSS styles
support specifying stylesheet language for inline component styles
remove left-over `experimentalRollupPass` option
support writing large Webpack stat outputs
ensure output directory is present before writing stats JSON
remove deprecated View Engine support for i18n extraction
remove usage of deprecated View Engine compiler
remove deprecated i18nLocale and i18nFormat options from i18n-extract
update karma builder to use non-deprecated API
disable webpack cache when using `NG_BUILD_CACHE`
remove duplicate application bundle generation complete message
mark programmatic builder execution functions as experimental
avoid double build optimizer processing
replace Webpack 4 `hashForChunk` hook usage
use new Webpack watch API in karma webpack plugin
recover from CSS optimization errors
disable Webpack 5 automatic public path support
always inject live reload client when using live reload
change several builder options defaults
show warning when using stylus
avoid triggering file change after file build
remove left-over `forkTypeChecker` option
disable CSS declaration sorting optimizations [Closes #20693]
disable `showCircularDependencies` by default
use Webpack's GC memory caching in watch mode
improve incremental time during Karma tests
avoid async downlevel for known ES2015 code

@angular-devkit/build-optimizer (0.1200.0)

Commit Description Notes
support Webpack 5

@angular-devkit/build-webpack (0.1200.0)

Commit Description Notes
provide output path in builder results
support Webpack 5

@angular-devkit/core (12.0.0)

Commit Description Notes
add handling for `defaultConfiguration` target definition property
update schema validator
ensure job input values are processed in order
improve handling of set schema values [Closes #20594]

@angular/cli (12.0.0)

Commit Description Notes
add `defaultConfiguration` property to architect schema
deprecate `--prod` command line argument
confirm ng add action before installation
support TypeScript 4.2
ensure odd number Node.js version message is a warning
remove npm 7 incompatibility notification
avoid exceptions for expected errors in architect commands
ensure update migrations are fully executed
exclude deprecated packages with removal migrations from update
add message update updating from non LTS versions of the CLI
ignore `tsickle` during updates
run all migrations when updating from or between prereleases
add package manager name and version in `ng version` output
Support XDG Base Directory Specification
don't display options multiple times in schematics help output
change package installation to async
infer schematic defaults correctly when using `--project` [Closes #20666]
propagate update's force option to package managers
allow unsetting config when value is `undefined`
allow config object to be of JSON.
disallow additional properties in builders sections

@ngtools/webpack (12.0.0)

Commit Description Notes
support Webpack 5
drop support for string based lazy loading
support multiple plugin instances per compilation
support generating data URIs for inline component styles in JIT
support processing inline component styles in AOT
remove Webpack 5 deprecation warning in resource loader
use correct Webpack asset stage in resource loader
remove Webpack plugin for deprecated ViewEngine compiler
only track actual resource file dependencies
avoid adding transitive dependencies to Webpack's dependency graph
use precalculated dependencies in unused file check
only check affected files for Angular semantic diagnostics
cache results of processed inline resources
rebuild Angular required files asynchronously
reduce source file and Webpack module iteration

@schematics/angular (12.0.0)

Commit Description Notes
add migration to remove deprecated options from 'angular.json'
strict mode by default
use new zone.js entry-points
add migration to use new zone.js entry-points
add migration to remove emitDecoratorMetadata
augment `universal` schematics to import `platform-server` shims [Closes #40559]
update new project dependencies version [Closes #20106]
production builds by default
deprecate `legacyBrowsers` application and ng-new option
add migration to remove `lazyModules` configuration option
add migration to update lazy loading string syntax to use dynamic imports
update several TypeScript compilation target (Syntax)
remove tslint and codelyzer from new projects [Closes #20105]
[Closes #18465]
add production by default optional migration
update new workspaces to use Karma 6.3
remove `entryComponent` from `component` schematic
configure new libraries to be published in Ivy partial mode
update `jasmine-spec-reporter` to version 7
migrate web workers to support Webpack 5
only update removed v12 options in migration
add `additionalProperties` to all schemas
remove references to the prod flag
only show legacy browsers deprecation warning when option is used
remove leftover workspace tslint config
correctly handle adding multi-line strings to `@NgModule` metadata
run update-i18n migration for server builder
update web-worker to support Webpack 5
set `inlineStyleLanguage` when application `style` option is used
set `inlineStyleLanguage` for universal if present in build options
remove jasmine-spec-reporter and ts-node from default workspace
remove Protractor from home page
remove lint command from package.json [Closes #20618]
fix migration for namedChunks and option
add "type" option in enum schematic
only run `emitDecoratorMetadata` removal migration in safe workspaces
replace `clientProject` with `project`

 

Breaking Changes

@schematics/angular: remove `stylus` from `style` options (fd729ac)

`styl` (Stylus) is no longer a supported value as `style` in `application`, `component`, `ng-new` schematics. Stylus is not actively maintained and only 0.3% of the Angular CLI users use it.

(cherry picked from commit 0272fc55b67d1a3f986b996c8eb21aea31eedf51)

@angular-devkit/build-angular: change several builder options defaults (656f8d7)

A number of browser and server builder options have had their default values changed. The aim of these changes is to reduce the configuration complexity and support the new "production builds by default" initiative.

Browser builder

OptionPrevious default valueNew default value
optimizationfalsetrue
aotfalsetrue
buildOptimizerfalsetrue
sourceMaptruefalse
extractLicensesfalsetrue
namedChunkstruefalse
vendorChunktruefalse

Server builder

OptionPrevious default valueNew default value
optimizationfalsetrue
sourceMaptruefalse

(cherry picked from commit 0a74d0d28daf68510459ed73ef048c91bfcabbbc)

@angular-devkit/core: update schema validator (0875313)

support for JSON Schema draft-04 and draft-06 is removed. If you have schemas using the `id` keyword replace them with `$id`. For an interim period we will auto rename any top level `id` keyword to `$id`.

NB: This change only effects schematics and builders authors.

@angular-devkit/build-angular: upgrade to Webpack 5 throughout the build system (d883ce5)

Webpack 5 lazy loaded file name changes Webpack 5 generates similar but differently named files for lazy loaded JavaScript files in development configurations (when the `namedChunks` option is enabled). For the majority of users this change should have no effect on the application and/or build process. Production builds should also not be affected as the `namedChunks` option is disabled by default in production configurations. However, if a project's post-build process makes assumptions as to the file names then adjustments may need to be made to account for the new naming paradigm. Such post-build processes could include custom file transformations after the build, integration into service-side frameworks, or deployment procedures. Example development file name change: `lazy-lazy-module.js` --> `src_app_lazy_lazy_module_ts.js`

Webpack 5 now includes web worker support. However, the structure of the URL within the Worker constructor must be in a specific format that differs from the current requirement. Web worker usage should be updated as shown below (where ./app.worker should be replaced with the actual worker name): Before: new Worker('./app.worker', ...) After: new Worker(new URL('./app.worker', import.meta.url), ...)

@ngtools/webpack: remove Webpack plugin for deprecated ViewEngine compiler (160102a)

Removal of View Engine support from application builds With the removal of the deprecated View Engine compiler in Angular version 12 for applications, the View Engine Webpack plugin has been removed. The Ivy-based Webpack plugin is the default used within the Angular CLI. If using a custom standalone Webpack configuration, the removed `AngularCompilerPlugin` should be replaced with the Ivy-based `AngularWebpackPlugin`.

@angular-devkit/build-angular: remove deprecated i18n options from server and browser builder (5cf9a08)

Removal of deprecated browser and server command options. - `i18nFile`, use `locales` object in the project metadata instead. - `i18nFormat`, No longer needed as the format will be determined automatically. - `i18nLocale`, use `localize` option instead.

@angular-devkit/build-angular: remove deprecated i18nLocale and i18nFormat options from i18n-extract (eca5a01)

Removal of deprecated `extract-i18n` command options The deprecated `i18nLocale` option has been removed and the `i18n.sourceLocale` within a project's configuration should be used instead. The deprecated `i18nFormat` option has been removed and the `format` option should be used instead.

@angular-devkit/build-angular: remove usage of deprecated View Engine compiler (677913f)

Removal of View Engine support from application builds With the removal of the deprecated View Engine compiler in Angular version 12 for applications, Ivy-based compilation will always be used when building an application. The default behavior for applications is to use the Ivy compiler when building and no changes are required for these applications. For applications that have opted-out of Ivy, a warning will be shown and an Ivy-based build will be attempted. If the build fails, the application may need to be updated to become Ivy compatible.

@schematics/angular: remove `entryComponent` from `component` schematic (8582ddc)

`entryComponent` option has been removed from the `component` schematic as this was intended to be used with the now no longer supported ViewEngine rendering engine.

@angular-devkit/build-angular: remove view engine app-shell generation (1c2aeeb)

App-shell builder now only supports generation using Ivy

@angular-devkit/build-angular: remove deprecated View Engine support for i18n extraction (012700a)

Removal of View Engine support from i18n extraction With the removal of the deprecated View Engine compiler in Angular version 12 for applications, the `ng extract-i18n` command will now always use the Ivy compiler. The `--ivy` option has also been removed as Ivy-based extraction is always enabled. The default behavior for applications is to use the Ivy compiler for building/extraction and no changes are required for these applications. For applications that have opted-out of Ivy, a warning will be shown and Ivy-based extraction will be attempted. If the extraction fails, the application may need to be updated to become Ivy compatible.

@angular/cli: confirm ng add action before installation (985dc1a)

The `ng add` command will now ask the user to confirm the package and version prior to installing and executing an uninstalled package. This new behavior allows a user to abort the action if the version selected is not appropriate or if a typo occurred on the command line and an incorrect package would be installed. A `--skip-confirmation` option has been added to skip the prompt and directly install and execute the package. This option is useful in CI and non-TTY scenarios such as automated scripts.

@angular-devkit/build-angular: remove deprecated `lazyModules` option (8d66912)

Server and Browser builder `lazyModules` option has been removed without replacement.

@ngtools/webpack: drop support for string based lazy loading (0dc7327)

With this change we drop support for string based lazy loading `./lazy.module#LazyModule` use dynamic imports instead.

The following options which were used to support the above syntax were removed without replacement.

  • discoverLazyRoutes
  • additionalLazyModules
  • additionalLazyModuleResources
  • contextElementDependencyConstructor

@angular-devkit/build-angular: enable inlineCritical by default (aa3ea88)

Critical CSS inlining is now enabled by default. If you wish to turn this off set `inlineCritical` to `false`.

See: https://angular.dev/reference/configs/workspace-config#optimization-configuration

@angular-devkit/build-angular: drop support for zone.js 0.10 (f309516)

Minimum supported `zone.js` version is `0.11.4`

@angular-devkit/build-angular: drop support for ng-packagr version 11 (44e75be)

Minimum supported `ng-packagr` version is `12.0.0-next`

@angular-devkit/build-angular: drop support for karma version 5.2 (fa5cf53)

Minimum supported `karma` version is `6.0.0`

set minimum Node.js version to 12.13 (d1f6169)

Node.js version 10 will become EOL on 2021-04-30. Angular CLI 12 will require Node.js 12.13+ or 14.15+. Node.js 12.13 and 14.15 are the first LTS releases for their respective majors.

@angular-devkit/build-angular: remove file-loader dependency (6732294)

The unsupported/undocumented, Webpack specific functionality to `import`/`require()` a non-module file has been removed.

Before

import img from './images/asset.png';

After

<img src="images/asset.png" />

Special Thanks

Alan Agius, Charles Lyding, Keen Yee Liau, Joey Perrott, Doug Parker, Cédric Exbrayat, Douglas Parker, George Kalpakas, Sam Bulatov, Joshua Chapman, Santosh Yadav, David Shevitz, Kristiyan Kostadinov

v12.0.0-rc.3 (2021-05-10)

Commits

@angular/cli (12.0.0-rc.3)

Commit Description Notes
propagate update's force option to package managers
allow unsetting config when value is `undefined`
allow config object to be of JSON.
disallow additional properties in builders sections

Special Thanks

Alan Agius, Charles Lyding, Joey Perrott

v12.0.0-rc.2 (2021-05-05)

Commits

@angular-devkit/build-angular (12.0.0-rc.2)

Commit Description Notes
disable CSS declaration sorting optimizations [Closes #20693]

@angular/cli (12.0.0-rc.2)

Commit Description Notes
don't display options multiple times in schematics help output
change package installation to async
infer schematic defaults correctly when using `--project` [Closes #20666]

@ngtools/webpack (12.0.0-rc.2)

Commit Description Notes
rebuild Angular required files asynchronously
reduce source file and Webpack module iteration

@schematics/angular (12.0.0-rc.2)

Commit Description Notes
add "type" option in enum schematic
only run `emitDecoratorMetadata` removal migration in safe workspaces
replace `clientProject` with `project`


Special Thanks

Alan Agius, Charles Lyding, Keen Yee Liau, Sam Bulatov, Doug Parker

v12.0.0-rc.1 (2021-04-28)

Commits

@angular-devkit/build-angular (12.0.0-rc.1)

Commit Description Notes
remove left-over `forkTypeChecker` option
output webpack-dev-server and webpack-dev-middleware errors
improve incremental time during Karma tests
avoid async downlevel for known ES2015 code

@angular-devkit/core (12.0.0-rc.1)

Commit Description Notes
improve handling of set schema values [Closes #20594]

@angular/cli (12.0.0-rc.1)

Commit Description Notes
add package manager name and version in `ng version` output
Support XDG Base Directory Specification

@schematics/angular (12.0.0-rc.1)

Commit Description Notes
remove jasmine-spec-reporter and ts-node from default workspace
remove Protractor from home page
remove lint command from package.json [Closes #20618]
avoid unuse imports for canLoad guard generation
fix migration for namedChunks and option

@angular-devkit/schematics-cli (12.0.0-rc.1)

Commit Description Notes
accept windows like paths for schematics


Special Thanks

Alan Agius, Charles Lyding, Joey Perrott, Cédric Exbrayat, Doug Parker, Joshua Chapman, Billy Lando, Santosh Yadav, mzocateli

v12.0.0-rc.0 (2021-04-21)

Commits

@angular-devkit/build-angular (12.0.0-rc.0)

Commit Description Notes
avoid double build optimizer processing
replace Webpack 4 `hashForChunk` hook usage
use new Webpack watch API in karma webpack plugin
recover from CSS optimization errors
disable Webpack 5 automatic public path support
always inject live reload client when using live reload
change several builder options defaults
show warning when using stylus
set Tailwind CSS mode when using Tailwind
avoid triggering file change after file build
use Webpack's GC memory caching in watch mode

@angular/cli (12.0.0-rc.0)

Commit Description Notes
ignore `tsickle` during updates
run all migrations when updating from or between prereleases

@ngtools/webpack (12.0.0-rc.0)

Commit Description Notes
only track actual resource file dependencies
cache results of processed inline resources

@schematics/angular (12.0.0-rc.0)

Commit Description Notes
set `inlineStyleLanguage` when application `style` option is used
set `inlineStyleLanguage` for universal if present in build options

Breaking Changes

@schematics/angular: remove `stylus` from `style` options (fd729ac)

`styl` (Stylus) is no longer a supported value as `style` in `application`, `component`, `ng-new` schematics. Stylus is not actively maintained and only 0.3% of the Angular CLI users use it.

(cherry picked from commit 0272fc55b67d1a3f986b996c8eb21aea31eedf51)

@angular-devkit/build-angular: change several builder options defaults (656f8d7)

A number of browser and server builder options have had their default values changed. The aim of these changes is to reduce the configuration complexity and support the new "production builds by default" initiative.

Browser builder

OptionPrevious default valueNew default value
optimizationfalsetrue
aotfalsetrue
buildOptimizerfalsetrue
sourceMaptruefalse
extractLicensesfalsetrue
namedChunkstruefalse
vendorChunktruefalse

Server builder

OptionPrevious default valueNew default value
optimizationfalsetrue
sourceMaptruefalse

(cherry picked from commit 0a74d0d28daf68510459ed73ef048c91bfcabbbc)


Special Thanks

Alan Agius, Charles Lyding, Keen Yee Liau, Joey Perrott, David Shevitz

v12.0.0-next.9 (2021-04-14)

Commits

@angular-devkit/build-angular (12.0.0-next.9)

Commit Description Notes
upgrade to Webpack 5 throughout the build system
support processing component inline CSS styles
support specifying stylesheet language for inline component styles
update karma builder to use non-deprecated API
disable webpack cache when using `NG_BUILD_CACHE`
remove duplicate application bundle generation complete message
mark programmatic builder execution functions as experimental

@angular-devkit/build-webpack (0.1200.0-next.9)

Commit Description Notes
support Webpack 5

@angular-devkit/core (12.0.0-next.9)

Commit Description Notes
update schema validator

@angular/cli (12.0.0-next.9)

Commit Description Notes
add message update updating from non LTS versions of the CLI

@ngtools/webpack (12.0.0-next.9)

Commit Description Notes
support multiple plugin instances per compilation
support generating data URIs for inline component styles in JIT
support processing inline component styles in AOT

@schematics/angular (12.0.0-next.9)

Commit Description Notes
configure new libraries to be published in Ivy partial mode
update `jasmine-spec-reporter` to version 7
migrate web workers to support Webpack 5
update web-worker to support Webpack 5

Breaking Changes

@angular-devkit/core: update schema validator (0875313)

support for JSON Schema draft-04 and draft-06 is removed. If you have schemas using the `id` keyword replace them with `$id`. For an interim period we will auto rename any top level `id` keyword to `$id`.

NB: This change only effects schematics and builders authors.

@angular-devkit/build-angular: upgrade to Webpack 5 throughout the build system (d883ce5)

Webpack 5 generates similar but differently named files for lazy loaded JavaScript files in development configurations (when the `namedChunks` option is enabled). For the majority of users this change should have no effect on the application and/or build process. Production builds should also not be affected as the `namedChunks` option is disabled by default in production configurations. However, if a project's post-build process makes assumptions as to the file names then adjustments may need to be made to account for the new naming paradigm. Such post-build processes could include custom file transformations after the build, integration into service-side frameworks, or deployment procedures. Example development file name change: `lazy-lazy-module.js` --> `src_app_lazy_lazy_module_ts.js`

@angular-devkit/build-angular: upgrade to Webpack 5 throughout the build system (d883ce5)

Webpack 5 now includes web worker support. However, the structure of the URL within the `Worker` constructor must be in a specific format that differs from the current requirement. Web worker usage should be updated as shown below (where `./app.worker` should be replaced with the actual worker name):

Before:

new Worker('./app.worker', ...)

After:

new Worker(new URL('./app.worker', import.meta.url), ...)

Special Thanks

Alan Agius, Charles Lyding, Keen Yee Liau, Doug Parker, Douglas Parker

v12.0.0-next.8 (2021-04-07)

Commits

@angular-devkit/build-angular (0.1200.0-next.8)

Commit Description Notes
remove deprecated i18nLocale and i18nFormat options from i18n-extract

@ngtools/webpack (12.0.0-next.8)

Commit Description Notes
remove Webpack plugin for deprecated ViewEngine compiler

@schematics/angular (12.0.0-next.8)

Commit Description Notes
run update-i18n migration for server builder

Breaking Changes

@ngtools/webpack: remove Webpack plugin for deprecated ViewEngine compiler (160102a)

Removal of View Engine support from application builds With the removal of the deprecated View Engine compiler in Angular version 12 for applications, the View Engine Webpack plugin has been removed. The Ivy-based Webpack plugin is the default used within the Angular CLI. If using a custom standalone Webpack configuration, the removed `AngularCompilerPlugin` should be replaced with the Ivy-based `AngularWebpackPlugin`.

@angular-devkit/build-angular: remove deprecated i18n options from server and browser builder (5cf9a08)

Removal of deprecated browser and server command options. - `i18nFile`, use `locales` object in the project metadata instead. - `i18nFormat`, No longer needed as the format will be determined automatically. - `i18nLocale`, use `localize` option instead.

@angular-devkit/build-angular: remove deprecated i18nLocale and i18nFormat options from i18n-extract (eca5a01)

Removal of deprecated `extract-i18n` command options The deprecated `i18nLocale` option has been removed and the `i18n.sourceLocale` within a project's configuration should be used instead. The deprecated `i18nFormat` option has been removed and the `format` option should be used instead.

Special Thanks

Charles Lyding, Renovate Bot, Alan Agius, Doug Parker, Joey Perrott

v12.0.0-next.7 (2021-04-02)

Commits

@angular-devkit/build-angular (0.1200.0-next.7)

Commit Description Notes
validate scripts and styles bundleName [Closes #20360]
remove deprecated View Engine support for i18n extraction
remove usage of deprecated View Engine compiler

@angular/cli (12.0.0-next.7)

Commit Description Notes
ensure update migrations are fully executed
exclude deprecated packages with removal migrations from update

@ngtools/webpack (12.0.0-next.7)

Commit Description Notes
use correct Webpack asset stage in resource loader
only check affected files for Angular semantic diagnostics

@schematics/angular (12.0.0-next.7)

Commit Description Notes
remove `entryComponent` from `component` schematic
correctly handle adding multi-line strings to `@NgModule` metadata
explicitly specify ServiceWorker registration strategy

Breaking Changes

@angular-devkit/build-angular: remove usage of deprecated View Engine compiler (677913f)

Removal of View Engine support from application builds With the removal of the deprecated View Engine compiler in Angular version 12 for applications, Ivy-based compilation will always be used when building an application. The default behavior for applications is to use the Ivy compiler when building and no changes are required for these applications. For applications that have opted-out of Ivy, a warning will be shown and an Ivy-based build will be attempted. If the build fails, the application may need to be updated to become Ivy compatible.

@schematics/angular: remove `entryComponent` from `component` schematic (8582ddc)

`entryComponent` option has been removed from the `component` schematic as this was intended to be used with the now no longer supported ViewEngine rendering engine.

@angular-devkit/build-angular: remove view engine app-shell generation (1c2aeeb)

App-shell builder now only supports generation using Ivy

@angular-devkit/build-angular: remove deprecated View Engine support for i18n extraction (012700a)

Removal of View Engine support from i18n extraction With the removal of the deprecated View Engine compiler in Angular version 12 for applications, the `ng extract-i18n` command will now always use the Ivy compiler. The `--ivy` option has also been removed as Ivy-based extraction is always enabled. The default behavior for applications is to use the Ivy compiler for building/extraction and no changes are required for these applications. For applications that have opted-out of Ivy, a warning will be shown and Ivy-based extraction will be attempted. If the extraction fails, the application may need to be updated to become Ivy compatible.

Special Thanks

Charles Lyding, Alan Agius, Renovate Bot, George Kalpakas, Joey Perrott, Keen Yee Liau

v12.0.0-next.6 (2021-03-24)

Commits

@angular-devkit/build-angular (0.1200.0-next.6)

Commit Description Notes
ensure output directory is present before writing stats JSON

@schematics/angular (12.0.0-next.6)

Commit Description Notes
add production by default optional migration
update new workspaces to use Karma 6.3
remove leftover workspace tslint config


Special Thanks

Renovate Bot, Alan Agius, Charles Lyding, Keen Yee Liau

v12.0.0-next.5 (2021-03-18)

Commits

@angular-devkit/build-angular (0.1200.0-next.5)

Commit Description Notes
expose legacy-migrate message format
integrate JIT mode linker [Closes #20281]
display correct filename for bundles that are ES2016+
don't load an input sourcemap from file when using Babel
support writing large Webpack stat outputs
skip FESM2015 from `async` transformation
remove Webpack Stats.toJson usage in analytics plugin
remove Webpack Stats.toJson usage in karma plugin
enforce Babel not to load sourcemaps from file
disable `showCircularDependencies` by default

@angular-devkit/build-webpack (0.1200.0-next.5)

Commit Description Notes
provide output path in builder results

@angular/cli (12.0.0-next.5)

Commit Description Notes
confirm ng add action before installation
support TypeScript 4.2
remove `project` from required properties in ng-packagr schema

@ngtools/webpack (12.0.0-next.5)

Commit Description Notes
remove Webpack 5 deprecation warning in resource loader
avoid adding transitive dependencies to Webpack's dependency graph
use precalculated dependencies in unused file check

@schematics/angular (12.0.0-next.5)

Commit Description Notes
update several TypeScript compilation target (Syntax)
remove tslint and codelyzer from new projects [Closes #20105]
[Closes #18465]
remove references to the prod flag
fix youtube icon margin
only show legacy browsers deprecation warning when option is used
remove Native value from viewEncapsulation option
use title for svg on home page

Breaking Changes

@angular/cli: confirm ng add action before installation (985dc1a)

The `ng add` command will now ask the user to confirm the package and version prior to installing and executing an uninstalled package. This new behavior allows a user to abort the action if the version selected is not appropriate or if a typo occurred on the command line and an incorrect package would be installed. A `--skip-confirmation` option has been added to skip the prompt and directly install and execute the package. This option is useful in CI and non-TTY scenarios such as automated scripts.

Special Thanks

Alan Agius, Charles Lyding, Renovate Bot, Doug Parker, Cédric Exbrayat, Kristiyan Kostadinov, Mouad Ennaciri, Omar Hasan

v12.0.0-next.4 (2021-03-10)

Commits

@angular-devkit/architect (0.1200.0-next.4)

Commit Description Notes
add implementation for defaultConfiguration

@angular-devkit/build-angular (0.1200.0-next.4)

Commit Description Notes
show warning during build when project requires IE 11 support
only remove nomodule and defer attributes empty values [Closes #20207]

@angular-devkit/core (12.0.0-next.4)

Commit Description Notes
add handling for `defaultConfiguration` target definition property

@angular/cli (12.0.0-next.4)

Commit Description Notes
deprecate `--prod` command line argument
add `defaultConfiguration` property to architect schema
avoid exceptions for expected errors in architect commands
add ng-packagr builder schema in IDE schema

@ngtools/webpack (12.0.0-next.4)

Commit Description Notes
drop support for string based lazy loading

@schematics/angular (12.0.0-next.4)

Commit Description Notes
add migration to update lazy loading string syntax to use dynamic imports
add migration to remove `lazyModules` configuration option
deprecate `legacyBrowsers` application and ng-new option
production builds by default
add `additionalProperties` to all schemas

Breaking Changes

@angular-devkit/build-angular: remove deprecated `lazyModules` option (8d66912)

Server and Browser builder `lazyModules` option has been removed without replacement.

@ngtools/webpack: drop support for string based lazy loading (0dc7327)

With this change we drop support for string based lazy loading `./lazy.module#LazyModule` use dynamic imports instead.

The following options which were used to support the above syntax were removed without replacement.

  • discoverLazyRoutes
  • additionalLazyModules
  • additionalLazyModuleResources
  • contextElementDependencyConstructor

Special Thanks

Alan Agius, Charles Lyding, Renovate Bot, Joey Perrott

v12.0.0-next.3 (2021-03-03)

Commits

@angular-devkit/build-angular (0.1200.0-next.3)

Commit Description Notes
enable inlineCritical by default
remove left-over `experimentalRollupPass` option
inline critical font-face rules when using crittical css inlining

@schematics/angular (12.0.0-next.3)

Commit Description Notes
update ng new links

Breaking Changes

@angular-devkit/build-angular: enable inlineCritical by default (aa3ea88)

Critical CSS inlining is now enabled by default. If you wish to turn this off set `inlineCritical` to `false`.

See: https://angular.dev/reference/configs/workspace-config#optimization-configuration


Special Thanks

Renovate Bot, Charles Lyding, Alan Agius, Keen Yee Liau, Douglas Parker, twerske

v12.0.0-next.2 (2021-02-24)

Commits

@angular-devkit/build-angular (0.1200.0-next.2)

Commit Description Notes
only show index and service worker status once
disable declaration and declarationMap [Closes #20103]

@angular/cli (12.0.0-next.2)

Commit Description Notes
remove npm 7 incompatibility notification

@schematics/angular (12.0.0-next.2)

Commit Description Notes
update new project dependencies version [Closes #20106]
augment `universal` schematics to import `platform-server` shims [Closes #40559]
add migration to remove emitDecoratorMetadata


Special Thanks

Renovate Bot, Charles Lyding, Alan Agius, Doug Parker, Joey Perrott, Jefiozie, George Kalpakas, Keen Yee Liau

v12.0.0-next.1 (2021-02-17)

Commits

@angular-devkit/build-angular (0.1200.0-next.1)

Commit Description Notes
drop support for ng-packagr version 11
drop support for karma version 5.2

@angular-devkit/build-optimizer (0.1200.0-next.1)

Commit Description Notes
support Webpack 5

@angular/cli (12.0.0-next.1)

Commit Description Notes
support update migration packages with no entry points [Closes #20032]
ensure odd number Node.js version message is a warning
improve error logging when resolving update migrations

@ngtools/webpack (12.0.0-next.1)

Commit Description Notes
support Webpack 5
normalize paths when pruning AOT rebuild requests

@schematics/angular (12.0.0-next.1)

Commit Description Notes
add migration to use new zone.js entry-points
use new zone.js entry-points

Breaking Changes

@angular-devkit/build-angular: drop support for zone.js 0.10 (f309516)

Minimum supported `zone.js` version is `0.11.4`

@angular-devkit/build-angular: drop support for ng-packagr version 11 (44e75be)

Minimum supported `ng-packagr` version is `12.0.0-next`

@angular-devkit/build-angular: drop support for karma version 5.2 (fa5cf53)

Minimum supported `karma` version is `6.0.0`

Special Thanks

Renovate Bot, Alan Agius, Charles Lyding, Keen Yee Liau, Aravind V Nair

v12.0.0-next.0 (2021-02-11)

Commits

@angular-devkit/build-angular (0.1200.0-next.0)

Commit Description Notes
add `postcss-preset-env` with stage 3 features
ensure i18n extraction sourcemaps are fully configured
the root Tailwind configuration file is always picked
fixed ignoring of karma plugins config [Closes #19993]

@angular-devkit/core (12.0.0-next.0)

Commit Description Notes
ensure job input values are processed in order

@angular/cli (12.0.0-next.0)

Commit Description Notes
update NPM 7 guidance

@ngtools/webpack (12.0.0-next.0)

Commit Description Notes
reduce overhead of Angular compiler rebuild requests

@schematics/angular (12.0.0-next.0)

Commit Description Notes
strict mode by default
add migration to remove deprecated options from 'angular.json'
only update removed v12 options in migration

Breaking Changes

set minimum Node.js version to 12.13 (d1f6169)

Node.js version 10 will become EOL on 2021-04-30. Angular CLI 12 will require Node.js 12.13+ or 14.15+. Node.js 12.13 and 14.15 are the first LTS releases for their respective majors.

@angular-devkit/build-angular: remove file-loader dependency (6732294)

The unsupported/undocumented, Webpack specific functionality to `import`/`require()` a non-module file has been removed.

Before

import img from './images/asset.png';

After

<img src="images/asset.png" />

Special Thanks

Renovate Bot, Charles Lyding, Alan Agius, Doug Parker, Bruno Baia, Amadou Sall, S. Iftekhar Hossain


Note: For release notes prior to this CHANGELOG see release notes.