Skip to content

chore(deps): bump @angular/core from 19.2.10 to 20.0.0 #250

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

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 29, 2025

Bumps @angular/core from 19.2.10 to 20.0.0.

Release notes

Sourced from @​angular/core's releases.

20.0.0

Blog post: https://blog.angular.dev/announcing-angular-v20-b5c9c06cf301

common

Commit Description
feat - 2e5362a469 accept undefined inputs in NgTemplateOutlet (#61404)
feat - b7d3f3dbfc Allow passing ScrollOptions to ViewportScroller (#61002)
feat - 74cceba587 throw error for suspicious date patterns (#59798)
fix - 255c79e048 cleanup updateLatestValue if view is destroyed before promise resolves (#58041)
fix - 739cadae62 Handle errors in async pipe subscriptions (#60057)
fix - cbbea70fa3 issue a warning instead of an error when NgOptimizedImage exceeds the preload limit (#60879)
fix - fc4a56d5c5 rename httpResource function in factory (#60022)
fix - 785a1110e6 resolve host binding type issues (#60481)

compiler

Commit Description
feat - 7a971766dc add extended diagnostic for uninvoked track function on @for blocks (#60495)
feat - f2d5cf7edd support exponentiation operator in templates (#59894)
feat - 51b8ff23ce support tagged template literals in expressions (#59947)
feat - 1b8e7ab9fe support the in keyword in Binary expression (#58432)
feat - 0361c2d81f support void operator in templates (#59894)
fix - 8b990a31c3 error if rawText isn't estimated correctly (#60529)
fix - 4fe489f1b4 exponentiation should be right-to-left associative (#60101)
fix - ef1fd137a9 incorrect spans for template literals (#60323)
fix - e0d378d20e incorrectly handling let declarations inside i18n (#60512)
fix - b70ad3c4e6 proper handling of typeof, void in RecursiveAstVisitor (#60101)
fix - e25e6c95a2 remove TypeScript from linker (#61635)
perf - 768239a89c reduce allocations for let declarations only used in the same view (#60512)

compiler-cli

Commit Description
feat - bec1610da2 add extended diagnostic for invalid nullish coalescing (#60279)
feat - c889382a20 detect missing structural directive imports (#59443)
feat - 1971e57a45 support type checking of host bindings (#60267)
fix - 9ec9c7e1b8 avoid fatal diagnostics for invalid module schemas (#61220)
fix - a1cacc5b17 avoid fatal diagnostics for missing template files (#58673)
fix - 1e6faad479 correctly parse event name in HostListener (#60561)
fix - ffb19e64f1 preserve required parens for nullish coalescing (#60060)
fix - 7c9b4892e9 preserve required parens in exponentiation expressions (#60101)
fix - 7e03af898e set correct target when type checking events (#60561)
fix - 2d51a203dc wrong event name for host listener decorators (#60460)

core

Commit Description
feat - 22d3f0562c add hook for producer creation side effects (#60333)
feat - fe57332fc5 add input binding support to dynamically-created components (#60137)
feat - 65adb3024d Add provider which reports unhandled errors on window to ErrorHandler (#60704)
feat - b154fb3911 add support for two-way bindings on dynamically-created components (#60342)
feat - 82aa2c1a52 add the ability to apply directives to dynamically-created components (#60137)

... (truncated)

Changelog

Sourced from @​angular/core's changelog.

20.0.0 (2025-05-28)

Blog post: https://blog.angular.dev/announcing-angular-v20-b5c9c06cf301

Breaking Changes

common

  • Using the Y formatter (week-numbering year) without also including w (week number) is now detected as suspicious date pattern, as y is typically intended.
  • AsyncPipe now directly catches unhandled errors in subscriptions and promises and reports them to the application's ErrorHandler. For Zone-based applications, these errors would have been caught by ZoneJS and reported to ErrorHandler so the result is generally the same. The change to the exact mechanism for reporting can result in differences in test environments that will require test updates.

compiler

  • 'in' in an expression now refers to the operator

  • void in an expression now refers to the operator

    Previously an expression in the template like {{void}} referred to a property on the component class. After this change it now refers to the void operator, which would make the above example invalid. If you have existing expressions that need to refer to a property named void, change the expression to use this.void instead: {{this.void}}.

core

  • TypeScript versions less than 5.8 are no longer supported.

  • the TestBed.flushEffects() was removed - use the TestBed.tick() instead.

  • provideExperimentalCheckNoChangesForDebug has several breaking changes:

    • It is renamed to provideCheckNoChangesConfig
    • The behavior applies to all checkNoChanges runs
    • The useNgZoneOnStable option is removed. This wasn't found to be generally more useful than interval
  • provideExperimentalZonelessChangeDetection is renamed to provideZonelessChangeDetection as it is now "Developer Preview" rather than "Experimental".

    • InjectFlags has been removed.
    • inject no longer accepts InjectFlags.
    • Injector.get no longer accepts InjectFlags.
    • EnvironmentInjector.get no longer accepts InjectFlags.
    • TestBed.get no longer accepts InjectFlags.
    • TestBed.inject no longer accepts InjectFlags.
    • TestBed.get has been removed. Use TestBed.inject instead.
  • afterRender was renamed to afterEveryRender.

    • Angular no longer supports Node.js v18.
    • Node.js versions 22.0 to 22.10 are also no longer supported.

    Before upgrading to Angular v20, ensure the Node.js version is at least 20.11.1. For the full list of supported versions, visit: https://angular.dev/reference/versions

  • PendingTasks.run no longer returns the result of the

... (truncated)

Commits
  • 925a41c Revert "fix(core): call DestroyRef on destroy callback if view is destroyed...
  • 833c69b refactor(platform-browser): replace isPlatformServer with ngServerMode (#...
  • eceacbc fix(migrations): preserve comments when removing unused imports (#61674)
  • 117e570 refactor(core): replace propertyInterpolateX with property (#61639)
  • d1ed9ac refactor(core): simplify single interpolations (#61639)
  • 6409e58 refactor(core): replace classMapInterpolateX with classMap (#61639)
  • e64141f refactor(core): replace styleMapInterpolateX with styleMap (#61639)
  • 6b60a88 refactor(core): replace stylePropInterpolateX with styleProp (#61639)
  • 968bbe9 build: migrate platform-browser and platform-browser-dynamic package to use r...
  • 5bdd291 Revert "fix(core): Testing should not throw when Zone does not patch test FW ...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core) from 19.2.10 to 20.0.0.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/20.0.0/packages/core)

---
updated-dependencies:
- dependency-name: "@angular/core"
  dependency-version: 20.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 29, 2025
Copy link

coderabbitai bot commented May 29, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Join our Discord community for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 5, 2025

Superseded by #256.

@dependabot dependabot bot closed this Jun 5, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/angular/core-20.0.0 branch June 5, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants