Skip to content

Releases

Ferrum Nexus v0.6.0

Choose a tag to compare

@jeremyjpj0916 jeremyjpj0916 released this 22 Nov 01:27
7ead9ba

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.0 folds every
earlier migration (001_initial through 015_access_gateway_jobs) into a single
base schema per backend, and a database created by v0.5.2 or 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 start v0.6.0 anywhere 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.20 is the
    published release
    (tag commit e4a606a00352674daaef08636e3e359e6c48ba18, published 2026-11-03). The
    digest above is the multi-architecture image index; it resolves to
    sha256:d3e3e7e8409d0583b23e0fa4eee4b85c7b20885a314d4ada2ca8aad66bd33e1c on
    linux/amd64 and
    sha256:406d8335e60f15ee024141762a7b280bea4abe76fef37ac26b65c45085ae7426 on
    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 published v0.9.17
    (no v0.9.16), v0.9.19 (no v0.9.18) and v0.9.20. Every contract Nexus depends
    on is unchanged: egress policy schema 2 and its data-plane attestation, deployment
    snapshot v2 and its deployment_snapshot.v2 tokens, and the acknowledgement shape.
    The ConfigSync protocol revision stays 3. But v0.9.17, v0.9.19 and v0.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.0 is tested only against Edge
    v0.9.20. Edge v0.9.12 or 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 and npm 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 Edge v0.9.17's fixes for the published
    QUIC advisories that affect v0.9.15, and the stricter admission of v0.9.19 and
    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's FERRUM_REAL_IP_HEADER is 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 with If-Match. keyauth and jwt credentials
    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.0

Then 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 -d

Save 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:

  1. 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.2 portal still runs. Edge
      refuses to start on a saved config it rejects. Rename any correlation_id
      header_name set to X-Ferrum-Hops or X-Geo-Country (any case, _ or
      -), X-Real-IP (any case) or the gateway's FERRUM_REAL_IP_HEADER, and fix
      or remove the compression and ip_restriction values Edge v0.9.19
      refuses (step 1 of Upgrading to Edge v0.9.17
      and of Upgrading to Edge v0.9.20).
      Settle recovery journals too.
  2. Stop every Nexus instance, request handlers and background workers alike.
  3. Back up Nexus and Edge together, as one point in time, following the
    backup and restore runbook. This backup is
    your only way back to v0.5.2; v0.6.0 cannot read it.
  4. Upgrade Edge to v0.9.20, the control plane and every data plane together.
  5. *...
Read more

Ferrum Nexus v0.5.2

Choose a tag to compare

@jeremyjpj0916 jeremyjpj0916 released this 08 Oct 21:53
1333c28

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.15 is the
    published release
    (tag commit 25b37395ff61bfea0f3ffd189d9011c4984fa755). The digest above is the
    multi-architecture image index; it resolves to
    sha256:0404dc6d70d67abb70feea4e5aa295fdb1c19a0968900f467fc4b908528d19d1 on
    linux/amd64 and
    sha256:51b8134770441b3ad340ba87ca9acd8a03fd864315c54d79911b27d95437c91a on
    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.15 keeps every contract Nexus
    depends on: egress policy schema 2 and its data-plane attestation, deployment
    snapshot v2 and its deployment_snapshot.v2 tokens, and the acknowledgement shape.
    The ConfigSync protocol revision stays 3, 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.2 is tested only against
    Edge v0.9.15. It still reads Edge v0.9.14's answers, which keeps an Edge-only
    rollback possible (see rollback), but that reopens the vulnerabilities
    v0.9.15 fixes: run the pinned pair. Edge v0.9.12 or 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 and npm 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-Identity is reserved. The portal and the plugin form refuse it
    as a palette header name, as Edge v0.9.15 does, 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 Edge v0.9.15 refuse
    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 -d

Save 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:

  1. 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-scoped operator tokens.
    • Palette header names. Rename any correlation_id or
      request_deduplication header_name that is X-Authenticated-Identity (any
      case, _ or -); see behaviour changes.
    • gRPC and WebSocket clients. Find every API at the routes enforcement
      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.
  2. Settle gateway recovery work. Tokens Edge v0.9.14 issued keep verifying on
    Edge v0.9.15, so this is not required, but it keeps the upgrade window free of
    conversions in flight. Run POST /api/apis/:id/restore-gateway for every API
    whose gateway_state is repair_required until it completes, and ask providers
    not to change spec_enforcement or restore gateways until the upgrade is done.
  3. 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 a v0.5.1 writer left running would not corrupt
    anything, but it would keep accepting the header name Edge v0.9.15 refuses.
  4. Back up Nexus and Edge together, as one point in time, following the
    backup and restore runbook. This backup
    is your rollback.
  5. Upgrade Edge to v0.9.15 on its existing database. The control plane and
    every data plane must run the same build: upgrade them together. Keep Nexus
    stopped until step 6.
  6. Start v0.5.2 on every instance. There is no migration to run. Verify it as
    the procedure says: schema_migrations still lists 001_initial through
    013_account_recovery_jobs; GET /api/health/edge, read as an administrator,
    reports status: "ok" and public_egress_guaranteed: true for 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 receiving X-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...
Read more

Ferrum Nexus v0.5.1

Choose a tag to compare

@jeremyjpj0916 jeremyjpj0916 released this 08 Oct 15:46
fa4b8fa

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.14 is the
    published release
    (tag commit 9bd4d5f9caa4ebe8f0ea13e76d8a6e2172eaca7d), the same build v0.5.0
    paired with. The digest above is the multi-architecture image index; it resolves
    to sha256:12a8cd56090c0d4511bb3015b240e606b1b87989c644157566b8f6b6f635b3c2 on
    linux/amd64 and
    sha256:19d2886ed8c192cb0daba48ef0a27a0cd0526449dac74bf9438502322aabd9f2 on
    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.1 makes no change on the Edge side: keep running
    Edge v0.9.14 on its existing database. The
    v0.5.0 notes
    describe what Edge v0.9.14 changed.
  • Other Edge versions are unverified. Nexus v0.5.1 is tested only against
    Edge v0.9.14. It still reads Edge v0.9.13's answers, as v0.5.0 does, but
    run the pinned pair. Edge v0.9.12 or 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 and npm 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 toward NEXUS_EXPECTED_DATA_PLANES only 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 -d

Save 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:

  1. 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 for v0.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_URL or 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's 404 bodies and the Date header through unchanged.
  2. Stop and drain every Nexus instance, request handlers and background
    workers alike. Older and newer writers must never run together:
    013_account_recovery_jobs adds the table that records the revocation a trusted
    password reset owes. A v0.5.0 instance 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.
  3. Back up Nexus and Edge together, as one point in time, following the
    backup and restore runbook. This backup
    is your rollback.
  4. 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.
  5. Start v0.5.1 on every instance. Verify it as the procedure says:
    schema_migrations lists 001_initial through 013_account_recovery_jobs;
    GET /api/health/edge, read as an administrator, reports status: "ok" and
    public_egress_guaranteed: true for 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 read degraded (an administrator reads
    backend_egress_unverified) for up to a minute after Nexus starts, and a
    backend write refused meanwhile carries details.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 --build

Take 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_jobs adds the account_recovery_jobs table (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 to users on 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-password on an account wi...
Read more

Ferrum Nexus v0.5.0

Choose a tag to compare

@jeremyjpj0916 jeremyjpj0916 released this 08 Oct 10:20
22f79d2

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.14 is the
    published release
    (tag commit 9bd4d5f9caa4ebe8f0ea13e76d8a6e2172eaca7d). The digest above is
    the multi-architecture image index; it resolves to
    sha256:12a8cd56090c0d4511bb3015b240e606b1b87989c644157566b8f6b6f635b3c2 on
    linux/amd64 and
    sha256:19d2886ed8c192cb0daba48ef0a27a0cd0526449dac74bf9438502322aabd9f2 on
    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.14 keeps every contract Nexus
    depends on: egress policy schema 2, deployment snapshot v2 and its
    deployment_snapshot.v2 tokens, and the acknowledgement shape. A control
    plane's egress policy answer gains the optional data_plane_attestation
    object, a conditional mutation whose store fails before commit answers 503
    with durable not_started or not_committed instead of unknown, and the
    ConfigSync protocol revision is now 3, so a control plane and its data
    planes must run the same build. Edge v0.9.14 adds 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 as protocol_error and charged to the target's circuit
    breaker, and a buffered response read timeout answering 504 instead of 502.
  • Other Edge versions are unverified. Nexus v0.5.0 is tested only against
    Edge v0.9.14. It still reads Edge v0.9.13's answers, which keeps an
    Edge-only rollback possible (see rollback), but run the pinned pair.
    Edge v0.9.12 or earlier is refused, as in v0.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 and npm 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
    Edge v0.9.14 and NEXUS_EXPECTED_DATA_PLANES set, 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.kind deployment_not_committed instead 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 -d

Save 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:

  1. 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=public without allow CIDRs. A control plane with
      remote data planes can now be admitted on its data planes' attestation, but
      only with NEXUS_EXPECTED_DATA_PLANES set; see
      data-plane attestation.
      A pairing that publishes today under NEXUS_ALLOW_PRIVATE_UPSTREAMS=true
      keeps doing so.
    • Clients and alerts. Update anything keyed on
      deployment_acknowledgement_uncertain or on the gateway's 502 rate; see
      behaviour changes.
  2. Settle gateway recovery work on the old pairing. Tokens Edge v0.9.13
    issued keep verifying on Edge v0.9.14, so this is not required, but it keeps
    the upgrade window free of conversions in flight. Run
    POST /api/apis/:id/restore-gateway for every API whose gateway_state is
    repair_required until it completes, and ask providers not to change
    spec_enforcement or restore gateways until the upgrade is done. See
    Upgrading to Edge v0.9.14.
  3. Stop and drain every Nexus instance, request handlers and background
    workers alike. Older and newer writers must never run together:
    012_access_request_grant adds the field that marks a request for more tools
    on a grant, and a v0.4.0 instance, which does not read it, would list and
    decide such a request as a request for access. v0.4.0 also reads the
    egress policy answer as a closed key set, so it refuses every backend write
    once a control plane answers with Edge v0.9.14's attestation.
  4. Back up Nexus and Edge together, as one point in time, following the
    backup and restore runbook. This backup
    is your rollback.
  5. Upgrade Edge to v0.9.14 on 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...
Read more

Ferrum Nexus v0.4.0

Choose a tag to compare

@jeremyjpj0916 jeremyjpj0916 released this 06 Oct 22:36
485c761

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.13 is the
    published release
    (tag commit 9b83115de7ec23ab51ec4feae6bed65e596db425). The digest above is
    the multi-architecture image index; it resolves to
    sha256:03822d924b7919d07a840baf757d016f2f05c8df8a8d0455a2eebae917aae2cc on
    linux/amd64 and
    sha256:a628f8fc12c916793b96ba111c2bf4360ea84981b8bf766254b47c6140c02a80 on
    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.13 reports its backend egress
    policy as schema_version: 2, serves deployment snapshot v2 (stored spec
    documents as digests plus a separate api_spec_contents array), signs
    deployment tokens in a new domain so every earlier token answers 412, and can
    answer 507 for a namespace past its conditional size bound. Nexus v0.4.0
    reads only these forms, so it pairs with Edge v0.9.13 only, and Edge
    v0.9.12 or earlier is refused rather than guessed. Edge's schema
    migrations are unchanged from v0.9.9 to v0.9.13, so a gateway database
    v0.9.9 created opens in place, unlike the v0.3.0 upgrade. Read Edge's
    upgrade guide
    from 0.9.10 to 0.9.13 and 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.0 has 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 and npm 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 requestable routes API 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/edge reports the verdict to
    administrators as public_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 -d

Save 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:

  1. 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=public with no FERRUM_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 health degraded. Configure the gateway accordingly, or choose an
      opt-out (see egress admission). The
      v0.3.0 Compose example did not set the variable: add
      FERRUM_BACKEND_ALLOW_IPS: public to the ferrum-edge service's
      environment in your docker-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.
  2. Settle gateway recovery work on the old pairing. Edge v0.9.13 refuses
    every deployment token an earlier Edge issued, so a conversion or restore in
    flight across the upgrade cannot finish on its own. v0.3.0 writes no
    recovery journals, so for a v0.3.0 deployment this is a check: no
    app_settings row whose key starts with gateway_recovery: or
    gateway_restore_cleanup: should exist. Run
    POST /api/apis/:id/restore-gateway for every API whose gateway_state is
    repair_required until it completes, and ask providers not to change
    spec_enforcement or restore gateways until the upgrade is done. A
    deployment that ran an interim build from main follows
    Upgrading to Edge v0.9.13 step 2.
  3. Stop and drain every Nexus instance, request handler...
Read more

Ferrum Nexus v0.3.0

Choose a tag to compare

@jeremyjpj0916 jeremyjpj0916 released this 01 Oct 08:37
aa2ff2a

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.9 is the
    published release
    (tag commit 234717ce41965cd1e2b5c6c761a25475c5d7628c). The digest above is
    the multi-architecture image index; it resolves to
    sha256:558fba9a1a9d7826e5ff9d84a1c80f24903c202a3a755072f45af0372ce1b477 on
    linux/amd64 and
    sha256:33a8acceab1bee27e999b235cb24311619e44209b865cd68971cd9f3928a8379 on
    linux/arm64. Both were checked against the Docker Hub registry on
    2026-10-01. Edge's latest tag is not refreshed for releases.
  • What changed on the Edge side. None of the Admin API resources Nexus
    writes change shape. Nexus signs admin tokens, 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_parameters is 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 gets 400. 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.0 has not been tested
    against Edge v0.9.8 or 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 and npm 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 from NEXUS_OIDC_PROVIDERS or Admin → Settings →
    Single sign-on
    ; groups and claims map to roles and organizations; each
    deployment chooses local_and_sso, local_only or sso_only. Existing
    accounts are linked only on a recorded proof of their address (see
    single sign-on and existing accounts).
    The acceptance job 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/changes serves 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: false when 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 -d

Save 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:

  1. 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 API GET /backup, not as a copy of its database
    file: step 3 needs that export. This backup is your rollback.
  2. Stop every Nexus instance.
  3. Move the gateway to Edge v0.9.9 on a new database. Edge v0.9.9
    changed its SQL V001 baseline, so it refuses to start on a SQLite,
    PostgreSQL or MySQL gateway database created by v0.9.8 or earlier (a V001
    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.
    1. Export the Nexus namespace from the running v0.9.8 gateway with
      GET /backup, sending X-Ferrum-Namespace set to Nexus's
      FERRUM_NAMESPACE and 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" (a cached export 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:
      • iss equal to the gateway's FERRUM_ADMIN_JWT_ISSUER (default
        ferrum-edge);
      • sub, any non-empty actor name for Edge's audit log;
      • iat, nbf and exp, with exp - iat positive and at most
        FERRUM_ADMIN_JWT_MAX_TTL (default 3,600 seconds);
      • jti, a unique token id;
      • role: "admin", since GET /backup and POST /restore are
        admin-only;
      • aud only if the gateway sets FERRUM_ADMIN_JWT_AUDIENCE (a token
        carrying aud is refused otherwise), and ns naming the namespace if
        it requires namespace claims.
    2. Stop the gateway and set its database aside unchanged: it is the gateway
      half of your rollback.
    3. Start v0.9.9 on 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 with POST /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 against v0.9.9's rules first: a refusal (400) names what
      it refused and writes nothing. Fix that resource in the export and import
      again.
  4. Run the migrations once from the new Nexus image
    (node server/dist/db/migrate-cli.js). It applies 004_api_spec_changes,
    005_notification_preferences and 006_user_identities; re-running it is
    safe. Nexus also migrates at startup, so a single-instance deployment may...
Read more

Ferrum Nexus v0.2.0

Choose a tag to compare

@jeremyjpj0916 jeremyjpj0916 released this 27 Sep 14:12
562149d

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.8 is the
    published release
    (tag commit e27f2109216352c3fe9e67a7014611f3f66daa91). The digest above is
    the multi-architecture image index; it resolves to
    sha256:0e629633ad55368002c415bbf76d4c91f3741519a33dd310045531d791d9a592 on
    linux/amd64 and
    sha256:1e900bd537814fdc864ee1830bbd7a1e1f2785074a5da088a3d9cdd738b532f9 on
    linux/arm64. Both were checked against the Docker Hub registry on
    2026-09-27. Edge's latest tag is not refreshed for releases.
  • What changed on the Edge side. Edge v0.9.8 changes 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
    one v0.9.7 created, so it opens a v0.9.7 gateway 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_timeout token.
  • Other Edge versions are unverified. Nexus v0.2.0 has not been tested
    against Edge v0.9.7 or 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 and npm 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_limiting and cors config 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 in AUDIT_COMMIT_CLASSES, and a source scan enforces it.
  • Cross-instance leases are fenced. A holder that stalled past the lease TTL
    gets 409 CONFLICT and rolls back instead of committing over the new holder's
    work.
  • Faster conversation lists. Each thread's newest message is one index seek
    (migration 003_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 -d

Save 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:

  1. Back up Nexus and Edge together, as one point in time, following the
    backup and restore runbook. This backup
    is your rollback.
  2. Stop every Nexus instance.
  3. Move the gateway to Edge v0.9.8 on the same data. It starts on the
    v0.9.7 database unchanged.
  4. Run the migrations once from the new Nexus image
    (node server/dist/db/migrate-cli.js). It applies
    002_api_gateway_plugins and 003_messages_thread_latest; re-running it is
    safe. Nexus also migrates at startup, so a single-instance deployment may
    skip this step.
  5. Start v0.2.0 on every instance and verify it as the procedure says:
    schema_migrations lists 001_initial, 002_api_gateway_plugins and
    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_plugins adds the api_gateway_plugins table on every
    backend (an index on MongoDB) and copies no data. An API published under
    v0.1.0 has its configs recognised role by role, by the values the portal
    wrote, on its first gateway-touching change. A PATCH to a setting whose
    proxy carries two matching configs for a role, or an auth, access_control or
    cors config that no longer matches the API's settings, answers
    409 CONFLICT naming the plugin until the operator removes or fixes that
    config; other settings keep working. See
    released forward migrations.
  • 003_messages_thread_latest replaces the messages index
    ix_messages_thread with ix_messages_thread_latest, which adds the message
    id. It changes no data. On PostgreSQL and SQLite, building the index blocks
    writes to messages until 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. 002 is a single
    CREATE TABLE IF NOT EXISTS and 003 has 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) counts access.request audit
    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 answer 400 SPEC_INVALID with details.reason = "expanded_too_large",
    and YAML is read with the YAML 1.2 core schema: yes, no, on and off
    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.0 freezes 002_api_gateway_plugins and
    003_messages_thread_latest
    on every backend.
    server/src/db/released-migrations.ts lists them with release: 'v0.2.0'
    beside 001_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 a v0.2.0 database in place; see
    [schema versioning and upgra...
Read more

Ferrum Nexus v0.1.0

Choose a tag to compare

@jeremyjpj0916 jeremyjpj0916 released this 25 Sep 10:20
7712b3e

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.7 is the
    published release
    (tag commit 8fed1346ce2e267eb69c03683cb89ea44d785e0b). The digest above is
    the multi-architecture image index; it resolves to
    sha256:e4d4367e815e86f510c28d8f831ca3502b7c9d5f21fd0eeabeb609a8c8e6f47f on
    linux/amd64 and
    sha256:7d3d28d2529dfb6a303b734fad0bf35ebec07caa95f5632e81d92170baf15fab on
    linux/arm64. Both were checked against Docker Hub's tag API on 2026-09-25.
    Edge v0.9.6 was tagged but never published — do not use it — and Edge's
    latest tag is not refreshed for releases.
  • Other Edge versions are unverified. Nexus reads one proxy's plugin
    configs with GET /plugins/config?proxy_id=…, which Edge added in v0.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 and npm 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 -d

Save 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.0 freezes the 001_initial schema baseline on every backend.
    server/src/db/released-migrations.ts lists it with release: '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 a v0.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 needs ALTER TABLE on
    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 pgdata and Edge
    ferrumdata volumes together. Keep NEXUS_SECRET_KEY,
    FERRUM_ADMIN_JWT_SECRET, FERRUM_BASIC_AUTH_HMAC_SECRET and 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.
    The acceptance job 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, set NEXUS_PUBLIC_URL to 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=redis is set.
  • A ferrumdata volume kept from a pre-release stack on an older Edge must go
    through Edge's
    Upgrading to 0.9.7
    guide before v0.9.7 starts 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.

  1. Merge the release change and require every check, acceptance included,
    to pass on the merge commit.
  2. Create tag v0.1.0 at that commit and publish a GitHub release for it with
    these notes.
  3. From a clean shell, follow Install verbatim against the
    published tag, then complete the getting-started walkthrough through an
    authenticated request via the gateway.