Repository navigation
docs: 1.11 - #325
docs: 1.11#325
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Verify Signed Commit Authors fails on all 8 commits because a cloud Claude Code session signed them with its own SSH key, which isn't in git fetch origin arv/docs-1.11 && git checkout arv/docs-1.11
git rebase -x 'git commit --amend --no-edit -S' origin/main
git push --force-with-lease origin arv/docs-1.11Generated by Claude Code |
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved documentation accuracy issues remain in release-note claims and configuration guidance.
4 open findings
What changed in this PR
Documents Zero 1.11 features, configuration changes, migration guidance, and release notes.
Changes:
- Adds client, server, mutator, query, and connection documentation.
- Updates configuration options and defaults.
- Adds release notes and related documentation links.
| File | Summary |
|---|---|
contents/docs/zero-cache-config.mdx |
Documents new options and corrected defaults. |
contents/docs/server-zql.mdx |
Adds transaction isolation-level guidance. |
contents/docs/release-notes/index.mdx |
Links to the 1.11 release notes. |
contents/docs/release-notes/1.11.mdx |
Adds 1.11 features, performance data, fixes, and breaking changes. |
contents/docs/react.mdx |
Documents query identity and interning. |
contents/docs/react-native.mdx |
Links to storage-failure guidance. |
contents/docs/queries.mdx |
Documents cached results and preload behavior. |
contents/docs/mutators.mdx |
Documents retries and returned data. |
contents/docs/deprecated/ad-hoc-queries.mdx |
Documents legacy-query configuration. |
contents/docs/debug/slow-queries.mdx |
Documents operator-password access. |
contents/docs/connection.mdx |
Documents initialization and storage failures. |
🧠 Review effort: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Copilot review (thread replies are blocked by a pending review, so answering here):
Generated by Claude Code |
Adds a Cached Results section: a query whose result the server confirmed
during a previous session starts as 'cached', becomes 'complete' once the
server returns it in this session, and goes back to 'unknown' if the stored
result is evicted first. Lists all result types, and documents
run({type: 'cached'}) and the cached promise from preload().
…adiness and hydration options Add ZERO_ALLOW_LEGACY_QUERIES, ZERO_OPERATOR_PASSWORD, ZERO_REPLICATION_LAG_INITIAL_READINESS_THRESHOLD_MS, ZERO_REPLICATION_LAG_MAX_READINESS_DELAY_MS, ZERO_VIEW_SYNCER_HYDRATION_BUDGET_MS and ZERO_VIEW_SYNCER_QUERY_HYDRATION_TIMEOUT_MS. Update defaults (replication lag report interval, CVR GC threshold, flow control consensus proportion, auth revalidate/retransform intervals, litestream v5 backups, multipart concurrency), remove the litestream VFS options, and move ZERO_CHANGE_STREAMER_MODE and ZERO_LITESTREAM_MIN_CHECKPOINT_PAGE_COUNT to deprecated flags.
…ction Leads with client cold start, adds the React Native query engine results, and mentions cold start on React Native.
Fixes now describe the bug, as in earlier notes, instead of repeating "no longer". Shorter sentences, no colon lead-ins. Same facts, links and credits.
Turns the "A few things to know" and "Keep in mind" lists into prose, drops the bold lead-in bullets in Storage Failures, and trims repeated "X, not Y" phrasing. Headings, anchors, code and facts are unchanged.
…ails The pre-v5 backup format is Litestream v0.3 (legacy WAL), not v4. The React Native aggregate counted the three JSON.parse control benchmarks. Without them it is 53 benchmarks with a geometric mean of 1.68x, so say about 1.7x. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RRckJnCeGsYg9nCJSxBgTJ
…ts in initializing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RRckJnCeGsYg9nCJSxBgTJ
The previous commit removed lifecycle.png without adding its replacement. Add lifecycle.svg and point the connection docs at it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RRckJnCeGsYg9nCJSxBgTJ
The diagram now has Connected to Disconnected when the tab is hidden and Disconnected to Connecting when it is visible again. The Disconnected section says Zero waits for the tab to be visible instead of retrying every 5 seconds after a hidden-tab disconnect. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RRckJnCeGsYg9nCJSxBgTJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RRckJnCeGsYg9nCJSxBgTJ
…confirmed Local rows were already shown right away as 'unknown'. What 1.11 adds is knowing that they are a result the server confirmed in an earlier session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RRckJnCeGsYg9nCJSxBgTJ


Everything Zero 1.11 needs in the docs, in one PR, so it can merge on release day: the release notes plus the feature docs they link to. This replaces #314, #318, #320, #321, #322, #323 and #324.
'cached'result type'initializing'connection state, new lifecycle diagramzero.kvStoretx.retryOn(), isolation levelsThe release notes link straight to the new sections. I checked every
/docs/...link and anchor in the changed pages against the headings on this branch, and every changed page compiles with@mdx-js/mdx.Open before merging:
initializingstate (nowlifecycle.svg)https://npmx.dev/package-docs/@rocicorp/zero/v/1.11.0#class-Zero) loads🤖 Generated with Claude Code
https://claude.ai/code/session_01RRckJnCeGsYg9nCJSxBgTJ