@urun-sh/core 0.1.29 → 0.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.32
4
+
5
+ - Control-doc sync now speaks the Yjs sync protocol (raw binary update frames) over the signaling WebSocket — the same protocol/doc engine the session server shares with the runtime on `/internal/docs/{sessionId}` — replacing the bespoke JSON `doc_update` fallback, which the server rejected as "malformed message" (control updates were silently lost whenever that path was used). `session.doc("control")` is now a Yjs doc mirroring the server's control doc (root map `session`); reads/writes/`change` events keep the exact same JSON API. Requires a session server with binary doc-sync support on the signaling WS (the SDK opts in by sending a binary hello; servers without support simply reject it as malformed and the SDK behaves no worse than before).
6
+
7
+ ## 0.1.31
8
+
9
+ - Follow a cross-region 307/308 redirect on session create: when the control plane forwards a create to the region that has capacity (region-affinity Phase 3), switch the active gateway base to the redirect target, re-issue the create there, and key every subsequent call (poll, ws_url) off that region — so a single `baseUrl` (e.g. `api.urun.sh`) transparently follows capacity across regions. Bounded to a single hop with a redirect cap to guard against misconfiguration loops.
10
+
3
11
  ## 0.1.27
4
12
 
5
13
  - Resolve the bearer token before every queued session polling request, preserving explicit force-refresh retries for unauthorized responses.