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
21 changes: 0 additions & 21 deletions .changeset/scorekeeper-helper.md

This file was deleted.

22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# kit

## 2.11.0

### Minor Changes

- 49b4a42: feat: add `ScoreKeeper` leaderboard helper

A small, timer-free helper that standardises the three ways a game posts to the
leaderboard, replacing the bespoke per-game logic that kept getting the
disconnect/continuous cases wrong:

- `Record(r, p, metric)` — post live per a `Cadence` (`OnImprove` for monotonic
high-water boards, `OnChange` for live scores).
- `FlushLeave(r, p, status)` — post the player's current metric on disconnect
(call from `OnLeave`); normally `StatusDNF`.
- `FlushAll(r, status)` — post every tracked player in deterministic AccountID
order; continuous games call this from `OnWake` so an abandoned, still-ticking
world keeps recording.
- `PersistBest` / `PersistWallet` — KV resume sugar (MergeMax / MergeSum).

Pure SDK addition over the existing `Room.Post` + KV surface — no wire or ABI
change.

## 2.10.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.10.0",
"version": "2.11.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.10.0"
version = "2.11.0"
edition = "2021"
# #[unsafe(no_mangle)] (emitted by shellcade_game! so expansions survive
# edition-2024 game crates) stabilized in 1.82.
Expand Down
Loading