package snkv

  1. Overview
  2. Docs
OCaml bindings for SNKV key-value store

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.2.0.tar.gz
md5=9ea14bd002fed01ffabe42dd5dc75e46
sha512=1ff5bec6481ada13f73444418a2a0a5186b90c438cf16ddebb8604c654a6b06c6450ad13631bac0b892852a8824b40a2f52e576c2b6faa381b4f5289c9efedd0

doc/CHANGELOG.html

Changelog

0.2.0 - 2026-10-22

Added

  • Vendored SNKV v0.8.2 and recorded provenance in lib/snkv.upstream.
  • Reproducible vendoring via scripts/update-snkv.sh.
  • Low-level config mapping and full_mutex for OCaml 5 domains.
  • Error codes from SNKV are propagated to the high-level result API.
  • Refcounted handle lifetimes for stores, column families, and iterators.
  • New test modules for basic operations, config, TTL, iterators, encryption, errors, and lifetimes.
  • doc/compatibility.md and CHANGELOG.md.

Changed

  • None filenames open an in-memory database instead of an empty path.
  • Encrypted stores now require an explicit filename.
  • checkpoint returns (log, ckpt) instead of mutating references.
  • Txn.with_transaction rolls back on exceptions.
  • C buffers are released with snkv_free.
  • High-level open applies the full Config record through kvstore_open_v2.

Fixed

  • Missing or incorrect error mapping (Busy, ReadOnly, AuthFailed, NotFound).
  • Use-after-free risks around handle finalizers and CF/iterator lifetimes.

0.1.1

  • Initial public release.