fix: hydration-safe banner clock (#44, v0.10.1) #47

Merged
kamilkrzywda merged 4 commits from fix/hydration-jump-dispatch into master 2026-10-04 01:52:28 +02:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 8f018a6ee9 - Show all commits
+3
View File
@@ -1,5 +1,8 @@
# Changelog
## v0.10.1 — 2026-10-03 18:36
- Fix React 19 hydration mismatch (#418) on every production load — the banner's live clock was prerendered at build time in the static page and desynced at hydration, intermittently stranding the world-map team builder's DISPATCH button permanently disabled (jump flow unusable); e2e jump tests now green.
## v0.10.0 — 2026-10-03 00:57
- Queue-based actions (#44): every game action (jump, explore, ship upgrade/expand/build, research) is now a queued task with an assigned team — a lead + optional helpers. Validation and cost deduction happen at queue time (unknown crew → 404, busy/committed crew → 409, in-transit or second jump → 409); effects apply when the task completes, mission accept is instant and free, and mission-completion checks run when the satisfying task resolves.
- Manual time: new `POST /api/turn` advances exactly one turn — each active task ticks down, completions resolve via per-type resolvers (reusing the existing jump/explore/ship/research logic), FIFO successors auto-start; an empty queue is a free skip. `save.turn` now only increments here, and the UI gets the NEXT TURN button (bottom-right) with the turn counter.
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "space-wanderer",
"version": "0.10.0",
"version": "0.10.1",
"private": true,
"scripts": {
"dev": "next dev -p 3000",