Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @angular-devkit/build-angular to v17 #833

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 9, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular-devkit/build-angular ^16.0.0 -> ^17.0.0 age adoption passing confidence

Release Notes

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

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.

  • Tokens are now exported from @​nguniversal/engineName/tokens
    This change fixes a regression where using these tokens in your browser app would increase the bundle size by about ~600kb.
  • Node.js version 10 will become EOL on 2021-04-30.
    Angular CLI 12 will require Node.js 12.13+ or 14.15+. Node.js 12.13 and 14.15 are the first LTS releases for their respective majors.
  • Versions of TypeScript older than 5.2 are no longer supported.
  • NodeUniversalStylesHost to NodeUniversalStylesHost
  • Deprecated @nguniversal/aspnetcore-engine, @nguniversal/hapi-engine and @nguniversal/socket-engine has been removed in favor of @nguniversal/common.
@​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.
@​nguniversal/common
  • Angular universal no longer supports Node.js versions 14.[15-19].x and 16.[10-12].x. Current supported versions of Node.js are 14.20.x, 16.13.x and 18.10.x.

  • Inlining of critical CSS is no longer enable by default. Users already on Angular version 12 and have not opted-out from using this feature are encouraged to opt-in using the inlineCriticalCss option.

    The motivation behind this change is that the package used to parse the CSS has a number of defects which can lead to unactionable error messages when updating to Angular 13 from versions priors to 12. Such errors can be seen in the following issue https://github.com/angular/angular-cli/issues/20760.

  • Support for Node.js v12 has been removed as it will become EOL on 2022-04-30. Please use Node.js v14.15 or later.

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

@​nguniversal/express-engine
  • deprecated appDir option was removed from the express-engine ng add schematic. This option was previously unused.
express-engine
  • remove all old APIs and only expose createEngine that takes main or
    mainFactory
hapi
    • The ngHapiEngine is no longer supported for Hapi v16. The RESPONSE token provided under @nguniversal/hapi-engine/tokens now uses the new ResponseToolkit, which is unavailable in Hapi v16. Updated instructions are available in the package's README
universal
  • Bootloader#serializeApplication takes a config object

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

Commit Type Description
7704d56e9 build re-introduce build.sh (#​930)
0404faff7 build set minimum Node.js version to 12.13
9ff02c508 feat add migrations for version 9 (#​1266)
4b20ee38d feat add tslib as peerDependency (#​1278)
a44d2abbf feat addded default appRoot selector from appComponent
d823bede5 feat boot nodePlatform
cf78cf459 feat bundle and build using CLI server builder
862d5ece2 feat changelog
4105fc912 feat check stable
3a6ff268a feat copy .d.ts file
b62bcb24d feat dev env
b41a3fbbf feat enable inlining of critical CSS optimizations
cf6954156 feat Http/Jsonp support
9891dbe94 feat ie env
ed8991cd7 feat latest parse5
ab81aaa34 feat log time
6c4176fe7 feat Multiple AppRoots for serverside rendering
79ec4cb6f feat Multiple AppRoots for serverside rendering
114ef3668 feat next build
79cab3833 feat ngModule lifecycle hooks
f2817408e feat ngOnInit
886e1c3aa feat ngOnRendered
62bf1c4fd feat node platform
041c9a70c feat node-platform-dynamic
8f426bf9f feat NodePlatform _cache
2e77b0b8f feat platformUniversalDynamic
972ec11e5 feat polyfils env
211099228 feat preboot
495e7f9d0 feat prod env
23fc97e91 feat remove engine restriction of >=10.13.0 <13.0.0
47d880a21 feat stripInternal api
0e93150d0 feat test env
bf73255f9 feat track async
a73850daf feat UNIVERSAL_CONFIG
346b50402 feat universal-next-prototype
29c27ea8b feat upgrade to ng2 beta
0c015eb21 feat wip UniversalModule
8976ea3cc fix add setDisabledAttribute (#​501)
a1f90cf1c fix allow cancel in stable check
7285c4652 fix correct jsonp namespace
666b8790d fix don't bundle common engine in hapi and express engine
1c4e988d2 fix don't warn ngDoCheck is noop
7927bae03 fix enableProdMode
fdd2fa656 fix include missing HammerGestureConfig
08657f922 fix ng update showing packages that do not exist in my package
c3a9e938d fix npm start
19dce9962 fix null & hidden issues (#​500)
a5dfeea98 fix preboot client
f91d1bab3 fix preboot true default config
4c5ef4705 fix proxy-doc nodeName and tagName
c3852e4f5 fix rebase typo
52172574f fix remove extractCss from ssr-dev-server builder
39fce5f16 fix renderer with false props
fc69879d2 fix reuse styles with app_id
d91c25fa8 fix set supported node version to '>=10.13.0 <13.0.0'
1e43e6c66 fix stable time end
cc2b90bd8 fix system_js_ng_module_factory_loader
7cf1b9c30 fix universal config
117b24798 fix update @types/hapi__hapi as they are incompatible with @hapi/inert
ccc2f52f9 refactor deprecate transfer http cache
1c00fd3fe refactor drop support for older TypeScript versions
285eb5c48 refactor NodeUniversalStylesHost to NodeUniversalStylesHost
2a84fe03c refactor remove deprecated engines
@​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
@​nguniversal/aspnetcore-engine
Commit Type Description
8bda04172 fix correctly set publicPath
@​nguniversal/builders
Commit Type Description
0e7dd9ac2 feat add --verbose option to SSR Dev Server
fef00f90a feat add ng-server-context for SSG pages
089793372 feat add sourcemap mapping support for dev-server
f27be1136 feat add SSL support for dev-server
2066f18a2 feat add static page generator builder using Angular SSR Clover
0481bde7e feat add support for prerendering a standalone application
6ef0de835 feat add support for proxy configuration in ssr-dev-server
89821991b feat spawn static server for build artifacts
52aa9efa6 fix add support to serve service workers
b7dbc25c3 fix address method Promise.prototype.then called on incompatible receiver error
35a477e11 fix address service worker generation failures
68b392a61 fix bundle critters in common engine.
ab4947158 fix correctly handle multiple proxies
c1383d130 fix correctly handle path normalizations on Windows
98d7837bf fix disable bundle budgets when using the dev-server
9808791e3 fix fix development mode ignored stdout message
654c23c88 fix import zone.js in worker during prerendering
6ba411cd8 fix index.original.html should be used if exists
b03a7789b fix make prerender work with large route lists
f471ad70b fix strip out newlines
@​nguniversal/common
Commit Type Description
a62d3d3be feat add ng-server-context for SSR pages
9fbdb23c5 feat add CSP support for inline styles
c4b7be3bb feat add experimental SSR project Clover
dcb1438a4 feat add ng-add schematic
78dc17dbc feat add removal notice for Clover APIs
868db00b7 feat add support for blob and arraybuffer in TransferHttpCacheModule
78cf7b7f9 feat add support for Node.js version 18
357411ddb feat disable critical CSS inlining by default
46caf56c5 feat drop support for Node.js 12
3dddb758f feat enable inlining of critical CSS by default
7e8fcecb1 feat expose common engine public api
838e478e5 feat officially support Node.js v16
010546e56 feat support re

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@codecov-commenter
Copy link

Codecov Report

Merging #833 (9e9835b) into master (e076b31) will increase coverage by 5.06%.
Report is 18 commits behind head on master.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master      #833      +/-   ##
===========================================
+ Coverage   94.93%   100.00%   +5.06%     
===========================================
  Files          34         4      -30     
  Lines         731        25     -706     
  Branches      175         0     -175     
===========================================
- Hits          694        25     -669     
+ Misses         20         0      -20     
+ Partials       17         0      -17     

see 30 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@renovate renovate bot merged commit 446ba97 into master Nov 9, 2023
3 checks passed
@renovate renovate bot deleted the renovate/major-angular-cli-monorepo branch November 9, 2023 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant