nedb-engine 2.5.2__tar.gz → 2.5.43__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/PKG-INFO +14 -4
  2. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/README.md +13 -3
  3. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/pyproject.toml +1 -1
  4. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/__init__.py +1 -1
  5. nedb_engine-2.5.43/python/nedb/_native.abi3.so +0 -0
  6. nedb_engine-2.5.43/python/nedb/nedbd-v2 +0 -0
  7. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/nedbd-v2-darwin-arm64 +0 -0
  8. nedb_engine-2.5.43/python/nedb/nedbd-v2-darwin-x64 +0 -0
  9. nedb_engine-2.5.43/python/nedb/nedbd-v2.exe +0 -0
  10. nedb_engine-2.5.2/python/nedb/_native.abi3.so +0 -0
  11. nedb_engine-2.5.2/python/nedb/nedbd-v2 +0 -0
  12. nedb_engine-2.5.2/python/nedb/nedbd-v2-darwin-x64 +0 -0
  13. nedb_engine-2.5.2/python/nedb/nedbd-v2.exe +0 -0
  14. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/.gitignore +0 -0
  15. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/LICENSE +0 -0
  16. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/client/node/README.md +0 -0
  17. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/client/python/README.md +0 -0
  18. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/examples/mini-chain/README.md +0 -0
  19. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/autoindex.py +0 -0
  20. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/backends/__init__.py +0 -0
  21. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/backends/redis_backend.py +0 -0
  22. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/cascade.py +0 -0
  23. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/concurrent.py +0 -0
  24. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/crypto.py +0 -0
  25. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/engine.py +0 -0
  26. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/index.py +0 -0
  27. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/log.py +0 -0
  28. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/merkle.py +0 -0
  29. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/mongo.py +0 -0
  30. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/proof.py +0 -0
  31. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/query.py +0 -0
  32. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/redis_compat.py +0 -0
  33. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/relations.py +0 -0
  34. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/resp2.py +0 -0
  35. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/server.py +0 -0
  36. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/snapshot.py +0 -0
  37. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/sql.py +0 -0
  38. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/store.py +0 -0
  39. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/python/nedb/wrap_redis.py +0 -0
  40. {nedb_engine-2.5.2 → nedb_engine-2.5.43}/rust/nedb-v2/README.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nedb-engine
3
- Version: 2.5.2
3
+ Version: 2.5.43
4
4
  Summary: NEDB — a versioned, self-compressing, time-traveling embedded database (replay-protected, idempotent, relational, searchable) with durable AOF persistence and a server daemon (nedbd).
5
5
  Project-URL: Homepage, https://github.com/aiassistsecure/nedb
6
6
  Project-URL: Repository, https://github.com/aiassistsecure/nedb
@@ -41,15 +41,21 @@ One Rust core → ships to **PyPI** and **npm** from a single source.
41
41
 
42
42
  ---
43
43
 
44
- ## NEDB v2.4.468 — Production Stable
44
+ ## NEDB v2.5.34 — Production Stable
45
45
 
46
- **Current stable: 2.4.468** — NEDB now ships as **three version-aligned distributions** on one tag — `nedb-engine` (flagship), `crypto-database` (verifiable v2/v3 DAG), and `aof-db` (fast append-only) — across npm / PyPI / crates.io with full mac + linux + windows native addons (see [**Releasing**](#releasing) below). On the engine side it remains a polish release on the complete cross-platform line. The `nedbd-v2` daemon now does **real CLI parsing** — `--dag-v3`, `--data`, `--fast-fsync`, `--help`, `--version` are recognized flags instead of being silently swallowed as the positional data dir — and `npm test` ships a **cinematic native smoke test** that tours v1→v2 migration, the v2 DAG, the v3 segment store, and a causal-provenance audit. All native wheels (Linux + Windows on GitHub Actions; macOS arm64 + x86_64 on Codemagic M2 Mac Minis) **plus** the universal pure-Python wheel ship from a single `v*` tag, with the `nedbd-v2` binary bundled inside `pip install nedb-engine`.
46
+ **Current stable: 2.5.34** — NEDB ships as **three version-aligned distributions** on one tag — `nedb-engine` (flagship), `crypto-database` (verifiable v2/v3 DAG), and `aof-db` (fast append-only) — across npm / PyPI / crates.io with full mac + linux + windows native addons (see [**Releasing**](#releasing) below). On the engine side it remains a polish release on the complete cross-platform line. The `nedbd-v2` daemon now does **real CLI parsing** — `--dag-v3`, `--data`, `--fast-fsync`, `--help`, `--version` are recognized flags instead of being silently swallowed as the positional data dir — and `npm test` ships a **cinematic native smoke test** that tours v1→v2 migration, the v2 DAG, the v3 segment store, and a causal-provenance audit. All native wheels (Linux + Windows on GitHub Actions; macOS arm64 + x86_64 on Codemagic M2 Mac Minis) **plus** the universal pure-Python wheel ship from a single `v*` tag, with the `nedbd-v2` binary bundled inside `pip install nedb-engine`.
47
+
48
+ **New in 2.5.x:**
49
+
50
+ - **Durable-mode auto-flush-on-exit** — a durable store flushes buffered writes on `Ctrl+C` / `SIGTERM`, not just on a clean `Drop`. Automatic in the Node and Python bindings; `Db::install_exit_flush(Arc<Db>)` for standalone Rust binaries. See [**docs/DURABILITY.md**](docs/DURABILITY.md).
51
+ - **`nedb-cli`** — operate on a store directory offline (`head` · `status` · `verify` · `get` · `scan` · `flush` · `repair` · `export`), and **`nedb-inspector`** — a deterministic (no-regex, no-LLM) checker that warns when a durable open lacks flush-on-exit wiring. See [**docs/CLI.md**](docs/CLI.md).
52
+ - **Replication contract** — `tip()` (the latest write), a bounded `since()` changefeed, and a `scan_status()` readiness gate. See [**docs/REPLICATION.md**](docs/REPLICATION.md).
47
53
 
48
54
  **The v3 storage line — consolidated, spec'd, and (as of 2.4.3) cleanly published across every platform.** It makes the NEDB **v3 segment/pack object store** a first-class, fully-documented feature:
49
55
 
50
56
  - **`--dag-v3`** (opt-in) — append-only segment store: one `fsync` per group-commit, `.idx` sidecars, compaction, non-destructive dual-read. Took a real itcd chainstate flush from *minutes* to **~1.3 s**. Parsed as a real flag by `nedbd-v2` as of v2.4.3 (or set `NEDB_DAG_V3=1`). (See the v3 section below.)
51
57
  - **`NEDB_FAST_FSYNC`** — macOS fast-fsync: a plain `fsync(2)` instead of `F_FULLFSYNC` (default off; no-op on Linux/Windows).
52
- - Durable **flush-on-close**, a **Windows-safe id-index** (percent-encodes filesystem-unsafe ids), and idempotent object re-writes — shipped across the 2.3.3xxx line.
58
+ - Durable **flush-on-close** — and, as of 2.5.x, **flush-on-exit** on `Ctrl+C` / `SIGTERM` (see [**docs/DURABILITY.md**](docs/DURABILITY.md)) — a **Windows-safe id-index** (percent-encodes filesystem-unsafe ids), and idempotent object re-writes.
53
59
  - **`docs/SPEC.md` §3** now formally specifies the v2 object store, the v3 substrate, and the durability model.
54
60
 
55
61
  NEDB v2 replaces the append-only log (AOF) with a **content-addressed Merkle DAG**. Every document version is an immutable, BLAKE2b-verified object. Nothing is ever overwritten. As of **v2.2.31**, restarts after the first open are **O(1) warm starts** (driven by a `MANIFEST` of `seq` + Merkle head), the **cold scan is deferred** so the daemon accepts connections immediately, and a new **`GET /events` SSE endpoint** streams scan progress + per-write events live.
@@ -256,6 +262,10 @@ nedbd --log-level 2 # 0=errors 1=requests 2=deploy 3=verbo
256
262
  curl http://127.0.0.1:7070/events
257
263
  ```
258
264
 
265
+ ### Companion CLIs
266
+
267
+ Alongside the daemon, `cargo install nedb-engine` ships **`nedb-cli`** — operate on a store directory offline (`head`/`status`/`verify`/`get`/`scan`/`flush`/`repair`/`export`) — and **`nedb-inspector`**, a deterministic checker that warns when a durable open lacks flush-on-exit wiring. Full reference: [**docs/CLI.md**](docs/CLI.md).
268
+
259
269
  ### Startup modes (v2.2.31)
260
270
 
261
271
  - **Warm start** — every restart after the first open reads the `MANIFEST` file and restores `seq` + Merkle `head` in **O(1)**. No scan, no replay, independent of dataset size. Boots in milliseconds.
@@ -20,15 +20,21 @@ One Rust core → ships to **PyPI** and **npm** from a single source.
20
20
 
21
21
  ---
22
22
 
23
- ## NEDB v2.4.468 — Production Stable
23
+ ## NEDB v2.5.34 — Production Stable
24
24
 
25
- **Current stable: 2.4.468** — NEDB now ships as **three version-aligned distributions** on one tag — `nedb-engine` (flagship), `crypto-database` (verifiable v2/v3 DAG), and `aof-db` (fast append-only) — across npm / PyPI / crates.io with full mac + linux + windows native addons (see [**Releasing**](#releasing) below). On the engine side it remains a polish release on the complete cross-platform line. The `nedbd-v2` daemon now does **real CLI parsing** — `--dag-v3`, `--data`, `--fast-fsync`, `--help`, `--version` are recognized flags instead of being silently swallowed as the positional data dir — and `npm test` ships a **cinematic native smoke test** that tours v1→v2 migration, the v2 DAG, the v3 segment store, and a causal-provenance audit. All native wheels (Linux + Windows on GitHub Actions; macOS arm64 + x86_64 on Codemagic M2 Mac Minis) **plus** the universal pure-Python wheel ship from a single `v*` tag, with the `nedbd-v2` binary bundled inside `pip install nedb-engine`.
25
+ **Current stable: 2.5.34** — NEDB ships as **three version-aligned distributions** on one tag — `nedb-engine` (flagship), `crypto-database` (verifiable v2/v3 DAG), and `aof-db` (fast append-only) — across npm / PyPI / crates.io with full mac + linux + windows native addons (see [**Releasing**](#releasing) below). On the engine side it remains a polish release on the complete cross-platform line. The `nedbd-v2` daemon now does **real CLI parsing** — `--dag-v3`, `--data`, `--fast-fsync`, `--help`, `--version` are recognized flags instead of being silently swallowed as the positional data dir — and `npm test` ships a **cinematic native smoke test** that tours v1→v2 migration, the v2 DAG, the v3 segment store, and a causal-provenance audit. All native wheels (Linux + Windows on GitHub Actions; macOS arm64 + x86_64 on Codemagic M2 Mac Minis) **plus** the universal pure-Python wheel ship from a single `v*` tag, with the `nedbd-v2` binary bundled inside `pip install nedb-engine`.
26
+
27
+ **New in 2.5.x:**
28
+
29
+ - **Durable-mode auto-flush-on-exit** — a durable store flushes buffered writes on `Ctrl+C` / `SIGTERM`, not just on a clean `Drop`. Automatic in the Node and Python bindings; `Db::install_exit_flush(Arc<Db>)` for standalone Rust binaries. See [**docs/DURABILITY.md**](docs/DURABILITY.md).
30
+ - **`nedb-cli`** — operate on a store directory offline (`head` · `status` · `verify` · `get` · `scan` · `flush` · `repair` · `export`), and **`nedb-inspector`** — a deterministic (no-regex, no-LLM) checker that warns when a durable open lacks flush-on-exit wiring. See [**docs/CLI.md**](docs/CLI.md).
31
+ - **Replication contract** — `tip()` (the latest write), a bounded `since()` changefeed, and a `scan_status()` readiness gate. See [**docs/REPLICATION.md**](docs/REPLICATION.md).
26
32
 
27
33
  **The v3 storage line — consolidated, spec'd, and (as of 2.4.3) cleanly published across every platform.** It makes the NEDB **v3 segment/pack object store** a first-class, fully-documented feature:
28
34
 
29
35
  - **`--dag-v3`** (opt-in) — append-only segment store: one `fsync` per group-commit, `.idx` sidecars, compaction, non-destructive dual-read. Took a real itcd chainstate flush from *minutes* to **~1.3 s**. Parsed as a real flag by `nedbd-v2` as of v2.4.3 (or set `NEDB_DAG_V3=1`). (See the v3 section below.)
30
36
  - **`NEDB_FAST_FSYNC`** — macOS fast-fsync: a plain `fsync(2)` instead of `F_FULLFSYNC` (default off; no-op on Linux/Windows).
31
- - Durable **flush-on-close**, a **Windows-safe id-index** (percent-encodes filesystem-unsafe ids), and idempotent object re-writes — shipped across the 2.3.3xxx line.
37
+ - Durable **flush-on-close** — and, as of 2.5.x, **flush-on-exit** on `Ctrl+C` / `SIGTERM` (see [**docs/DURABILITY.md**](docs/DURABILITY.md)) — a **Windows-safe id-index** (percent-encodes filesystem-unsafe ids), and idempotent object re-writes.
32
38
  - **`docs/SPEC.md` §3** now formally specifies the v2 object store, the v3 substrate, and the durability model.
33
39
 
34
40
  NEDB v2 replaces the append-only log (AOF) with a **content-addressed Merkle DAG**. Every document version is an immutable, BLAKE2b-verified object. Nothing is ever overwritten. As of **v2.2.31**, restarts after the first open are **O(1) warm starts** (driven by a `MANIFEST` of `seq` + Merkle head), the **cold scan is deferred** so the daemon accepts connections immediately, and a new **`GET /events` SSE endpoint** streams scan progress + per-write events live.
@@ -235,6 +241,10 @@ nedbd --log-level 2 # 0=errors 1=requests 2=deploy 3=verbo
235
241
  curl http://127.0.0.1:7070/events
236
242
  ```
237
243
 
244
+ ### Companion CLIs
245
+
246
+ Alongside the daemon, `cargo install nedb-engine` ships **`nedb-cli`** — operate on a store directory offline (`head`/`status`/`verify`/`get`/`scan`/`flush`/`repair`/`export`) — and **`nedb-inspector`**, a deterministic checker that warns when a durable open lacks flush-on-exit wiring. Full reference: [**docs/CLI.md**](docs/CLI.md).
247
+
238
248
  ### Startup modes (v2.2.31)
239
249
 
240
250
  - **Warm start** — every restart after the first open reads the `MANIFEST` file and restores `seq` + Merkle `head` in **O(1)**. No scan, no replay, independent of dataset size. Boots in milliseconds.
@@ -10,7 +10,7 @@ build-backend = "hatchling.build"
10
10
 
11
11
  [project]
12
12
  name = "nedb-engine"
13
- version = "2.5.2"
13
+ version = "2.5.43"
14
14
  description = "NEDB — a versioned, self-compressing, time-traveling embedded database (replay-protected, idempotent, relational, searchable) with durable AOF persistence and a server daemon (nedbd)."
15
15
  readme = "README.md"
16
16
  requires-python = ">=3.8"
@@ -89,4 +89,4 @@ __all__ = [
89
89
  "verify_proof", "fold_head",
90
90
  "_native", "__has_native__",
91
91
  ]
92
- __version__ = "2.5.2"
92
+ __version__ = "2.5.43"
Binary file
index c71f2fe..f9475fa 100755
Binary file
Binary file
Binary file
File without changes
File without changes