Skip to content

Releases: angular/angular-cli

v16.0.0-next.1

23 Feb 10:45
Compare
Choose a tag to compare
v16.0.0-next.1 Pre-release
Pre-release

16.0.0-next.1 (2023-02-23)

@angular-devkit/build-angular

Commit Description
fix - 759ae92aa update peer dependencies to support version 16

Special Thanks

Alan Agius

v16.0.0-next.0

22 Feb 23:15
Compare
Choose a tag to compare
v16.0.0-next.0 Pre-release
Pre-release

16.0.0-next.0 (2023-02-22)

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.

@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

Commit Description
feat - 22fdd7da9 generate functional resolvers and guards by default
feat - 5ceedcb11 remove deprecated CanLoad option for guards

@angular/cli

Commit Description
feat - 68024234e remove deprecated defaultCollection from workspace configuration
feat - d58428d3d remove deprecated defaultProject from workspace configuration
refactor - c29c8e18d remove Node.js v14 support

@angular-devkit/core

Commit Description
feat - f6624b974 update SchemaRegistry compile to return Promise
refactor - 0ad81cdbc remove deprecated exceptions

@angular-devkit/schematics

Commit Description
refactor - d2ef386f4 remove UpdateBuffer and rename UpdateBuffer2 to UpdateBuffer

@ngtools/webpack

Commit Description
refactor - c8ac660d8 remove NGCC integration

Special Thanks

Alan Agius, Charles Lyding, Cédric Exbrayat, Doug Parker and Lukas Spirig

v15.2.0

22 Feb 22:39
Compare
Choose a tag to compare

15.2.0 (2023-02-22)

@angular-devkit/schematics-cli

Commit Description
feat - ecf43090d auto detect package manager (#24305)

@angular/cli

Commit Description
feat - 0f58a17c4 log number of files update during ng update

@angular-devkit/build-angular

Commit Description
feat - 01b3bcf89 add Less stylesheet support to experimental esbuild-based builder
feat - 09af70743 implement node module license extraction for esbuild builder
feat - bbc1a4f0d support CommonJS dependency checking in esbuild
feat - 8cf0d17fb support JIT compilation with esbuild
fix - 3f6769ef9 allow empty scripts to be optimized
fix - 421417a36 avoid CommonJS warning for zone.js in esbuild

Special Thanks

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

v15.2.0-rc.0

15 Feb 20:47
Compare
Choose a tag to compare
v15.2.0-rc.0 Pre-release
Pre-release

15.2.0-rc.0 (2023-02-15)

@angular/cli

Commit Description
fix - 5f407337f add set SessionEngaged in GA
fix - 545c180e2 convert before option in .npmrc to Date
fix - 522463c42 replace os.version with os.release.

@angular-devkit/build-angular

Commit Description
fix - 421417a36 avoid CommonJS warning for zone.js in esbuild
fix - d3f255087 correctly copy safety-worker.js contents
fix - c65b026e2 update the ECMA output warning message to be more actionable
fix - 8356240dd use babel default export helper in build optimizer
perf - 1e5286326 reduce rebuilt times when using the scripts option

Special Thanks

Alan Agius and Charles Lyding

v15.1.6

15 Feb 18:54
Compare
Choose a tag to compare

15.1.6 (2023-02-15)

@angular/cli

Commit Description
fix - 3d1f48fa2 add set SessionEngaged in GA
fix - df07ab113 convert before option in .npmrc to Date
fix - c787cc780 replace os.version with os.release.

@angular-devkit/build-angular

Commit Description
fix - 34a4a1bbf correctly copy safety-worker.js contents
fix - 88a33155d update the ECMA output warning message to be more actionable
fix - 384ad29c9 use babel default export helper in build optimizer
perf - 59aa1cdbd reduce rebuilt times when using the scripts option

Special Thanks

Alan Agius and Charles Lyding

v15.2.0-next.4

08 Feb 22:59
Compare
Choose a tag to compare
v15.2.0-next.4 Pre-release
Pre-release

15.2.0-next.4 (2023-02-08)

@schematics/angular

Commit Description
fix - 88fddc050 remove bootstrapping wrapping in universal schematic

@angular/cli

Commit Description
fix - 234f265d1 error if Angular compiler is used in a schematic
fix - 7bcb19cdd only set DebugView when NG_DEBUG is passed

@angular-devkit/build-angular

Commit Description
feat - 01b3bcf89 add Less stylesheet support to experimental esbuild-based builder
feat - 8cf0d17fb support JIT compilation with esbuild
fix - bfc0faced build optimizer support for spec-compliant downlevel class properties
fix - d9c697b2b do not fail compilation when spec pattern does not match
fix - df7c7f430 fix support of Safari TP versions
fix - bf3be56db load polyfills and runtime as scripts instead of modules

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Jason Bedard, Kristiyan Kostadinov and Ricardo

v15.1.5

08 Feb 20:29
Compare
Choose a tag to compare

15.1.5 (2023-02-08)

@schematics/angular

Commit Description
fix - 499173b5d remove bootstrapping wrapping in universal schematic

@angular/cli

Commit Description
fix - b8bbe9688 error if Angular compiler is used in a schematic
fix - fabbb8a93 only set DebugView when NG_DEBUG is passed

@angular-devkit/build-angular

Commit Description
fix - e87134fe9 build optimizer support for spec-compliant downlevel class properties
fix - d80adde2f do not fail compilation when spec pattern does not match
fix - 11be502e7 fix support of Safari TP versions
fix - 14e317d85 load polyfills and runtime as scripts instead of modules

Special Thanks

Alan Agius, Charles Lyding, Kristiyan Kostadinov and Ricardo

v15.2.0-next.3

02 Feb 00:21
Compare
Choose a tag to compare
v15.2.0-next.3 Pre-release
Pre-release

15.2.0-next.3 (2023-02-01)

@angular-devkit/build-angular

Commit Description
fix - 3512a0362 load JavaScript bundles as modules in karma
fix - f35e9908c print server builder errors and warnings

Special Thanks

Alan Agius and Doug Parker

v15.1.4

01 Feb 20:04
Compare
Choose a tag to compare

15.1.4 (2023-02-01)

@angular-devkit/build-angular

Commit Description
fix - 6c8fdfc69 load JavaScript bundles as modules in karma
fix - 317452e3b print server builder errors and warnings

Special Thanks

Alan Agius

v15.2.0-next.2

25 Jan 21:28
Compare
Choose a tag to compare
v15.2.0-next.2 Pre-release
Pre-release

15.2.0-next.2 (2023-01-25)

@angular-devkit/schematics-cli

Commit Description
feat - ecf43090d auto detect package manager (#24305)

@schematics/angular

Commit Description
fix - 7b0c1ce0c update browserslist config to include last 2 Chrome version

@angular/cli

Commit Description
feat - 0f58a17c4 log number of files update during ng update
fix - b5737efae handle extended schematics when retrieving aliases

@angular-devkit/build-angular

Commit Description
fix - d19f260ba avoid undefined module path for Sass imports in esbuild
fix - 97907addf update browserslist config to include last 2 Chrome versions

@angular-devkit/core

Commit Description
fix - f6f5d7919 handle number like strings in workspace writer

Special Thanks

Alan Agius, Charles Lyding, Doug Parker and Marvin