yarn @angular-devkit/build-angular 14.0.0-next.7
v14.0.0-next.7

latest releases: 18.0.0-rc.1, 18.0.0-rc.0, 18.0.0-next.5...
2 years ago

14.0.0-next.7 (2022-03-30)

Breaking Changes

@angular-devkit/build-angular

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

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.

@schematics/angular

Commit Description
feat - e49220fba add migratiom to remove defaultProject in workspace config
fix - 09a71bab6 Consolidated setup with a single beforeEach()
fix - a5e99762e fix extra comma added when use --change-detection=onPush and --style=none to generate a component

@angular/cli

Commit Description
feat - e5bf35ea3 add ng cache command
feat - 366cabc66 add support for multiple schematics collections
feat - 036327e9c deprecated defaultProject option
fix - 8e66c9188 ng g show descrption from collection.json if not present in schema.json
fix - 09f8659ce display package manager during ng update
fix - 5a8bdeb43 hide private schematics from ng g help output
fix - 8a396de6a print entire config when no positional args are provided to ng config
fix - efc3c3225 remove analytics prompt postinstall script

@angular-devkit/build-angular

Commit Description
fix - 371da23be add node_modules prefix to excludes RegExp
fix - 2ab77429b allow Workers in Stackblitz
fix - fac9cca66 don't override asset info when updating assets
fix - 966d25b55 remove unneeded JIT reflect metadata polyfill

@angular-devkit/core

Commit Description
fix - 455aeea12 add Angular CLI major version as analytics dimension
refactor - c5b3e9299 deprecate unused exception classes

@angular-devkit/schematics

Commit Description
feat - c9c781c7d add parameter to listSchematicNames to allow returning hidden schematics.

@ngtools/webpack

Commit Description
fix - 0c344259d update peer dependency to reflect TS 4.6 support

Special Thanks

Adrien Crivelli, Alan Agius, Charles Lyding, Doug Parker, Paul Gschwendtner, Tobias Speicher, alkavats1 and gauravsoni119

Don't miss a new build-angular release

NewReleases is sending notifications on new releases.