Skip to content

fix(query-devtools): bump bundled @kobalte/utils to 0.9.3 - #12726

Open
planc1k wants to merge 1 commit into
TanStack:mainfrom
planc1k:fix/devtools-kobalte-retention
Open

planc1k wants to merge 1 commit into
TanStack:mainfrom
planc1k:fix/devtools-kobalte-retention

Conversation

@planc1k

@planc1k planc1k commented Dec 1, 2026 •

Copy link
Copy Markdown

🎯 Changes

Devtools bundles @kobalte/utils, so users need a TanStack release to pick up the fix. In 0.9.2, Kobalte held on to removed elements whose transitionend event never bubbled up. The existing dependency range lets the lockfile pick up 0.9.3, which drops those references when the elements are removed.

Closes #12581.

No regression test here since the change is a dependency bump. The fix and its regression tests are in Kobalte #774.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested code changes locally with pnpm run test:pr, or these tests do not apply to this pull request.
  • I have followed the AI contribution policy and fully understand the code in this pull request, including any code generated with AI assistance.

Ran pnpm run test:pr. Four Astro tasks (build and type checks for solid-ssr-astro and solid-astro-7) exited immediately because my local Node (22.22.3) is below Astro’s minimum (22.23.4). The same four tasks failed the same way on unmodified upstream/main. Some Next.js example builds failed on the first run and passed on rerun. Nx flagged 10 tasks as flaky.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

Preview CI bundle-size comparison is pending.

Summary by CodeRabbit

  • Bug Fixes
    • Resolved an issue where removed transition targets could remain in memory. They are now released after removal, helping prevent unnecessary memory retention.

The devtools bundle embeds @kobalte/utils. Version 0.9.2 keeps elements in
its global transition registry when their transitionend event does not
bubble to the body, so removed elements could not be garbage collected.
0.9.3 releases detached elements.

Fixes TanStack#12581
@changeset-bot

changeset-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3a58621

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

This PR includes changesets to release 26 packages
Name Type
@tanstack/query-devtools Patch
@tanstack/angular-query-devtools Patch
@tanstack/preact-query-devtools Patch
@tanstack/react-query-devtools Patch
@tanstack/solid-query-devtools Patch
@tanstack/svelte-query-devtools Patch
@tanstack/vue-query-devtools Patch
@tanstack/angular-query-persist-client Patch
@tanstack/angular-query Patch
@tanstack/eslint-plugin-query Patch
@tanstack/preact-query-persist-client Patch
@tanstack/preact-query Patch
@tanstack/query-async-storage-persister Patch
@tanstack/query-broadcast-client-experimental Patch
@tanstack/query-core Patch
@tanstack/query-persist-client-core Patch
@tanstack/query-sync-storage-persister Patch
@tanstack/react-query-next-experimental Patch
@tanstack/react-query-persist-client Patch
@tanstack/react-query Patch
@tanstack/solid-query-persist-client Patch
@tanstack/solid-query Patch
@tanstack/vue-query Patch
@tanstack/svelte-query-persist-client Patch
@tanstack/svelte-query Patch
@tanstack/lit-query Patch

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

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The changeset declares a patch release for @tanstack/query-devtools. It describes updating bundled @kobalte/utils to 0.9.3 and states that removed transition targets are no longer retained in memory.

Changes: Devtools release declaration

Layer / File(s) Summary
Patch release declaration
.changeset/devtools-kobalte-transition-retention.md
The changeset declares a patch release and describes the bundled @kobalte/utils update. It states that removed transition targets are no longer retained in memory.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other · Severity of issue fixed: Medium

Suggested reviewers: tkdodo

Merge Risk: Minimal · up to 3a586 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive [#12581] The issue asks that the published Devtools bundle stop retaining removed transition targets. The bundle embeds transitionsByElement and @kobalte/utils 0.9.2. The PR description and the PR… Provide independent evidence that the reviewed head resolves @kobalte/utils to 0.9.3 for the @tanstack/query-devtools build. Options include the resolved version in pnpm-lock.yaml or a build artifact that shows the bundled utils versi…
Out of Scope Changes check Inconclusive The visible change set consists of one patch changeset for @tanstack/query-devtools. It states the bundled @kobalte/utils update to 0.9.3. This change directly relates to the linked issue and is i… Confirm from independent evidence that the pnpm-lock.yaml diff changes only the @kobalte/utils resolution and its dependency entries. A reviewer with access to the excluded file can confirm this. Changes to other packages would need sep…
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title names the change: a fix in query-devtools that bumps the bundled @kobalte/utils to 0.9.3. The changeset and PR objectives describe this same dependency update, so the title matches the main …
Description check Passed The description covers the change and its motivation: a dependency bump of @kobalte/utils to 0.9.3 so Devtools users receive Kobalte's fix. It links the closed issue (#12581) and the upstream fix/test…
Full details: Title check

Explanation

The title names the change: a fix in query-devtools that bumps the bundled @kobalte/utils to 0.9.3. The changeset and PR objectives describe this same dependency update, so the title matches the main change. It follows the conventional commit style and is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description covers the change and its motivation: a dependency bump of @kobalte/utils to 0.9.3 so Devtools users receive Kobalte's fix. It links the closed issue (#12581) and the upstream fix/tests in Kobalte #774, and explains why no regression test is added. The checklist is completed, and the author reports local test results, including environment failures that also occur on upstream/main. The Release Impact section is marked with a changeset. The template's required sections are all present and substantively filled in. Minor gap: the preview CI bundle-size comparison is still pending, which the author notes.

Full details: Linked Issues check

Explanation

[#12581] The issue asks that the published Devtools bundle stop retaining removed transition targets. The bundle embeds transitionsByElement and @kobalte/utils 0.9.2. The PR description and the PR summary state that the lockfile now resolves @kobalte/utils 0.9.3 within the existing dependency range. The only visible non-excluded change is .changeset/devtools-kobalte-transition-retention.md, a patch changeset for @tanstack/query-devtools. The version bump itself lives in pnpm-lock.yaml, which is listed in ignored_files under the rule !**/pnpm-lock.yaml. The contents of that file were not reviewed. The review therefore cannot confirm from source that the lockfile resolves @kobalte/utils 0.9.3 or that the Devtools build embeds that version. The Kobalte fix and its regression tests are in upstream Kobalte #774, outside this repository. The remaining request, a Devtools release, is release coordination and is non-coding. No regression test is in this PR, and the author explains why.

Resolution

Provide independent evidence that the reviewed head resolves @kobalte/utils to 0.9.3 for the @tanstack/query-devtools build. Options include the resolved version in pnpm-lock.yaml or a build artifact that shows the bundled utils version. The lockfile is excluded from this review, so this evidence must come from outside the excluded file. Confirm the package range in the Devtools package.json if it is also relevant.

Full details: Out of Scope Changes check

Explanation

The visible change set consists of one patch changeset for @tanstack/query-devtools. It states the bundled @kobalte/utils update to 0.9.3. This change directly relates to the linked issue and is in scope. The main change, the dependency bump, is in pnpm-lock.yaml. That file is excluded from review by the rule !**/pnpm-lock.yaml. Its contents cannot be read, so this review cannot confirm that the lockfile change touches only @kobalte/utils and related resolution entries. No unrelated visible change was found.

Resolution

Confirm from independent evidence that the pnpm-lock.yaml diff changes only the @kobalte/utils resolution and its dependency entries. A reviewer with access to the excluded file can confirm this. Changes to other packages would need separate justification.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between e7916a9 and 3a58621.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 1

  • .changeset/devtools-kobalte-transition-retention.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

This branch has not been deployed

No deployments
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.

React Query Devtools retains detached transition targets through bundled Kobalte registry

1 participant