Changelog¶
Versions follow semantic versioning. While the version is 0.x,
commands, the Python interface and the HTTP API may still change between minor versions,
and the entry says so when one does. The catalog's schema is migrated in place by
odcl migrate. Versioning and releases says how a release is cut.
Unreleased¶
0.3.0 (2026-11-24)¶
Run odcl migrate after upgrading (migration 0015).
- A command palette on the web page: ⌘K (Ctrl K) or
/. It searches the catalog as you type, answers who uses the entry selected and what changed without leaving it, and after>lists the writes your role allows, each with a form. The commands come from the newGET /v1/operations, which describes every route of the HTTP API, the role it needs and the fields it takes. - Alert deliveries that keep failing back off: after three failed tries in a row a subscription waits an hour, then
twice as long after each further failure, up to a day (
odcl alerts sendlists it underdeferred). Each subscription now says whether its messages get through (delivery:ok, orfailingwith since when, the number of tries, the last error and the next try), inodcl alerts list, the API and the Account page. A delivery still owed about something that is no longer there to tell is dropped instead of being retried for ever. - Whether a table or column is retired is read one way in SQL (
odcl.history.retired_sql), the value rather than whether the key is present, so a document's"retired": falsecan no longer read as retired. BigQuery query jobs take their finished states fromodcl/runs.pylike every other run. - Every run and query job now reports an
outcome(running,succeeded,failed,cancelled,skippedorunknown) beside its system's ownstate:odcl runs, query history, dataset versions and Dataform imports. An agent no longer needs each system's state names to tell whether a run worked. A BigQuery job that endedDONEwith an error isfailed, and the web page now marks it ✕ where it showed ✓; skipped and disabled runs no longer show as running. What each state means, and which states a later reading cannot undo, is one table inodcl/runs.pyinstead of a copy in each importer. A Vertex AI task that wasNOT_TRIGGEREDnow counts as finished, too. - A Docker image for each release,
ghcr.io/lawwu/open-data-context-layer, for amd64 and arm64: odcl with every extra on Debian 13 and Python 3.14, as an unprivileged user, migrating the catalog before it serves. Each one is started against PostgreSQL before it is published, and carries build provenance and an SBOM. See In Docker.
0.2.0 (2026-11-22)¶
The first release. odcl was installed from main before this, already reporting 0.2.0; what
follows is what changed since then. Run odcl migrate after upgrading (migrations up to 0014).
- The web page's Account page has an Alerts panel: an editor lists, adds and removes their alert subscriptions; an admin sees everyone's.
- The command line works through an
odcl servewith--server URLor$ODCL_SERVER, signed in with$ODCL_TOKEN, so people read and annotate without database credentials. Commands that read from where the data is (imports, syncs) still need a database connection, and say so. - Security fixes from a review of sign-in and the HTTP API:
- Single sign-on counts an email only when the provider says it is verified (
email_verifiedtrue, or Entra'sxms_edov), forODCL_OIDC_ADMIN_EMAILSand for taking over a user an admin made. A missing claim, or the string"false", made an admin before. - Someone who did not sign in is no longer taken for a trusted direct connection: they could revoke anyone's token and read every alert subscription. Every HTTP write needs a signed-in user, and revoking says nothing of whose a token is.
- Webhooks: a redirect is a failed delivery, an internal address is refused unless
$ODCL_ALERT_ALLOW_HOSTSallows it, errors are generic, and listing shows only the host. - OpenLineage events without a token are refused once the first user is made.
odcl mcp --serverand the CLI do not follow a server's redirects, so a token is not sent on.- The sign-in cookie is signed (
$ODCL_SESSION_SECRET) and where it returns to is checked again; single sign-on on a public address needs anhttps://ODCL_OIDC_REDIRECT_URI. - Behind a proxy, a browser's change is checked against
$ODCL_PUBLIC_URL, not theHosta proxy rewrites. A request the server fails on gets a 500 instead of a dropped connection, and a client has 30 seconds to send one. - One read of what projects are exposed to (
odcl impact,GET /v1/impact,odcl.impact): data a project uses that changed, is gone, or is failing a test. The overview, project pages and alerts all read it, so alerts now also tell of failing data-quality tests (runodcl migratefor migration 0014), and the project list counts a used table whose column changed, as the overview does. - One result shape for every import of tables and columns:
added,changed,unchanged,retired,withdrawn,unresolvedandskipped, always present. This changes three: BigQuery'sunresolved_referencesis nowunresolved; a Dataform import's counts are at the top level (were underentries); a PostgreSQL import names keys to schemas not read, and tables a view reads there, inunresolved(were inskipped). Importers write throughCatalog.importing(importer, scope=…)(odcl.imports). - One operation table behind the command line, the HTTP API and the MCP tools
(
odcl.operations), so every command, route and tool is declared once. New commands for what only the API offered:odcl tables,odcl projects,odcl models,odcl runsandodcl graph KEY. Results now have one shape everywhere, which changes a few:odcl privacy set --jsonanswers{"changed": [...]}(wasentries),odcl privacy export --jsonandodcl docs --jsonanswer a list (as their HTTP routes did),GET /v1/privacy/proposalsanswers{"proposals": [...]}andGET /v1/popular{"since", "tables"}(as the command line did),odcl popularlists 50 by default (was 20), andGET /v1/projects/{name}/usestakesrevisionlike the command line. - Lineage explorer on the web page (
#/lineage/KEY): every edge around a table or column, by direction and steps, as columns or tables, with the projects that use them; hover to follow a path, click for details.GET /v1/entries/{key}/graphandCatalog.graphreturn the nodes and edges. - Popularity from the synced job history:
odcl popular,GET /v1/popular, areadscount (last 30 days) on every table withsort=reads, a table'susagewith the tables most often read with it, and search lifting matches on much-read tables a little. odcl privacy proposesuggestspiiand a data category for columns that say nothing yet, from their names, glossary terms and descriptions, with a reason and a confidence;--writeputs them in a file to review andodcl privacy applyrecords the accepted ones.GET /v1/privacy/proposals; table pages list such columns.- Glossary terms and domains: two new kinds of entry. Columns and tables
meansterms; tables, projects and terms arein_domaina domain (odcl term add,odcl domain add,odcl means,odcl in-domain,odcl glossary,/v1/glossary,/v1/terms,/v1/domains). Imports keep them; search finds terms by synonym; documents can describe them; the web page has a Glossary.overviewcounts now includetermanddomain. - Data-quality results (
odcl import --quality FILE.jsonlor--dbt-tests TARGET,odcl quality KEY [--at],/v1/entries/{key}/quality,POST /v1/quality): test outcomes kept once each and pinned to the revision current when the test ran. Entries show their newest results,overviewlistsfailing_and_used, and a model version's trace lists the tests failing on its inputs when it was trained. Runodcl migratefor migration 0013. - Alerts (
odcl alerts subscribe|list|remove|send,/v1/alerts/…): a project's people are told by webhook, Slack or email when data the project uses changes after it used it, or is gone from its source, at or above a severity. Each change is sent once per subscription; failed deliveries are retried. Runodcl migratefor migration 0012. odcl diff(GET /v1/entries/{key}/diff, thewhat_changedMCP tool,Catalog.diff): what changed in a table, with its columns, or a column between two revisions or times, each change labelledcosmetic,additive,semanticorbreaking. What a project uses carries the worst change since the use (severity), and a used table now counts as changed when one of its columns changed. Entry pages show what changed.- Users, roles and sign-in. Users with one role each (
reader,editor,importer,admin) and API tokens (odcl users ...; runodcl migratefor migration 0011). With$ODCL_TOKEN, the CLI andodcl mcpsign in as that user, record changes under their name and check their role; a direct connection without one is trusted as before.Catalog(token=...)does the same from Python. odcl servetakes annotations from signed-in editors (POST /v1/projects,/v1/projects/{name}/uses,/v1/privacy,/v1/entries/{key}/created-by,/references,/instances,/v1/models/{name}/versions/{version}/relied-on), manages users and tokens (/v1/me,/v1/me/tokens,/v1/users), and gets an Account page.--require-sign-incloses reads too. OpenLineage events also take an importer's token.- Single sign-on for
odcl servethrough any OpenID Connect provider (ODCL_OIDC_*, thessoextra): authorization code with PKCE, first sign-in makes the user with a role from a claim or the admin emails, and tokens of people who stop signing in stop working. odcl mcp --server URLserves the tools through anodcl servewith$ODCL_TOKEN, so an assistant needs no database credentials. The write tools are offered only to an editor or above.- Docs: Working with several people: importers run centrally under a service user, and people annotate as themselves.
- Imports retire what is gone from their source. A Postgres, SQL-definitions, Dataform, dbt or
BigQuery import withdraws what it registered before, within what it read, and no longer saw;
an entry nothing else still says is retired: kept with its history, left out of
find,tablesand the counts (--retiredincludes it), and listed inoverviewasretired_but_usedwhen a project uses it. It comes back when its source has it again. Import results now always carryretiredandwithdrawnlists. - Breaking: Python 3.14 or later is required, as Sounding, which the BigQuery commands read through, requires it.
- The tables page and column lists answer in a few queries instead of several per row (1,000 tables: about 95 s to 0.25 s), with the same output.
- Lineage lower-cases every name in the SQL it traces, as keys are, so
FROM Proj.DS.Ordersand a quoted"CreatedAt"match their keys, including throughSELECT *. - Imports take every entry lock first: an import of any size fits PostgreSQL's lock table, and two imports run one after the other instead of deadlocking.
- New imports:
--postgres(tables, views, comments, view lineage and foreign keys) and--sql-definitions FILE.jsonl(SQL definitions from any source). SQL imports name the tables they could not resolve and the SQL they could not trace. - New links and fields:
instance_offrom a definition table to its copies, by path pattern (odcl instances), with used-by and lineage going through copies;referencesfor foreign keys;created_byfor what made a table or file;pii,scrubbing,data_categoryandretention(odcl privacy set|export);relied_ondocuments pinned by a model version (odcl rely). Runodcl migrate(migrations 0009 and 0010). sync bigquery-jobs --since/--untilor--pipeline-run JOB [--task T]reads one window.odcl discover vertex-runsandodcl propose vertex-manifestdraft a training manifest.- Under merge, each importer replaces only its own tags. A document's odcl block can be an HTML comment.
- Breaking: the Fathom name is gone. The
fathomcommand (useodcl), thefathom_datapackage (useodcl;Fathomwasodcl.Catalog) and$FATHOM_USER(use$ODCL_USER) no longer exist.odcl import-sqlite, which brought an old Fathom SQLite catalog across, is removed too: migrate such a file with an earlier version first. - Releases: a
vX.Y.Ztag onmainbuilds the sdist and wheel, attests them and publishes them as a GitHub release with this changelog's notes; alatesttag follows the newest release. - Docs: a site on GitHub Pages, https://lawwu.github.io/open-data-context-layer/, built with
Zensical from the README, this changelog and
docs/, and published on every push tomain. - Workflows: every action is locked to a commit in
.github/workflows/actions.lock, checked on every pull request with zizmor.