Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .changeset/room-lifecycle-modes.md

This file was deleted.

23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# 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".

## 2.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kit",
"version": "2.6.0",
"version": "2.7.0",
"private": true,
"description": "Version management for the shellcade gamekit (Go module + CLI). Versions and changelogs are driven by changesets; binaries by GoReleaser.",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

[package]
name = "shellcade-kit"
version = "2.6.0"
version = "2.7.0"
edition = "2021"
# #[unsafe(no_mangle)] (emitted by shellcade_game! so expansions survive
# edition-2024 game crates) stabilized in 1.82.
Expand Down
Loading