Repository navigation
Releases
Ferrum Nexus v0.6.0
Ferrum Nexus v0.6.0 — release notes
Released 2026-11-21. Paired with Ferrum Edge v0.9.20. The pair is recorded in
release/compatibility.env, which the README
quickstart, the Compose example, the getting-started walkthrough and the real-stack
acceptance CI job all read, so every one of them runs the same gateway build.
Breaking: one base schema, and no upgrade path before 1.0. Ferrum Nexus is in
buildout, and no upgrade paths will be designed until 1.0.v0.6.0folds every
earlier migration (001_initialthrough015_access_gateway_jobs) into a single
base schema per backend, and a database created byv0.5.2or earlier is not
migrated: Nexus refuses to start against it, changes nothing, and tells you to
start against a new, empty database. Read
moving from v0.5.2 before you startv0.6.0anywhere that
keeps data.
The full list of changes is in the changelog.
Supported combination
| Component | Version | Pinned as |
|---|---|---|
| Ferrum Nexus | v0.6.0 |
Git tag v0.6.0; build docker/Dockerfile from that checkout |
| Ferrum Edge | v0.9.20 |
ferrumedge/ferrum-edge:v0.9.20@sha256:32a0b0574bb2ed105d315888fab12e33242e1cec3ae9f1ae34c1fb4d0c9a2689 |
| Node.js | ^22.22.2 || ^24.15.0 || >=26.0.0 |
Source installs; the image uses a digest-pinned Node 22 base (22.23.5) |
| Nexus database | PostgreSQL 17 (Compose sample) | Also supported: SQLite, MySQL, MongoDB replica set — see schema |
- Ferrum Edge
v0.9.20is the
published release
(tag commite4a606a00352674daaef08636e3e359e6c48ba18, published 2026-11-03). The
digest above is the multi-architecture image index; it resolves to
sha256:d3e3e7e8409d0583b23e0fa4eee4b85c7b20885a314d4ada2ca8aad66bd33e1con
linux/amd64and
sha256:406d8335e60f15ee024141762a7b280bea4abe76fef37ac26b65c45085ae7426on
linux/arm64. All three were checked against the Docker Hub registry on
2026-11-21. Nexus vendors the matching contracts,contracts-edge-0.9.20
(39da322083044c2e92617209e62983c92387f0ad). - What changed on the Edge side. Since
v0.9.15, Edge has publishedv0.9.17
(nov0.9.16),v0.9.19(nov0.9.18) andv0.9.20. Every contract Nexus depends
on is unchanged: egress policy schema 2 and its data-plane attestation, deployment
snapshot v2 and itsdeployment_snapshot.v2tokens, and the acknowledgement shape.
The ConfigSync protocol revision stays3. Butv0.9.17,v0.9.19andv0.9.20
each refuse configuration and traffic the previous release accepted; see
behaviour changes, and
Upgrading to Edge v0.9.17 and
Upgrading to Edge v0.9.20, which review
every change Nexus consumes. - Other Edge versions are unverified. Nexus
v0.6.0is tested only against Edge
v0.9.20. Edgev0.9.12or earlier is refused. - No prebuilt Nexus image. The release is a tagged source build: the
Dockerfile uses a digest-pinned Node 22 base in both stages andnpm ci
against the committed lockfile. The tag, the base digest and the lockfile are
the reproducible inputs; byte-for-byte image equality across Docker platforms
is not promised. Record the local image ID you build with each deployment.
Highlights
- One base schema; no upgrade path before 1.0. A new database is created directly
at the final schema. A database created by an earlier version is refused at
startup, before anything reads it; see schema. - Pairs with Edge
v0.9.20. Includes Edgev0.9.17's fixes for the published
QUIC advisories that affectv0.9.15, and the stricter admission ofv0.9.19and
v0.9.20. The palette refuses, before any gateway write, the compression,
CIDR-prefix and built-in reserved-header values those releases refuse; a header
reserved only through the gateway'sFERRUM_REAL_IP_HEADERis refused by Edge
at save. - Grant revocations and access approvals are not stranded (#651). Each
decision's gateway half is recorded durably (access_gateway_jobs). After a
crash or a failed compensation, a background worker finishes an interrupted
revocation, and rolls back an approval whose grant never committed (its groups
come off and the request returns to pending, so it must be approved again). - Safer credential changes. Credential deletes are checked against the
Edge read they were decided from. On the pinned Edge v0.9.20, Nexus re-reads
the consumer's strong tag and deletes only if it is unchanged, which leaves a
short window between that re-read and the delete; an Edge with
ferrum-edge#7393 closes it withIf-Match.keyauthandjwtcredentials
are deleted by identity rather than by position, and Nexus honours Edge's
500-ACL-group cap per consumer. - Security fixes in Nexus itself; see security.
Install
From a clean shell, with Docker Compose v2 and openssl, check out the tag:
git clone https://github.com/ferrum-edge/ferrum-nexus.git
cd ferrum-nexus
git checkout --detach v0.6.0Then run the README's full-stack block, exactly as written:
cp docker/docker-compose.example.yml docker-compose.yml
set -a
. ./release/compatibility.env
set +a
export NEXUS_SECRET_KEY=$(openssl rand -hex 32)
export NEXUS_DB_PASSWORD=$(openssl rand -hex 16)
export FERRUM_ADMIN_JWT_SECRET=$(openssl rand -hex 32)
export FERRUM_BASIC_AUTH_HMAC_SECRET=$(openssl rand -hex 32)
docker compose up -dSave the four secrets in a secret manager before going further: a restart or
restore needs the same values. The portal is at http://127.0.0.1:8787 and
docker compose logs nexus prints the first-run bootstrap token. The
getting-started walkthrough continues from there to a
published API and an authenticated request through the gateway.
Moving from v0.5.2
There is no upgrade path: v0.6.0 needs a new, empty Nexus database. Started
against a v0.5.2 (or older) database, it exits non-zero, changes nothing, and
prints that the database was created by a different Ferrum Nexus schema and that
there is no upgrade path before 1.0. Accounts, organizations, APIs, approvals,
grants, credentials metadata, messages, settings and the audit history in the old
database do not carry over. Follow
moving to a new release:
- Check the prerequisites.
- Node. Unchanged since
v0.4.0: a source install needs Node
^22.22.2 || ^24.15.0 || >=26.0.0. The container image carries Node 22.23.5. - The gateway. Work through the Edge upgrade guide's sections for
0.9.17,
0.9.19
and
0.9.20
for anything Nexus does not manage. - Saved palette settings, while the
v0.5.2portal still runs. Edge
refuses to start on a saved config it rejects. Rename anycorrelation_id
header_nameset toX-Ferrum-HopsorX-Geo-Country(any case,_or
-),X-Real-IP(any case) or the gateway'sFERRUM_REAL_IP_HEADER, and fix
or remove thecompressionandip_restrictionvalues Edgev0.9.19
refuses (step 1 of Upgrading to Edge v0.9.17
and of Upgrading to Edge v0.9.20).
Settle recovery journals too.
- Node. Unchanged since
- Stop every Nexus instance, request handlers and background workers alike.
- Back up Nexus and Edge together, as one point in time, following the
backup and restore runbook. This backup is
your only way back tov0.5.2;v0.6.0cannot read it. - Upgrade Edge to
v0.9.20, the control plane and every data plane together. - *...
Ferrum Nexus v0.5.2
Ferrum Nexus v0.5.2 — release notes
Released 2026-10-08. Paired with Ferrum Edge v0.9.15, a security release. The
pair is recorded in release/compatibility.env, which
the README quickstart, the Compose example, the getting-started walkthrough and the
real-stack acceptance CI job all read, so every one of them runs the same gateway
build. v0.5.2 ships that pairing: Edge v0.9.15 fixes 26 published Ferrum Edge
security advisories (see the
Edge security advisories;
the Security section of the Edge v0.9.15
changelog
describes the fixes), and
operators should upgrade Edge to v0.9.15 for those fixes. Nexus itself adds no
migration, so a v0.5.1 database opens unchanged, and the gateway's database opens in
place. Read the upgrade before starting: it upgrades Edge,
and Edge v0.9.15 reserves a header name and refuses some gRPC, WebSocket and MCP
traffic that v0.9.14 served. The full list of changes is in the
changelog.
Supported combination
| Component | Version | Pinned as |
|---|---|---|
| Ferrum Nexus | v0.5.2 |
Git tag v0.5.2; build docker/Dockerfile from that checkout |
| Ferrum Edge | v0.9.15 |
ferrumedge/ferrum-edge:v0.9.15@sha256:29b468dfeea13b1ecaac8dfbc7e019f310e71e647611d43800a1dc64436eaca3 |
| Node.js | ^22.22.2 || ^24.15.0 || >=26.0.0 |
Source installs; the image uses a digest-pinned Node 22 base (22.23.3) |
| Nexus database | PostgreSQL 17 (Compose sample) | Also supported: SQLite, MySQL, MongoDB replica set — see schema and upgrades |
- Ferrum Edge
v0.9.15is the
published release
(tag commit25b37395ff61bfea0f3ffd189d9011c4984fa755). The digest above is the
multi-architecture image index; it resolves to
sha256:0404dc6d70d67abb70feea4e5aa295fdb1c19a0968900f467fc4b908528d19d1on
linux/amd64and
sha256:51b8134770441b3ad340ba87ca9acd8a03fd864315c54d79911b27d95437c91aon
linux/arm64. Both were checked against the Docker Hub registry on
2026-10-08. Nexus vendors the matching contracts,contracts-edge-0.9.15
(6fb64c5dc2e014204c17609fc717d976f3b4589e). - What changed on the Edge side. Edge
v0.9.15keeps every contract Nexus
depends on: egress policy schema 2 and its data-plane attestation, deployment
snapshot v2 and itsdeployment_snapshot.v2tokens, and the acknowledgement shape.
The ConfigSync protocol revision stays3, so a control plane and its data planes
still run the same build, and Edge adds no core schema change, so the gateway
database opens in place. Read Edge's
upgrade guide
and its
changelog
for the gateway-wide changes; Upgrading to Edge v0.9.15
reviews every one Nexus consumes. - Other Edge versions are unverified. Nexus
v0.5.2is tested only against
Edgev0.9.15. It still reads Edgev0.9.14's answers, which keeps an Edge-only
rollback possible (see rollback), but that reopens the vulnerabilities
v0.9.15fixes: run the pinned pair. Edgev0.9.12or earlier is refused. - No prebuilt Nexus image. The release is a tagged source build: the
Dockerfile uses a digest-pinned Node 22 base in both stages andnpm ci
against the committed lockfile. The tag, the base digest and the lockfile are
the reproducible inputs; byte-for-byte image equality across Docker platforms
is not promised. Record the local image ID you build with each deployment.
Highlights
- Pairs with Edge
v0.9.15, a security release. It fixes 26 published Ferrum
Edge advisories; see security. X-Authenticated-Identityis reserved. The portal and the plugin form refuse it
as a palette header name, as Edgev0.9.15does, before any gateway write.- The gRPC and WebSocket refusal is documented. The palette help, the provider
guide and the API reference say which Nexus settings make Edgev0.9.15refuse
native gRPC and WebSocket requests to an API.
Install
From a clean shell, with Docker Compose v2 and openssl:
git clone https://github.com/ferrum-edge/ferrum-nexus.git
cd ferrum-nexus
git checkout --detach v0.5.2
cp docker/docker-compose.example.yml docker-compose.yml
set -a
. ./release/compatibility.env
set +a
export NEXUS_SECRET_KEY=$(openssl rand -hex 32)
export NEXUS_DB_PASSWORD=$(openssl rand -hex 16)
export FERRUM_ADMIN_JWT_SECRET=$(openssl rand -hex 32)
export FERRUM_BASIC_AUTH_HMAC_SECRET=$(openssl rand -hex 32)
docker compose up -dSave the four secrets in a secret manager before going further: a restart or
restore needs the same values. The portal is at http://127.0.0.1:8787 and
docker compose logs nexus prints the first-run bootstrap token. The
getting-started walkthrough continues from there to a
published API and an authenticated request through the gateway.
Upgrading from v0.5.1
v0.5.1 is the supported upgrade source. A v0.5.0 or older database also
upgrades in one run (CI covers every release), but read the
v0.5.1 notes
first: an upgrade from v0.5.0 also applies 013_account_recovery_jobs, which needs
every older Nexus writer drained, and its first trusted password reset revokes
credentials. From v0.5.1, Nexus adds no migration; what changes is Edge. Follow the
production upgrade procedure and
Upgrading to Edge v0.9.15:
- Check the prerequisites.
- Node. Unchanged since
v0.4.0: a source install needs Node
^22.22.2 || ^24.15.0 || >=26.0.0. The container image carries Node
22.23.3. - The gateway. Work through the Edge
upgrade guide's
checklist for anything Nexus does not manage, such as Gateway API routes,
DestinationRules, plugin configs that name environment variables (now only
FERRUM_PLUGIN_SECRET_<NAME>) and namespace-scopedoperatortokens. - Palette header names. Rename any
correlation_idor
request_deduplicationheader_namethat isX-Authenticated-Identity(any
case,_or-); see behaviour changes. - gRPC and WebSocket clients. Find every API at the
routesenforcement
level, available to AI agents, or requiring idempotency keys
(enforce_required) that also serves native gRPC or WebSocket clients. Serve
that traffic from a separate API, or relax the setting, before upgrading. - MCP concurrency. Compare each agent API's expected concurrent MCP sessions
per caller with Edge's new default cap of 128.
- Node. Unchanged since
- Settle gateway recovery work. Tokens Edge
v0.9.14issued keep verifying on
Edgev0.9.15, so this is not required, but it keeps the upgrade window free of
conversions in flight. RunPOST /api/apis/:id/restore-gatewayfor every API
whosegateway_stateisrepair_requireduntil it completes, and ask providers
not to changespec_enforcementor restore gateways until the upgrade is done. - Stop and drain every Nexus instance, request handlers and background
workers alike, so the backup in the next step is one point in time.v0.5.2
changes no stored data, so av0.5.1writer left running would not corrupt
anything, but it would keep accepting the header name Edgev0.9.15refuses. - Back up Nexus and Edge together, as one point in time, following the
backup and restore runbook. This backup
is your rollback. - Upgrade Edge to
v0.9.15on its existing database. The control plane and
every data plane must run the same build: upgrade them together. Keep Nexus
stopped until step 6. - Start
v0.5.2on every instance. There is no migration to run. Verify it as
the procedure says:schema_migrationsstill lists001_initialthrough
013_account_recovery_jobs;GET /api/health/edge, read as an administrator,
reportsstatus: "ok"andpublic_egress_guaranteed: truefor a local
public-only data plane or a fully attested control plane; and a known client
still calls an API through the gateway with its existing credential, its backend
still receivingX-Consumer-Username.
Nexus v0.5.1 reads Edge v0.9.15, and v0.5.2 reads Edge v0.9.14, so a
deployment that cannot keep Nexus stopped across step 5 may restart v0.5.1 after
the step-4 backup, upgrade Edge, and then upgrade Nexus. Do not stay on a mixed pair:
v0.5.1 with Edge v0.9.15 would accept a palette header name the gateway refuses,
and v0.5.2 with Edge v0.9.14 leaves the Edge vulnerabilities open.
On the Compose stack, from the checkout you installed from, with the four
secrets you saved at install time exported again (never newly generated
values):
docker compose stop nexus
git fetch --tags origin
git checkout --detach v0.5.2
set -a
. ./release/compatibility.env
se...Ferrum Nexus v0.5.1
Ferrum Nexus v0.5.1 — release notes
Released 2026-10-08. Paired with Ferrum Edge v0.9.14, unchanged from
v0.5.0. The pair is recorded in
release/compatibility.env, which the README
quickstart, the Compose example, the getting-started walkthrough and the real-stack
acceptance CI job all read, so every one of them runs the same gateway build.
v0.5.1 is a security and bug-fix release: a trusted password reset revokes the
credentials an account already held, email verification alone no longer authorizes
single sign-on linking, publishing refuses an upstream that loops back into the
gateway, gateway access cleanup trusts only Edge's own "not found", and the
data-plane attestation counts a restarted data plane once. It upgrades a v0.5.0
database in place with one forward migration; the gateway and its database are
unchanged. Read the upgrade before starting: it requires
every older Nexus writer to be stopped and drained, and several changes alter what
operators and clients see. The full list of changes is in the
changelog.
Supported combination
| Component | Version | Pinned as |
|---|---|---|
| Ferrum Nexus | v0.5.1 |
Git tag v0.5.1; build docker/Dockerfile from that checkout |
| Ferrum Edge | v0.9.14 |
ferrumedge/ferrum-edge:v0.9.14@sha256:15442f1b1d1758023fe871fe57be50f19caf34bbe6c499a6812f4ffd0da5e3f8 |
| Node.js | ^22.22.2 || ^24.15.0 || >=26.0.0 |
Source installs; the image uses a digest-pinned Node 22 base (22.23.3) |
| Nexus database | PostgreSQL 17 (Compose sample) | Also supported: SQLite, MySQL, MongoDB replica set — see schema and upgrades |
- Ferrum Edge
v0.9.14is the
published release
(tag commit9bd4d5f9caa4ebe8f0ea13e76d8a6e2172eaca7d), the same buildv0.5.0
paired with. The digest above is the multi-architecture image index; it resolves
tosha256:12a8cd56090c0d4511bb3015b240e606b1b87989c644157566b8f6b6f635b3c2on
linux/amd64and
sha256:19d2886ed8c192cb0daba48ef0a27a0cd0526449dac74bf9438502322aabd9f2on
linux/arm64. Both were checked against the Docker Hub registry on
2026-10-08. Nexus vendors the matching contracts,contracts-edge-0.9.14
(ddbdd845733b7046c4393ac951011dafb774db33). - No Edge upgrade.
v0.5.1makes no change on the Edge side: keep running
Edgev0.9.14on its existing database. The
v0.5.0notes
describe what Edgev0.9.14changed. - Other Edge versions are unverified. Nexus
v0.5.1is tested only against
Edgev0.9.14. It still reads Edgev0.9.13's answers, asv0.5.0does, but
run the pinned pair. Edgev0.9.12or earlier is refused. - No prebuilt Nexus image. The release is a tagged source build: the
Dockerfile uses a digest-pinned Node 22 base in both stages andnpm ci
against the committed lockfile. The tag, the base digest and the lockfile are
the reproducible inputs; byte-for-byte image equality across Docker platforms
is not promised. Record the local image ID you build with each deployment.
Highlights
- A trusted password reset revokes the credentials an account already held.
The first reset that gives an account a trusted proof of its address revokes
every credential of the account and its applications, durably and with retry,
and cancels the account's pending access requests. See
behaviour changes. - Single sign-on links an existing account only on a trusted proof. Redeeming
an email-verification link no longer authorizes linking. - Publishing refuses an upstream that loops back into the gateway, even with
NEXUS_ALLOW_PRIVATE_UPSTREAMS=true. - The data-plane attestation counts a restarted data plane once. A data plane
counts towardNEXUS_EXPECTED_DATA_PLANESonly once it has settled. - Gateway access cleanup trusts only Edge's own "not found", and a failed grant
revocation keeps the grantee's pending tool request. - Credential and notification writes are rate-limited per account.
Install
From a clean shell, with Docker Compose v2 and openssl:
git clone https://github.com/ferrum-edge/ferrum-nexus.git
cd ferrum-nexus
git checkout --detach v0.5.1
cp docker/docker-compose.example.yml docker-compose.yml
set -a
. ./release/compatibility.env
set +a
export NEXUS_SECRET_KEY=$(openssl rand -hex 32)
export NEXUS_DB_PASSWORD=$(openssl rand -hex 16)
export FERRUM_ADMIN_JWT_SECRET=$(openssl rand -hex 32)
export FERRUM_BASIC_AUTH_HMAC_SECRET=$(openssl rand -hex 32)
docker compose up -dSave the four secrets in a secret manager before going further: a restart or
restore needs the same values. The portal is at http://127.0.0.1:8787 and
docker compose logs nexus prints the first-run bootstrap token. The
getting-started walkthrough continues from there to a
published API and an authenticated request through the gateway.
Upgrading from v0.5.0
v0.5.0 is the supported upgrade source. A v0.4.0 or older database also
upgrades in one run (CI covers every release), but read the
v0.5.0 notes
first: an upgrade from v0.4.0 also upgrades Edge to v0.9.14, in the same window,
and has its own prerequisites. From v0.5.0, only Nexus changes. Follow the
production upgrade procedure:
- Check the prerequisites.
- Node. Unchanged since
v0.4.0: a source install needs Node
^22.22.2 || ^24.15.0 || >=26.0.0. The container image carries Node
22.23.3. - Edge. Unchanged: Edge
v0.9.14, as pinned forv0.5.0. - Upstreams on the gateway's host. Find any API whose upstream names or
resolves to the gateway's public URL,FERRUM_GATEWAY_PUBLIC_URLor the
Admin API host, or, when any of those is a loopback address, to any loopback
address. Its next publish, revision, upstream change or gateway restore is
refused; see behaviour changes. - Proxies in front of Edge. A proxy between Nexus and the Admin API must
pass Edge's404bodies and theDateheader through unchanged.
- Node. Unchanged since
- Stop and drain every Nexus instance, request handlers and background
workers alike. Older and newer writers must never run together:
013_account_recovery_jobsadds the table that records the revocation a trusted
password reset owes. Av0.5.0instance neither writes that row when it
completes a reset nor checks it before issuing a credential, so it would skip
the revocation or issue a credential while one is owed, and it runs no worker to
drain the table. - Back up Nexus and Edge together, as one point in time, following the
backup and restore runbook. This backup
is your rollback. - Run the migration once from the new Nexus image
(node server/dist/db/migrate-cli.js). It applies
013_account_recovery_jobs; re-running it is safe. Nexus also migrates at
startup, so a single-instance deployment may skip this step. - Start
v0.5.1on every instance. Verify it as the procedure says:
schema_migrationslists001_initialthrough013_account_recovery_jobs;
GET /api/health/edge, read as an administrator, reportsstatus: "ok"and
public_egress_guaranteed: truefor a local public-only data plane or a fully
attested control plane; and a known client still calls an API through the
gateway with its existing credential. On a control-plane/data-plane pairing,
health can readdegraded(an administrator reads
backend_egress_unverified) for up to a minute after Nexus starts, and a
backend write refused meanwhile carriesdetails.data_plane_attestation
data_plane_recently_connected; see
behaviour changes.
On the Compose stack, from the checkout you installed from, with the four
secrets you saved at install time exported again (never newly generated
values):
docker compose stop nexus
git fetch --tags origin
git checkout --detach v0.5.1
set -a
. ./release/compatibility.env
set +a
docker compose up -d --buildTake the paired backup (step 3) after docker compose stop nexus and before
docker compose up -d --build. The Edge image is unchanged, so Compose keeps the
running gateway and its ferrumdata volume as they are, and Nexus migrates the
retained pgdata database when it starts.
What the migration does, on every backend:
013_account_recovery_jobsadds theaccount_recovery_jobstable (a
collection with the same two indexes on MongoDB): at most one row per account,
holding the credential revocation a trusted password reset owes until a worker
lands it, with a foreign key touserson SQL backends that cascades on delete.
It only adds an empty table and copies no data, so no retained account owes a
revocation after the upgrade. On MySQL it is a replayable
CREATE TABLE IF NOT EXISTS.
Behaviour changes to plan for
All are listed in the changelog.
- The first trusted password reset revokes existing credentials. A completed
POST /api/auth/reset-passwordon an account wi...
Ferrum Nexus v0.5.0
Ferrum Nexus v0.5.0 — release notes
Released 2026-10-08. Paired with Ferrum Edge v0.9.14. The pair is recorded
in release/compatibility.env, which the
README quickstart, the Compose example, the getting-started walkthrough and the
real-stack acceptance CI job all read, so every one of them runs the same
gateway build. v0.5.0 lets the holder of an explicit MCP tool subset request
more tools on its existing grant without losing access, announces renamed agent
tools, completes the hardening of the public-only egress guarantee for
control-plane/data-plane topologies, and reports a deployment mutation Edge proves
it did not commit under its own error kind. It upgrades a v0.4.0 database in
place with one forward migration, and the gateway's database carries over
unchanged. Read the upgrade before starting: it
requires every older Nexus writer to be stopped and drained, needs Nexus and Edge
upgraded in one window, and changes an error kind that clients and alerts may key
on. The full list of changes is in the
changelog.
Supported combination
| Component | Version | Pinned as |
|---|---|---|
| Ferrum Nexus | v0.5.0 |
Git tag v0.5.0; build docker/Dockerfile from that checkout |
| Ferrum Edge | v0.9.14 |
ferrumedge/ferrum-edge:v0.9.14@sha256:15442f1b1d1758023fe871fe57be50f19caf34bbe6c499a6812f4ffd0da5e3f8 |
| Node.js | ^22.22.2 || ^24.15.0 || >=26.0.0 |
Source installs; the image uses a digest-pinned Node 22 base (22.23.3) |
| Nexus database | PostgreSQL 17 (Compose sample) | Also supported: SQLite, MySQL, MongoDB replica set — see schema and upgrades |
- Ferrum Edge
v0.9.14is the
published release
(tag commit9bd4d5f9caa4ebe8f0ea13e76d8a6e2172eaca7d). The digest above is
the multi-architecture image index; it resolves to
sha256:12a8cd56090c0d4511bb3015b240e606b1b87989c644157566b8f6b6f635b3c2on
linux/amd64and
sha256:19d2886ed8c192cb0daba48ef0a27a0cd0526449dac74bf9438502322aabd9f2on
linux/arm64. Both were checked against the Docker Hub registry on
2026-10-08. Nexus vendors the matching contracts,contracts-edge-0.9.14
(ddbdd845733b7046c4393ac951011dafb774db33). - What changed on the Edge side. Edge
v0.9.14keeps every contract Nexus
depends on: egress policy schema 2, deployment snapshot v2 and its
deployment_snapshot.v2tokens, and the acknowledgement shape. A control
plane's egress policy answer gains the optionaldata_plane_attestation
object, a conditional mutation whose store fails before commit answers503
withdurablenot_startedornot_committedinstead ofunknown, and the
ConfigSync protocol revision is now3, so a control plane and its data
planes must run the same build. Edgev0.9.14adds no core schema change, so
the gateway database opens in place. Read Edge's
upgrade guide
and its
changelog
for the data-plane changes your clients may notice, such as backend HTTP/2
resets now classified asprotocol_errorand charged to the target's circuit
breaker, and a buffered response read timeout answering504instead of502. - Other Edge versions are unverified. Nexus
v0.5.0is tested only against
Edgev0.9.14. It still reads Edgev0.9.13's answers, which keeps an
Edge-only rollback possible (see rollback), but run the pinned pair.
Edgev0.9.12or earlier is refused, as inv0.4.0. - No prebuilt Nexus image. The release is a tagged source build: the
Dockerfile uses a digest-pinned Node 22 base in both stages andnpm ci
against the committed lockfile. The tag, the base digest and the lockfile are
the reproducible inputs; byte-for-byte image equality across Docker platforms
is not promised. Record the local image ID you build with each deployment.
Highlights
- Request more MCP tools on an existing grant. A holder of an explicit tool
subset loses a tool when its provider redefines or renames it. It can now ask
for that tool, or any other uncovered one, on the grant it already holds
(POST /api/grants/:id/tool-requests), and the provider decides it like any
access request. REST access and the tools already approved stay in place
throughout. See the API reference and the
subset rollout. - Renamed tools are announced. An agents edit that renames a tool drops it
from explicit subsets, as before, and its holders now get an in-app notice
naming the old and new name, as for a redefined tool. - Attested public-only egress for control-plane/data-plane pairings. With
Edgev0.9.14andNEXUS_EXPECTED_DATA_PLANESset, a control plane whose
connected data planes all attest public-only egress publishes under the
default public profile, with no opt-out. See
CP/DP pairings and data-plane attestation. - A deployment mutation Edge did not commit is named. It reports
details.kinddeployment_not_committedinstead of
deployment_acknowledgement_uncertain; see
behaviour changes. - Fewer gateway reads per spec build. A revision, rollback, agents edit,
restore or conversion of an agent API no longer reads every all-tools
grantee's consumer from the gateway; enrollment runs only when agents are
turned on or a retained selection is given its exposure IDs.
Install
From a clean shell, with Docker Compose v2 and openssl:
git clone https://github.com/ferrum-edge/ferrum-nexus.git
cd ferrum-nexus
git checkout --detach v0.5.0
cp docker/docker-compose.example.yml docker-compose.yml
set -a
. ./release/compatibility.env
set +a
export NEXUS_SECRET_KEY=$(openssl rand -hex 32)
export NEXUS_DB_PASSWORD=$(openssl rand -hex 16)
export FERRUM_ADMIN_JWT_SECRET=$(openssl rand -hex 32)
export FERRUM_BASIC_AUTH_HMAC_SECRET=$(openssl rand -hex 32)
docker compose up -dSave the four secrets in a secret manager before going further: a restart or
restore needs the same values. The portal is at http://127.0.0.1:8787 and
docker compose logs nexus prints the first-run bootstrap token. The
getting-started walkthrough continues from there to a
published API and an authenticated request through the gateway.
Upgrading from v0.4.0
v0.4.0 is the supported upgrade source. A v0.3.0, v0.2.0 or v0.1.0
database also upgrades in one run (CI covers every release), but read the
v0.4.0 notes
first: those releases ran an older Edge, and their upgrade has its own
prerequisites (Node floor, public-only egress, settling recovery journals). Upgrade
Nexus and Edge together, in one maintenance window, following the
production upgrade procedure:
- Check the prerequisites.
- Node. Unchanged since
v0.4.0: a source install needs Node
^22.22.2 || ^24.15.0 || >=26.0.0. The container image carries Node
22.23.3. - Gateway egress. Unchanged for a single Edge process that answers the
Admin API and serves the traffic: it still needs
FERRUM_BACKEND_ALLOW_IPS=publicwithout allow CIDRs. A control plane with
remote data planes can now be admitted on its data planes' attestation, but
only withNEXUS_EXPECTED_DATA_PLANESset; see
data-plane attestation.
A pairing that publishes today underNEXUS_ALLOW_PRIVATE_UPSTREAMS=true
keeps doing so. - Clients and alerts. Update anything keyed on
deployment_acknowledgement_uncertainor on the gateway's502rate; see
behaviour changes.
- Node. Unchanged since
- Settle gateway recovery work on the old pairing. Tokens Edge
v0.9.13
issued keep verifying on Edgev0.9.14, so this is not required, but it keeps
the upgrade window free of conversions in flight. Run
POST /api/apis/:id/restore-gatewayfor every API whosegateway_stateis
repair_requireduntil it completes, and ask providers not to change
spec_enforcementor restore gateways until the upgrade is done. See
Upgrading to Edge v0.9.14. - Stop and drain every Nexus instance, request handlers and background
workers alike. Older and newer writers must never run together:
012_access_request_grantadds the field that marks a request for more tools
on a grant, and av0.4.0instance, which does not read it, would list and
decide such a request as a request for access.v0.4.0also reads the
egress policy answer as a closed key set, so it refuses every backend write
once a control plane answers with Edgev0.9.14's attestation. - Back up Nexus and Edge together, as one point in time, following the
backup and restore runbook. This backup
is your rollback. - Upgrade Edge to
v0.9.14on its existing database. The control plane
and every data plane must run the same build: upgrade them together. A data
plane on an older build cannot...
Ferrum Nexus v0.4.0
Ferrum Nexus v0.4.0 — release notes
Released 2026-10-06. Paired with Ferrum Edge v0.9.13. The pair is recorded
in release/compatibility.env, which the
README quickstart, the Compose example, the getting-started walkthrough and the
real-stack acceptance CI job all read, so every one of them runs the same
gateway build. v0.4.0 lets providers expose API operations as MCP tools and
grant consumers a subset of them, admits a backend write only when the gateway
attests public-only egress, recovers enforcement conversions through Edge's
conditional deployment API, and fixes twelve security advisories that affect
v0.3.0. It upgrades a v0.3.0 database in place with five forward migrations,
and the gateway's database carries over unchanged. Read the
upgrade before starting: it raises the Node floor,
requires every older Nexus writer to be stopped and drained, refuses backend
writes to a gateway that does not enforce public-only egress, and needs Nexus
and Edge upgraded in one window. The full list of changes is in the
changelog.
Supported combination
| Component | Version | Pinned as |
|---|---|---|
| Ferrum Nexus | v0.4.0 |
Git tag v0.4.0; build docker/Dockerfile from that checkout |
| Ferrum Edge | v0.9.13 |
ferrumedge/ferrum-edge:v0.9.13@sha256:6caa0987adb4c0a3a368fcd800bb0459cff3d3e219522e2e9c56280205862e50 |
| Node.js | ^22.22.2 || ^24.15.0 || >=26.0.0 |
Source installs; the image uses a digest-pinned Node 22 base (22.23.3) |
| Nexus database | PostgreSQL 17 (Compose sample) | Also supported: SQLite, MySQL, MongoDB replica set — see schema and upgrades |
- Ferrum Edge
v0.9.13is the
published release
(tag commit9b83115de7ec23ab51ec4feae6bed65e596db425). The digest above is
the multi-architecture image index; it resolves to
sha256:03822d924b7919d07a840baf757d016f2f05c8df8a8d0455a2eebae917aae2ccon
linux/amd64and
sha256:a628f8fc12c916793b96ba111c2bf4360ea84981b8bf766254b47c6140c02a80on
linux/arm64. Both were checked against the Docker Hub registry on
2026-10-06. Nexus vendors the matching contracts,contracts-edge-0.9.13
(9626821eb089c71f5d4d71268c7b8276a8a5ab50). - What changed on the Edge side. Edge
v0.9.13reports its backend egress
policy asschema_version: 2, serves deployment snapshot v2 (stored spec
documents as digests plus a separateapi_spec_contentsarray), signs
deployment tokens in a new domain so every earlier token answers412, and can
answer507for a namespace past its conditional size bound. Nexusv0.4.0
reads only these forms, so it pairs with Edgev0.9.13only, and Edge
v0.9.12or earlier is refused rather than guessed. Edge's schema
migrations are unchanged fromv0.9.9tov0.9.13, so a gateway database
v0.9.9created opens in place, unlike thev0.3.0upgrade. Read Edge's
upgrade guide
from0.9.10to0.9.13and its
changelog
for the data-plane changes your clients may notice, such as TLS source
selectors that must match their field, buffered HTTP/3 uploads taking
request-buffer admission and route deadlines bounding early body collection. - Other Edge versions are unverified. Nexus
v0.4.0has not been tested
against any other Edge release; upgrade the gateway together with the portal. - No prebuilt Nexus image. The release is a tagged source build: the
Dockerfile uses a digest-pinned Node 22 base in both stages andnpm ci
against the committed lockfile. The tag, the base digest and the lockfile are
the reproducible inputs; byte-for-byte image equality across Docker platforms
is not promised. Record the local image ID you build with each deployment.
Highlights
- Agent-ready API listings with tool subsets. A provider can expose
selected OpenAPI operations of a requestableroutesAPI as MCP tools (off by
default). Existing approvals gate every tool, and normal credentials
authenticate discovery and calls. A consumer can request, and a provider
approve, a subset of the published tools; an explicit approval never follows a
changed tool definition, so a revision that rewrites a tool's schema or prompt
text drops it from every subset until it is approved again. See the
agent marketplace and the
subset rollout. - Verified public-only gateway egress. Before every backend write Nexus
reads the gateway's egress policy and admits the write only when a local data
plane attests public-only egress.GET /api/health/edgereports the verdict to
administrators aspublic_egress_guaranteed. See
backend egress admission. - Conditional recovery of gateway conversions. Enforcement conversions and
gateway restores keep an encrypted recovery journal and use Edge's conditional
deployment API with the original snapshot authority; an unconfirmed result is
kept for an operator instead of being retried with fresh authority. See the
operator runbook. - Security mail is never stuck behind a campaign. The outbox claims
verification and password-recovery mail ahead of routine notifications and
mass email, and mass-email campaigns are bounded in aggregate and queued in
chunks. - A read-only service-manifest preview validates a Ferrum service manifest
against the published shared v1 contract without publishing anything. See the
preview. - Twelve security fixes, listed under security.
Install
From a clean shell, with Docker Compose v2 and openssl:
git clone https://github.com/ferrum-edge/ferrum-nexus.git
cd ferrum-nexus
git checkout --detach v0.4.0
cp docker/docker-compose.example.yml docker-compose.yml
set -a
. ./release/compatibility.env
set +a
export NEXUS_SECRET_KEY=$(openssl rand -hex 32)
export NEXUS_DB_PASSWORD=$(openssl rand -hex 16)
export FERRUM_ADMIN_JWT_SECRET=$(openssl rand -hex 32)
export FERRUM_BASIC_AUTH_HMAC_SECRET=$(openssl rand -hex 32)
docker compose up -dSave the four secrets in a secret manager before going further: a restart or
restore needs the same values. The portal is at http://127.0.0.1:8787 and
docker compose logs nexus prints the first-run bootstrap token. The
getting-started walkthrough continues from there to a
published API and an authenticated request through the gateway.
Upgrading from v0.3.0
v0.3.0 is the supported upgrade source. A v0.2.0 or v0.1.0 database also
upgrades in one run (CI covers every release), but those releases ran Edge
v0.9.8, whose SQL gateway database Edge v0.9.9 and later refuse: first follow
the v0.3.0 notes
to export and re-import the gateway's configuration. Upgrade Nexus and Edge
together, in one maintenance window, following the
production upgrade procedure:
- Check the prerequisites.
- Node. A source install needs Node
^22.22.2 || ^24.15.0 || >=26.0.0;
Node 22.14 to 22.22.1, Node 24 before 24.15.0, and Node 23 and 25 are no
longer supported. The container image already carries Node 22.23.3. - Gateway egress. By default Nexus writes to the gateway only when a
single Edge process that answers the Admin API and serves the traffic runs
FERRUM_BACKEND_ALLOW_IPS=publicwith noFERRUM_BACKEND_ALLOW_CIDRS
overlay. Edge's production default (both), an allow-CIDR overlay and a
control plane with remote data planes all get every backend write refused
and healthdegraded. Configure the gateway accordingly, or choose an
opt-out (see egress admission). The
v0.3.0Compose example did not set the variable: add
FERRUM_BACKEND_ALLOW_IPS: publicto theferrum-edgeservice's
environmentin yourdocker-compose.yml, or copy the new example over
it. - Agent APIs. Inventory the APIs whose providers will want tool subsets:
each needs one authenticated save of its agent settings, or a republish,
after the upgrade before it accepts an explicit subset.
- Node. A source install needs Node
- Settle gateway recovery work on the old pairing. Edge
v0.9.13refuses
every deployment token an earlier Edge issued, so a conversion or restore in
flight across the upgrade cannot finish on its own.v0.3.0writes no
recovery journals, so for av0.3.0deployment this is a check: no
app_settingsrow whose key starts withgateway_recovery:or
gateway_restore_cleanup:should exist. Run
POST /api/apis/:id/restore-gatewayfor every API whosegateway_stateis
repair_requireduntil it completes, and ask providers not to change
spec_enforcementor restore gateways until the upgrade is done. A
deployment that ran an interim build frommainfollows
Upgrading to Edge v0.9.13 step 2. - Stop and drain every Nexus instance, request handler...
Ferrum Nexus v0.3.0
Ferrum Nexus v0.3.0 — release notes
Released 2026-10-01. Paired with Ferrum Edge v0.9.9. The pair is recorded
in release/compatibility.env, which the
README quickstart, the Compose example, the getting-started walkthrough and the
real-stack acceptance CI job all read, so every one of them runs the same
gateway build. v0.3.0 adds OpenID Connect single sign-on, a consumer-facing
history of specification changes and spec-change notifications, and fixes six
security advisories that affect v0.2.0. It upgrades a v0.2.0 database in
place with three forward migrations, but the gateway's database has to be
exported and re-imported: Edge v0.9.9 does not open a SQL database an
earlier Edge created (see upgrading from v0.2.0). The
full list of changes is in the changelog.
Supported combination
| Component | Version | Pinned as |
|---|---|---|
| Ferrum Nexus | v0.3.0 |
Git tag v0.3.0; build docker/Dockerfile from that checkout |
| Ferrum Edge | v0.9.9 |
ferrumedge/ferrum-edge:v0.9.9@sha256:83bb4de2ea264d5bed18d8f01f94e0e17a29b43aa1458b8984a0e9e1e784ede6 |
| Nexus database | PostgreSQL 17 (Compose sample) | Also supported: SQLite, MySQL, MongoDB replica set — see schema and upgrades |
- Ferrum Edge
v0.9.9is the
published release
(tag commit234717ce41965cd1e2b5c6c761a25475c5d7628c). The digest above is
the multi-architecture image index; it resolves to
sha256:558fba9a1a9d7826e5ff9d84a1c80f24903c202a3a755072f45af0372ce1b477on
linux/amd64and
sha256:33a8acceab1bee27e999b235cb24311619e44209b865cd68971cd9f3928a8379on
linux/arm64. Both were checked against the Docker Hub registry on
2026-10-01. Edge'slatesttag is not refreshed for releases. - What changed on the Edge side. None of the Admin API resources Nexus
writes change shape. Nexus signsadmintokens, which read secrets
unmasked, so Edge's new refusal to write a masked placeholder back into a
plugin config or upstream never applies to it; the viewer-key namespace
ceiling and the MCP tool catalog are features Nexus does not use; and the
listen paths Nexus publishes (/<namespace>/<slug>) contain no;, so
allow_path_parametersis not needed. Edge now refuses some plugin settings
it used to accept, which Nexus checks first (see
behaviour changes), and its canonical
request path refuses;path parameters and empty segments (//) on every
proxy that does not opt in, so a client calling a published API with such a
path now gets400. Read Edge's
Upgrading to 0.9.9
and its changelog
for the data-plane changes your clients may notice, such as the whole
x-consumer-*request-header namespace becoming gateway-owned. - Other Edge versions are unverified. Nexus
v0.3.0has not been tested
against Edgev0.9.8or older; upgrade the gateway together with the portal. - No prebuilt Nexus image. The release is a tagged source build: the
Dockerfile uses a digest-pinned Node 22 base in both stages andnpm ci
against the committed lockfile. The tag, the base digest and the lockfile are
the reproducible inputs; byte-for-byte image equality across Docker platforms
is not promised. Record the local image ID you build with each deployment.
Highlights
- OpenID Connect single sign-on. Users sign in with Keycloak, Dex, Entra
ID, Okta, Auth0 or any standards-compliant provider (authorization code with
PKCE). Providers come fromNEXUS_OIDC_PROVIDERSor Admin → Settings →
Single sign-on; groups and claims map to roles and organizations; each
deployment chooseslocal_and_sso,local_onlyorsso_only. Existing
accounts are linked only on a recorded proof of their address (see
single sign-on and existing accounts).
Theacceptancejob signs in through a real, digest-pinned Dex. Setup is in
operations.md§14. - Consumers see what changed in an API's specification. Each revision that
replaces another records a summary of its changes, each marked breaking or
not; the catalog has a Changes tab and
GET /api/catalog/:slug/changesserves the same history. - Grantees are told when a specification changes, in-app by default and by
email if they opt in on the new Notifications card of their profile. - Specification reviews say when they are incomplete. The comparison shown
before a replace or rollback works within a fixed budget and reports
complete: falsewhen it runs out, instead of blocking the server. - Six security fixes, listed under security.
- Text meets WCAG AA contrast throughout the portal, in both themes and
with any branding colour.
Install
From a clean shell, with Docker Compose v2 and openssl:
git clone https://github.com/ferrum-edge/ferrum-nexus.git
cd ferrum-nexus
git checkout --detach v0.3.0
cp docker/docker-compose.example.yml docker-compose.yml
set -a
. ./release/compatibility.env
set +a
export NEXUS_SECRET_KEY=$(openssl rand -hex 32)
export NEXUS_DB_PASSWORD=$(openssl rand -hex 16)
export FERRUM_ADMIN_JWT_SECRET=$(openssl rand -hex 32)
export FERRUM_BASIC_AUTH_HMAC_SECRET=$(openssl rand -hex 32)
docker compose up -dSave the four secrets in a secret manager before going further: a restart or
restore needs the same values. The portal is at http://127.0.0.1:8787 and
docker compose logs nexus prints the first-run bootstrap token. The
getting-started walkthrough continues from there to a
published API and an authenticated request through the gateway.
Upgrading from v0.2.0
v0.2.0 is the supported upgrade source. A v0.1.0 database also upgrades in
one run (CI covers both); read the
v0.2.0 notes
first for what 002_api_gateway_plugins and 003_messages_thread_latest do.
Upgrade Nexus and Edge together, following the
production upgrade procedure:
- Back up Nexus and Edge together, as one point in time, following the
backup and restore runbook. Take the
Edge half with Edge's Admin APIGET /backup, not as a copy of its database
file: step 3 needs that export. This backup is your rollback. - Stop every Nexus instance.
- Move the gateway to Edge
v0.9.9on a new database. Edgev0.9.9
changed its SQLV001baseline, so it refuses to start on a SQLite,
PostgreSQL or MySQL gateway database created byv0.9.8or earlier (aV001
checksum mismatch); Edge's changelog says to recreate the database and
re-import the configuration. A MongoDB gateway database is unaffected and
skips this step.- Export the Nexus namespace from the running
v0.9.8gateway with
GET /backup, sendingX-Ferrum-Namespaceset to Nexus's
FERRUM_NAMESPACEand an HS256 admin JWT signed with
FERRUM_ADMIN_JWT_SECRET. Nexus's own signer stamps the claims Edge
requires, listed below, and the Compose commands further down use it. Before
going on, check that the export is non-empty, reports
source: "database"(acachedexport carries no API spec documents)
and lists your proxies, consumers and plugin configs. The export from
step 1 serves if nothing has written to the gateway since. See Edge's
backup and restore reference.
The token's claims:issequal to the gateway'sFERRUM_ADMIN_JWT_ISSUER(default
ferrum-edge);sub, any non-empty actor name for Edge's audit log;iat,nbfandexp, withexp - iatpositive and at most
FERRUM_ADMIN_JWT_MAX_TTL(default 3,600 seconds);jti, a unique token id;role: "admin", sinceGET /backupandPOST /restoreare
admin-only;audonly if the gateway setsFERRUM_ADMIN_JWT_AUDIENCE(a token
carryingaudis refused otherwise), andnsnaming the namespace if
it requires namespace claims.
- Stop the gateway and set its database aside unchanged: it is the gateway
half of your rollback. - Start
v0.9.9on an empty database with the same Edge secrets
(FERRUM_ADMIN_JWT_SECRET,FERRUM_BASIC_AUTH_HMAC_SECRET) and import
the export into the same namespace withPOST /restore?confirm=true,
with the same header and the same kind of token. Restore keeps every
resource id, so the consumer, proxy and plugin-config ids Nexus recorded
still resolve, and issued credentials keep working. It validates the
whole export againstv0.9.9's rules first: a refusal (400) names what
it refused and writes nothing. Fix that resource in the export and import
again.
- Export the Nexus namespace from the running
- Run the migrations once from the new Nexus image
(node server/dist/db/migrate-cli.js). It applies004_api_spec_changes,
005_notification_preferencesand006_user_identities; re-running it is
safe. Nexus also migrates at startup, so a single-instance deployment may...
Ferrum Nexus v0.2.0
Ferrum Nexus v0.2.0 — release notes
Released 2026-09-27. Paired with Ferrum Edge v0.9.8. The pair is recorded
in release/compatibility.env, which the
README quickstart, the Compose example, the getting-started walkthrough and the
real-stack acceptance CI job all read, so every one of them runs the same
gateway build. v0.2.0 is the first release that upgrades a retained database:
it applies two forward migrations to a v0.1.0 database in place (see
upgrading from v0.1.0). The full list of changes is in
the changelog.
Supported combination
| Component | Version | Pinned as |
|---|---|---|
| Ferrum Nexus | v0.2.0 |
Git tag v0.2.0; build docker/Dockerfile from that checkout |
| Ferrum Edge | v0.9.8 |
ferrumedge/ferrum-edge:v0.9.8@sha256:e5b204f9448d4ec210a57dbd2badece5f4359d5d544522fa48dcdfeef033b385 |
| Nexus database | PostgreSQL 17 (Compose sample) | Also supported: SQLite, MySQL, MongoDB replica set — see schema and upgrades |
- Ferrum Edge
v0.9.8is the
published release
(tag commite27f2109216352c3fe9e67a7014611f3f66daa91). The digest above is
the multi-architecture image index; it resolves to
sha256:0e629633ad55368002c415bbf76d4c91f3741519a33dd310045531d791d9a592on
linux/amd64and
sha256:1e900bd537814fdc864ee1830bbd7a1e1f2785074a5da088a3d9cdd738b532f9on
linux/arm64. Both were checked against the Docker Hub registry on
2026-09-27. Edge'slatesttag is not refreshed for releases. - What changed on the Edge side. Edge
v0.9.8changes its data plane
(HTTP/3, gRPC-Web, the AI stream inspectors), its mesh and its Workload API,
but none of the Admin API resources Nexus writes. Its database baseline is the
onev0.9.7created, so it opens av0.9.7gateway database as it is. Read
Edge's
Upgrading to 0.9.8
for the data-plane behaviour changes your clients may notice, such as the new
X-Gateway-Error: request_timeouttoken. - Other Edge versions are unverified. Nexus
v0.2.0has not been tested
against Edgev0.9.7or older; upgrade the gateway together with the portal. - No prebuilt Nexus image. The release is a tagged source build: the
Dockerfile uses a digest-pinned Node 22 base in both stages andnpm ci
against the committed lockfile. The tag, the base digest and the lockfile are
the reproducible inputs; byte-for-byte image equality across Docker platforms
is not promised. Record the local image ID you build with each deployment.
Highlights
- API settings touch only the gateway plugin configs the portal created.
Nexus records the Edge config id of each auth,access_control,
rate_limitingandcorsconfig it creates (migration
002_api_gateway_plugins) and never rewrites or deletes an operator's config
of the same name. A plugin-config write whose acknowledgement is lost is now
compensated. - Audit rows commit with the change they describe. Approvals, revocations,
credential operations, publishes, API edits, deletions, account changes and
specification updates write their audit row in the same transaction; gateway
work that cannot be undone first commits an intent row. Every audit action is
classified inAUDIT_COMMIT_CLASSES, and a source scan enforces it. - Cross-instance leases are fenced. A holder that stalled past the lease TTL
gets409 CONFLICTand rolls back instead of committing over the new holder's
work. - Faster conversation lists. Each thread's newest message is one index seek
(migration003_messages_thread_latest). - OpenAPI hardening. Documents are bounded by their alias-resolved size
(MAX_SPEC_EXPANDED_BYTES), YAML is read with the YAML 1.2 core schema, and
the viewer follows parameter inheritance and local$refs. - The verbatim quickstart gate runs the README's full-stack block in a clean
runner for every release tag (see release step).
Install
From a clean shell, with Docker Compose v2 and openssl:
git clone https://github.com/ferrum-edge/ferrum-nexus.git
cd ferrum-nexus
git checkout --detach v0.2.0
cp docker/docker-compose.example.yml docker-compose.yml
set -a
. ./release/compatibility.env
set +a
export NEXUS_SECRET_KEY=$(openssl rand -hex 32)
export NEXUS_DB_PASSWORD=$(openssl rand -hex 16)
export FERRUM_ADMIN_JWT_SECRET=$(openssl rand -hex 32)
export FERRUM_BASIC_AUTH_HMAC_SECRET=$(openssl rand -hex 32)
docker compose up -dSave the four secrets in a secret manager before going further: a restart or
restore needs the same values. The portal is at http://127.0.0.1:8787 and
docker compose logs nexus prints the first-run bootstrap token. The
getting-started walkthrough continues from there to a
published API and an authenticated request through the gateway.
Upgrading from v0.1.0
v0.1.0 is the only supported upgrade source. Upgrade Nexus and Edge together,
following the production upgrade procedure:
- Back up Nexus and Edge together, as one point in time, following the
backup and restore runbook. This backup
is your rollback. - Stop every Nexus instance.
- Move the gateway to Edge
v0.9.8on the same data. It starts on the
v0.9.7database unchanged. - Run the migrations once from the new Nexus image
(node server/dist/db/migrate-cli.js). It applies
002_api_gateway_pluginsand003_messages_thread_latest; re-running it is
safe. Nexus also migrates at startup, so a single-instance deployment may
skip this step. - Start
v0.2.0on every instance and verify it as the procedure says:
schema_migrationslists001_initial,002_api_gateway_pluginsand
003_messages_thread_latest.
On the Compose stack, from the checkout you installed from, with the four
secrets you saved at install time exported again (never newly generated values)
and docker-compose.yml unchanged:
docker compose stop nexus
git fetch --tags origin
git checkout --detach v0.2.0
set -a
. ./release/compatibility.env
set +a
docker compose up -d --build--build rebuilds the Nexus image from the new checkout; the new
FERRUM_EDGE_IMAGE replaces the gateway container on the retained ferrumdata
volume, and Nexus migrates the retained pgdata database when it starts.
What the migrations do:
002_api_gateway_pluginsadds theapi_gateway_pluginstable on every
backend (an index on MongoDB) and copies no data. An API published under
v0.1.0has its configs recognised role by role, by the values the portal
wrote, on its first gateway-touching change. APATCHto a setting whose
proxy carries two matching configs for a role, or an auth,access_controlor
corsconfig that no longer matches the API's settings, answers
409 CONFLICTnaming the plugin until the operator removes or fixes that
config; other settings keep working. See
released forward migrations.003_messages_thread_latestreplaces the messages index
ix_messages_threadwithix_messages_thread_latest, which adds the message
id. It changes no data. On PostgreSQL and SQLite, building the index blocks
writes tomessagesuntil it finishes, which on a large table can take a
while; a rolling deploy that migrates while an old instance still serves
stalls message sends until it completes. On MongoDB the step builds the new
index and then drops the old one. On MySQL it is a no-op: InnoDB already
appends the primary key to the existing index.- MySQL needs no runner change.
002is a single
CREATE TABLE IF NOT EXISTSand003has no statements, so both are
replay-safe under the existing runner.
Behaviour changes to plan for, all listed in the
changelog:
- The daily access-request budget
(NEXUS_MAX_ACCESS_REQUESTS_PER_USER_PER_DAY) countsaccess.requestaudit
rows, so a deleted application's requests stay charged for 24 hours. - New audit actions record intent before irreversible gateway work (for example
application.delete_start,api.delete_start,credential.revoke_start,
api.plugin_remove_start,api.spec_revision_start) and outcomes after it
(god.disable_user_complete,api.plugin_rollback,
credential.revoke_rollback). Update any tooling that reads the audit log. - OpenAPI uploads larger than
MAX_SPEC_EXPANDED_BYTES(4 MiB) once aliases are
resolved answer400 SPEC_INVALIDwithdetails.reason = "expanded_too_large",
and YAML is read with the YAML 1.2 core schema:yes,no,onandoff
stay strings. Stored revisions are re-read with the same rules.
Rollback is a restore of the backup taken in step 1, Nexus and Edge
together. Never run v0.1.0 over a database v0.2.0 migrated.
Schema and upgrades
v0.2.0freezes002_api_gateway_pluginsand
003_messages_thread_lateston every backend.
server/src/db/released-migrations.tslists them withrelease: 'v0.2.0'
beside001_initial(release: 'v0.1.0'), each with a SHA-256 checksum per
backend, and CI fails on any edit to them. Later releases change the schema
only with forward migrations that upgrade av0.2.0database in place; see
[schema versioning and upgra...
Ferrum Nexus v0.1.0
Ferrum Nexus v0.1.0 — release notes
Released 2026-09-25. The first supported Ferrum Nexus release, paired with
Ferrum Edge v0.9.7. The pair is recorded in
release/compatibility.env, which the README
quickstart, the Compose example, the getting-started walkthrough and the
real-stack acceptance CI job all read, so every one of them runs the same
gateway build. The full list of changes is in the
changelog.
Supported combination
| Component | Version | Pinned as |
|---|---|---|
| Ferrum Nexus | v0.1.0 |
Git tag v0.1.0; build docker/Dockerfile from that checkout |
| Ferrum Edge | v0.9.7 |
ferrumedge/ferrum-edge:v0.9.7@sha256:4c9530e09443649526dc4fbbec0720ba7b47ceb91b0dd5cb06db85430908874a |
| Nexus database | PostgreSQL 17 (Compose sample) | Also supported: SQLite, MySQL, MongoDB replica set — see schema and upgrades |
- Ferrum Edge
v0.9.7is the
published release
(tag commit8fed1346ce2e267eb69c03683cb89ea44d785e0b). The digest above is
the multi-architecture image index; it resolves to
sha256:e4d4367e815e86f510c28d8f831ca3502b7c9d5f21fd0eeabeb609a8c8e6f47fon
linux/amd64and
sha256:7d3d28d2529dfb6a303b734fad0bf35ebec07caa95f5632e81d92170baf15fabon
linux/arm64. Both were checked against Docker Hub's tag API on 2026-09-25.
Edgev0.9.6was tagged but never published — do not use it — and Edge's
latesttag is not refreshed for releases. - Other Edge versions are unverified. Nexus reads one proxy's plugin
configs withGET /plugins/config?proxy_id=…, which Edge added inv0.9.7.
An older gateway ignores the filter; Nexus still answers correctly by paging
the whole namespace, but that combination is not tested. - No prebuilt Nexus image. The release is a tagged source build: the
Dockerfile uses a digest-pinned Node 22 base in both stages andnpm ci
against the committed lockfile. The tag, the base digest and the lockfile are
the reproducible inputs; byte-for-byte image equality across Docker platforms
is not promised. Record the local image ID you build with each deployment.
Install
From a clean shell, with Docker Compose v2 and openssl:
git clone https://github.com/ferrum-edge/ferrum-nexus.git
cd ferrum-nexus
git checkout --detach v0.1.0
cp docker/docker-compose.example.yml docker-compose.yml
set -a
. ./release/compatibility.env
set +a
export NEXUS_SECRET_KEY=$(openssl rand -hex 32)
export NEXUS_DB_PASSWORD=$(openssl rand -hex 16)
export FERRUM_ADMIN_JWT_SECRET=$(openssl rand -hex 32)
export FERRUM_BASIC_AUTH_HMAC_SECRET=$(openssl rand -hex 32)
docker compose up -dSave the four secrets in a secret manager before going further: a restart or
restore needs the same values. The portal is at http://127.0.0.1:8787 and
docker compose logs nexus prints the first-run bootstrap token. The
getting-started walkthrough continues from there to a
published API and an authenticated request through the gateway.
Schema and upgrades
v0.1.0freezes the001_initialschema baseline on every backend.
server/src/db/released-migrations.tslists it withrelease: 'v0.1.0'and a
SHA-256 checksum per backend, and CI fails on any edit to it. Later releases
change the schema only with forward migrations that upgrade av0.1.0
database in place; see
schema versioning and upgrades
and the production upgrade procedure.- No upgrade into
v0.1.0. Databases created by pre-release buildout
checkouts are not supported; recreate them
(development reset). - Per backend. SQLite and PostgreSQL apply each migration and its ledger
row in one transaction. MongoDB requires a replica set; a standalone server
(NEXUS_DB_ALLOW_STANDALONE=true) carries no upgrade guarantee. MySQL runs
the baseline replay-safely, but its runner accepts only
CREATE TABLE IF NOT EXISTS, so a later release that needsALTER TABLEon
MySQL must extend the runner first and will say so in its notes. - Downgrades are not supported. Roll back by restoring the pre-upgrade
backup, never by running an older image over an upgraded database.
Operations
- Persistence and secrets. Retain the PostgreSQL
pgdataand Edge
ferrumdatavolumes together. KeepNEXUS_SECRET_KEY,
FERRUM_ADMIN_JWT_SECRET,FERRUM_BASIC_AUTH_HMAC_SECRETand the database
password stable across restarts and restores, and store them outside the
source tree. - Backup and restore. Back up Nexus and Edge together, as one point in
time, following the backup and restore runbook.
Theacceptancejob backs up, destroys and restores both databases and then
proves an approved client's pre-backup credential still works and a revoked
client is still refused. The Nexus database alone cannot rebuild Edge
consumers, credentials, proxies or plugins: without an Edge backup, show-once
credentials must be re-issued. - TLS. The sample binds the portal and the gateway listener to loopback for
local HTTP. For a network deployment, terminate TLS at a trusted reverse
proxy, setNEXUS_PUBLIC_URLto the HTTPS origin and
NEXUS_COOKIE_SECURE=true, configure trusted proxies, and keep the Edge
Admin API private. See
TLS operations. - Topology. Run one active Nexus writer. An active/passive standby must
serve no requests and run no gateway-mutating background work until it is
promoted. Active-active Nexus is unsupported; see
supported topologies.
Known limitations
- Edge serves one data-plane namespace per process: keep
FERRUM_NAMESPACE
equal on both sides. - SMTP must be configured for real email delivery.
- Rate limits are enforced per gateway process unless
FERRUM_RATE_LIMIT_SYNC_MODE=redisis set. - A
ferrumdatavolume kept from a pre-release stack on an older Edge must go
through Edge's
Upgrading to 0.9.7
guide beforev0.9.7starts on it. Its Nexus database has to be recreated in
any case, so starting both volumes fresh is simpler.
Release step
This file is published as the GitHub release notes for tag v0.1.0.
- Merge the release change and require every check,
acceptanceincluded,
to pass on the merge commit. - Create tag
v0.1.0at that commit and publish a GitHub release for it with
these notes. - From a clean shell, follow Install verbatim against the
published tag, then complete the getting-started walkthrough through an
authenticated request via the gateway.