Skip to content

Releases: angular/angular-cli

v15.0.3

07 Dec 23:17
Compare
Choose a tag to compare

15.0.3 (2022-12-07)

@angular-devkit/build-angular

Commit Description
fix - 3d9971edb default preserve symlinks to Node.js value for esbuild
fix - 24f4b51d2 downlevel class fields with Safari <= v15 for esbuild
fix - 45afc42db downlevel class properties when targeting Safari <=v15
fix - e6461badf prevent optimization adding unsupported ECMASCript features

Special Thanks

Charles Lyding, Dominic Elm and Paul Gschwendtner

v15.1.0-next.1

30 Nov 14:39
Compare
Choose a tag to compare
v15.1.0-next.1 Pre-release
Pre-release

15.1.0-next.1 (2022-11-30)

@schematics/angular

Commit Description
feat - 9299dea64 generate functional interceptors
fix - 9b6d190f4 remove EnvironmentInjector import in functional guard spec
fix - b11d3f644 use proper variable in functional guard spec
fix - 451975f76 use proper variable in resolver functional spec

@angular-devkit/build-angular

Commit Description
fix - 012393d37 correctly set Sass quietDeps and verbose options

@ngtools/webpack

Commit Description
fix - 856720b91 elide unused type references

Special Thanks

Alan Agius, Andrew Scott, Cédric Exbrayat, Jason Bedard and Juuso Valkeejärvi

v15.0.2

30 Nov 13:58
Compare
Choose a tag to compare

15.0.2 (2022-11-30)

@angular-devkit/build-angular

Commit Description
fix - 2891d5bc9 correctly set Sass quietDeps and verbose options

@ngtools/webpack

Commit Description
fix - d9cc4b028 elide unused type references

Special Thanks

Alan Agius and Juuso Valkeejärvi

v15.1.0-next.0

23 Nov 17:38
Compare
Choose a tag to compare
v15.1.0-next.0 Pre-release
Pre-release

15.1.0-next.0 (2022-11-23)

@schematics/angular

Commit Description
feat - 6c39a162b Add schematics for generating functional router guards and resolvers
feat - 62121f89a add sideEffects:false to library package.json

@angular-devkit/build-angular

Commit Description
feat - c29df6954 add assets option to server builder
perf - 0c01532cb use worker pool for JavaScript transforms in esbuild builder

Special Thanks

Alan Agius, Andrew Scott, Charles Lyding, Doug Parker, Felix Hamann and Joey Perrott

v15.0.1

23 Nov 16:57
Compare
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
Compare
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/[email protected] 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
Compare
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
Compare
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/[email protected] 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
Compare
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
Compare
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