Upgrading from 1.0.0 to 1.0.1
Handbook · Operations · Changelog (CHANGELOG.md)
1.0.1 is a small release. It has no database migration and no new .env key, so it needs no maintenance window. It changes:
- The download is the engine core only. It ships no plugin, game kit, content pack or asset pack, and
pulse-baseis its one theme. 1.0.0 bundled the freedaily-rewards,referralsandadvanced-propertiesplugins, the Cyberpunk Grid, Space Colony and Cookie Raid kits, the paid Mafia Underworld kit (its recipe, theme copy, seeder, themafia-docklandscontent pack and its pages in the prebuilt player), four asset packs and thenoir-syndicate,cyberpunk-neon,medieval-feudal,slate-minimalandvoid-odysseythemes. They are all marketplace products now;php artisan kit:listand Admin > Game kits show an empty list that points there, and a fresh install's player home says that no game features are installed yet.php artisan kit:install mafia-underworld --from-marketplacenow downloads the kit itself before its plugins. - No 3D stage. The stage session endpoints, the stage room server and the player's world stage belong to the separate Pulse 3D project.
- An existing install keeps what it has. Extracting 1.0.1 over 1.0.0 deletes nothing, so the plugins, themes, packs and kit files already in your installation stay installed and enabled, with their data. To update one later, install it from the marketplace.
- Clearer licence messages. A kit install that needs a paid plugin this install has no licence for marks it
Paid: needs a licence, with the marketplace link, and stops before downloading anything. The message says how to connect the install to your PBBG Vault account (see setup). - One application image in Docker.
docker compose up -d --buildbuilds the backend image once and runs it forbackend,horizon,schedulerandreverb. 1.0.0 built it four times in parallel, and the parallelcomposer installruns could fail with HTTP 504 from GitHub. - Staff chat renders BBCode through an allow-list instead of raw HTML: a crafted link could run script in an admin's browser. Its
gang-mentionlink class is gone with the[gang]tag; core keepsplayer-mention. Plugin authors, see the last section. - System Health fixes from the 1.0.0 line: scheduled
execlines that start with an environment assignment are no longer shown, workers of other server users are not counted without the posix extension, the Redis scheduler heartbeat is read, and a heartbeat in the future is a warning. - Handbook fixes. The database dictionary and contract checklist no longer describe open-world tables, controllers and components that moved to the separate
pulse-3dproduct.
The changelog (CHANGELOG.md) lists every change.
Steps
Run commands from the installation's backend directory with the PHP CLI the site uses (in Docker, docker compose exec backend php artisan ... from the project root).
-
Take a backup, for example with
php artisan pulse:backup:database, and keep a copy of the project folder. -
Switch the code to 1.0.1. Extracting the release archive over the old installation adds and replaces files but deletes none. That leaves your
.envfiles,storageand uploads where they are, and the plugins, themes and packs 1.0.0 bundled. It also leaves 1.0.0's copy of the Mafia Underworld kit on disk (backend/storage/kits/mafia-underworld, its seeder, content pack and player source), so an installation that runs the kit keeps working after step 4. Leave those files. -
Rebuild the configuration cache and restart long-running processes.
php artisan config:cacheThen restart this site's PHP-FPM, and Horizon or the queue workers.
Docker. From the project root run
docker compose up -d --build. It builds the new<project>-app:localimage once and recreates the four application containers from it. The 1.0.0 per-service images (<project>-backend,<project>-horizon,<project>-scheduler,<project>-reverb) are no longer used;docker image lslists them, and you can remove them withdocker image rm. -
If your game runs the Mafia Underworld kit, update the kit to 1.4.0. The 1.0.1 prebuilt player in
backend/publichas no Mafia pages, so after step 2 the site shows the engine's own login and home pages until you do. Kit 1.4.0 carries its pages prebuilt, so updating it needs no rebuild. With the kit's licence connected (Admin > Plugins > Marketplace > Marketplace connection), run:php artisan kit:install mafia-underworld --from-marketplace --dry-run php artisan kit:install mafia-underworld --from-marketplace --no-seedBecause 1.0.0's copy of the kit (1.3.3) is still in
backend/storage/kits, move that folder aside first (for example tobackend/storage/kits-1.0.0-backup/), so the command downloads 1.4.0 instead of reusing it.--no-seedleaves your game data as it is. The kit stays applied, with its plugins, settings and theme. If the command stops on a file you edited, it names it;--forcereplaces it and keeps a backup understorage/app/kits/kit-mafia-underworld/backups. 1.0.1 no longer knows the hashes of thenoir-syndicate1.0.1 theme files that 1.0.0 shipped, so an installation that still has that theme stops on them even when you did not edit them: check the named files, then run the install again with--force.Without the licence, you can rebuild the player from the 1.0.0 kit source that is still in
frontend/srcinstead (Node 20.19+ or 22.12+, from the project root:cd frontend && npm ci && npm run type-check && npm run build && cp -r dist/. ../backend/public/).Games that do not use the kit need nothing here.
For plugin authors
The staff chat fix removed three text-formatting entry points from core: the TextFormatter service and facade methods format() and parseBBCode(), and the route POST /api/v1/format/preview. parseEmoji() now escapes its input. A plugin that called them must render its text through its own allow-list; Vue code should not render user text with v-html.
Going back
1.0.1 adds no migration, so going back is putting the 1.0.0 files back from the copy in step 1 and repeating step 3 (in Docker, with the 1.0.0 docker-compose.yml).