Repository navigation
Releases
Releases · Quadratic-Labs/cairndb
CairnDB 0.5.0
Added
AzureStorageConfig.credentialandAzureBlobStorage(credential=...):
the credential ofaccount_url, e.g. a service principal or a given
managed identity.DefaultAzureCredentialremains the default. A
credential withconnection_stringis refused.
Documentation: https://quadratic-labs.github.io/cairndb/
CairnDB 0.4.1
First release published to PyPI (pip install cairndb).
Added
LICENSEfile with the MIT license text, shipped in the sdist and
wheel.py.typedmarker (PEP 561), so type checkers use CairnDB's inline
type hints.- Publishing: pushing a
vX.Y.Ztag 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
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, andwait_forpolling. - Coordination:
claim: a unique constraint whose losers converge on the winner's
value.lease: expiring, epoch-fenced ownership. It supportsstate_fn
for atomic acquire-with-transition,cooperative_writefor
unfenced writes from outside the lease, andattach_leaseto
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.
- Objects: an etag-guarded key-value store with compare-and-swap,
- Storage backends: filesystem, Amazon S3 (and S3-compatible stores
with conditional writes), Google Cloud Storage, and Azure Blob Storage,
including hierarchical-namespace accounts.append_objectis native on
the filesystem backend and on Azure, with a compare-and-swap fallback
elsewhere. cairndbCLI:snapshot,gc, andrebuildjobs, each able to
target a named log with--log. Configuration comes fromCAIRNDB_*
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 latestrelease/X.Ybranch, 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/