Skip to content

Update angularcli monorepo to v16 (major) - autoclosed

Olivier Heintz requested to merge renovate/major-angularcli-monorepo into demo

This MR contains the following updates:

Package Type Update Change
@angular-devkit/build-angular devDependencies major 15.1.3 -> 16.0.1
@angular/cli devDependencies major 15.1.3 -> 16.0.1

Release Notes

angular/angular-cli

v16.0.1

Compare Source

@​angular-devkit/build-angular
Commit Type Description
ed82c83fe fix avoid CommonJS warnings for relative imports with esbuild builders
3083c4eda fix avoid hash filenames for non-injected global styles/scripts
b106bc9d0 fix clean incoming index URL before processing in esbuild builder
2967705ed fix convert dev-server glob proxy entries for esbuild builder
a9d20015c fix disable runtime errors from being displayed in overlay
822b552f6 fix fix index option const value for browser-esbuild
131cd23b6 fix prevent relative import failure with Less in esbuild builder
fedcc5d92 fix properly set base dev-server path with esbuild
cb3161045 fix show error note for CSS url() tilde usage in esbuild builder
54e5000ca fix workaround for esbuild static block AOT generated code
@​angular-devkit/schematics
Commit Type Description
5a35970af fix do not generate an UpdateBuffer for created and overridden files
@​angular/pwa
Commit Type Description
70d224ca7 fix compress PWA icons

v16.0.0

Compare Source

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.

    • TypeScript 4.8 is no longer supported.
@​angular-devkit/build-angular
  • Deprecated outputPath and outputPaths from the server and browser builder have been removed from the builder output. Use outputs instead.

    Note: this change does not effect application developers.

@​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 Type Description
c2d2da41b feat add support to add service worker to standalone application
22fdd7da9 feat generate functional resolvers and guards by default
a832c2028 feat Implement a standalone flag for new applications
5ceedcb11 feat remove deprecated CanLoad option for guards
c9e84d024 feat remove generation of BrowserModule.withServerTransition
50b9e59a5 feat update app-shell schematic to support standalone applications
dc5cc893d feat Update universal schematic to support standalone applications
f98c9de80 fix add experimental message when using standalone application schematic.
a5cb46124 fix add standalone option to library library
b2ed7bd10 fix provide migration that disables build optimizer on dev server builds
ba4414b2c fix reformat app.config.ts
202e9a50f fix remove compileComponents from component test schematic
0d58f73c5 fix rename app.server.module.ts to app.module.server.ts
de6d30102 fix replace provideServerSupport with provideServerRendering
bff634fe0 fix update private Components utilities to work with standalone project structure
85fe820b0 fix use same property order in standalone AppComponent
@​angular/cli
Commit Type Description
68024234e feat remove deprecated defaultCollection from workspace configuration
d58428d3d feat remove deprecated defaultProject from workspace configuration
7cb5689e0 feat show optional migrations during update process
c29c8e18d refactor remove Node.js v14 support

Commit Type Description
5a171ddff build update to TypeScript 5 and drop support for TypeScript 4.8
@​angular-devkit/architect
Commit Type Description
48871381a fix allow registered builder teardowns to execute
@​angular-devkit/build-angular
Commit Type Description
ff5ebf9b1 feat add CSP support for inline styles
ee8013f66 feat display build output table with esbuild
0eac98f61 feat implement progress option for esbuild builder
f04859d16 feat initial autoprefixer support for CSS in esbuild builder
8c550302c feat initial development server for esbuild-based builder
52969db6b feat initial tailwindcss support for CSS in esbuild builder
ce46ecae0 feat support module resolution with less stylesheets in esbuild builder
584b51907 feat support scripts option with esbuild builder
e4883b0ee feat support SSL options with esbuild development server
290802060 feat support standalone app-shell generation
766c14698 fix add sourcemap x_google_ignoreList support for esbuild builder
cdfa7ca88 fix allow multiple polyfills with esbuild-based builder
e690b7cbd fix always enable looseEnums build optimizer rule
135ab4c36 fix avoid double sourcemap comments with esbuild dev-server
dcf60d2be fix correctly filter lazy global styles in esbuild builder
342a4ea30 fix correctly show initial files in stat table with esbuild builder
107851ae4 fix display warning when preserveWhitespaces is set in the tsconfig provided to the server builder
ff8a89cbf fix ensure all build resources are served in esbuild dev server
f76a8358e fix ensure directories are properly ignored in esbuild builder
005ba4276 fix ensure empty component styles compile with esbuild
f74151baa fix exclude @angular/platform-server/init from unsafe optimizations
f72155bc7 fix fully remove third-party sourcemaps when disabled in esbuild builder
26dced95c fix JIT support for standalone applications
4822b3ba5 fix keep esbuild server active until builder fully stops
adbf2c8a1 fix normalize long-form asset option output to relative path
67670b612 fix pass listening port in result for esbuild dev server
1a8833b21 fix provide option to run build-optimizer on server bundles
b8c9667f9 fix remove unintended files in esbuild output stats table
04274afc1 fix set public class fields as properties (#​24849)
a778fe6c2 fix show lazy files in stat table correctly with esbuild
955b493b1 fix support CSP on critical CSS link tags.
c272172c8 fix update esbuild builder complete log
0b450578a fix update list of known tailwind configuration files
759ae92aa fix update peer dependencies to support version 16
eca366a84 fix use preserveSymlinks option for tsconfigs in esbuild builder
28c27567c perf asynchronously delete output path in esbuild builder
458400b7b perf avoid unnessary iterations
a710a262a perf cache Sass in memory with esbuild watch mode
e1398d333 perf do not inline sourcemap when using vite dev-server
b2ece91b7 perf enhance Sass package resolution in esbuild builder
aae34fc02 perf fully lazy load sass in esbuild builder
9ea3e8e34 perf only import esbuild watcher when in watch mode
f88ac6fdf perf skip Angular linker in JIT mode with esbuild
a99018cd7 refactor remove deprecated outputPaths and outputPath Builder output
@​angular-devkit/core
Commit Type Description
f6624b974 feat update SchemaRegistry compile to return Promise
0ad81cdbc refactor remove deprecated exceptions
@​angular-devkit/schematics
Commit Type Description
d2ef386f4 refactor remove UpdateBuffer and rename UpdateBuffer2 to UpdateBuffer
@​ngtools/webpack
Commit Type Description
c8ac660d8 refactor remove NGCC integration

v15.2.8

Compare Source

@​angular/cli
Commit Type Description
069dcdf0c docs improve wording in doc command version description

v15.2.7

Compare Source

@​angular/cli
Commit Type Description
f4a6dac87 fix process keeps running when analytics are enabled
f9b2fb1c4 perf register CLI commands lazily
@​schematics/angular
Commit Type Description
d9aefd6da fix replace vscode launch type from pwa-chrome to chrome

v15.2.6

Compare Source

@​schematics/angular
Commit Type Description
f0b257ef4 fix ignore hidden directories when running browserlist migration

v15.2.5

Compare Source

@​angular/cli
Commit Type Description
db173d7ed fix collect tech information

Special Thanks

Alan Agius

v15.2.4

Compare Source

@​angular-devkit/build-angular
Commit Type Description
f74bfea24 fix update webpack dependency to 5.76.1

Special Thanks

Alan Agius

v15.2.3

Compare Source

@​angular-devkit/build-angular
Commit Type Description
a93680585 fix correct wrap ES2022 classes with static properties

Special Thanks

Alan Agius and Paul Gschwendtner

v15.2.2

Compare Source

@​angular-devkit/schematics-cli
Commit Type Description
dfd03aa7c fix correctly transform numbers from prompts
@​angular-devkit/build-angular
Commit Type Description
eb22f634f fix build optimizer support for non spec-compliant ES2022 class static properties

Special Thanks

Alan Agius

v15.2.1

Compare Source

@​angular-devkit/build-angular
Commit Type Description
9a5609a44 fix improve parsing of error messages

Special Thanks

Alan Agius and Paul Gschwendtner

v15.2.0

Compare Source

@​angular/cli
Commit Type Description
0f58a17c4 feat log number of files update during ng update
@​angular-devkit/schematics-cli
Commit Type Description
ecf43090d feat auto detect package manager (#​24305)
@​angular-devkit/build-angular
Commit Type Description
01b3bcf89 feat add Less stylesheet support to experimental esbuild-based builder
09af70743 feat implement node module license extraction for esbuild builder
bbc1a4f0d feat support CommonJS dependency checking in esbuild
8cf0d17fb feat support JIT compilation with esbuild
3f6769ef9 fix allow empty scripts to be optimized
421417a36 fix 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.1.6

Compare Source

@​angular/cli
Commit Type Description
3d1f48fa2 fix add set SessionEngaged in GA
df07ab113 fix convert before option in .npmrc to Date
c787cc780 fix replace os.version with os.release.
@​angular-devkit/build-angular
Commit Type Description
34a4a1bbf fix correctly copy safety-worker.js contents
88a33155d fix update the ECMA output warning message to be more actionable
384ad29c9 fix use babel default export helper in build optimizer
59aa1cdbd perf reduce rebuilt times when using the scripts option

Special Thanks

Alan Agius and Charles Lyding

v15.1.5

Compare Source

@​angular/cli
Commit Type Description
b8bbe9688 fix error if Angular compiler is used in a schematic
fabbb8a93 fix only set DebugView when NG_DEBUG is passed
@​schematics/angular
Commit Type Description
499173b5d fix remove bootstrapping wrapping in universal schematic
@​angular-devkit/build-angular
Commit Type Description
e87134fe9 fix build optimizer support for spec-compliant downlevel class properties
d80adde2f fix do not fail compilation when spec pattern does not match
11be502e7 fix fix support of Safari TP versions
14e317d85 fix load polyfills and runtime as scripts instead of modules

Special Thanks

Alan Agius, Charles Lyding, Kristiyan Kostadinov and Ricardo

v15.1.4

Compare Source

@​angular-devkit/build-angular
Commit Type Description
6c8fdfc69 fix load JavaScript bundles as modules in karma
317452e3b fix print server builder errors and warnings

Special Thanks

Alan Agius


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


  • If you want to rebase/retry this MR, check this box.

This MR has been generated by Renovate Bot.

Edited by Olivier Heintz

Merge request reports