Skip to content

Update angularcli monorepo to v17 (major)

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 16.0.1 -> 17.1.0
@angular/cli devDependencies major 16.0.1 -> 17.1.0

Release Notes

angular/angular-cli

v17.1.0

Compare Source

@​schematics/angular
Commit Type Description
b513d89b7 feat add optional migration to use application builder
a708dccff feat update SSR and application builder migration schematics to work with new outputPath
4469e481f fix do not trigger NPM install when using ---skip-install and --ssr
@​angular-devkit/build-angular
Commit Type Description
e0b274b8f feat add option to retain CSS special comments in global styles
204794c4f feat add support for --no-browsers in karma builder
4784155bd feat add wildcard option for allowedCommonJsDependencies
3b93df42d feat allow configuring loaders for custom file extensions in application builder
cc246d50e feat allow customization of output locations
15a669c1e feat allowing control of index HTML initial preload generation
47a064b14 feat emit external sourcemaps for component styles
68dae539a feat initial experimental implementation of @web/test-runner builder
f6e67df1c feat inline Google and Adobe fonts located in stylesheets
364a16b7a feat move browser-sync as optional dependency
ccba849e4 feat support keyboard command shortcuts in application dev server
329d80075 fix alllow OPTIONS requests to be proxied when using vite
49ed9a26c fix emit error when using prerender and app-shell builders with application builder
6473b0160 fix ensure all configured assets can be served by dev server
874e576b5 fix filter explicit external dependencies for Vite prebundling
2a02b1320 fix fix normalization of the application builder extensions
9906ab7b4 fix normalize asset source locations in Vite-based development server
ceffafe1a fix provide better error messages for failed file reads
6d7fdb952 fix show diagnostic messages after build stats
4e1f0e44d fix the request url "..." is outside of Vite serving allow list for all assets
bd26a18e7 fix typo in preloadInitial option description
125fb779f perf reduce TypeScript JSDoc parsing in application builder

v17.0.10

Compare Source

@​angular/cli
Commit Type Description
ed1e130da fix retain existing EOL when updating JSON files
@​schematics/angular
Commit Type Description
09c32c678 fix retain existing EOL when adding imports
a5c339eaa fix retain existing EOL when updating JSON files
@​angular-devkit/core
Commit Type Description
3dc4db7d7 fix retain existing EOL when updating workspace config

v17.0.9

Compare Source

@​angular/cli
Commit Type Description
446dfb76a fix add prerender and ssr-dev-server schemas in angular.json schema
@​angular-devkit/schematics
Commit Type Description
88d6ca4a5 fix replace template line endings with platform specific

v17.0.8

Compare Source

@​angular/cli
Commit Type Description
6dba26a0b fix ng e2e and ng lint prompt requires to hit Enter twice to proceed on Windows
0b48acc4e fix re-add -d alias for --dry-run
@​schematics/angular
Commit Type Description
99b026ede fix add missing property "buildTarget" to interface "ServeBuilderOptions"
313004311 fix do not generate standalone component when using ng generate module
@​angular-devkit/build-angular
Commit Type Description
cf11cdf6c fix add missing tailwind @screen directive in matcher
aa6c757d7 fix construct SSR request URL using server resolvedUrls
0662048d4 fix ensure empty optimized Sass stylesheets stay empty
d1923a66d fix ensure external dependencies are used by Web Worker bundling

v17.0.7

Compare Source

@​angular-devkit/build-angular
Commit Type Description
3df3e583c fix baseHref with trailing slash causes server not to be accessible without trailing slash
ef1178188 fix allow vite to serve JavaScript and TypeScript assets
385eb77d2 fix cache loading of component resources in JIT mode
4b3af73ac fix ensure browser-esbuild is used in dev server with browser builder and forceEsbuild
d1b27e53e fix ensure port 0 uses random port with Vite development server
f2f7d7c70 fix file is missing from the TypeScript compilation with JIT
7b8d6cddd fix handle updates of an npm link library from another workspace when preserveSymlinks is true
c08c78cb8 fix inlining of fonts results in jagged fonts for Windows users
930024811 fix retain symlinks to output platform directories on builds
3623fe911 fix update ESM loader to work with Node.js 18.19.0

v17.0.6

Compare Source

@​schematics/angular
Commit Type Description
da5d39471 fix enable TypeScript skipLibCheck in new workspace
@​angular-devkit/build-angular
Commit Type Description
048512874 fix app-shell generation incorrect content when using the application builder
f9e982c44 fix check namespaced Sass variables when rebasing URLs
a1e8ffa9d fix correctly align error/warning messages when spinner is active
46d88a034 fix handle watch updates on Mac OSX when using native FSEvents API
4594407ae fix improve file watching on Windows when using certain IDEs
aa9e7c615 fix normalize locale tags with Intl API when resolving in application builder
a8dbf1da2 fix watch symlink when using preserveSymlinks option
e3820cb6c perf only enable advanced optimizations with script optimizations

v17.0.5

Compare Source

Rolling back bbbe13d67 which appears to break file watching on Mac devices.

v17.0.4

Compare Source

@​schematics/angular
Commit Type Description
7a2823080 fix remove CommonModule import from standalone components
@​angular-devkit/build-angular
Commit Type Description
0634a4e40 fix avoid native realpath in application builder
22880d9cb fix correct set locale when using esbuild based builders
a0680672f fix correctly watch files when app is in a directory that starts with a dot
bbbe13d67 fix improve file watching on Windows when using certain IDEs
27e7c2e1b fix propagate localize errors to full build result
7455fdca0 fix serve assets from the provided serve-path
657a07bd6 fix treeshake unused class that use custom decorators
77474951b fix use workspace real path when not preserving symlinks

v17.0.3

Compare Source

@​angular-devkit/build-angular
Commit Type Description
450dd29a1 fix default to watching project root on Windows with application builder
8072b8574 fix ensure service worker hashes index HTML file for application builder
d99870740 perf only create one instance of postcss when needed

v17.0.2

Compare Source

@​angular-devkit/build-angular
Commit Type Description
023645185 fix always normalize AOT file reference tracker paths
3b99980bd fix emit root files when localize is enabled when using the esbuild based builders
ef3e3abb8 fix ensure watch file paths from TypeScript are normalized
d11b36fe2 fix normalize paths in ssr sourcemaps to posix when using vite
62d51383a fix only include vendor sourcemaps when using the dev-server when the option is enabled
d28ba8a73 fix remove browser-esbuild usage warning

v17.0.1

Compare Source

@​angular/cli
Commit Type Description
ed1e130da fix retain existing EOL when updating JSON files
@​schematics/angular
Commit Type Description
09c32c678 fix retain existing EOL when adding imports
a5c339eaa fix retain existing EOL when updating JSON files
@​angular-devkit/core
Commit Type Description
3dc4db7d7 fix retain existing EOL when updating workspace config

v17.0.0

Compare Source

Breaking Changes

@​schematics/angular
  • Routing is enabled by default for new applications when using ng generate application and ng new. The --no-routing command line option can be used to disable this behaviour.
  • ng g interceptor now generate a functional interceptor by default. or guard by default. To generate a class-based interceptor the --no-functional command flag should be used.
  • rootModuleClassName, rootModuleFileName and main options have been removed from the public pwa and app-shell schematics.
  • App-shell and Universal schematics deprecated unused appId option has been removed.
@​angular-devkit/build-angular
  • Node.js v16 support has been removed

    Node.js v16 is planned to be End-of-Life on 2023-09-11. Angular will stop supporting Node.js v16 in Angular v17. For Node.js release schedule details, please see: https://github.com/nodejs/release#release-schedule

@​angular-devkit/schematics
  • deprecated runExternalSchematicAsync and runSchematicAsync methods have been removed in favor of runExternalSchematic and runSchematic.

Deprecations

@​angular-devkit/build-angular
  • The browserTarget in the dev-server and extract-i18n builders have been deprecated in favor of buildTarget.
@​angular/cli
Commit Type Description
f4e7fa873 fix add @angular/ssr as part of the ng update packageGroup
1f7156b11 fix add Node.js 20 as supported version
4b9a87c90 fix ignore peer mismatch when updating @​nguniversal/builders
f66f9cf61 fix remove Node.js 16 from supported checks
@​schematics/angular
Commit Type Description
741cca73c feat add ng new --ssr
3938863b9 feat add migration to migrate from @nguniversal to @angular/ssr
dc6b6eaf6 feat add migration to replace usages of @nguniversal/builders
6979eba3c feat enable hydration when adding SSR, SSG or AppShell
1a6a139aa feat enable routing by default for new applications
ac0db6697 feat enable standalone by default in new applications
a189962a5 feat generate functional interceptors by default
ae45c4ab8 feat update ng new generated application
3f8aa9d8c feat update ng new to use the esbuild application builder based builder
03a1eaf01 fix account for new block syntax in starter template
eb0fc7434 fix add missing express REQUEST and RESPONSE tokens
ecdcff2db fix add missing icons in ng-new template
175944672 fix do not add unnecessary dependency on @angular/ssr during migration
23c4c5e42 fix enable TypeScript esModuleInterop by default for ESM compliance
d60a6e86a fix noop workspace config migration when already executed
e516a4bdb fix pass ssr option to application schematics
419b5c191 fix remove baseUrl from tsconfig.json
0368b23f2 fix use @​types/node v18
b15e82758 refactor remove deprecated appId option
@​angular-devkit/build-angular
Commit Type Description
c48982dc1 feat add buildTarget option to dev-server and extract-i18n builders
1fb0350eb feat add initial support for bundle budgets to esbuild builders
8168ae2a8 feat apply global CSS updates without a live-reload when using vite
91019bde2 feat enable localize support for SSR with application builder
3c0719bde feat initial i18n extraction support for application builder
8bce80b91 feat initial support for application Web Worker discovery with esbuild
49f07a84d feat standardize application builder output structure
c3a87a60e feat support basic web worker bundling with esbuild builders
9e425308a feat support component style budgets in esbuild builders
771e036d5 feat support deploy URL option for browser-esbuild builder
c5f3ec71f feat support i18n inlining with esbuild-based builder
fd62a9315 feat support i18n with service worker and app-shell with esbuild builders
5898f72a9 feat support namedChunks option in application builder
8f9a0d70c feat support standalone apps route discovery during prerendering
6b08efa6f fix account for arrow function IIFE
2f299fc7b fix account for styles specified as string literals and styleUrl
9994b2dde fix add a maximum rendering timeout for SSR and SSG during development
da4e19145 fix address a path concatenation on Windows
9d4d11cc4 fix allow SSR compilation to work with TS allowJs option
e3c5b91e8 fix automatically include known packages in vite prebundling
ca38ee34c fix avoid binary content in architect results with browser-esbuild
657f78292 fix avoid dev server update analysis when build fails with vite
2c33f09db fix avoid dev-server proxy rewrite normalization when invalid value
b182be8aa fix avoid in-memory prerendering ESM loader errors
0c982b993 fix avoid repeat error clear in vite development server
e41e2015b fix avoid spawning workers when there are no routes to prerender
2d2e79921 fix clean up internal Angular state during rendering SSR
83020fc32 fix clear diagnostic cache when external templates change with esbuild builders
c12f98f94 fix conditionally enable deprecated Less stylesheet JavaScript support
e10f49efa fix convert AOT compiler exceptions into diagnostics
667f43af6 fix correctly resolve polyfills when baseUrl URL is not set to root
d46fb128a fix disable dependency optimization for SSR
1b384308c fix disable parallel TS/NG compilation inside WebContainers
070da72c4 fix do not perform advanced optimizations on @angular/common/locales/global
508c7606e fix do not print Angular is running in development mode. in the server console when running prerender in dev mode
e817656f6 fix do not print Angular is running in development mode. in the server console when running prerender in dev mode
f806e3498 fix elide setClassDebugInfo calls
188a00f3e fix elide setClassMetadataAsync calls
05ce9d697 fix ensure all SSR chunks are resolved correctly with dev server
d392d653c fix ensure correct web worker URL resolution in vite dev server
1a6aa4378 fix ensure css url() prefix warnings support Sass rebasing
52f595655 fix ensure i18n locale data is included in SSR application builds
3ad028bb4 fix ensure localize polyfill and locale specifier are injected when not inlining
3e5a99c2c fix ensure recalculation of component diagnostics when template changes
fa234a418 fix ensure secondary Angular compilations are unblocked on start errors
c0c7dad77 fix ensure that externalMetadata is defined
ac7caa426 fix ensure unique internal identifiers for inline stylesheet bundling
1f73bcc49 fix ensure Web Worker code file is replaced in esbuild builders
23a722b79 fix exclude node.js built-ins from vite dependency optimization
fd2c4c324 fix expose ssr-dev-server builder in the public api
9eb58cf7a fix fail build on non bundling error when using the esbuild based builders
a3e9efe80 fix fully track Web Worker file changes in watch mode
b9505ed09 fix generate a file containing a list of prerendered routes
192a2ae6b fix handle HTTP requests to assets during prerendering
19191e32b fix handle HTTP requests to assets during SSG in dev-server
8981d8c35 fix improve sharing of TypeScript compilation state between various esbuild instances during rebuilds
5a3ae0159 fix in vite skip SSR middleware for path with extensions
f87f22d3f fix keep dependencies pre-bundling validate between builds
0da87bf1c fix limit concurrent output file writes with application builder
391ff78cb fix log number of prerendered routes in console
c46f312ad fix media files download files in vite
87425a791 fix normalize paths when invalidating stylesheet bundler
d4f37da50 fix only show changed output files in watch mode with esbuild
0d54f2d20 fix only watch used files with application builder
1f299ff2d fix prebundle dependencies for SSR when using Vite
58bd3971f fix process nested tailwind usage in application builder
60ca3c82d fix provide server baseUrl result property in Vite-based dev server
0c20cc4dc fix re-add TestBed compileComponents in schematics to support defer block testing
9453a2380 fix remove CJS usage warnings for inactionable packages
5bf7022c4 fix remove support for Node.js v16
c27ad719f fix remove unactionable error overlay suggestion from Vite-based dev server
263271fae fix resolve and load sourcemaps during prerendering to provide better stacktraces
651e3195f fix resolve and load sourcemaps when using vite dev server with prerendering and ssr
b78508fc8 fix several fixes to assets and files writes in browser-esbuild builder
c4c299bce fix silence xhr2 not ESM module warning
f7f6e97d0 fix skip checking CommonJS module descendants
c11a0f0d3 fix support custom index option paths in Vite-based dev server
6c3d7d1c1 fix update ssr option definition
4e89c3cae fix use a dash in bundle names
83b4b2567 fix use browserslist when processing global scripts in application builder
ca4d1634f fix use component style load result caching information for file watching
34947fc64 fix use incremental component style bundling only in watch mode
ec160fe4e fix warn if using partial mode with application builder
559e89159 fix Windows Node.js 20 prerendering failure (#​26186)
2cbec36c7 perf cache polyfills virtual module result
e06e95f73 perf conditionally add Angular compiler plugin to polyfills bundling
61f409cbe perf disable ahead of time prerendering in vite dev-server
01ab16c5d perf fully avoid rebuild of component stylesheets when unchanged
99d9037ee perf only perform a server build when either prerendering, app-shell or ssr is enabled
c013a95e2 perf only rebundle browser polyfills on explicit changes
e68a662bc perf only rebundle global scripts/styles on explicit changes
28d9ab88f perf only rebundle server polyfills on explicit changes
6d3942723 perf optimize server or browser only dependencies once
2e8e9d802 perf patch fetch to load assets from memory
49fe74e24 perf reduce CLI loading times by removing critters from critical path
07e2120da perf remove JavaScript transformer from server polyfills bundling
c28475d30 perf reuse esbuild generated output file hashes
59c22aa4c perf start SSR dependencies optimization before the first request
223a82f5f perf use incremental bundling for component styles in esbuild builders
4b67d2afd perf use single JS transformer instance during dev-server prebundling
@​angular-devkit/schematics
Commit Type Description
f600bbc97 refactor remove deprecated runExternalSchematicAsync and runSchematicAsync
@​angular/pwa
Commit Type Description
81e4917ce fix replace Angular logos
@​angular/ssr
Commit Type Description
dcf3fddff feat add performance profiler to CommonEngine
6224b0599 fix correctly set config URL
8d033841d fix enable prerender and ssr for all build configuration
ee0991bed fix enable performance profiler option name
@​ngtools/webpack
Commit Type Description
f43754570 feat add automated preconnects for image domains
4fe03266a fix account for arrow function IIFE
828030da0 fix account for styles specified as string literals and styleUrl
16428fc97 fix adjust static scan to find image domains in standlone components
486becdbb fix remove setClassDebugInfo calls
89f21ac8c fix remove setClassMetadataAsync calls
8899fb9e3 fix skip transforming empty inline styles in Webpack JIT compilations

v16.2.11

Compare Source

@​angular-devkit/build-angular
Commit Type Description
e0e011fc4 build update dependency vite to v4.5.1

v16.2.10

Compare Source

@​angular-devkit/build-angular
Commit Type Description
bab3672cd fix normalize exclude path

v16.2.9

Compare Source

16.2.9 (2023-11-01)
@​schematics/angular
Commit Description
fix - 75b74912b allow dash in selector before a number
@​angular-devkit/schematics
Commit Description
fix - 5f4ca4ebf running external schematics with yarn pnp

v16.2.8

Compare Source

@​angular/cli
Commit Type Description
44275601b fix remove the need to specify --migrate-only when --name is used during ng update

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
e0e011fc4 build update dependency vite to v4.5.1

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

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