CortexDB 0.14.1 — change sets that answer on time, and token lifetimes you set
0.14.1 is 0.14.0 with four changes to change sets, configurable lifetime ceilings for the tokens its minter signs, a richer tenant-binding dry run, and two dependency advisories fixed. It closes one of 0.14.0's known limitations on a cluster.
Upgrading from 0.14.0 is a drop-in replacement, and it is not one way. 0.14.1 keeps shard apply
format 10 and adds no stored state, so a 0.14.0 binary still opens a data directory 0.14.1 ran,
and the one-click updater treats the update as reversible. Read "What's new or changed" for the
two behaviours a client should expect: change-set calls may answer 202, and a person's minted token
may live up to 90 days by default. Back on 0.14.0, its fixed ceilings apply again: a token minted
past them (a person's for more than 7 days) answers 401 lifetime_over_ceiling there.
Upgrading from 0.13.x is 0.14.0's upgrade: the first start arms the data directory for format
10, one way, so take a cold backup first, rehearse on a restored copy, and work through 0.14.0's
"Upgrade checklist" (RELEASE_NOTES_0.14.0.md). It is released on the customer channel only.
What's new or changed
Change sets
- A long evaluation answers 202, on staging and activation too. A change set's preview, a
narrowing or conversion staging's check and an activation's checks that run past
CORTEX_CHANGESET_EVAL_WAIT_MS(20 s by default;0oroffwaits for the end, as 0.14.0 did) answer 202 withRetry-After: 2. The evaluation runs on; send the same request again after theRetry-Afterand it joins the evaluation, or is answered by it once it ended (an answer is kept for 60 s). A preview's 202 carries{"state": "previewing"}; a staging's and an activation's carry no body (an activation's 202 that carries a status is a dated change set scheduled, as before). Clients must poll these 202s. A 30-second client is now answered before its timeout at any org size. - One evaluation per change set. A preview, a staging's check and an activation's checks are
each evaluated once for a change set and its root's records as they stand: a call that asks while
it runs, the same call sent again included, joins it, and the preview is kept while the root holds
still. An evaluation every caller has left stops once none came back within a minute, and a
stopped evaluation stages and activates nothing (the new 503
REQUEST_ABANDONED, retriable, answers only a request whose client has already gone). - A put never silently turns a version-2 record into a version-1 one. A change set's put that
states none of a stored record's version-2 fields would make it a version-1 record, decided by
0.13.0's rules; unless the change set says
convert, it is refused 422INVALID_ACCESS_RECORD,details {path, reason: "version_downgrade", dropped},droppednaming the fields the put leaves out, at staging (before any evaluation) and again at activation. The legacy registry routes refuse the same change 422INVALID_SCOPE_TREEwith the samedetails.convertnow also converts a version-2 record to version 1, when doing so changes no access. State the fieldsdroppednames, or sayconvert. - On a cluster, a legacy registry write carries its read paths. A legacy registry route's change
on a cluster now carries what its assertion check read, as a change set's parts do, so a legacy
change racing a change set's activation is refused
REGISTRY_STALEand checked again: two changes that each pass a tenant assertion alone and break it together never both land. This closes the 0.14.0 limitation that was planned for this release. A check that reads more than 256 records carries the first 256 (logged asLEGACY_READ_PATHS_CAPPED); such a change belongs in a change set.
Tokens
- Mint lifetime ceilings are settings, and a person's token lives up to 90 days by default (the
owner's decision; 7 days in 0.14.0).
CORTEX_MINT_MAX_LIFETIME_PERSON(auser:subject, default90d),CORTEX_MINT_MAX_LIFETIME_AGENT(7d),CORTEX_MINT_MAX_LIFETIME_SERVICE(aservice:orsystem:subject,30d) andCORTEX_MINT_MAX_LIFETIME_CHAIN(a mint that carries a chain field,24h) each take seconds or a duration inm,hord, at least a minute; a value that does not parse refuses the start (exit 78AUTH_CONFIG_INVALID). On a cluster they are[engine]settings; give every data node the same ones (admin statusreportsAUTH_MODE_DIVERGEDotherwise). - The ceilings judge every token this server's minter signed at every use, whenever it was minted:
a person's token of up to 90 days that 0.14.0 refused (401
INVALID_TOKEN_CLAIM,lifetime_over_ceiling) authenticates again, and lowering a ceiling ends the longer tokens at the start that lowers it. - A deployment that set
CORTEX_MINT_LIFETIME_ENFORCE=offfor long-lived account tokens can turn it back on. A minting service token that lives longer than 30 days (a hosted website's, say) needsCORTEX_MINT_MAX_LIFETIME_SERVICEraised first,365dfor a year. - A chain mint's
ttl_too_longnow carriesdetails.lifetime_sanddetails.ceiling_s, as a subject's does, and every refusal names the configured ceiling.GET /v1/admin/metricsauth.lifetime_ceilings(and a data node's/node/v1/statusauth_modes.lifetime_ceilings) reports the four ceilings in seconds; the console's Tokens page reads them. /v1/auth/signupmints for 7 days, or for the person's ceiling when it is set shorter.
Tenant binding
POST /v1/admin/access/tenant-binding, the dry run included, answersoperator_plane({registers_root, in_band, mode, break_glass_required}): whether the run registers the tenant's root, whether it is the operator key's in-band path, the tenant's effective operator mode, and whether the run needsX-Cortex-Break-Glass. Until 0.14.1 a dry run said none of it. Additive.
Operations
- The hosted auto-upgrade script's smoke sends
X-Cortex-Break-Glass(reasonmigration) with its write and recall, which adenydeployment requires of the operator key and analloworauditone records; it reports a failed smoke request with the server's error code and details, and can check a hosted website's sign-in path end to end.
Dependencies
zstd-sys2.1.2 fixes RUSTSEC-2026-0410, with the same zstd 1.5.7 C sources as before.- A build-time advisory in the zlib bindings RocksDB uses (RUSTSEC-2026-0418) is fixed by updating
libz-systo 1.1.31, with the same bundled zlib (1.3.2): its build script could print the build's environment variables into the build directory. It affected the build environment only, never a running server or its data. - RUSTSEC-2026-0391, -0398 and -0403 (zstd) stay ignored, each with its reason documented: no path in CortexDB reaches them. Their fix is tantivy 0.27, which changes the full-text index format, so it waits for a minor release.
Known limitations
- A principal an identity provider maps in
prefixorhashmode has no scope form: its id holds a., which no scope path holds, so/mcp's default allowlist (org:{tenant}/{principal}/*) names no scope for it and its tool calls answerSCOPE_NOT_ALLOWLISTED. Map such callers indirectorymode, or list their scopes inCORTEX_MCP_SCOPES. - The three zstd advisories above, ignored with their reasons until a minor release takes tantivy 0.27.
- 0.14.0's other known limitations hold (
RELEASE_NOTES_0.14.0.md, "Known limitations"), but for the cluster's legacy registry race, which this release closes.
Clients
| Package | Registry | With 0.14.1 | What changes |
|---|---|---|---|
cortexdbai (Python SDK) | PyPI | 0.13.1 | waits out a change set's 202; reads the server's lifetime ceilings; the tenant binding's operator_plane; version_downgrade names what it drops |
cortexdbai (TypeScript SDK) | npm | 0.11.1 | the same, typed, and REQUEST_ABANDONED as a retriable error of its own class |
cortexdb-cli | PyPI | 0.7.1 | sends a change set's 202 again until it answers; the server's lifetime ceilings; the tenant-binding dry run's break-glass; version_downgrade |
cortexdb-mcp | PyPI | 0.9.0 (unchanged) | |
cortexdb-connectors | PyPI | 0.3.0 (unchanged) |
The Python SDK 0.13.1 and the TypeScript SDK 0.11.1 are published before the server's tag, which the release's preflight checks; the CLI is published by hand. A client from 0.14.0 keeps working against 0.14.1 but for a change set's 202, which it does not poll, and a mint above its own hard-coded 7-day person ceiling, which it refuses before sending.