BGS lets the only human of a game against bots take back their last saved
move (protocol 0.10.0). Both viewers show an "Undo my move" control with the
turn tools (an icon in the mobile action tray's title bar) while BGS reports
it available on that player's live board: never to spectators, nor in
replays, planning, BGS analysis or tutorials, nor while a queued plan awaits
the server. It asks BGS to undo; when the earlier state arrives, selections
made on the later board are dropped with the turn being composed. Back still
steps through the turn being composed, locally.
- @boardgamers/protocol 0.8.1 -> 0.10.0 (added to minimumReleaseAgeExclude)
- "Undo my move" in all 16 locales
- unit tests, a browser smoke test of both bundles, and BGS-like undo in the
local premove preview
- viewer 5.20.58, old-ui 1.0.21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Improve premoves and fix random auctions and Ivits exploration
* Fix blocked legacy random-faction sealed auctions
* Allow premoves for initial building and booster choices
* Compact setup actions and show ship explorers
* Restore auto-charge controls in Gaia game UI
* Use published player-settings protocol 0.3.4
* Allow verified protocol 0.3.4 during release-age quarantine
* Keep planning and auto-charge in the action bar outside your turn
* Bump viewer to 5.20.6 for action bar release
* Use shared BGS viewer and chat protocol
* Use shared chat panel with faction portraits and mobile viewport
* Update shared chat visibility and show date separators
* Keep typing after completing a chat mention
The vue-cli/webpack 4 toolchain was the root cause of three shipped
production crashes this week (iterator-spread __spreadArrays RangeError,
stale cache-loader emitting raw vue_1.default for the vue external, and
the TDZ circular-import). Replace it:
- vite.config.ts: lib build of src/wrapper.ts -> dist/package/
viewer.umd.js (IIFE, esnext, minified) + viewer.css + map. vue and
bootstrap-vue stay external (window.Vue / window.BootstrapVue) via
plain global reads - no .default interop possible. process.env is
baked to ({}) via define, matching vue-cli's old defaults.
- vitest.config.ts: jsdom env, single fork, chai-compatible specs run
unchanged. 879 tests pass (was 809 - the json-driven chart/resource
suites now register their dynamic tests properly under vitest).
- import type correctness across the codebase: rolldown rejects
value-imports of type-only exports, so type-only imports are now
written as import type (and mixed imports split). Also fixes
self-contained-state.ts's reassignment of a destructured const.
- Commands.spec.ts: split a two-render test into two its - two
@testing-library renders of Commands in one test interfere under
vitest.
- scripts: package/build -> vite build, test -> vitest run.
- devDeps: +vite +@vitejs/plugin-vue2 +vitest +jsdom +esbuild +events
(browser polyfill for the engine's node 'events' import).
Verified in Chromium against the built bundle: loads with CDN Vue 2 +
BootstrapVue, Rotate sectors completes with and without rotations, zero
pageerrors; the bundle contains no __spreadArrays helpers.