Skip to content

Update angular-cli monorepo to v16 (major)

PyTech Bot requested to merge renovate/major-angular-cli-monorepo into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular-devkit/build-angular ^15.1.1 -> ^16.0.0 age adoption passing confidence
@angular/cli ~15.2.0 -> ~16.2.0 age adoption passing confidence

Release Notes

angular/angular-cli (@​angular-devkit/build-angular)

v16.2.7

Compare Source

@​schematics/angular
Commit Type Description
f1a0c3361 fix change Twitter logo to X

v16.2.6

Compare Source

@​angular-devkit/build-angular
Commit Type Description
c6ea25626 fix fully downlevel async/await when using vite dev-server with caching enabled

v16.2.5

Compare Source

@​angular-devkit/build-angular
Commit Type Description
933358186 fix do not print Angular is running in development mode. in the server console when using dev-server
493bd3906 fix update dependency postcss to v8.4.31

v16.2.4

Compare Source

@​schematics/angular
Commit Type Description
5dc7fb1a1 fix update @angular/cli version specifier to use ^

v16.2.3

Compare Source

@​angular-devkit/build-angular
Commit Type Description
39643bee1 fix correctly re-point RXJS to ESM on Windows
d8d116b31 fix several windows fixes to application builder prerendering
@​ngtools/webpack
Commit Type Description
f1195d035 fix fix recursion in webpack resolve

v16.2.2

Compare Source

@​angular-devkit/build-angular
Commit Type Description
e3a40a49a fix support dev server proxy pathRewrite field in Vite-based server

v16.2.1

Compare Source

@​angular-devkit/build-angular
Commit Type Description
221ab2483 fix display warning when using resourcesOutputPath with esbuild builder
fe752ad87 fix encode Sass package resolve directories in importer URLs
82b0f94fd fix handle HMR updates of global CSS when using Vite
6a48a11b8 fix update vite to be able to serve app-shell and SSG pages
fdb16f7cd fix use correct type for extraEntryPoints

v16.2.0

Compare Source

@​angular-devkit/build-angular
Commit Type Description
e6b377436 feat add ssr option in application builder
c05c83be7 feat add initial application builder implementation
095f5aba6 feat add initial support for server bundle generation using esbuild
cb165a75d feat add pre-rendering (SSG) and App-shell support generation to application builder
2a3fc6846 feat add preload hints based on transitive initial files
099cec758 feat add support for serving SSR with dev-server when using the application builder
449e21b3a fix correctly load dev server assets with vite 4.4.0+
f42f10135 fix ensure preload hints for external stylesheets are marked as styles
7defb3635 fix ensure that server dependencies are loaded also in ssr entrypoint
05f31bd28 fix prevent race condition in setting up sass worker pool
5048f6e82 fix Set chunk names explicitly
974748cdf perf filter postcss usage based on content in esbuild builder
61a652d91 perf inject Sass import/use directive importer information when resolving
a0a2c7aef perf only load browserslist in babel preset if needed
6bfd1800e perf use in-memory Sass module resolution cache

v16.1.8

Compare Source

Commit Type Description
7a420d338 fix build: update critters

v16.1.7

Compare Source

@​angular-devkit/build-angular
Commit Type Description
1dab4ed87 fix hot update filename suffix with .mjs

v16.1.6

Compare Source

@​angular-devkit/build-angular
Commit Type Description
20816b57f fix error during critical CSS inlining for external stylesheets

v16.1.5

Compare Source

@​angular/cli
Commit Type Description
7e91d4709 fix add zone.js to ng version output
475506822 fix throw an error when executed in a google3-context
@​angular-devkit/build-angular
Commit Type Description
07d3d8c6a fix correctly wrap CommonJS exported enums when optimizing

v16.1.4

Compare Source

@​angular-devkit/build-angular
Commit Type Description
7016cee57 fix normalize paths in loader cache with esbuild

v16.1.3

Compare Source

@​angular-devkit/build-angular
Commit Type Description
b56ab0798 fix use absolute watch paths for postcss dependency messages

v16.1.2

Compare Source

@​angular/cli
Commit Type Description
3475e0281 fix update direct semver dependencies to 7.5.3
@​angular-devkit/build-angular
Commit Type Description
8108b8c2d fix allow linker JIT support with prebundling with esbuild builder
502365037 fix use all style language watch files in esbuild builder

v16.1.1

Compare Source

@​angular-devkit/build-angular
Commit Type Description
f017fee2e fix actually disable Vite prebundling file discovery
2b4beaca2 fix experimental esbuild pipeline, add es2015 to main fields for RxJS v6 compatibility
e3c85e00e fix track postcss provided file dependencies in esbuild builder
1419fff88 fix unpin and downgrade browserslist
950a4b60f fix watch all bundler provided inputs with esbuild builder

v16.1.0

Compare Source

@​schematics/angular
Commit Type Description
b14b95990 feat add bootstrap-agnostic utilities for writing ng-add schematics
@​angular-devkit/build-angular
Commit Type Description
3ede1a2ca feat allow forcing esbuild builder with dev-server
2d141fe3b feat show estimated transfer size with esbuild builder
9aa9b5264 feat support autoprefixer/tailwind CSS with Less/Sass in esbuild builder
3d1c09b23 feat support dev-server package prebundling with esbuild builder
d8930facc feat support incremental TypeScript semantic diagnostics in esbuild builder
5cacd34a2 fix watch all TypeScript referenced files in esbuild builder
8336ad80d perf enable in-memory load result caching for stylesheets in esbuild builder

v16.0.6

Compare Source

@​angular-devkit/build-angular
Commit Type Description
eebb54cbf fix correctly handle sass imports
081b62539 fix support proxy configuration array-form in esbuild builder

v16.0.5

Compare Source

@​angular-devkit/build-angular
Commit Type Description
9817b984b fix ignore .git folder in browser-esbuild watcher
ce95d2545 fix ignore folders starting with a dot in browser-esbuild watcher

v16.0.4

Compare Source

@​angular-devkit/build-angular
Commit Type Description
5bff97d5b fix correctly set overridden compiler option
cd0247514 fix preemptively remove AOT metadata in esbuild builder

v16.0.3

Compare Source

@​angular-devkit/build-angular
Commit Type Description
1d83bb656 fix percent encode asset URLs in development server for esbuild

v16.0.2

Compare Source

@​angular-devkit/build-angular
Commit Type Description
7a3c895c8 fix attempt relative global script read first in esbuild builder
f30be2518 fix correctly generate serviceworker hashes for binary assets
117e8d001 fix normalize Vite dev-server Windows asset paths
e5c1d43de perf minor sourcemap ignorelist improvements for esbuild builder

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

Compare Source

@​angular-devkit/build-angular
Commit Type Description
05213c95b fix update dependency postcss to v8.4.31

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.

Merge request reports