fix(query-devtools): bump bundled @kobalte/utils to 0.9.3 #12726
main fromrefs/pull/12726/head·opened View on GitHub🎯 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 TanStack/query#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.
- 1
tanstack-source added labelsbug
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/utilsto 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.mdThe changeset declares a patch release and describes the bundled @kobalte/utilsupdate. 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 to3a586· assessed changes only-
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks:
2 · 2-
Failed checks: 2 inconclusiveCheck name Status Explanation Resolution Linked Issues check [ #12581] The issue asks that the published Devtools bundle stop retaining removed transition targets. The bundle embedstransitionsByElementand@kobalte/utils0.9.2. The PR description and the PR…Provide independent evidence that the reviewed head resolves @kobalte/utilsto 0.9.3 for the@tanstack/query-devtoolsbuild. Options include the resolved version inpnpm-lock.yamlor a build artifact that shows the bundled utils versi…Out of Scope Changes check The visible change set consists of one patch changeset for @tanstack/query-devtools. It states the bundled@kobalte/utilsupdate to 0.9.3. This change directly relates to the linked issue and is i…Confirm from independent evidence that the pnpm-lock.yamldiff changes only the@kobalte/utilsresolution and its dependency entries. A reviewer with access to the excluded file can confirm this. Changes to other packages would need sep… Passed checks: 2 passed-
Check name Status Explanation Title check The title names the change: a fix in query-devtools that bumps the bundled @kobalte/utilsto 0.9.3. The changeset and PR objectives describe this same dependency update, so the title matches the main …Description check The description covers the change and its motivation: a dependency bump of @kobalte/utilsto 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/utilsto 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/utilsto 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 embedstransitionsByElementand@kobalte/utils0.9.2. The PR description and the PR summary state that the lockfile now resolves@kobalte/utils0.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 inpnpm-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/utils0.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/utilsto 0.9.3 for the@tanstack/query-devtoolsbuild. Options include the resolved version inpnpm-lock.yamlor 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 Devtoolspackage.jsonif 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/utilsupdate to 0.9.3. This change directly relates to the linked issue and is in scope. The main change, the dependency bump, is inpnpm-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/utilsand related resolution entries. No unrelated visible change was found.Resolution
Confirm from independent evidence that the
pnpm-lock.yamldiff changes only the@kobalte/utilsresolution 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.
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: TanStack/query
- Branch: main
- File: .coderabbit.yaml
- Commit: e7916a9
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
9be01b79-16a8-41ae-8888-5f94c0b0ae4d
Commits-
Reviewing files that changed from the base of the PR and between e7916a9e2eb695531fe3aa7bc9983e3bc734889a and 3a5862141b35bc58130ac4afc46d8fc0f2d53684.
Files ignored due to path filters: 1-
pnpm-lock.yamlis 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.
-
-
Sign in to join this conversation.
🦋 Changeset detected#
Latest commit: 3a5862141b35bc58130ac4afc46d8fc0f2d53684
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 26 packages
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