Skip to content

Version Packages#78

Merged
BCook98 merged 1 commit into
mainfrom
changeset-release/main
Jul 5, 2026
Merged

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

Conversation

@BCook98

@BCook98 BCook98 commented Jul 5, 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.17.1

Patch Changes

  • ec9f814: Fix every unseeded wasm room sharing one deterministic RNG stream. The guest runtime seeds the SDK room PRNG (r.Rand() in Go, rng_u64 in Rust) from the CallContext seed verbatim, but for a room without an operator-set seed the host encoded the raw config zero — so every room of every game drew the identical "random" sequence (identical blackjack shoes across rooms; casino outcomes learnable by replaying a throwaway room and then betting on the known stream). The host now derives a per-room seed from the host CSPRNG when SeedSet is false and carries it in the room's config, so the Ctx (and the WASI entropy source, which previously used the guessable room-start timestamp) are seeded per room. Host-side only: existing game binaries pick up the fix without a rebuild. Explicitly seeded runs (--seed / -seed, conformance, hibernation restore) are unchanged and stay deterministic.

@BCook98 BCook98 merged commit b99a011 into main Jul 5, 2026
6 checks passed
@BCook98 BCook98 deleted the changeset-release/main branch July 5, 2026 11:29
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