Skip to content
Source
Sign inSign up
TanStack/query

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

Openplanc1k(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/12726/headopened View on GitHub

planc1k(GitHub profile, opens in a new tab)commented

🎯 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

    2. 🦋 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
      NameType
      @tanstack/query-devtoolsPatch
      @tanstack/angular-query-devtoolsPatch
      @tanstack/preact-query-devtoolsPatch
      @tanstack/react-query-devtoolsPatch
      @tanstack/solid-query-devtoolsPatch
      @tanstack/svelte-query-devtoolsPatch
      @tanstack/vue-query-devtoolsPatch
      @tanstack/angular-query-persist-clientPatch
      @tanstack/angular-queryPatch
      @tanstack/eslint-plugin-queryPatch
      @tanstack/preact-query-persist-clientPatch
      @tanstack/preact-queryPatch
      @tanstack/query-async-storage-persisterPatch
      @tanstack/query-broadcast-client-experimentalPatch
      @tanstack/query-corePatch
      @tanstack/query-persist-client-corePatch
      @tanstack/query-sync-storage-persisterPatch
      @tanstack/react-query-next-experimentalPatch
      @tanstack/react-query-persist-clientPatch
      @tanstack/react-queryPatch
      @tanstack/solid-query-persist-clientPatch
      @tanstack/solid-queryPatch
      @tanstack/vue-queryPatch
      @tanstack/svelte-query-persist-clientPatch
      @tanstack/svelte-queryPatch
      @tanstack/lit-queryPatch

      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

    3. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      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 nameStatusExplanationResolution
      Linked Issues checkInconclusive[#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 checkInconclusiveThe 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 nameStatusExplanation
      Title checkPassedThe 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 checkPassedThe 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 e7916a9e2eb695531fe3aa7bc9983e3bc734889a and 3a5862141b35bc58130ac4afc46d8fc0f2d53684.

      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.

Sign in to join this conversation.