Skip to content

Document SDK record sessions (beta112) - #50

Merged
callumalpass merged 5 commits into
mainfrom
record-session
Sep 26, 2026
Merged

callumalpass merged 5 commits into
mainfrom
record-session

Conversation

@callumalpass

Copy link
Copy Markdown
Member

Documents connection.records record sessions (open, follow, states, conflicts, leaving safely, React, custom adapters), resume after reload, and createRecordTestAuthority() in the testing guide; brings SDK examples in line with the beta SDK.

Merge only after @mdbase-dev/connect@0.1.0-beta.112 is on npm — this site deploys on push to main, and these pages describe APIs first published in beta112 (mdbase-dev/mdbase-connect#485).

New /sdk/editing/ page for connection.records: opening, following a
watch, states, conflicts, leaving safely, React and custom adapters.
Linked from the operations page. Not yet in the docs navigation, which
has pending local edits.
Every page that showed removed APIs now uses the current surface:
ConnectOutcome results instead of unwrapOperation and envelopes,
camelCase ifRevision/updateRefs, subscription watches, the application
session instead of MdbaseBrowserLocation, v2 capabilities instead of
operation lists, and pendingMutations().recover() instead of
resumePendingMutation. The quickstart example imported a package that no
longer exists; it now runs as shown. The connect quickstart manifest,
which failed validation, is generated with defineTypePack and validated.
Every snippet was compile-checked against the SDK's entry points.
The sandbox example used a where query the sandbox rejects and read
results from an outcome as if they were bare values. It now filters in
code and runs as shown. A new section covers createRecordTestAuthority.
@callumalpass
callumalpass merged commit bdc778a into main Sep 26, 2026
1 check passed
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