6.1.0
API v6.1.0 — New @moxon/api name, experimental manifest export, security fixes.
- The
@20syldev/apipackage becomes@moxon/api, under the@moxonnpm organization, and the repository now lives atmoxondev/api. The old package no longer evolves; 6.1.0 is the first stable release published under the new name. The/v6HTTP API is unchanged: to migrate, runnpm uninstall @20syldev/api && npm install @moxon/api, then rename your imports — the sub-paths are identical. The details are in the migration guide. - New
@moxon/api/manifestexport, experimental: it exposesmanifest, a typedManifestEntry[]array that describes the endpoints as data — name, method, path, category, the first version that serves it (since), parameters and a request example — without the function that runs them. It is meant for tools that document or call the API. Onlyhashis listed for now, and its shape may still change in a minor version. See the Manifest page. Experimental - POST /hash is the first endpoint declared as a contract: the same declaration builds its HTTP route and its manifest entry, so the two can no longer drift apart. Its behaviour does not change: same parameters, same errors, same results from
v4tov6. /favicon.icois no longer served by the API: the file also leaves the package, which gets about 250 kB lighter.- Dependencies are updated for security fixes:
proxy-addr, used by Express (a critical IP spoofing flaw through an IPv4-mapped IPv6 trust subnet), andbrace-expansion, present only in the development tooling. These versions are pinned in the repository'spackage-lock.json: they protect clones and deployments done withnpm ci.
- The documentation is now hosted on moxon.dev.
- New documentation site, rebuilt with Next.js: a catalog of 49 endpoints in 7 categories, a keyboard search palette with the
post:andget:filters, a dark theme and a layout made for phones. - Page addresses change:
/v6/hashin English and/fr/v6/hashin French. The old addresses (/v6/fr/hash,/v6/en/hash) redirect automatically to the new ones. - Heading anchors are now the same in both languages (
#response-fields); the old French fragments are redirected. - The home page example no longer calls the API on every visit.
- The home page no longer shows the version cards: the version picker of the header replaces them.
- Added the Manifest page, which presents the experimental
@moxon/api/manifestexport. Experimental - Added an installation section to the Getting Started page, with
npm install @moxon/apiand the package entry points. - Added a migration guide from
@20syldev/apito the Changelog page: the commands, the import renaming table and the note onv1–v3. - Corrected the Tic-Tac-Toe documentation:
POST /tic-tac-toehas answered404in v6 since 6.0.0, yet it was still presented as the game's main endpoint. The page, the sidebar and the Playground now rely on the/tic-tac-toe/play,/tic-tac-toe/forfeit,/tic-tac-toe/fetchand/tic-tac-toe/listroutes. The migration table of the Changelog page now also lists the move ofPOST /tic-tac-toetoPOST /tic-tac-toe/play. - Clarified on the Infos page what the
endpointsfield counts: the distinct paths of the requested version, soGET /chatandPOST /chatcount as one. - Added the
encodingfield to the response fields of POST /hash.
Last updated on October 18, 2026