1
0
Fork 0
forked from dlang/cdcdb

Добавлены файлы изменений и лицензия

This commit is contained in:
Alexander Zhirov 2025-09-13 03:24:57 +03:00
parent 5d0cf228d6
commit 5bb4d65c92
Signed by: alexander
GPG key ID: C8D8BE544A27C511
3 changed files with 47 additions and 0 deletions

12
CHANGELOG.md Normal file
View file

@ -0,0 +1,12 @@
# Changelog
## [0.1.0] — 2025-09-13
### Added
- SQLite-backed snapshot library with content-defined chunking (FastCDC).
- Deduplication by SHA-256 of chunks; optional Zstd compression.
- End-to-end integrity checks: per-chunk hash and final file hash.
- Transactions (WAL), basic integrity constraints, and triggers.
- High-level API:
- `Storage`: `newSnapshot`, `getSnapshots`, `getSnapshot`, `removeSnapshots`, `setupCDC`, `getVersion`.
- `Snapshot`: `data()` (buffered) and streaming `data(void delegate(const(ubyte)[]))`, `remove()`, properties (`id`, `label`, `created`, `length`, `sha256`, `status`, `description`).
- Tool to generate a Gear table for FastCDC (`tools/gen.d`).