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

Update angular-cli monorepo to v17 (major) #3294

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 14, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v17.3.3

Compare Source

@​schematics/angular
Commit Type Description
a673baf5c fix Revert "fix(@​schematics/angular): rename SSR port env variable"

v17.3.2

Compare Source

@​schematics/angular
Commit Type Description
935f931ee fix rename SSR port env variable
@​angular-devkit/build-angular
Commit Type Description
c9d436000 fix Internal server error: Invalid URL when using a non localhost IP
59fba38ec fix ensure proper resolution of linked SCSS files
27dd8f208 fix service-worker references non-existent named index output
c12907d92 fix update webpack-dev-middleware to 6.1.2

v17.3.1

Compare Source

17.3.1 (2024-03-20)

@​schematics/angular
Commit Description
fix - 198ca9afc improve Sass format clarity for application style option
@​angular-devkit/build-angular
Commit Description
fix - 2809971a5 only generate server directory when SSR is enabled
fix - 3f601a14e typo in allowedHosts warning for unsupported vite options
perf - 79c44adac avoid transforming empty component stylesheets
perf - cc3167f30 reduce build times for apps with a large number of components when utilizing esbuild-based builders

v17.3.0

Compare Source

@​schematics/angular
Commit Type Description
5ab71fc92 feat update CSS/Sass import/use specifiers in application migration
@​angular-devkit/build-angular
Commit Type Description
9ca3a5450 feat add deployUrl to application builder
3821344da fix ensure proper display of build logs in the presence of warnings or errors
de2d05049 fix provide better error message when server option is required but missing

v17.2.3

Compare Source

@​angular-devkit/build-angular
Commit Type Description
7cc8261fd fix avoid implicit CSS file extensions when resolving
259ec72d5 fix avoid marking component styles as media with no output media directory
faffdfdce fix disable deployUrl when using vite dev-server

v17.2.2

Compare Source

@​angular-devkit/build-angular
Commit Type Description
3394d3cf1 fix ensure all related stylesheets are rebuilt when an import changes

v17.2.1

Compare Source

@​angular-devkit/build-angular
Commit Type Description
9e7c47b59 fix allow mts and cts file replacement
f2a2e9287 fix provide Vite client code source map when loading

v17.2.0

Compare Source

@​angular/cli
Commit Type Description
b3e206741 feat add support to bun package manager
@​schematics/angular
Commit Type Description
03e1aa790 feat add support to bun package manager
@​angular-devkit/build-angular
Commit Type Description
7f57123fd feat add define build option to application builder
f4f535653 feat add JSON build logs when using the application builder
b59f663e5 feat allow control of Vite-based development server prebundling
8f47f1e96 feat provide default and abbreviated build target support for dev-server and extract-i18n
7a12074dc feat provide option to allow automatically cleaning the terminal screen during rebuilds
7c522aa87 feat support using custom postcss configuration with application builder
476a68daa fix add output location in build stats
5e6f1a9f4 fix avoid preloading server chunks
41ea985f9 fix display server bundles in build stats
d493609d3 fix downgrade copy-webpack-plugin to workaround Node.js support issue
8d5af1d5c fix ensure correct .html served with Vite dev-server
944cbcdb1 fix limit the number of lazy chunks visible in the stats table
905e13633 fix support string as plugin option in custom postcss plugin config
@​angular-devkit/schematics
Commit Type Description
da1c38c48 fix add bun to known package managers
@​angular/create
Commit Type Description
600498f2c feat add support to bun package manager

v17.1.4

Compare Source

@​angular/cli
Commit Type Description
6d2168db9 fix prevent BOM errors in package.json during ng update
@​angular-devkit/build-angular
Commit Type Description
bf42d6df2 fix bypass Vite prebundling for absolute URL imports

v17.1.3

Compare Source

@​angular-devkit/build-angular
Commit Type Description
3de3aa170 fix allow ./ baseHref when using vite based server
17f47a3c9 fix ensure WebWorker main entry is used in output code

v17.1.2

Compare Source

@​angular-devkit/build-angular
Commit Type Description
6815f13e3 fix add required modules as externals imports
a0e306098 fix correctly handle glob negation in proxy config when using vite
235c8403a fix handle regular expressions in proxy config when using Vite
5332e5b2e fix resolve absolute output-path when using esbuild based builders
3deb0d4a1 fix return 404 for assets that are not found

v17.1.1

Compare Source

@​angular/cli
Commit Type Description
8ebb754c2 fix update regex to validate the project-name
@​schematics/angular
Commit Type Description
35ebf1efd fix retain trailing comma when adding providers to app config
@​angular-devkit/build-angular
Commit Type Description
88de1da92 fix ENOENT: no such file or directory on Windows during component rebuild
4e2586aeb fix allow package file loader option with Vite prebundling
aca1cfcda fix do not add internal CSS resources files in watch
53258f617 fix handle load event for multiple stylesheets and CSP nonces
412fe6ec6 fix pre-transform error when using vite with SSR
45dea6f44 fix provide actionable error message when server bundle is missing default export
4e2b23f03 fix update dependency vite to v5.0.12
@​angular/ssr
Commit Type Description
02d9d84c5 fix handle load event for multiple stylesheets and CSP nonces

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

17.0.10 (2024-01-10)

@​schematics/angular
Commit Description
fix - 09c32c678 retain existing EOL when adding imports
fix - a5c339eaa retain existing EOL when updating JSON files
@​angular/cli
Commit Description
fix - ed1e130da retain existing EOL when updating JSON files
@​angular-devkit/core
Commit Description
fix - 3dc4db7d7 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
5267e6055 fix handle packages with no version
@​schematics/angular
Commit Type Description
d9f7d439e fix add helper script to spawn SSR server from dist
a80926cdb fix html indentation
f7f62c9d6 fix remove downlevelIteration from tsconfig.json for new workspaces
7cb57317d fix use href property binding for links
731917cd0 fix use styleUrl
@​angular-devkit/build-angular
Commit Type Description
15dd71aba fix deleteOutputPath when using esbuild-builder
fa4d8ff31 fix add actionable error when file replacement is missing
160a91160 fix add support for vendor sourcemaps when using the dev-server
5623c193e fix cache stylesheet load errors with application builder
1a5538e0c fix disable Worker wait loop for TS/NG parallel compilation in web containers
883771946 fix do not process ssr entry-point when running ng serve
d3b549167 fix empty output directory instead of removing
596f7639a fix ensure compilation errors propagate to all bundle actions
d900a5217 fix maintain current watch files after build errors
21549bdeb fix prerender default view when no routes are defined
4c251647b fix rewire sourcemap back to original source root

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
@​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](https://github.com/angular/angular-cli/commit/419b5c1917c4

Configuration

📅 Schedule: Branch creation - "on the 2nd and 4th day instance on sunday after 9pm" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

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

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

🔕 Ignore: Close this PR and you won't be reminded about these updates 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.

@renovate
Copy link
Contributor Author

renovate bot commented May 14, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: visualization/package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: codecharta-visualization@1.124.1
npm ERR! Found: @angular/compiler-cli@16.2.12
npm ERR! node_modules/@angular/compiler-cli
npm ERR!   dev @angular/compiler-cli@"^16.2.12" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/compiler-cli@"^17.0.0" from @angular-devkit/build-angular@17.3.3
npm ERR! node_modules/@angular-devkit/build-angular
npm ERR!   dev @angular-devkit/build-angular@"^17.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! 
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2024-04-11T08_10_01_087Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-04-11T08_10_01_087Z-debug-0.log

@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 4 times, most recently from 0f5b5fb to d9a59b6 Compare May 19, 2023 08:46
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 3 times, most recently from abdefd4 to 721d858 Compare May 27, 2023 11:44
@phanlezz phanlezz added the blocked The issue or feature is blocked on another issue or PR that has to be resolved first label May 30, 2023
@phanlezz
Copy link
Collaborator

Dependent on the next angular version. Will be updated in one block.

@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 6 times, most recently from a014fa8 to 7a51909 Compare June 7, 2023 08:24
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 3 times, most recently from c25a9dc to 0fd9f85 Compare June 21, 2023 09:04
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch from 0fd9f85 to 8fb06f1 Compare June 22, 2023 12:46
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 7 times, most recently from 2efd543 to 6a46b56 Compare July 19, 2023 07:53
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 2 times, most recently from a80defc to 8050044 Compare August 3, 2023 12:17
@sonarcloud
Copy link

sonarcloud bot commented Aug 3, 2023

[CodeCharta Analysis] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.14) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 5 times, most recently from c46b783 to d27751d Compare March 22, 2024 15:20
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 7 times, most recently from 82a18ea to 419e586 Compare April 8, 2024 06:49
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch 10 times, most recently from f839fa1 to ea393cb Compare April 11, 2024 08:10
@renovate renovate bot force-pushed the renovate/major-angular-cli-monorepo branch from ea393cb to 7a2272c Compare April 11, 2024 12:15
@fritschldwg
Copy link
Contributor

@dependabot recreate

Copy link
Contributor Author

renovate bot commented Apr 11, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 17.x releases. But if you manually upgrade to 17.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/major-angular-cli-monorepo branch April 11, 2024 12:23
Copy link

sonarcloud bot commented Apr 11, 2024

Quality Gate Passed Quality Gate passed for 'CodeCharta Visualization'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Apr 11, 2024

Quality Gate Passed Quality Gate passed for 'CodeCharta Analysis'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

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.

3 participants