Repository navigation
Releases
v18.2.4
TL;DR
Typing in the admin snippet editor now keeps focus in the editor, including when a letter also serves as a navigation shortcut.
Changes
- Page shortcuts now respect Monaco, CodeMirror, and rich-text editing. Typing
hin a snippet keeps the caret in place, and keyboard navigation still works outside the editor. (561a9c7) - The bundled editor uses haklex 0.67.1, which rounds the checkbox corners in Ink checklists. (0b1c5e1)
Full Changelog: v18.2.3...v18.2.4
v18.2.3
TL;DR
Fixes the blank admin dashboard from v18.2.1–v18.2.2, which failed to load with "Uncaught SyntaxError: missing ) after argument list".
Changes
- The bundled admin dashboard (
/proxy/qaqdmin) loads again. A workspace-wide bundler pin built the admin with a rolldown version Vite does not support, which left invalid code at every lazy-loaded route and stopped the whole app from loading. Vite now uses its own supported rolldown version. (adc1a95) - Security updates for build and test dependencies (happy-dom 21.0.4, fast-uri 4.2.3). (c3e9aab, 5af2b72)
Full Changelog: v18.2.2...v18.2.3
v18.2.2
TL;DR
Dependency refresh: the AI runtime moves to pi-ai 1.6, which retries more transient provider errors, alongside NestJS 12.6 and Better Auth 1.7.27.
Changes
- The AI runtime (pi-ai / pi-agent-core) is upgraded from 0.99 to 1.6. More transient provider failures (connection resets, gateway and upstream errors, Cloudflare 525) are now retried automatically, and Anthropic requests continue server-side message threads instead of resending the whole conversation. Tool arguments are validated and coerced against their JSON Schema by pi's own validator. (ff7860a)
- Server dependencies are refreshed to their latest patch and minor releases, including NestJS 12.6.0, Better Auth 1.7.27, undici 8.13.1, nodemailer 10.6.1 and @fastify/static 10.1.12. (d314260)
Full Changelog: v18.2.1...v18.2.2
v18.2.1
TL;DR
Internal maintenance release; no user-facing changes.
Changes
- Refreshed workspace dependencies to their latest patch/minor releases (NestJS 12.5.1,
@haklex/*0.67.0, better-auth 1.7.26, rolldown 1.3.3, vite 8.3.8,@earendil-works/pi-*0.99.2). - Replaced ESLint with oxlint for repository linting and moved declaration builds/codegen to tsrs.
- Removed the finished
packages/mongo-pg-climigration tool from the monorepo; the published@mx-space/mongo-pg-clinpm package remains available for v11 → v12 data migrations.
Full Changelog: v18.2.0...v18.2.1
v18.2.0
TL;DR
Updating a published article after editing only its metadata no longer regenerates AI resources, and posts with polls no longer lose them in the editor.
Highlights
The publish dialog has a new "Skip this time" switch for AI resources. It turns on by itself when the title and body match the online version, so changing a category, tags, slug, cover or pin goes straight through without regenerating summaries, insights, translations or narration. Lexical articles are compared by their normalized document, not their Markdown, so clicking around the editor does not count as a change.
Skipping leaves your remembered AI choices untouched. The next time you change the body, the dialog still pre-selects what you picked last time instead of "Skip" for everything. You can also turn the switch on manually to publish a body edit without any AI work.
The admin editor now supports poll blocks. Opening an article that contained a poll used to drop the block from the editor and from the autosaved draft. Polls now load, render and save like any other block.
Changes
Features
- Publish dialog can skip AI resources for one update; it defaults to skipping when only metadata changed, and a skipped update keeps the remembered AI choices (f7fd6e5)
Bug Fixes
- The admin editor keeps poll blocks instead of dropping them when an article is opened and autosaved (c327706)
Upgrade Notes
If you opened an article with a poll in an earlier admin, check its draft history and restore a version that still contains the poll before publishing it.
Full Changelog: v18.1.0...v18.2.0
v18.1.0
TL;DR
The editor agent can now search the web and read pages through OpenRouter or DeepSeek, switched on from a new AI settings section.
Highlights
The writing agent can now look things up online. When web search is on, the agent gets web_search and web_fetch tools, so it can check facts, find recent information and read links you give it. It decides when to search, then cites the URLs it relied on. Search results and pages are marked as untrusted, and the agent is told never to follow instructions found in them.
Web search is off by default. Turn it on under AI settings → Agent web search and pick a search provider. A DeepSeek provider works with any agent model and uses the DeepSeek Search and Fetch API with that provider's key. An OpenRouter provider uses OpenRouter's built-in web tools, which only apply when the agent runs on that same provider. Each agent turn is capped at 20 web calls.
Changes
Features
- Agent web search and page reading through DeepSeek's Search & Fetch API or OpenRouter's built-in web tools, with a per-turn limit and an untrusted-content fence (0d7967b, c08a950, 014b884)
- New AI settings section to enable agent web search and choose its provider; saving rejects providers without built-in search (29ee4fd, 8dc01e2)
Bug Fixes
- A fetched page's title can no longer break out of the untrusted-content fence shown to the agent (db349aa)
Full Changelog: v18.0.1...v18.1.0
v18.0.1
TL;DR
Core v18 makes field encryption mandatory, fixes credential storage to one protected format, and converts legacy configuration once during the release migration.
v18.0.0 was tagged but never published: its release pipeline stopped before any image was pushed. v18.0.1 is the first available v18 build.
Breaking Changes
- Field encryption: every production instance must provide an explicit 64-character hexadecimal
MX_ENCRYPT_KEYorENCRYPT_KEY; the machine-ID fallback and the option to run unencrypted are gone. Migration: keep your existing key and set it explicitly. Only an instance that never encrypted data generates a first key withopenssl rand -hex 32. RemoveENCRYPT_ENABLE=falseandMX_SECRET_STORAGE_V2=false; atruevalue is accepted with a warning. - JWT secret length:
JWT_SECRETmust be at least 32 characters. Migration: do not just change the environment value. Stop every replica, generate a new secret (openssl rand -hex 32 > new-jwt), runupgrade:rotate-jwt --maintenance-confirmed --old-jwt-file <path> --new-jwt-file <path>, then start with the new secret. OAuth tokens are re-wrapped and all sessions end, so everyone signs in again. - Encryption algorithm option:
ENCRYPT_ALGORITHM,--encrypt_algorithmand YAMLencrypt_algorithmare rejected, even with the old default. Migration: delete the option. Instances that used a non-default legacy algorithm must convert their credentials to V2 on v17.1.0 first. - Configuration storage: the runtime reads only the current configuration schema and no longer converts old shapes on the fly. Migration: stop all old replicas and background writers, then run
node migrate.mjs(source:pnpm -C apps/core migrate) before starting v18. This step needs a maintenance window, not a rolling deploy. - Configuration writes: a PATCH carrying an unknown declared field returns
CONFIG_VALIDATION_FAILEDinstead of being silently ignored. Migration: update scripts and clients that send whole configuration objects back, including masked or retired fields.
Highlights
Credentials now have a single storage contract. Configuration, Snippet and Webhook secrets are written with AES-256-GCM, API keys are stored as hashes, and OAuth tokens are encrypted. The release migration converts existing plaintext and legacy ciphertext in place, and original API key strings keep working for clients.
Legacy configuration is converted once instead of on every start. Old AI, image generation, TTS, third-party and membership settings move into the current structure with their secrets re-bound to the new paths. Fields that no schema declares any more are removed and listed by path in the migration log.
Upgrades fail safely. A wrong key, damaged ciphertext or unsupported shape rolls the whole batch back and blocks the deploy, and re-running the migration after a success changes nothing. upgrade:check reports what an installation still needs without starting the application.
Changes
Features
- Configuration is migrated in the release phase and the runtime no longer carries legacy conversion (e8c5f90, dab2ce7)
- Encryption algorithm selection is removed; writes are always AES-256-GCM (2abd543)
- Source development can start without a field key: a local key is generated and kept in
tmp/dev-encryption.key(efa0c87)
Bug Fixes
- Encrypted storage is required and legacy plaintext and ECB writers are retired (0e6c51d)
- Historical OAuth ciphertext is unwrapped before it is re-encrypted, so tokens are not double wrapped (32c58bc)
- Migration keeps raw configuration and sibling credentials intact when converting a section (373da58)
- Installations with leftover fields from older versions can migrate; those fields are dropped and logged (a6df268)
- Docker Compose starts with either
MX_ENCRYPT_KEYorENCRYPT_KEYon older Compose releases (3857035) - Admin settings keep the schema's field casing when saving (1d6f22b)
Upgrade Notes
- Upgrade from v17.1.0. Older versions complete their own migrations first.
- Save a database snapshot, the original field key and the original JWT secret.
- Run
upgrade:check --jsonagainst the installation and resolve what it reports. - If the JWT secret is shorter than 32 characters, rotate it as described above.
- Stop all old replicas, run the migration, run
upgrade:checkagain, then start v18.
Running upgrade:prepare on v17.1.0 beforehand is optional. Legacy GET maintenance routes and SDK 5.x signatures still work in this release. Full guide: docs/v18-preparation.md.
Full Changelog: v17.1.0...v18.0.1
v17.1.0
TL;DR
Prepare existing installations for v18 with read-only diagnostics, transactional data preparation, and controlled JWT rotation while retaining v17 compatibility.
Highlights
This release provides an explicit preparation path for existing installations. The standalone upgrade tool checks configuration, stored credentials and AI metadata without starting HTTP services or background jobs. Preparation supports a full dry-run and commits converted data only when every required check succeeds.
The application retains v17 behavior while preparation is rolled out. Existing maintenance GET routes remain available alongside their new POST equivalents, and legacy configuration inputs remain compatible. AI metadata moves to the metrics ledger while existing response fields and physical database columns remain available.
Changes
Features
- Inspect v18 readiness without modifying stored data or exposing secret values. (d701c19)
- Convert legacy configuration and credentials transactionally, with dry-run, safe retries and preservation of existing API-key strings. (90593d9)
- Rotate JWT secrets during a maintenance window while preserving OAuth provider tokens; successful rotation invalidates login sessions. (2731cef)
- Use POST for bundled Admin backup creation, cache clearing and test mail; existing GET callers continue to work. (0576bc5)
Bug Fixes
- Reject conflicting credentials and unreadable encrypted data without committing a partial preparation. (115f741)
- Recognize a new installation only when its application data is truly empty. (3d083cd)
Other
- Update the bundled rich editor, including full-width table cell content. (48ac0bc)
Upgrade Notes
- Pin both application and migration images to
innei/mx-server:17.1.0. Deploy this compatible reader to every replica before enabling V2 writes or running preparation. - Save database/files snapshots and the original field key, JWT and archive recovery key. A short JWT requires the documented maintenance rotation before V2 is enabled.
- Run
node upgrade.mjs check --jsonwith the same effective database and secret configuration as the application. Upgrading alone does not mark an existing installation as prepared. - After all replicas use V2, run
node upgrade.mjs prepare --all-replicas-v2 --dry-run, then the same command without--dry-run, followed bycheck --json. Restart replicas after preparation and verify existing credentials. - Follow the v17.1.0 preparation runbook for the complete procedure and recovery boundaries. Consumer minimum versions for v18 still require separate verification; this server release does not publish npm packages.
Full Changelog: v17.0.5...v17.1.0
v17.0.5
TL;DR
This patch restores password sign-in for affected accounts after Better Auth upgrades and automatically repairs legacy credential identifiers during deployment.
Changes
- New owner and review-demo password accounts now receive the credential identifier Better Auth expects, so correct passwords work for both username and email sign-in. (9c2ad71)
- The normal release migration repairs missing, empty, or outdated password-account identifiers without resetting passwords or changing OAuth accounts, sessions, or Passkeys. It can safely run again; ambiguous duplicate password accounts stop the migration for operator review. (9c2ad71)
Full Changelog: v17.0.4...v17.0.5
v17.0.4
TL;DR
Restores startup and configuration updates for existing installations with encryption disabled, while preserving strict checks for encrypted data and v2 storage.
Changes
- Existing installations using
ENCRYPT_ENABLE=false(orMX_ENCRYPT_ENABLE=false) withMX_SECRET_STORAGE_V2=falsecan start and save sensitive configuration again through legacy plaintext storage. API responses continue to mask sensitive configuration fields; existing ciphertext and v2 storage still require encryption and a valid key. (c34c664) - Startup now warns that v18 will require field encryption and an explicit 64-character hexadecimal key. Keep existing encryption keys when upgrading and follow the rollout guide. (c34c664)
Full Changelog: v17.0.3...v17.0.4