All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
-
Support writing to KV databases with
Kv.set(),Kv.delete(),Kv.sum(),Kv.min(),Kv.max(),Kv.enqueue()andKv.check(). (#16)- These methods are available on
Kvitself for one-off operations, andKv.atomic()can chain these methods to group write operations to apply together in a transaction.
- These methods are available on
-
Support closing
Kvclient'ssessionvia: (#20)Kv.aclose()- async context manager
- At interpreter exit / garbage collection via
Kv.create_finalizer() - Automatically when an interactive console exists:
Kvobjects created byopen_kv()from an interactive console/REPL automatically close at exit.- The
open_kv()function has afinalizeoption that controls this.