Release Notes
Each release ships the engine image and the SDK under one version. Updating the Engine says how to move to a new one; do what a release's Upgrade notes say before it runs.
November 2026
2.5.3
26 November 2026
Features
- PostgreSQL Backups: a new Operations page covers what the Interbox database holds and what losing it costs. It also covers how to turn on point-in-time recovery on Cloud SQL, RDS and Azure, or with CloudNativePG and its Barman Cloud plugin on Kubernetes, and how to restore.
Improvements
- TLS to PostgreSQL: the docs recommend
sslmode=verify-fullinDATABASE_URL, withsslrootcertfor a private CA. A future release of the database client will stop checking the certificate underrequire. Avoiduselibpqcompat=true&sslmode=require, which turns the check off. - Interbox writes one JSON line per log record and logs each fault once with its recovery. The workspace service logs a failed publish once in full, stays quiet while the same error repeats, and logs one line when a publish succeeds again.
- A metrics publisher's failed connect, failed flush and client errors log at
warninstead oferror. The publisher re-sends every bucket on the next flush, so none of these failures loses data. - Senders no longer rescan held units for each item they deliver.
- The image runs the engine's scripts from bundles. Call them without
.ts:bun scripts/migrateandbun scripts/import-1x. See Upgrading from 1.x.
Bug fixes
- Fixed migrations running together instead of each in its own transaction. Now a migration that cannot get a table lock during a rolling update gives way and retries. A failed migration leaves the ones before it applied, and the next start or build load continues from the failed one. See Updating the Engine.
2.5.2
25 November 2026
Features
- Parked pipelines: a pipeline whose own source, store, sender or webhook settings fail the load checks is now parked instead of refusing the whole workspace. An example is an
env()variable the engine's environment does not set. The workspace service publishes the build, the other pipelines keep running, and the Pipelines page shows the parked one asParked, not runningwith its error. Requests to its webhook or pull sender path get503withRetry-After: 60, so senders retry rather than drop the input.
Improvements
- The workspace service retries a failed publish of the same revision after 30 seconds, doubling the wait up to 10 minutes, so a git or package registry outage clears without a new commit. See The Workspace. A new commit, a branch switch, Sync now, Publish and Discard and update still retry at once. A repeat of the same error is logged as one short warning.
- A replica that has no build loaded yet shows the failed revision and its error on the Instances page.
2.5.1
25 November 2026
Improvements
- Dropping the 1.x tables: on its first start, Interbox drops the 1.x tables
hl7v2_in,ingestion_queue,resource_hashandsource_stateifhl7v2_inandresource_hashare both empty, and skips any that are already gone. After that, rolling back to 1.x requires a restore. - Workers load the storage SDKs and concept maps on first use instead of at start, so a worker that never uses them does not load them.
2.5.0
24 November 2026
Upgrade notes
- Move the image to 2.5.0 and the Helm chart to 0.4.0 together. Chart 0.4.0 adds the workspace service, which builds the workspace and publishes it to PostgreSQL; every ready replica now ingests, and only the replica holding the active lease processes. A 2.5.0 engine under an older chart stays unready, and an older engine under chart 0.4.0 runs the workspace service's pod as one more engine; see Upgrading from 2.4.x or older.
- Under Docker Compose, add a second service from the same image with the command
workspace, the same environment and the same workspace mount as the main service. SetINTERBOX_WORKSPACE_SERVICE_URLon the main service to its port 3001. Without the workspace service no replica loads a build, and without the variable the Repository screen, workspace actions, concept maps and the assistant answer404; see The workspace service. - Set the readiness probe's path to
/api/readyonce you run 2.5.0. The chart's readiness probe defaults to/api/health, so without this change a new pod takes traffic before its listeners are up; see Readiness. - Plan the move as one-way: 2.5.0 drops the tables that 2.4.x replicas coordinate through, so a 2.4.x engine does not boot on the upgraded database. During the rolling update the 2.4.x pods stop their workers, MLLP listeners included, about 10 seconds after the first 2.5.0 pod migrates, and intake resumes once a 2.5.0 pod has loaded a published build; see Upgrading from 2.4.x or older.
- Mount the data the workspace reads from outside its repository, and every folder a file-drop source reads, on every replica. Any replica can take the active lease, and each one runs the published build from its own cache; see Replicas.
- Remove
ownershipfromdefineSourcecalls. The SDK no longer declares it, and everydefineSourcesource runs on the active replica only; see Pipelines. - Remove
INTERBOX_RUNTIME_ROLLBACK_INTENT,INTERBOX_RUNTIME_CONFIG_DIRandINTERBOX_WORKSPACE_INSTANCEfrom your deployment. The engine no longer reads them.
Features
- Pause a pipeline: the Pipelines page has a Pause and a Resume button on each pipeline, and shows who paused it and when. While a pipeline is paused, Interbox stops its file and polled sources, its steps and its sender on every instance, and receiving sources keep accepting and storing what they receive. The pause holds across restarts and redeploys.
2.4.1
23 November 2026
Bug fixes
- Fixed an engine that lost its coordination session leaving that session open after it reconnected. Interbox now ends its own dropped session when it reconnects.
- Fixed sources that are slow to start being treated as failed. Interbox now gives a source two minutes to start once its worker is ready.
2.4.0
19 November 2026
Upgrade notes
- Stop every engine and API process of the earlier release before you start this one: use
Recreateor scale to zero, and confirm the old containers have terminated. A new engine staysNotReadywhile an older engine still reports, and nothing detects a legacy API process. Add replicas only after this first upgrade; see First upgrade to coordinated runtime generations. - Replace
portwith apathon everywebhookSource, point each sending system at its new URL, and setINTERBOX_WEBHOOK_PORTif your Service does not point at3002. The workspace fails to load if a source names a port, has no path, or shares a path with another source. All webhook sources now listen on that one port, told apart by path; see webhookSource. - Check that each MLLP feed's
MSH-18names the character set it sends, and that feeds withoutMSH-18send valid UTF-8. Interbox now decodes each frame byMSH-18and answersAEto a frame it cannot decode, without storing it. Earlier releases stored such frames with non-ASCII characters replaced and answeredAA. See mllpSource. - Rename any workspace state whose
defineStatename begins withfiledrop.oraidbox., and read the Aidbox sender's fingerprints throughfingerprintsfrom@health-samurai/interbox/aidboxinstead.defineStatenow throws on these reserved prefixes, so such a workspace fails to load. Renaming leaves the old rows behind; see Units and State. - Fix any build errors in
server/actions.tsand its imports before you update. A workspace whose actions fail to build is rejected: a reload keeps the previous workspace, and a first boot stays unready. See Workspace actions must compile before activation. - Set
INTERBOX_RUNTIME_ROLLBACK_INTENTto a value not used before when you roll back to an earlier image or configuration. Without it, pods that start with a replaced image or configuration stayNotReady. See Authorize the rollback.
Features
- Pull sender:
pullSender()keeps the newest version of each record a pipeline produces. A system that cannot take inbound connections polls it through an Aidbox App withreceive,ackandsearch. The page covers the queue API, the consumer contract and the Aidbox setup. - Multiple replicas: several engine pods can now share one database and use rolling updates. Each pod needs its own cache and
INTERBOX_WORKSPACE_INSTANCE, and readiness is checked on/api/ready.GET /api/runtimeshows what blocks a cutover, and confirm-termination releases a pod that is gone. - Source ownership:
defineSourcetakesownership: "singleton", the default, orownership: "replica". A singleton source runs on one replica under a lease, and another replica takes over when it stops. A replica listener binds on every pod and callsctx.ready()once bound. - Ordered store:
.store(postgresStore({ codec: "json" }), { ordered: true })maps one unit at a time across replicas. Use it for mapping that reads state written by earlier units. - Guarded Aidbox writes:
versionGuard: trueonaidbox()writes withIf-MatchandIf-None-Match: *. A late or retried request can no longer overwrite a newer version. The sender's client then needs read permission as well. - Destination scope:
aidbox()takesdestinationScopeto separate tenants served by one URL. Fingerprints are now keyed by destination URL and scope, so a resource with a fingerprint from an earlier release is delivered again. - Webhook secret by Basic auth: a
webhookSourceaccepts itssecretas the password ofAuthorization: Basic, for sending systems that cannot add thex-interbox-secretheader.
Improvements
- Administrator sessions, trusted-device cookies and assistant transcripts are stored in PostgreSQL, so they survive restarts and work across API replicas. Starting with a new
INTERBOX_AUTH_ADMIN_PASSWORDrevokes earlier administrator sessions; see Securing Dashboard Access. - Workspace action runs and their results are stored in PostgreSQL, so the run history survives restarts and is the same on every replica; see Workspace actions.
- The Repository tab's branch override now applies to every engine that shares the database and survives restarts; see The Workspace.
- The assistant's skills describe the 2.0 chain DSL and how to test a mapping. The
interbox assistant hl7v2-mapcommand is removed, since it failed on every 2.0 workspace. - The SDK moves to fast-xml-parser 5, which clears 22 dependency security advisories.
Bug fixes
- Fixed workspaces built on an incompatible SDK version crash-looping workers with errors such as
ctx.x is not a function. The engine now refuses a different major at load and warns about a newer minor; see Keep the workspace SDK compatible. - Fixed MLLP ACKs having an empty
MSA-2when a frame declared a field separator other than|or had a shortMSH-2, so senders could not match the ACK to their message. The ACK now uses the sender's own delimiters. - Fixed
getComponent(field, 1)returningundefinedfor a field with no component separator, which made a bareMSH-9losemessage_typeand a barePID-5losepatient_name; see /hl7v2. - Fixed units that failed in a step after the store ending at
errorwith empty attrs, so facets and filters on attrs such asmessage_typemissed them; see Steps. - Fixed a step's real failure on a unit being replaced by
engine/write_failedwhen its attrs could not be stored, for example a value too long for a declared index. - Fixed approving a ConceptMap in the dashboard removing
sourceVersion,targetVersion,extensionandidfrom its groups. - Fixed unmapped codes whose display contains
)disappearing from the unmapped-codes queue. - Fixed the workspace poll in
clonemode watching the wrong branch when the remote also had a branch ending in the same name, such asfeature/mainnext to a trackedmain. - Fixed edits under
server/not reloading aworktreeworkspace, which left the API serving the old list of actions; see The Workspace. - Fixed two engines on one host overwriting each other's workspace bundle, so one could load another checkout's workspace.
- Fixed a fractional
WEBHOOK_RETENTION_DAYS, such as0.4, making every outbox sweep fail, so delivered webhook events were never removed. - Fixed webhook egress checks letting through an IPv4 address written in IPv6 form, such as
[::ffff:169.254.169.254], which reached addresses they block in IPv4 form. - Fixed a request path with malformed percent-encoding, such as
/%zz, answering500instead of404. - Fixed an unresolvable workspace URL, such as
file://./workspace, emptying the dashboard's System health card. The Workspace row now reads misconfigured and gives the reason; see Operating Pipelines. - Fixed the System health rows showing part of a password that contains
@. - Fixed the image's vulnerability attestation listing only fixable CRITICAL and HIGH findings, so an image with an unfixed CRITICAL looked clean. It now lists every finding Trivy reports; see Supply Chain Security.
2.3.0
13 November 2026
Features
- Local and mounted folders:
fileDropSourcereads a feed from a folder on the engine's own filesystem withlocal({ dir }), such as a network share mounted into the container or a host folder bound into Docker. Interbox reads a file once it stops changing between polls, andminFileAgesets how old a file must be before Interbox reads it.
Bug fixes
- Fixed
@health-samurai/interboxfailing to install from npm because the package did not include its X12 toolkit. - Fixed a failed database query logging its parameter values. Interbox now logs only the number of parameters.
2.2.1
13 November 2026
Features
- X12 support in the SDK: the
@health-samurai/interbox/x12subpath reads and writes any X12 transaction set it has an ASC X12 XSD for.x12Parser()splits an interchange into one row per transaction set and fails non-conformant input withparse/not_conformant. The schemas are not bundled: pointINTERBOX_X12_SCHEMASat them. A workspace passes anX12SetAsideRuleto set aside a sending system's deviations from the schema. - X12 278 mappings:
x12/278exportsx278RequestFromClaimBundle,x278ResponseFromRequest,x278DecisionToClaimResponse,x278NotificationToClaimBundleandx278ToExplanationOfBenefit. - X12 in the dashboard: a unit whose value starts with an ISA header opens on an X12 view. The view reads delimiters from the ISA and nests segments by HL level. It shows element names and code meanings, and puts the transaction, member and sender in the header. The Units list previews X12 one segment per line.
- Outbound tab: the Unit page lists the sender items that carry no FHIR resource, such as an X12 message posted to another system, and shows an X12 body in the X12 view. The body of a sent item is not kept, and the tab says so.
Improvements
- C-CDA conversion is no longer part of the Interbox package.
ccdaParser,@health-samurai/interbox/ccda, the C-CDA reference and the C-CDA Document and Raw XML tabs on the Unit page are gone.
Bug fixes
- Fixed the Units field panel counting
status,error_kindanderror_stepover a sample, so pipelines with many units showed counts that were too low. Interbox now counts these fields over all matching units. For declared attrs, which are still sampled, the panel shows the sample size and the total. See Units and State.
2.2.0
6 November 2026
Upgrade notes
- Set
retentionon every pipeline that relied onINTERBOX_DONE_ITEMS_RETENTION_DAYS, for examplepipeline("adt", { retention: "30d" }), and deploy that workspace together with the engine. Interbox ignores the variable, and the first sweep after boot purges finished sender items older than 7 days. See Updating the Engine and Pipelines. - Replace the
--certificate-identityand--certificate-oidc-issueroptions with--key https://storage.googleapis.com/interbox-signing-keys/cosign.pub, or a pinnedcosign.pub, in your image checks and admission policies. Health Samurai's CI key now signs release images,edgeandmain-<sha>images, and the nightly scan attestations, so a check that accepts only the workflow identity fails on them. Keep the identity check as an alternative for earlier releases, as shown in Supply Chain Security.
Features
- Reading files from storage:
fileDropSourcefrom@health-samurai/interbox/filesreads files that sending systems drop into SFTP, Amazon S3, Google Cloud Storage or Azure Blob Storage, one delivery at a time. Steps such asunpack(),ndjson(),csvRows()andhl7v2Messages()split the files into records. The/filesreference lists every setting. - Storage setup: the SFTP, Amazon S3, Google Cloud Storage and Azure Blob Storage pages cover the access each storage needs and the fields of
sftp(),s3(),gcs()andazure(). - Sending Files to Interbox: a page for the sending system. It covers folder layout, the
_READYmarker file and its file list, and the naming and upload rules. - Whole deliveries: with
read: "delivery", Interbox stores all files of a delivery in Postgres as one unit. A step after the store reads them withctx.files.open(file)or withcsvRows(file),ndjson(file),lines(file),unpack(file)andhl7v2Messages(file). - Config type of your own source:
defineSourcetakes its config type from the first parameter ofrunorstart, and its row type fromSourceRunContext<Row>, so no type arguments are needed.
Improvements
- Interbox commits an input or a unit's outputs of more than 1,000 rows or 4 MiB in parts, each in a short transaction, instead of in one long transaction. The units a copy makes are held until its last part lands. Operating Pipelines and Errors describe
copy_pending,source_errorandengine/copy_incomplete. - Retry, Defer and deleting waiting items remove at most 10,000 items per request. Retry leaves a unit with items still waiting as
items_left, and deleting all waiting items answersmorewhile items remain (Deleting waiting items). - Reference lookups in steps before the store run before the input's transaction opens, so a lookup no longer keeps that transaction open or the table locked.
Bug fixes
- Fixed 1.x
sftpSourcereading a missingdiras an empty directory. Each poll now fails with an error that names the directory. The source also reads a symlink that resolves to a file insidedir(/builtins). - Fixed a Postgres connection being left open when fetching a Databricks Lakebase credential failed.
- Fixed the Interbox image carrying Bun's OCI labels instead of its own.
- Fixed development logging losing a line logged as the process exited.
October 2026
2.1.0
29 October 2026
Features
- Databricks Lakebase: Interbox keeps its database on a Databricks Lakebase Autoscaling project and logs in as a service principal with OAuth, fetching and renewing its own database credentials. Set
INTERBOX_DB_AUTH_METHODtodatabricks-autoscalealong with theINTERBOX_DB_DATABRICKS_*variables; the page covers the settings and how to prepare the project. - Connections from workspace code:
postgresConfig()from@health-samurai/interbox/postgresbuilds apgconfig that logs in the same way the engine does, for workspace actions and admin scripts.forgetRefusedCredential()drops a token Postgres refused. - Your own source: a 2.0 workspace defines its own source with
defineSourcefrom@health-samurai/interbox/chain, as a push source withrunor a pull source withstartandpollIntervalMs. Pipelines that used adefineSourcesource no longer need to stay on a 1.x engine; the 2.0 version takesreceivein place ofwriteBatch.
2.0.2
28 October 2026
Upgrade notes
- Check that Aidbox and its database can take more concurrent load, or set
INTERBOX_AIDBOX_CONCURRENCY=1to keep the earlier behaviour. Eachaidbox()sender now splits a send of about 100 resources or more into up toINTERBOX_AIDBOX_CONCURRENCY(4 by default) parallel requests, per sender and per worker. A slow answer that times out counts towardmaxRetries. See Steps.
Features
- Workspace action results: an action's return value is now available as the
resultof its run, fromGET /api/workspace/actions/runs/<runId>.WORKSPACE_ACTION_RESULT_MAX_BYTESsets the size cap. - What a waiting unit waits for: a unit held by
notReadyor a thrownNotReadyrecords the hold's reason and the attrs its steps set before it. The dashboard shows them. - Rolling back a 1.x import without a restore: the upgrade guide adds a sturdier import Job for Git-only deployments. The Job keeps a copy of the 1.x tables in
interbox_pre2, so you can roll back inside the database and run the import again. The guide also covers cleaning up once the cutover is final.
Improvements
- The message of an Aidbox refusal lists every error Aidbox or
$validatereported for the resource, with its path and codes, not only the first. A wait names every missing reference. A resource that has a missing reference and another error as well is rejected instead of waiting. See Steps, Store and Senders.
Bug fixes
- Fixed a retried unit keeping the
_skippedcounts from its earlier run. Retry, from the dashboard or withretryUnits, now clears them. See Errors. - Fixed the 1.x import mapping and sending again every
processedmessage, even one with no pending delivery. This could merge older content over newer in Aidbox. Such messages are now imported assent, and the dry run counts them assuperseded. See Upgrading from 1.x.
2.0.1
27 October 2026
Upgrade notes
- Replace every script or integration that calls the 1.x messages, sources and stats routes, such as
GET /api/messages,POST /api/messages/retryorGET /api/stats/error-kinds. Use the pipeline and unit routes instead:GET /api/pipelines/:name/units,GET /api/units/:id, andPOST /api/pipelines/:name/units/retryor/defer. Interbox no longer serves the 1.x routes, so those calls fail. The remaining routes are listed in Securing Dashboard Access.
Improvements
- The dashboard always opens on the 2.0 home, and the sidebar always lists Pipelines and Instances. The 1.x layout and message pages are gone, so the dashboard no longer falls back to the 1.x home when no pipeline has created its tables.
- The dashboard's counts and its
statusanderror_kindfilters are faster on large pipelines. Interbox adds two indexes of its own to every pipeline's units, as described in Units and State. A pipeline that already holds units gets them in the background once its stages run. Until that build ends, its counts can be slow. - Senders pick up items whose lease expired faster on a large delivery queue. The migration that builds the index makes the first boot after updating take longer, in proportion to the
sender_itembacklog. See Updating the Engine.
2.0.0
27 October 2026
Upgrade notes
- Rewrite every pipeline in the 2.0 chain DSL from
@health-samurai/interbox/chain, and exportChainRegistryinstead ofPipelineRegistryandMapperRegistryfrom the workspace'ssrc/index.ts. A 2.0 engine refuses to load a workspace that still registers a pipeline or a mapper through the rootpipeline()ordefineMapper, and names each one. The steps are in Upgrading from 1.x. - Replace the webhook events
parse_error,map_error,mapped,send_errorin each.webhook({ on })with the unit statuses (received,processed,sent,skipped,error,deferred) orcustom:<name>, and update receivers for the new payload. Any other event name throws when the pipeline is declared. See Status events.
Features
- Chain pipelines: a pipeline is
source → steps → store → steps → sender. You declare it with.source(),.step(),.store(postgresStore({ codec }))and.sender(), and write steps withdefineStepover aBatch. The store keeps each input, and a Retry runs the steps after it again. - Units and State: a new page on units, items, statuses and correlation across pipelines. It also covers pipeline state through
defineStateandctx.state, and lookups of other units throughctx.units. - Bridges: one pipeline hands its items to another with
.sender(intoPipeline("b"))and.source(fromPipeline("a")). Each item becomes a unit of the second pipeline. - Custom senders:
defineSenderdelivers items to any destination. Itsrunanswers"sent",retry(),wait()orrejected()for each item. - Admin Scripts:
@health-samurai/interbox/adminlets a workspace script act on a pipeline without SQL against the engine's tables. It reads units and the delivery queue, and changes them withretryUnits,deferUnits,deleteUnitItems,dropPendingandforgetDelivered. - Operating Pipelines: the dashboard adds Pipelines, Instances, Units and Unit pages. Its home shows live per-pipeline rates of received, processed and sent units, the error rate, and the inputs refused before the store.
- Finished sender items: Interbox keeps a record of every item that leaves the sender queue, and the Unit page's FHIR resources tab lists these records. They are kept for
INTERBOX_DONE_ITEMS_RETENTION_DAYSdays, 7 by default. - Upgrading from 1.x: Interbox moves the messages and delivered-resource fingerprints of a 1.x deployment into a 2.0 pipeline.
Improvements
- The dashboard shows when no workspace is linked.
- The dashboard uses dompurify 3.4.17, which fixes two sanitizer bypass advisories.