Skip to content

Releases: angular/angular-cli

v14.2.6

12 Oct 16:33
Compare
Choose a tag to compare

14.2.6 (2022-10-12)

@angular/cli

Commit Description
fix - 1c9cf594f handle missing which binary in path
fix - 28b2cd18e skip downloading temp CLI when running ng update without package names

@angular-devkit/core

Commit Description
fix - ad6928184 project extension warning message should identify concerned project

Special Thanks

AgentEnder and Alan Agius

v15.0.0-next.4

06 Oct 01:47
Compare
Choose a tag to compare
v15.0.0-next.4 Pre-release
Pre-release

15.0.0-next.4 (2022-10-05)

Breaking Changes

@angular/cli

  • Node.js versions older than 14.20 are no longer supported.

@schematics/angular

Commit Description
feat - b6897dbb0 remove karma.conf.js from newly generated projects
feat - 301b5669a remove ngOnInit from component template
fix - 84e3f7727 remove empty lines

@angular/cli

Commit Description
feat - 4b623461a drop support for Node.js versions older than 14.20

@angular-devkit/build-angular

Commit Description
feat - 67324b3e5 add initial incremental code rebuilding to esbuild builder
feat - 3d94ca21b add initial watch support to esbuild-based builder
feat - 2b6029245 providing a karma config is now optional
fix - f9a2c3a12 allow both script and module sourceTypes to be localized
fix - b6df9c136 handle conditional exports in scripts and styles option
fix - 8f8e02c32 support Yarn PNP resolution in modern SASS API

@angular-devkit/schematics

Commit Description
fix - 8eb58bdbe throw more relevant error when Rule returns invalid null value

Special Thanks

Alan Agius, Brent Schmidt, Charles Lyding, CΓ©dric Exbrayat and minijus

v14.2.5

05 Oct 23:37
Compare
Choose a tag to compare

14.2.5 (2022-10-05)

@angular-devkit/schematics

Commit Description
fix - 17eb20c77 throw more relevant error when Rule returns invalid null value

Special Thanks

Alan Agius and Charles Lyding

v15.0.0-next.3

28 Sep 14:43
Compare
Choose a tag to compare
v15.0.0-next.3 Pre-release
Pre-release

15.0.0-next.3 (2022-09-28)

Breaking Changes

@angular-devkit/build-angular

  • 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.
  • require.context are no longer parsed. Webpack specific features are not supported nor guaranteed to work in the future.

@schematics/angular

Commit Description
feat - 766d4a089 add migration to remove require calls from karma builder main file
feat - 597bfea1b drop polyfills.ts file from new templates
feat - 283b564d1 remove environment files in new applications
feat - 56a1e8f9f remove test.ts file from new projects

@angular/cli

Commit Description
fix - 23c233c29 add builders and schematic names as page titles in collected analytics

@angular-devkit/build-angular

Commit Description
feat - 4ead45cab add ng-server-context when using app-shell builder
feat - c592ec584 amend polyfills option in all builders to support an array of module specifiers
feat - 05a98c029 karma builder main option is now optional
feat - 9c13fce16 remove bundleDependencies from server builder
feat - 308e3a017 switch to use Sass modern API
fix - fb5a66ae6 fix crash when Sass error occurs
refactor - f393b0928 disable requireContext parsing

Special Thanks

Alan Agius, Jason Bedard and Paul Gschwendtner

v14.2.4

28 Sep 10:16
Compare
Choose a tag to compare

14.2.4 (2022-09-28)

@angular/cli

Commit Description
fix - 05b18f4e4 add builders and schematic names as page titles in collected analytics

Special Thanks

Alan Agius, Jason Bedard and Paul Gschwendtner

v15.0.0-next.2

21 Sep 22:46
Compare
Choose a tag to compare
v15.0.0-next.2 Pre-release
Pre-release

15.0.0-next.2 (2022-09-21)

Breaking Changes

@angular-devkit/build-angular

  • Internally the Angular CLI now always sets 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.
  • 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+
  • 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.

@schematics/angular

Commit Description
feat - 1c21e470c enable error on unknown properties and elements in tests

@angular-devkit/build-angular

Commit Description
feat - 1c527a9da add esbuild-based builder initial support for fileReplacements
feat - 15d3fc6dc export @angular/platform-server symbols in server bundle
feat - 1e5d4a750 use Browserslist to determine ECMA output
refactor - 12931ba8c remove deprecated ES5 support
refactor - 2ba44a433 remove support for Stylus

@angular-devkit/core

Commit Description
fix - ea4c0aa2e throw error when project has missing root property

Special Thanks

Alan Agius, Charles Lyding, CΓ©dric Exbrayat, Doug Parker, Jason Bedard and Paul Gschwendtner

v15.0.0-next.1

15 Sep 19:59
Compare
Choose a tag to compare
v15.0.0-next.1 Pre-release
Pre-release

15.0.0-next.1 (2022-09-15)

Breaking Changes

@angular-devkit/build-angular

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

@schematics/angular

Commit Description
feat - 9beb878e2 remove Browserslist configuration files from projects

@angular-devkit/build-angular

Commit Description
fix - 4f8a3d258 correctly display error messages that contain "at" text.
fix - 2021e66a1 watch symbolic links
refactor - 7f1017e60 remove old bundleDependencies enum logic

@ngtools/webpack

Commit Description
perf - 4fa8392a1 avoid bootstrap conversion AST traversal where possible

Special Thanks

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

v14.2.3

15 Sep 18:39
Compare
Choose a tag to compare

14.2.3 (2022-09-15)

@angular-devkit/build-angular

Commit Description
fix - e7e0cb78f correctly display error messages that contain "at" text.
fix - 4756d7e06 watch symbolic links

@ngtools/webpack

Commit Description
perf - 1e3ecbdb1 avoid bootstrap conversion AST traversal where possible

Special Thanks

Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott

v15.0.0-next.0

08 Sep 07:53
Compare
Choose a tag to compare
v15.0.0-next.0 Pre-release
Pre-release

15.0.0-next.0 (2022-09-08)

Breaking Changes

@angular/cli

  • 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.

@schematics/angular

Commit Description
fix - 57d93fb7d mark project as required option
refactor - 69b221498 remove deprecated appDir option

@angular/cli

Commit Description
refactor - 774d349b7 remove deprecated path handler

@angular-devkit/build-angular

Commit Description
perf - feb06753d use esbuild-based builder to directly downlevel for await...of

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Ruslan Lekhman and angular-robot[bot]

v14.2.2

08 Sep 07:28
Compare
Choose a tag to compare

14.2.2 (2022-09-08)

@schematics/angular

Commit Description
fix - 6bfd6a7fb update minimum Angular version to 14.2

@angular/cli

Commit Description
fix - 5405a9b3b favor non deprecated packages during update

@angular-devkit/build-angular

Commit Description
fix - 2b00bca61 allow esbuild-based builder to use SVG Angular templates
fix - 45c95e1bf change service worker errors to compilation errors
fix - ecc014d66 handle service-worker serving with localize in dev-server
fix - 39ea128c1 handling of @media queries inside css layers
fix - 17b7e1bdf issue warning when using deprecated tilde imports
fix - 3afd784f1 watch index file when running build in watch mode

Special Thanks

Alan Agius, Charles Lyding, Jason Bedard and Joey Perrott