Skip to content

Bump TanStack DB peer to 0.9 and record the publish recipe - #5

Merged
InfinityBowman merged 2 commits into
mainfrom
chore/tanstack-db-0.9.0
Sep 15, 2026
Merged

InfinityBowman merged 2 commits into
mainfrom
chore/tanstack-db-0.9.0

Conversation

@InfinityBowman

@InfinityBowman InfinityBowman commented Sep 15, 2026

Copy link
Copy Markdown
Owner
  • @cf-sync/client 0.3.1: peer @tanstack/db widened to ^0.8.0 || ^0.9.0, @tanstack/react-db to ^0.3.0 || ^0.4.0; dev dependency and the demo move to the 0.9.0 / 0.3.8 pair. TanStack DB 0.9.0 contains fix: harden subset loading, recovery, and live-query value semantics TanStack/db#1797, the upstream fix for the congruence race corates patched around on 0.8.7 (corates issue #675).
  • CLAUDE.md gains a Releasing section with the actual publish command.

Verified: typecheck on all packages, full test suite (protocol 57, server 141, yjs 43, client 152), and pnpm check:packages.

Summary by CodeRabbit

  • New Releases

    • Released the client package version 0.3.1.
  • Compatibility

    • Expanded compatibility with newer versions of TanStack DB and React DB.
    • Updated the demo application to use the latest TanStack React DB release.
  • Documentation

    • Added publishing and release workflow guidance for maintainers.

…pair — 0.3.1

TanStack DB 0.9.0 ships the fix for the same-key congruence race
(TanStack/db#1797) that corates carried as a pnpm patch on 0.8.7. The
client only uses public APIs (createCollection, createTransaction and
types) so the peer range widens rather than moves. react-db admits 0.4.x
because 0.4.1 is the pair for db 0.9.2, which the db range already
allows. Dedupe collapsed the client's auto-installed react-db peer from
0.3.7, which dragged a second copy of db 0.8.7 into the client's tree.
The command lived only in a per-project agent memory that other repos'
sessions never load, so it kept being reconstructed wrong.
@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 3234d8e2-69b9-46c0-b6c0-6b566548dcea

📥 Commits

Reviewing files that changed from the base of the PR and between 129c1fc and 02accc8.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • CLAUDE.md
  • apps/demo/package.json
  • packages/client/package.json

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: ci
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: CR
Repo: InfinityBowman/cf-sync

Timestamp: 2026-09-15T23:14:08.707Z
Learning: pnpm build
Learnt from: CR
Repo: InfinityBowman/cf-sync

Timestamp: 2026-09-15T23:14:08.707Z
Learning: `prepack` only syncs docs, so run `pnpm build` first
🪛 LanguageTool
CLAUDE.md

[grammar] ~35-~35: Ensure spelling is correct
Context: ...indow unless they exclude @cf-sync/* (corates does).

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🔇 Additional comments (3)
packages/client/package.json (1)

3-3: LGTM!

Also applies to: 57-58, 71-71

apps/demo/package.json (1)

18-18: LGTM!

CLAUDE.md (1)

25-35: LGTM!


📝 Walkthrough

Walkthrough

The change prepares the client package for release 0.3.1, widens TanStack peer compatibility, updates the demo dependency, and documents the package publishing workflow.

Changes

Release preparation

Layer / File(s) Summary
Package versions and compatibility
packages/client/package.json, apps/demo/package.json
The client package version changes to 0.3.1. TanStack peer ranges and the development dependency are updated. The demo dependency changes to ^0.3.8.
Release workflow documentation
CLAUDE.md
The new Releasing section documents version updates, authentication, building, publishing, demo deployment, and pnpm release behavior.

Priority: ⬇️ Low

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

Change: Other

Merge Risk: ⚪ Minimal · up to 02acc

This release metadata and documented workflow introduce no established merge-blocking risk.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the two main changes: widening TanStack DB peer support to version 0.9 and documenting the publish recipe.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/tanstack-db-0.9.0

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

Comment @coderabbitai help to get the list of available commands.

@InfinityBowman
InfinityBowman merged commit e76acc1 into main Sep 15, 2026
2 checks passed
@InfinityBowman
InfinityBowman deleted the chore/tanstack-db-0.9.0 branch September 15, 2026 23:18
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.

1 participant