docs: add v2.1→v2.3 migration sections; fix list_all cap claim; align WS channel docs#227
Conversation
… WS channel docs - migration.md: new v2.1→v2.2 and v2.2→v2.3 sections; correct list_all() page-cap contradiction (unbounded by default since v2.0). - README + docs/websockets.md: agree on 11 typed subscribe_* methods (+ generic escape hatch where applicable). Use SDK method suffixes (subscribe_market_lifecycle, subscribe_multivariate_lifecycle, subscribe_order_group) instead of wire-channel names. Closes #200, Closes #218 Refs #224
Code Review — PR #227: docs: add v2.1→v2.3 migration sections; fix list_all cap claim; align WS channel docsDocs-only PR. No runtime risk. Factual accuracy verified against the live codebase. OverviewThis PR adds two new migration guide sections to Factual Accuracy (verified against source)
Everything checks out. Issues1. Minor — The v2.2→v2.3 intro says:
But the 2. Minor —
3. Nit — issue cross-references are assertion-only The v2.2→v2.3 section uses inline issue refs ( What's working well
VerdictLGTM with the minor items above. None of the issues are blockers. The factual accuracy is solid and the corrections (pagination cap, channel names) are overdue. Issue 1 (soft-break count) is the only one worth addressing before merge if you want the migration guide to be self-contained for someone upgrading cold. |
Wave 0-C of the 2026-05-21 SDK audit umbrella. Docs-only sweep — no code changes.
Changes
migration.md
## v2.2 → v2.3section:run_forever()raisingKalshiSubscriptionError,stop_event=cooperative shutdown, resubscribe-window frame stash,KalshiAuth.close()obligation for standalone users.## v2.1 → v2.2section: soft-breaking response-parse tightening (Harden response-side spec drift: promote additive warnings to hard-fail #157/Decision needed: required-but-optional drift policy (22 REST + 12 WS models, ~190 field violations) #172) with affected model categories and recovery pattern;extra='allow'policy on WS classes.list_all()page-cap contradiction — now correctly states unbounded by default withmax_pages=Nopt-in, cursor-repeat detector remains.README + docs/websockets.md
subscribe_*channels + 2 escape-hatch' (control_frames, root — confirmed present in asyncapi.yaml).subscribe_market_lifecycle,subscribe_multivariate_lifecycle,subscribe_order_group) instead of wire-channel names.Verified zero repo-wide matches for the typo'd method names (
subscribe_market_lifecycle_v2, etc.) and no remaining1000-page safety capclaim in migration.md.Closes #200, Closes #218
Refs #224