Skip to content

feat: add support for Angular 20 #1040

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jsaguet
Copy link

@jsaguet jsaguet commented Jul 26, 2025

🎯 Changes

This PR adds support for Angular 20.
AfterRenderPhase was removed in Angular 20 so I've updated the code to switch to the new afterNextRender API available since 18.1.0 instead.

The minimal required Angular version is now 18.1.0

Note:
Angular 18.1 requires Typescript 5.4 so I've updated the typescript version to 5.4 in every package devDependencies for consistency.

Closes #1034

✅ Checklist

  • I have followed the steps listed in the Contributing guide.
  • I have tested and linted this code locally.
  • I have generated a changeset for this PR, or this PR should not release a new version.

This is technically a breaking change but I'm guessing bumping only one package is not what's expected here.
Let me know and I'll adjust the changeset.

Copy link

changeset-bot bot commented Jul 26, 2025

🦋 Changeset detected

Latest commit: 8193130

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tanstack/angular-virtual Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This commit switches to the new afterNextRender API available since 18.1.0 to remove usage of `AfterRenderPhase` that was removed in Angular 20.

The minimal required Angular version is now 18.1.0
@jsaguet jsaguet force-pushed the feat/drop-angular-17-support branch from 71f1fda to 8193130 Compare July 26, 2025 13:25
@jsaguet jsaguet changed the title feat: support Angular 20 feat: add support for Angular 20 Jul 26, 2025
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.

Angular 20: No matching export in "node_modules/@angular/core/fesm2022/core.mjs" for import "AfterRenderPhase"
1 participant