Skip to content

Releases: angular/angular-cli

v15.0.1

23 Nov 16:57

Choose a tag to compare

15.0.1 (2022-11-23)

@schematics/angular

Commit Description
fix - 48426852b show warning when a TS Config is not found during migrations

@angular/cli

Commit Description
fix - eda96def4 use global version of the CLI when running ng new

@angular-devkit/build-angular

Commit Description
fix - 2af32fd3a hide loader paths in webpack warnings
fix - 19f5cc746 improve package deep import Sass index resolution in esbuild plugin
fix - 2220a907d use url function lexer to rebase Sass URLs

Special Thanks

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

v14.2.10

17 Nov 19:56

Choose a tag to compare

14.2.10 (2022-11-17)

@angular/cli

Commit Description
fix - 9ce386caf exclude @angular/localize@<10.0.0 from ng add pa… (#24152)
fix - 6446091a3 exclude @angular/material@7.x from ng add package discovery
fix - 7541e04f3 respect registry in RC when running update through yarn

@angular-devkit/build-angular

Commit Description
fix - 21cea0b42 update loader-utils to 3.2.1

Special Thanks

Alan Agius and Charles Lyding

v13.3.10

17 Nov 22:45

Choose a tag to compare

13.3.10 (2022-11-17)

@angular-devkit/build-angular

Commit Description
fix - f298ebbd5 update loader-utils to 3.2.1

Special Thanks

Alan Agius

v15.0.0

16 Nov 20:11

Choose a tag to compare

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 supported versions of Node.js are 14.20.x, 16.13.x and 18.10.x.
  • 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 unusedappDir 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

Commit Description
feat - 766d4a089 add migration to remove require calls from karma builder main file
feat - d8bff4f1e Added --project-root option to the library schematics
feat - 597bfea1b drop polyfills.ts file from new templates
feat - 1c21e470c enable error on unknown properties and elements in tests
feat - f2a0682dc generate new projects using TypeScript 4.8.2
feat - b06421d15 mark projectRoot as non hidden option in application schematic
feat - b6897dbb0 remove karma.conf.js from newly generated projects
feat - 301b5669a remove ngOnInit from component template
feat - 9beb878e2 remove Browserslist configuration files from projects
feat - 283b564d1 remove environment files in new applications
feat - 56a1e8f9f remove test.ts file from new projects
fix - 4e69e8050 add @angular/localize as type when localize package is installed
fix - 57d93fb7d mark project as required option
fix - 84e3f7727 remove empty lines
fix - 316a50d75 remove TypeScript target from universal schematic
refactor - 69b221498 remove deprecated appDir option

@angular/cli

Commit Description
feat - 4827d1b23 add support for Node.js version 18
feat - 4b623461a drop support for Node.js versions older than 14.20
fix - 3dea1fa71 add unique user id as user parameter in GA
fix - af07aa340 add workspace information as part of analytics collection
fix - 83524f625 allow ng add to find prerelease versions when CLI is prerelease
fix - 22955f245 do not collect analytics when running in non TTY mode
fix - 35e5f4278 exclude @angular/localize@<10.0.0 from ng add pa… (#24152)
fix - 1a584364e exclude @angular/material@7.x from ng add package discovery
fix - ff0382718 respect registry in RC when running update through yarn
refactor - 774d349b7 remove deprecated path handler

Commit Description
refactor - 639a3071c migrate analytics collector to use GA4
refactor - c969152de remove analytics API from core and architect

@angular-devkit/build-angular

Commit Description
feat - 4ead45cab add ng-server-context when using app-shell builder
feat - 1c527a9da add esbuild-based builder initial support for fileReplacements
feat - 67324b3e5 add initial incremental code rebuilding to esbuild builder
[feat - 3d94ca21b](https://github.com/...
Read more

v15.0.0-rc.5

15 Nov 21:57

Choose a tag to compare

v15.0.0-rc.5 Pre-release
Pre-release

15.0.0-rc.5 (2022-11-15)

@angular-devkit/build-angular

Commit Description
perf - 0fe6b3b75 add vendor chunking to server builder

Special Thanks

Alan Agius and Doug Parker

v15.0.0-rc.4

15 Nov 00:31

Choose a tag to compare

v15.0.0-rc.4 Pre-release
Pre-release

15.0.0-rc.4 (2022-11-14)

@angular/cli

Commit Description
fix - ff0382718 respect registry in RC when running update through yarn

@angular-devkit/build-angular

Commit Description
fix - 54e1c01d8 show file replacement in TS missing file error in esbuild builder
fix - fc82e3bec update browerslist package
perf - 9d0872fb5 add initial global styles incremental rebuilds with esbuild builder

Special Thanks

Alan Agius and Charles Lyding

v15.0.0-rc.3

09 Nov 10:49

Choose a tag to compare

v15.0.0-rc.3 Pre-release
Pre-release

15.0.0-rc.3 (2022-11-09)

@angular-devkit/architect

Commit Description
fix - 24770f4e7 default to failure if no builder result is provided

@angular-devkit/build-angular

Commit Description
fix - 001445982 account for package.json exports with Sass in esbuild builder
fix - 4cb27b803 avoid attempted resolve of external CSS URLs with esbuild builder
fix - f143171fd only add @angular/platform-server/init when package is installed.
fix - 7dd122ad5 rebase Sass url() values when using esbuild-based builder
fix - 0d62157a3 update sourcemaps when rebasing Sass url() functions in esbuild builder
fix - b059fc735 warn when components styles sourcemaps are not generated when styles optimization is enabled

Special Thanks

Alan Agius and Charles Lyding

v14.2.9

09 Nov 10:35

Choose a tag to compare

14.2.9 (2022-11-09)

@angular-devkit/architect

Commit Description
fix - e3e787767 default to failure if no builder result is provided

@angular-devkit/build-angular

Commit Description
fix - 12b2dc5a2 isolate zone.js usage when rendering server bundles

Special Thanks

Alan Agius and Charles Lyding

v15.0.0-rc.2

02 Nov 20:35

Choose a tag to compare

v15.0.0-rc.2 Pre-release
Pre-release

15.0.0-rc.2 (2022-11-02)

@schematics/angular

Commit Description
fix - c33cc0a7a guard schematics should include all guards (CanMatch)

@angular/cli

Commit Description
fix - 35e5f4278 exclude @angular/localize@<10.0.0 from ng add pa… (#24152)

@angular-devkit/build-angular

Commit Description
fix - 192e0e6d7 correct escaping of target warning text in esbuild builder
fix - 8b84c18ed provide workaround for V8 object spread performance defect
fix - fb4ead2ce wait during file watching to improve multi-save rebuilds for esbuild builder
perf - 9d83fb91b use Sass worker pool for Sass support in esbuild builder

Special Thanks

Alan Agius, Andrew Scott and Charles Lyding

v14.2.8

02 Nov 17:16

Choose a tag to compare

14.2.8 (2022-11-02)

@schematics/angular

Commit Description
fix - 4b0ee8ad1 guard schematics should include all guards (CanMatch)

Special Thanks

Andrew Scott