Versioning and compatibility

The release scheme, why SDK and server versions travel together, what stays stable across updates and what is regenerated, and how deprecations work.

BIM.works is updated often, and an instance's models, tokens and integrations have to survive every update. This page explains how releases are numbered, why the SDKs follow the server, what is guaranteed to stay the same and what is deliberately rebuilt, and how something is retired. What an upgrade to a main release changes is on that release's page in the Changelog; from 2.x to 3.0 it is From 2 to 3.

The release scheme#

A BIM.works release is major.minor.patch, optionally followed by a qualifier that marks a pre-release build (3.0.0-b.38 is the thirty-eighth beta of 3.0.0). The instance reports its version through the API and shows it in the UI and at the top of this documentation, which is served by the instance itself and therefore always describes the version you are talking to. Version 3 is current; the 2-to-3 changes are collected in From 2 to 3.

Majors are where incompatible changes happen: the query grammar, the token model, the SDK package layout. Minors add; patches fix. In practice most instances are updated to every release, and the compatibility rules below are what make that safe.

SDKs in lockstep#

The JavaScript packages, the Java client, the .NET package and the PHP client are versioned with the server and released with it, and the install guides say to use the version that matches your instance. The reason is not that the wire protocol breaks every release — it rarely does — but that the SDKs mirror the server's tasks, inputs and outputs one to one: a new task appears in the SDK of the release that adds it, a renamed field is renamed in both, and the typed definitions the SDKs ship are generated from the same source as the server's validation. Mixing versions mostly works and is not tested; matching them is.

An instance's OpenAPI document is versioned separately (it is a document, not a product), and the version pill on every page of this site is the instance's, so the operation pages describe what that instance serves.

What stays the same#

Identifiers. A Vid is assigned once and never reassigned; a Qid survives every update because re-parsing identical bytes reproduces identical object ids and the version id is untouched. Node UUIDs, account, token and action UUIDs likewise. Anything a client stores — selections, links to versions, saved queries with qid IN (…) — keeps meaning the same thing. Identifiers has the details and the one exception (a transaction creates a new version, whose Qids are new by construction).

Originals and transactions. The uploaded bytes of every version and the payload of every Transaction are the durable records, and neither is rewritten by an update. A transaction payload records the BIM.works version that wrote it, so it can be replayed by a later release with knowledge of what the earlier one meant.

Tokens. API tokens keep working across updates; their record — node, scopes or legacy credentials, allow-lists, expiry — is re-read on every request. Scopes were designed to attenuate only: a scope string a server does not know is dropped, never widened, so a token issued by a newer node validates safely on an older one, and the universal * deliberately grows with the catalogue so a trusted integration does not break when a family is added. Tokens created with the legacy READ/WRITE credentials map onto a fixed set of scopes; tokens older than that, created before credentials existed, are refused with a message to regenerate.

Stored actions. Queries, visualisations, checks and reports in the actions tree are text in versioned grammars; when a grammar changes incompatibly at a major, the migration guide lists the edits, and the action's own version history keeps the previous text.

What is regenerated#

Everything under a version's Mid — the derivative set: parsed data, feature index, geometry, plans, footprints, previews — is a cache produced by a particular BIM.works version, and each set records which. When a release changes what processing produces (a new calculated value, a better geometry engine, a fixed unit conversion), the instance reindexes: it regenerates derivative sets from the stored originals and transaction payloads, most recently used models first, through a persistent queue that survives restarts. A model a user opens while its reindex is pending moves to the front. Reindexing swaps in a new Mid and leaves the Vid and every Qid alone, so nothing a client holds changes; a query may return a value it did not return before, which is the point.

Derivatives a transaction cannot affect are inherited rather than regenerated: an edited version that only changed properties shares its parent's geometry, and reindexing the parent serves the child. Caches on the client — the viewers' geometry cache, check results, query caches — are keyed by content identifiers and invalidate themselves when the content they were computed from changes.

Compatibility of the API#

The task API is additive within a major: tasks and fields are added, inputs that were optional stay optional, outputs gain fields that old clients ignore. Renames and removals wait for a major and are announced in the changelog and the migration guide. Errors are stable codes with messages (Error codes), so a client can branch on the code and show the message.

Two rules apply to the languages. The grammar of every language is extended, not changed, within a major — a script that parsed keeps parsing — and the one notable incompatible change so far was made at 3.0: the unit keyword IN became UNIT, so that IN could mean membership (type IN (IFCDOOR, IFCWINDOW)) everywhere without ambiguity.

Deprecation#

Something that is retired is first deprecated, then removed at a major. A deprecated input still works and the response says so — a token issued with a tasks allow-list instead of scopes carries a deprecation notice — or the UI marks it, as with the JSON check definitions that BCL replaced and the JSON query format ("BimQuery") that BQL replaced. Feature flags are never deleted from the catalogue, only marked deprecated, so an old account's feature set still parses. Removed pieces are named in the migration guide with their replacement: the delegated-query envelope, for instance, went with the 2026-09 key-rotation work and is replaced by versions tokens with query:run.

For an integration this means one habit: read the migration guide when the major changes, and otherwise update the SDK with the instance.