Skip to content

Releases

CairnDB 0.5.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 13:26
v0.5.0
02204b3

Added

  • AzureStorageConfig.credential and AzureBlobStorage(credential=...):
    the credential of account_url, e.g. a service principal or a given
    managed identity. DefaultAzureCredential remains the default. A
    credential with connection_string is refused.

Documentation: https://quadratic-labs.github.io/cairndb/

CairnDB 0.4.1

Choose a tag to compare

@github-actions github-actions released this 26 Sep 12:18
v0.4.1
54fac35

First release published to PyPI (pip install cairndb).

Added

  • LICENSE file with the MIT license text, shipped in the sdist and
    wheel.
  • py.typed marker (PEP 561), so type checkers use CairnDB's inline
    type hints.
  • Publishing: pushing a vX.Y.Z tag publishes the release to PyPI
    (Trusted Publishing) and creates the GitHub Release.

Changed

  • Package metadata declares the license as an SPDX expression
    (license = "MIT", PEP 639) instead of the deprecated table and
    classifier.
  • README links are absolute, so they work on the PyPI project page.

Documentation: https://quadratic-labs.github.io/cairndb/

CairnDB 0.4.0

Choose a tag to compare

@thomas-quadratic thomas-quadratic released this 26 Sep 07:55
v0.4.0

First public release. CairnDB (formerly ChroniQL) is a serverless
database engine on blob storage: all state lives in a bucket, and the
bucket's conditional writes arbitrate concurrency.

Added

  • Engine facade CairnDB, over five layers:
    • Objects: an etag-guarded key-value store with compare-and-swap,
      put-if-absent, and wait_for polling.
    • Coordination:
      • claim: a unique constraint whose losers converge on the winner's
        value.
      • lease: expiring, epoch-fenced ownership. It supports state_fn
        for atomic acquire-with-transition, cooperative_write for
        unfenced writes from outside the lease, and attach_lease to
        re-enter an ownership period from another process.
      • doc: a typed document with a retrying read-modify-write loop.
    • Logs: named, dense, totally ordered commit logs, with group
      commit, a durable acknowledgement, and revalidate hooks.
    • Transactions: optimistic multi-key atomicity, coordinated by a
      system log, with crash recovery.
    • Projections: declarative SQLite projections, built by
      deterministic replay with atomic swaps. They support snapshots, time
      travel (as_of), read-your-writes (wait_for), and handler
      registries shared with the snapshot job.
  • Storage backends: filesystem, Amazon S3 (and S3-compatible stores
    with conditional writes), Google Cloud Storage, and Azure Blob Storage,
    including hierarchical-namespace accounts. append_object is native on
    the filesystem backend and on Azure, with a compare-and-swap fallback
    elsewhere.
  • cairndb CLI: snapshot, gc, and rebuild jobs, each able to
    target a named log with --log. Configuration comes from CAIRNDB_*
    environment variables.
  • Deployment: a jobs container image, and Azure Container Apps Bicep
    templates with one snapshot and GC job pair per log.
  • Documentation site (Sphinx + MyST): quickstart, concepts, guides,
    deployment guides for local, AWS, Google Cloud, and Azure, and a
    generated API and CLI reference. It is published to GitHub Pages from
    the latest release/X.Y branch, and built as a check on pull requests.
  • Testing: race tests on the filesystem backend, mocked-SDK contract
    tests for every cloud backend, end-to-end crash-and-recovery tests, an
    opt-in live Azure suite, and mutation testing (the codebase is
    mutant-clean).

Documentation: https://quadratic-labs.github.io/cairndb/