Skip to content

Version Packages#31

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

Version Packages#31
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.7.0

Minor Changes

  • 40d8258: Room lifecycle declarations: GameMeta.Lifecycle chooses what happens when
    everyone leaves the room.

    • LifecycleResumable (default, byte-compat): hibernate on abandonment,
      player-driven resume — today's behavior.
    • LifecycleEphemeral: after the abandonment grace the room ends and
      disposes — no snapshot, no Resume-menu entry. Right for casual social
      rooms; the grace still protects against connection blips.
    • LifecycleResident: one long-lived room per slug (persistent worlds):
      ticks with zero players, periodic checkpoints, boot auto-restore.
      Granted per slug by the platform — an ungranted declaration behaves as
      resumable. Cannot combine with MinPlayers > 1 (validated at meta
      encode, like all trailer fields).

    Carried as a trailing presence-guarded byte after the large-room meta
    section (ABI major stays 2; older payloads decode as resumable, older hosts
    ignore the byte). Rust crate mirrors the field, validation, and goldens.
    GUIDE.md gains "Choosing a lifecycle".

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