Skip to content

Compatibility matrix

Which releases work together. A row is added when a release is cut; "core" is the server repository (oliviadb), whose spec/ directory is a copy of this repository pinned to one commit (spec.pin in the core; the core's check fails when the copy differs from it).

spec core (server, C ABI) network API C ABI oliviadb-java oliviadb-python oliviadb-js oliviadb-rust
0.1.3 (this commit) 0.1.3 v1 (oliviadb-api.openapi.json) 14 0.1.3 0.1.3 0.1.3 0.1.3
0.1.2 0.1.2 v1 14 0.1.2 0.1.2 0.1.2 0.1.2
0.1.1 0.1.1 v1 14 0.1.1 0.1.1 0.1.1 0.1.1
0.1.0 0.1.0 v1 13 0.1.0 0.1.0 0.1.0 0.1.0

Rules:

  • The network API is versioned by its path prefix (/v1/). Within v1, the server only adds: new routes, new optional request fields, new response fields. A client of any 0.x release works with every server whose row lists the same API version; a client ignores response fields it does not know.
  • The C ABI has its own version number (oliviadb_abi_version); a binding (the JNI library of oliviadb-java) refuses a library whose version it does not support.
  • C ABI 8 adds oliviadb_extensions(): the core's library (liboliviadb_dli) has the full-function DL/I layer and returns 0; the enterprise library (liboliviadb_dli_enterprise, same functions) returns the bits of Fast Path, HALDB, IMS log capture and IMS unload formats. Without a bit, that extension's functions fail with an error naming what is missing.
  • Typed code (sdk-dsl.md) generated by oliviadb codegen of a core release runs on the SDK runtimes (oliviadb::dsl and its Java, TypeScript and Python equivalents) of the same release or later; the first is 0.1.2.
  • oliviadb-java 0.1.2 can send the key parts of an insert of a node whose key has several parts out of their declared order (path-keys.md, "Composite keys"), and the server refuses the insert with 422; typed Java code whose types have such keys needs 0.1.3 or later.
  • C ABI 14 (core 0.1.1) adds the client mode of liboliviadb_dli (dli-programs.md, section 2): oliviadb_connect, oliviadb_is_remote, oliviadb_outcome, OLIVIADB_LOST; every function of version 13 keeps its behaviour when no server is named. The DL/I bindings of 0.1.1 load libraries of version 13 or later and offer client mode with 14.
  • C ABI 9 is C ABI 8 under the product's name OliviaDB: every function is oliviadb_* (was hdb_*), the header oliviadb_dli.h, the macros OLIVIADB_*, the libraries liboliviadb_dli and liboliviadb_dli_enterprise, the JNI libraries liboliviadb_dli_jni and liboliviadb_dli_jni_enterprise. Arguments, results and behaviour are unchanged.
  • Typed code (oliviadb codegen, and oliviadb schema client for one profile; sdk-dsl.md) depends on the SDK of its language as its runtime (Rust oliviadb, Java oliviadb-client, TypeScript @olivia-db/client, Python oliviadb): code generated by a core of a release needs the SDKs of the same release.
  • The editor plugins (oliviadb-vscode, oliviadb-intellij) start the core's language server oliviadb-lsp (LSP 3.17 over stdio) of the same 0.1.x line.
  • Formats (path-keys.md, storage-format.md, unload-format.md, schema.md) carry a magic or version field; a reader refuses versions it does not know.
  • Each client repository's check.sh runs its contract tests against a server built from the core (or its published image): that run is the evidence for the row.