Skip to content

[chore] release 0.0.21 - #57

Merged
mattvb91 merged 18 commits into
mainfrom
dev
Nov 23, 2026
Merged

mattvb91 merged 18 commits into
mainfrom
dev

Conversation

@mattvb91

Copy link
Copy Markdown
Member

No description provided.

The game server serves /admin/: a sidebar layout behind the admin login
(admin token as the Basic password or Bearer token, plus logins plugins
add). The engine adds Overview, Routes and Plugins pages; plugins add
theirs with ctx.admin.page(), with sub links and sub pages in the sidebar.

http-monitoring becomes a page of the panel at /admin/monitoring/, its
tabs in the sidebar and its htpasswd users logging in to the panel.
/monitoring/ redirects there; standalone: true or an older core keeps
the standalone page.
@mavonengine/auth registers an Accounts page in the admin panel, with
Guests and Disabled sub pages: totals, search by name, email, username
or id, a paged table of accounts with their logins, email, sessions and
whether they are online, and buttons to disable, enable and log out.
Its form posts are refused when the browser says they come from another
site, and only redirect back to the plugin's own pages.

The store's account list takes a search and a filter and returns the
username, and gains stats(). Core's admin stylesheet moves into code,
since game servers bundle the engine and a .css file read next to the
module isn't there, and gains button, input, notice and pager helpers.
In development, while no SMTP server or transport is set up, the mail
plugin runs MailDev 3 in the game server on local ports and sends mail
into it. Its UI is proxied from /admin/mail/inbox/ behind the admin
login and shown on a Mail page in the panel, dark by default. MailDev
can't be mounted into Express (its web server is Fastify), so it is
proxied, as its docs describe; WebSocket upgrades are turned away so
live updates poll through the login.

maildev is an optional peer dependency, never started in production or
tests; without it mail goes to the log as before. devInbox: false turns
it off. Core's admin stylesheet gains .adm-frame for embedded tools.
The http-monitoring page now has what mavonengine dashboard got with the
queue and accounts: a Queue panel next to World on the Overview, graphing
queued, processed and failed jobs with the queued and running jobs and
the totals over the graph's window, and an Account column on the player
tables, guests marked, with the account in the player details. A server
without a queue keeps the two-column overview, and the column only shows
when some player has an account. Panel headings wrap on narrow screens.
Fixes the jsonc/sort-keys lint error CI reported.
…rview

The Overview gets a Runtime card with the engine, Three.js and Rapier
versions (Rapier only when the server has a physics world), Node.js, the
mode and the platform; a Server scene graph card with what the headless
three.js scene holds by type, with meshes, triangles and lights; and a
Physics card with the Rapier world's bodies by kind, sleeping ones,
colliders, gravity and timestep. WorldInspector gains sceneGraph() and
physics() for them. Rapier's version is read only once its WebAssembly
module is there.

The Engine stat card goes, as Runtime has it. The admin stylesheet gains
.adm-values and .adm-sections, fits two stat cards in a row on a phone,
and wraps long text in cards.
ClientPlugin gets onConnectError(error, ctx), called on every client
plugin with the message and the HTTP status the server turned the client
away with, before the NetworkManager's own onConnectError. An auth plugin
can use it to forget a session the server no longer takes, so the next
connection goes without it instead of failing the same way.
The dashboard is a page of the admin panel now, at /admin/monitoring/
behind the panel's login. The test checks that login with the htpasswd
user, that /monitoring/ leads there and its data endpoints still answer,
and that the page opens in the panel's layout with its tabs in the
sidebar. MAVONENGINE_E2E_CHROME picks the browser, like in the auth e2e.
… asset:publish

The core README, published to npm, now matches the root one, with links
to GitHub so they work on npmjs.com.
mavonengine doctor checks the project without changing it: the Node version,
the @MavonEngine packages in package.json, mavonengine.json, and whether each
plugin is installed, built and made for the project's @mavonengine/core. For a
plugin that doesn't fit, it reads the plugin's published versions from the npm
registry and names the newest one that does. --json, --strict and --offline.

Core gets a small semver checker (Plugins/compat.ts). The game server and the
Vite plugin now warn when they load a plugin whose engine range doesn't cover
the installed core, and still load it.

The doctor e2e test runs the CLI on the template against a fake npm registry.
mavonengine upgrade moves @mavonengine/core to its latest version (or --to),
each plugin to its newest version whose engine range takes that core and the
other @MavonEngine packages to their newest, from the npm registry. A plugin
with no version for the new core stops it unless --force. Then it runs the
migrations of the installed core, shown as diffs first, and doctor on the
result. Asks before installing and writing, refuses uncommitted changes
unless --allow-dirty; --dry-run and --only-migrations.

Migrations live in core (Migrations/), change files through ProjectFiles so
they can be shown before they are written, and are recorded by id in
mavonengine.json. The first two come from the template's history:
0.0.22-dev-script and 0.0.25-app-name-title. Doctor lists pending ones.

The upgrade e2e test turns the template back into a pre-0.0.22 project and
upgrades it against the fake registry, with npm as a recorder.

scripts/check-migrations.mjs, run on pull requests, fails when the template's
project files change without a new migration or [no migration] in the
description. Version bumps alone don't count.
Scaffolds a plugin in plugins/<name>/, links it as a workspace (link: dependency for pnpm),
registers it in mavonengine.json and installs. The manifest points at the TypeScript sources,
so Vite and Node 24 load it without a build step. Shared scaffold helpers in src/make/ for
later generators, plus unit tests, an e2e and a CI matrix entry.
…ring 0.0.3, mail 0.0.2, multiplayer-template 0.0.9

- cli: create pulls the template from the 0.0.21-alpha tag
- multiplayer-template: pin core 0.0.26 and cli 0.0.7
- cli tests: the upgrade migrations test installs the CLI version the migration adds instead of relying on the fixture's 0.0.6
@mattvb91
mattvb91 merged commit a32f328 into main Nov 23, 2026
51 of 55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant