nedb-engine 2.3.3333__tar.gz → 2.4.2__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 (38) hide show
  1. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/PKG-INFO +10 -7
  2. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/README.md +9 -6
  3. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/pyproject.toml +1 -1
  4. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/__init__.py +1 -1
  5. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/_native.abi3.so +0 -0
  6. nedb_engine-2.4.2/python/nedb/nedbd-v2 +0 -0
  7. nedb_engine-2.4.2/python/nedb/nedbd-v2-darwin-arm64 +0 -0
  8. nedb_engine-2.4.2/python/nedb/nedbd-v2-darwin-x64 +0 -0
  9. nedb_engine-2.4.2/python/nedb/nedbd-v2.exe +0 -0
  10. nedb_engine-2.3.3333/python/nedb/nedbd-v2 +0 -0
  11. nedb_engine-2.3.3333/python/nedb/nedbd-v2.exe +0 -0
  12. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/.gitignore +0 -0
  13. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/LICENSE +0 -0
  14. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/client/node/README.md +0 -0
  15. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/client/python/README.md +0 -0
  16. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/examples/mini-chain/README.md +0 -0
  17. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/autoindex.py +0 -0
  18. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/backends/__init__.py +0 -0
  19. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/backends/redis_backend.py +0 -0
  20. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/cascade.py +0 -0
  21. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/concurrent.py +0 -0
  22. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/crypto.py +0 -0
  23. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/engine.py +0 -0
  24. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/index.py +0 -0
  25. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/log.py +0 -0
  26. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/merkle.py +0 -0
  27. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/mongo.py +0 -0
  28. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/proof.py +0 -0
  29. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/query.py +0 -0
  30. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/redis_compat.py +0 -0
  31. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/relations.py +0 -0
  32. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/resp2.py +0 -0
  33. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/server.py +0 -0
  34. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/snapshot.py +0 -0
  35. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/sql.py +0 -0
  36. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/store.py +0 -0
  37. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/wrap_redis.py +0 -0
  38. {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/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.3.3333
3
+ Version: 2.4.2
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,13 +41,16 @@ One Rust core → ships to **PyPI** and **npm** from a single source.
41
41
 
42
42
  ---
43
43
 
44
- ## NEDB v2.3.3333 — Production Stable
44
+ ## NEDB v2.4.2 — Production Stable
45
45
 
46
- **Current stable: 2.3.3333** — Cross-platform native wheels shipping `nedbd-v2` binary inside `pip install nedb-engine`. Linux + Windows wheels built on GitHub Actions; macOS arm64 + x86_64 wheels built on Codemagic (M2 Mac Minis). All four platforms publish from one `v*` tag.
46
+ **Current stable: 2.4.2** — 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
47
 
48
- **New in 2.3.3333:** opt-in **macOS fast-fsync** (`NEDB_FAST_FSYNC`) the v3 segment store skips macOS's slow `F_FULLFSYNC` for a plain `fsync(2)` (default off; no-op on Linux/Windows), cutting flush latency on Fusion/SATA Macs without touching durability semantics by default. Closes the 3's cycle — next is **2.4.0**.
48
+ **The v3 storage lineconsolidated, spec'd, and (as of 2.4.2) cleanly published across every platform.** It makes the NEDB **v3 segment/pack object store** a first-class, fully-documented feature:
49
49
 
50
- **New in 2.3.333:** comprehensive documentation for the **NEDB v3 segment/pack object store** (see the v3 section below) the opt-in append-only storage substrate that took a real itcd chainstate flush from *minutes* to **under 2 seconds**. Engine code is unchanged from 2.3.33, which shipped durable **flush-on-close** (a `Db` persists buffered writes when dropped, matching sled/RocksDB), a **cross-platform Windows-safe id-index** (percent-encodes filesystem-unsafe document ids — link ids, paths), and idempotent object re-writes.
50
+ - **`--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.2 (or set `NEDB_DAG_V3=1`). (See the v3 section below.)
51
+ - **`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.
53
+ - **`docs/SPEC.md` §3** now formally specifies the v2 object store, the v3 substrate, and the durability model.
51
54
 
52
55
  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.
53
56
 
@@ -378,8 +381,8 @@ v3 batches objects into append-only **segment packs** — `objects/segments/seg-
378
381
  ### How to enable
379
382
 
380
383
  ```bash
381
- # Engine / nedbd
382
- nedbd --dag-v3 --data /var/lib/nedb # or set NEDB_DAG_V3=1
384
+ # Engine / nedbd-v2 (the native daemon from npm / the native wheel)
385
+ nedbd-v2 --dag-v3 --data /var/lib/nedb # real flag as of v2.4.2 — or set NEDB_DAG_V3=1
383
386
 
384
387
  # itcd — Bitcoin-fork node embedding NEDB via nedb-ffi
385
388
  interchainedd -dagv3 # puts chainstate AND block index on segments
@@ -20,13 +20,16 @@ One Rust core → ships to **PyPI** and **npm** from a single source.
20
20
 
21
21
  ---
22
22
 
23
- ## NEDB v2.3.3333 — Production Stable
23
+ ## NEDB v2.4.2 — Production Stable
24
24
 
25
- **Current stable: 2.3.3333** — Cross-platform native wheels shipping `nedbd-v2` binary inside `pip install nedb-engine`. Linux + Windows wheels built on GitHub Actions; macOS arm64 + x86_64 wheels built on Codemagic (M2 Mac Minis). All four platforms publish from one `v*` tag.
25
+ **Current stable: 2.4.2** — 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
26
 
27
- **New in 2.3.3333:** opt-in **macOS fast-fsync** (`NEDB_FAST_FSYNC`) the v3 segment store skips macOS's slow `F_FULLFSYNC` for a plain `fsync(2)` (default off; no-op on Linux/Windows), cutting flush latency on Fusion/SATA Macs without touching durability semantics by default. Closes the 3's cycle — next is **2.4.0**.
27
+ **The v3 storage lineconsolidated, spec'd, and (as of 2.4.2) cleanly published across every platform.** It makes the NEDB **v3 segment/pack object store** a first-class, fully-documented feature:
28
28
 
29
- **New in 2.3.333:** comprehensive documentation for the **NEDB v3 segment/pack object store** (see the v3 section below) the opt-in append-only storage substrate that took a real itcd chainstate flush from *minutes* to **under 2 seconds**. Engine code is unchanged from 2.3.33, which shipped durable **flush-on-close** (a `Db` persists buffered writes when dropped, matching sled/RocksDB), a **cross-platform Windows-safe id-index** (percent-encodes filesystem-unsafe document ids — link ids, paths), and idempotent object re-writes.
29
+ - **`--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.2 (or set `NEDB_DAG_V3=1`). (See the v3 section below.)
30
+ - **`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.
32
+ - **`docs/SPEC.md` §3** now formally specifies the v2 object store, the v3 substrate, and the durability model.
30
33
 
31
34
  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.
32
35
 
@@ -357,8 +360,8 @@ v3 batches objects into append-only **segment packs** — `objects/segments/seg-
357
360
  ### How to enable
358
361
 
359
362
  ```bash
360
- # Engine / nedbd
361
- nedbd --dag-v3 --data /var/lib/nedb # or set NEDB_DAG_V3=1
363
+ # Engine / nedbd-v2 (the native daemon from npm / the native wheel)
364
+ nedbd-v2 --dag-v3 --data /var/lib/nedb # real flag as of v2.4.2 — or set NEDB_DAG_V3=1
362
365
 
363
366
  # itcd — Bitcoin-fork node embedding NEDB via nedb-ffi
364
367
  interchainedd -dagv3 # puts chainstate AND block index on segments
@@ -10,7 +10,7 @@ build-backend = "hatchling.build"
10
10
 
11
11
  [project]
12
12
  name = "nedb-engine"
13
- version = "2.3.3333"
13
+ version = "2.4.2"
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.3.3333"
92
+ __version__ = "2.4.2"
index 19b2cd9..82af07c 100755
Binary file
Binary file
Binary file
File without changes
File without changes