Version Packages#33
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.8.0
Minor Changes
kittest.Roomgains an opt-inKVUnavailablechaos knob that replays theproduction host's KV degradation exactly: while set,
Getreports every keyas missing (
nil, false, nil) andSet/Deletereturnnilwithoutpersisting — the ABI has no error channel, so a real store outage never
surfaces a Go error. This lets authors test the read-absent-reinit hazard
(the natural
Get → missing → initialize → Setwallet pattern silentlyresets saved state during a store blip), previously impossible to simulate
because the double's KV always succeeded. GUIDE.md's Durable state section
now documents the degradation semantics and the conservative-missing-read
guidance, and
ExampleRoom_kvUnavailabledemonstrates the failing pattern.u16 wireRevision— a single monotonic counter of wire-visible minoradditions (
wire.Revision, currently 4; ledger in its docs and ABI.md §4.2),stamped automatically by both the Go and Rust guest SDKs and never set by
the author. Old hosts ignore the bytes; artifacts built with older kits
decode as revision 0 (unknown). This gives the deploy-order rule (ABI.md §5)
its mechanical anchor: a host can now warn on or refuse artifacts declaring
a revision above the one it implements instead of loading them blind, and
record per-artifact contract provenance. Pure additive trailer following the
established pattern — ABI major stays 2. The Rust SDK's
WIRE_REVISIONispinned to
wire.Revisionby a new Go cross-check test(
wire.TestRustWireRevisionMatchesWire), and the Go/Rust meta goldens areupdated in lockstep.
wire.RosterCap— the roster ceiling for per-index frame baselines (1024) isnow a contract constant in the
wirepackage instead of a hand-mirroredliteral, and ABI.md §3 documents the bound. The Go guest SDK's internal
rosterCapadopts it directly; the Rust SDK'sROSTER_CAPis asserted equalby a new Go cross-check test (
wire.TestRustRosterCapMatchesWire, whichparses the Rust source so no Rust toolchain is needed). No encoding or
behavior change — purely promoting an existing protocol invariant into the
contract package both sides compile against.
Patch Changes
LICENSEfile at the root —rust/Cargo.tomlalready declared
license = "MIT", but the module itself carried no licensetext, leaving authors without usage terms. Doc consistency fixes ride along:
GUIDE.md now states the platform player bound explicitly as 1..1024
(
wire.RosterCap) in both the Multiplayer and Large rooms sections, and thesmoke-script section documents that smoke scripts drive at most 8 seats (the
runner clamps
MinPlayersto the seat count, so large-room games still pass;large-room behavior is covered by
shellcade-kit check's budget gates). TheRust README notes that the next shellcade-kit release makes
shellcade-kit playaccept a game directory and run the cargo wasm build itself.