Skip to content

fix(bindings): update Zustand and TanStack state dependencies - #1061

Merged
trueadm merged 15 commits into
mainfrom
jon/update-bindings-20260911
Sep 18, 2026
Merged

trueadm merged 15 commits into
mainfrom
jon/update-bindings-20260911

Conversation

@jonkwheeler

@jonkwheeler jonkwheeler commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Update the framework-neutral dependencies behind three existing bindings:

Binding Upstream update
Zustand 5.0.14 → 5.0.15
TanStack Form 1.33.2 → 1.33.5
TanStack Store 0.11.0 → 0.11.1

Clearing persisted Zustand storage now prevents pending hydration from restoring the cleared data. Deleting a TanStack Form field no longer deletes a sibling whose name shares its prefix. Both regressions fail with the previous dependencies and pass after updating.

Published React adapter source is unchanged across these releases. Keep the original copied-source and test provenance, update runtime/oracle version notes separately, and add patch changesets. AutoAnimate metadata now distinguishes its imported vanilla core from its copied Octane hook and treats other renderers as inapplicable. Existing exports and evidence snapshots remain intact.

pnpm sync requires lockfile digest updates across the parity manifests and eval corpus, plus regenerated binding documentation and CLI data. These account for most changed files.

Validation

  • pnpm format:check
  • pnpm sync
  • 263 tests across 42 files: AutoAnimate, Zustand, TanStack Form, TanStack Store, applicable SSR/pristine/differential projects, and TanStack Table/Hotkeys/Pacer consumers.
  • Zustand and TanStack Store required type-parity lanes; TanStack Form public typetests; all three updated package source typechecks.
  • Public exports for all four bindings; AutoAnimate ownership-policy validation.
  • Isolated installation of locally packed Octane and four bindings; bundled import and public behavior smoke, including both regressions; strict packed consumer typechecking for the three upgraded bindings.
  • Full repository pnpm typecheck and pnpm test were not run locally; targeted alternatives are listed above.

The optional full local React parity pass hit sandbox localhost-port restrictions. Its Alien Signals wrapper also found an uninitialized Bun executable from the scripts-disabled dependency install; installing the pinned binary and rerunning that wrapper passed. The scoped binding checks above completed successfully.

Risk / follow-ups

This is a bounded maintenance selection from the new update-bindings audit. The audit covered 108 bindings, with complete collection for 95; the selected findings were revalidated against current remote baselines before implementation and after validation. Other release updates that change copied adapters or cross major/pre-1.0 minor boundaries need separate port assessments. Existing incomplete or unverified parity remains explicit; no verification dates or copied-source pins were advanced.

An additional strict packed-source probe including AutoAnimate reports an existing .tsrx dependency-resolution issue for @formkit/auto-animate in pnpm's isolated layout. Its packed runtime smoke and workspace typecheck pass; this PR changes only AutoAnimate metadata and documentation, and leaves the source bytes unchanged.

Provenance

  • An agent produced this diff (agent-authored)

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Note

Medium Risk
Touches widely used data, form, and state layers across multiple bindings; risk is mitigated by unchanged adapter sources on several bumps and expanded regression/parity evidence, but Query/Table/Virtual behavior changes still warrant careful review.

Overview
Bumps several Octane TanStack and Zustand bindings to newer neutral cores while keeping unchanged React adapter sources on the patch releases called out in the changesets (Zustand 5.0.15, TanStack Form 1.33.5, Store 0.11.1, plus Query 5.102.8, Pacer 0.23.0, Table 9.2.4, Virtual 3.14.12). The Zustand/Form/Store updates specifically pull in upstream fixes so clearing persisted Zustand storage cannot be undone by pending hydration and deleteField no longer removes siblings whose names share a prefix.

Beyond version pins, the changesets describe adapter alignment for the larger TanStack packages (Query prefetch/tags and removed experimental prefetch API, Pacer async callback typing, Table controlled-state/legacy migration/Subscribe children, Virtual end-anchor prepends). Wagmi and tanstack-router-ssr-query are documented as declaring a shared Query core dependency for consistent QueryClient typing.

Repo hygiene fills most of the diff: pnpm sync refreshes binding status docs, CLI octane-data, parity manifest lockfile digests, and AutoAnimate ownership metadata (imported vanilla core vs copied ./react hook). CI also runs on jon/update-bindings-* PR branches, and tanstack-virtual browser build output is added to Prettier ignore.

Reviewed by Cursor Bugbot for commit abde527. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions github-actions Bot added agent-authored Diff or issue body substantially produced by an AI agent fix PR: bug fix labels Sep 12, 2026
@jonkwheeler
jonkwheeler marked this pull request as ready for review September 12, 2026 00:55
* fix: update Pacer, Query, Table and Virtual bindings

* fix: preserve compiled Subscribe children and align Query peers

* fix: include TanStack package licenses and provenance

* fix: run binding stack CI with complete parity ownership

* fix: align binding parity audits with expanded test coverage
Resolve the run-pristine runner registry and pinned-public-types merge:
run-pristine.mjs keeps both sides' runner entries, and
pinned-public-types.test.mjs unions the fixture signatures (adjacent/
opaque + versioned/opaqueMember/packageName modes) so both suites' tests
keep passing. Manifests rehashed for the merged tree via pnpm sync plus a
run-pristine.mjs evidence-pin refresh.

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Personal CI branch filter committed
    • Removed the leftover jon/update-bindings-* glob from on.pull_request.branches so CI again targets only main.

Create PR

Or push these changes by commenting:

@cursor push c679c0b534
Preview (c679c0b534)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -4,7 +4,7 @@
   push:
     branches: [main]
   pull_request:
-    branches: [main, "jon/update-bindings-*"]
+    branches: [main]
     types: [opened, reopened, synchronize, ready_for_review, converted_to_draft, closed]
 
 concurrency:

You can send follow-ups to the cloud agent here.

Comment thread .github/workflows/ci.yml Resolved
@vercel
vercel Bot temporarily deployed to Preview – octane-website September 15, 2026 17:28 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp September 15, 2026 17:28 Inactive
@vercel

vercel Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
octane-website Skipped Skipped Sep 15, 2026 5:28pm UTC
octane-website-mcp Skipped Skipped Sep 15, 2026 5:28pm UTC

Request Review

@jonkwheeler

Copy link
Copy Markdown
Contributor Author

READY FOR REVIEW

…te-bindings-20260911

# Conflicts:
#	packages/alien-signals/audit/react-parity.json
#	packages/apollo-client/audit/react-parity.json
#	packages/aria/audit/react-parity.json
#	packages/base-ui-utils/audit/react-parity.json
#	packages/base-ui/audit/react-parity.json
#	packages/better-auth/audit/react-parity.json
#	packages/cmdk/audit/react-parity.json
#	packages/colorful/audit/react-parity.json
#	packages/day-picker/audit/react-parity.json
#	packages/dexie/audit/react-parity.json
#	packages/dnd-kit/audit/react-parity.json
#	packages/draggable/audit/react-parity.json
#	packages/drei/audit/react-parity.json
#	packages/dropzone/audit/react-parity.json
#	packages/email/audit/react-parity.json
#	packages/embla-carousel/audit/react-parity.json
#	packages/floating-ui/audit/react-parity.json
#	packages/formisch/audit/react-parity.json
#	packages/gsap/audit/react-parity.json
#	packages/hook-form/audit/react-parity.json
#	packages/i18next/audit/react-parity.json
#	packages/inertia/audit/react-parity.json
#	packages/ink/audit/react-parity.json
#	packages/input-otp/audit/react-parity.json
#	packages/intersection-observer/audit/react-parity.json
#	packages/jotai/audit/react-parity.json
#	packages/lexical/audit/react-parity.json
#	packages/livestore/audit/react-parity.json
#	packages/lucide/audit/react-parity.json
#	packages/mantine-hooks/audit/react-parity.json
#	packages/markdown/audit/react-parity.json
#	packages/mobx/audit/react-parity.json
#	packages/monaco-editor/audit/react-parity.json
#	packages/motion/audit/react-parity.json
#	packages/nuqs/audit/react-parity.json
#	packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl
#	packages/octane-is/audit/react-parity.json
#	packages/opentui/audit/react-parity.json
#	packages/pdf/audit/react-parity.json
#	packages/phosphor-icons/audit/react-parity.json
#	packages/popper/audit/react-parity.json
#	packages/radix/audit/react-parity.json
#	packages/rainbowkit/audit/react-parity.json
#	packages/react-error-boundary/audit/react-parity.json
#	packages/react-map-gl/audit/react-parity.json
#	packages/recharts/audit/react-parity.json
#	packages/redux-toolkit/audit/react-parity.json
#	packages/redux/audit/react-parity.json
#	packages/remix-router/audit/react-parity.json
#	packages/resizable-panels/audit/react-parity.json
#	packages/rxjs/audit/react-parity.json
#	packages/select/audit/react-parity.json
#	packages/shadcn/audit/react-parity.json
#	packages/solana-kit/audit/react-parity.json
#	packages/sonner/audit/react-parity.json
#	packages/spring/audit/react-parity.json
#	packages/streamdown/audit/react-parity.json
#	packages/styled-components/audit/react-parity.json
#	packages/swr/audit/react-parity.json
#	packages/syntax-highlighter/audit/react-parity.json
#	packages/tanstack-ai/audit/react-parity.json
#	packages/tanstack-devtools/audit/react-parity.json
#	packages/tanstack-form/audit/react-parity.json
#	packages/tanstack-hotkeys/audit/react-parity.json
#	packages/tanstack-pacer/audit/react-parity.json
#	packages/tanstack-query/audit/react-parity.json
#	packages/tanstack-router-ssr-query/audit/react-parity.json
#	packages/tanstack-router/audit/react-parity.json
#	packages/tanstack-store/audit/react-parity.json
#	packages/tanstack-table/audit/react-parity.json
#	packages/tanstack-virtual/audit/react-parity.json
#	packages/testing-library/audit/react-parity.json
#	packages/textarea-autosize/audit/react-parity.json
#	packages/three/audit/react-parity.json
#	packages/tiptap/audit/react-parity.json
#	packages/transition-group/audit/react-parity.json
#	packages/usehooks-ts/audit/react-parity.json
#	packages/valtio/audit/react-parity.json
#	packages/vaul/audit/react-parity.json
#	packages/visx/audit/react-parity.json
#	packages/wagmi/audit/react-parity.json
#	packages/waypoint/audit/react-parity.json
#	packages/window/audit/react-parity.json
#	packages/xstate-store/audit/react-parity.json
#	packages/xstate/audit/react-parity.json
#	packages/xyflow/audit/react-parity.json
#	packages/zag/audit/react-parity.json
#	packages/zustand/audit/react-parity.json
…te-bindings-20260911

# Conflicts:
#	packages/alien-signals/audit/react-parity.json
#	packages/apollo-client/audit/react-parity.json
#	packages/aria/audit/react-parity.json
#	packages/base-ui-utils/audit/react-parity.json
#	packages/base-ui/audit/react-parity.json
#	packages/better-auth/audit/react-parity.json
#	packages/cmdk/audit/react-parity.json
#	packages/colorful/audit/react-parity.json
#	packages/day-picker/audit/react-parity.json
#	packages/dexie/audit/react-parity.json
#	packages/dnd-kit/audit/react-parity.json
#	packages/draggable/audit/react-parity.json
#	packages/drei/audit/react-parity.json
#	packages/dropzone/audit/react-parity.json
#	packages/email/audit/react-parity.json
#	packages/embla-carousel/audit/react-parity.json
#	packages/floating-ui/audit/react-parity.json
#	packages/formisch/audit/react-parity.json
#	packages/gsap/audit/react-parity.json
#	packages/hook-form/audit/react-parity.json
#	packages/i18next/audit/react-parity.json
#	packages/inertia/audit/react-parity.json
#	packages/ink/audit/react-parity.json
#	packages/input-otp/audit/react-parity.json
#	packages/intersection-observer/audit/react-parity.json
#	packages/jotai/audit/react-parity.json
#	packages/lexical/audit/react-parity.json
#	packages/livestore/audit/react-parity.json
#	packages/lucide/audit/react-parity.json
#	packages/mantine-hooks/audit/react-parity.json
#	packages/markdown/audit/react-parity.json
#	packages/mobx/audit/react-parity.json
#	packages/monaco-editor/audit/react-parity.json
#	packages/motion/audit/react-parity.json
#	packages/nuqs/audit/react-parity.json
#	packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl
#	packages/octane-is/audit/react-parity.json
#	packages/opentui/audit/react-parity.json
#	packages/pdf/audit/react-parity.json
#	packages/phosphor-icons/audit/react-parity.json
#	packages/popper/audit/react-parity.json
#	packages/radix/audit/react-parity.json
#	packages/rainbowkit/audit/react-parity.json
#	packages/react-error-boundary/audit/react-parity.json
#	packages/react-map-gl/audit/react-parity.json
#	packages/recharts/audit/react-parity.json
#	packages/redux-toolkit/audit/react-parity.json
#	packages/redux/audit/react-parity.json
#	packages/remix-router/audit/react-parity.json
#	packages/resizable-panels/audit/react-parity.json
#	packages/rxjs/audit/react-parity.json
#	packages/select/audit/react-parity.json
#	packages/shadcn/audit/react-parity.json
#	packages/solana-kit/audit/react-parity.json
#	packages/sonner/audit/react-parity.json
#	packages/spring/audit/react-parity.json
#	packages/streamdown/audit/react-parity.json
#	packages/styled-components/audit/react-parity.json
#	packages/swr/audit/react-parity.json
#	packages/syntax-highlighter/audit/react-parity.json
#	packages/tanstack-ai/audit/react-parity.json
#	packages/tanstack-devtools/audit/react-parity.json
#	packages/tanstack-form/audit/react-parity.json
#	packages/tanstack-hotkeys/audit/react-parity.json
#	packages/tanstack-pacer/audit/react-parity.json
#	packages/tanstack-query/audit/react-parity.json
#	packages/tanstack-router-ssr-query/audit/react-parity.json
#	packages/tanstack-router/audit/react-parity.json
#	packages/tanstack-store/audit/react-parity.json
#	packages/tanstack-table/audit/react-parity.json
#	packages/tanstack-virtual/audit/react-parity.json
#	packages/testing-library/audit/react-parity.json
#	packages/textarea-autosize/audit/react-parity.json
#	packages/three/audit/react-parity.json
#	packages/tiptap/audit/react-parity.json
#	packages/transition-group/audit/react-parity.json
#	packages/usehooks-ts/audit/react-parity.json
#	packages/valtio/audit/react-parity.json
#	packages/vaul/audit/react-parity.json
#	packages/visx/audit/react-parity.json
#	packages/wagmi/audit/react-parity.json
#	packages/waypoint/audit/react-parity.json
#	packages/window/audit/react-parity.json
#	packages/xstate-store/audit/react-parity.json
#	packages/xstate/audit/react-parity.json
#	packages/xyflow/audit/react-parity.json
#	packages/zag/audit/react-parity.json
#	packages/zustand/audit/react-parity.json
…te-bindings-20260911

# Conflicts:
#	packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON. A cloud agent has been kicked off to fix the reported issue. You can view the agent here.

Reviewed by Cursor Bugbot for commit 6e3042b. Configure here.

…te-bindings-20260911

# Conflicts:
#	packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl
…te-bindings-20260911

# Conflicts:
#	packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl
…te-bindings-20260911

# Conflicts:
#	packages/octane-evals/datasets/train/user-apps-v1/manifest.jsonl
@trueadm
trueadm merged commit 911ed1d into main Sep 18, 2026
51 of 55 checks passed
@trueadm
trueadm deleted the jon/update-bindings-20260911 branch September 18, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-authored Diff or issue body substantially produced by an AI agent fix PR: bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants