Skip to content

[pull] main from TanStack:main#30

Merged
pull[bot] merged 9 commits intoFairyWorld:mainfrom
TanStack:main
Apr 9, 2026
Merged

[pull] main from TanStack:main#30
pull[bot] merged 9 commits intoFairyWorld:mainfrom
TanStack:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 9, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot locked and limited conversation to collaborators Apr 9, 2026
@pull pull Bot added the ⤵️ pull label Apr 9, 2026
@github-actions github-actions Bot added automated PR author detected as automated package: query-core and removed automated PR author detected as automated labels Apr 9, 2026
semimikoh and others added 2 commits April 9, 2026 09:26
* fix(query-core): use explicit undefined check for timer IDs

  Custom TimeoutProvider implementations may return 0 as a valid timer
  ID (e.g. a counter-based provider), but the existing truthy checks
  treated 0 as "no timer" and skipped clearTimeout/clearInterval. This
  left stale timers running, causing unexpected refetches and GC leaks.

  Compare against undefined instead, matching the optional `?:
  ManagedTimerId` field types.

  Fixes #10395

* chore: add changeset for #10395

---------

Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
* feat(eslint-plugin-query): add ESLint v10 to peer dependencies

* fix: bump @typescript-eslint/utils to ^8.56.0 for ESLint v10 peer support

* chore: fix lockfile

* add typescript v6 support

* Apply suggestions from code review

Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>

---------

Co-authored-by: TkDodo <office@dorfmeister.cc>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.