Skip to content

Version Packages#28

Merged
BCook98 merged 1 commit into
mainfrom
changeset-release/main
Jun 7, 2026
Merged

Version Packages#28
BCook98 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@BCook98

@BCook98 BCook98 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

kit@2.6.0

Minor Changes

  • 6df5bea: Large-room callbacks: negotiated roster-epoch ctx encoding, game-declared
    heartbeats, and the Rust mirror of the 1024-player baseline work.

    • Ctx roster-epoch mode (GameMeta.CtxFeatures: kit.CtxFeatRosterEpoch):
      the host sends the full member list only when the roster changes (with a
      u32 epoch) and a 6-byte unchanged marker otherwise — removing the
      O(members) encode/decode/copy from every callback (~100KB per input at
      1000 players, the dominant large-room input cost and the residual
      -gc=leaking leak). Sentinel member-counts 0xFFFE/0xFFFF (ABI.md
      §4.1); legacy guests stay byte-identical; ABI major stays 2. Both SDKs
      decode the sentinels and keep an epoch-aware roster cache (zero member
      allocations on the unchanged form); the legacy byte-skim cache is retained
      for pre-feature hosts.
    • GameMeta.HeartbeatMS: declare your wake cadence (0 = default;
      validated 20..1000 at meta encode). Host precedence: admin
      host.heartbeat_ms > declaration > 50ms default. shellcade-kit play
      honors the declaration locally.
    • Rust crate parity: mirrors both meta fields + the sentinel decode +
      the epoch roster cache (Rc-shared members), and ALSO picks up the
      v2.5.0 Go-only baseline work it missed: ROSTER_CAP 16 → 1024 with
      lazily-allocated per-slot baselines and allocated-only broadcast
      reconcile. Golden vectors pin the Go/Rust meta encodings byte-identical.
    • New trailing meta section (u32 ctxFeatures + u16 heartbeatMS) after
      the config-spec section, presence-guarded both directions; GUIDE.md
      gains the large-room authoring section (heartbeat + feature declaration +
      render-on-change dirty tracking).

@BCook98
BCook98 merged commit 3ce180a into main Jun 7, 2026
5 checks passed
@BCook98
BCook98 deleted the changeset-release/main branch June 7, 2026 00:46
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