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.
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/PKG-INFO +10 -7
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/README.md +9 -6
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/pyproject.toml +1 -1
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/__init__.py +1 -1
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/_native.abi3.so +0 -0
- nedb_engine-2.4.2/python/nedb/nedbd-v2 +0 -0
- nedb_engine-2.4.2/python/nedb/nedbd-v2-darwin-arm64 +0 -0
- nedb_engine-2.4.2/python/nedb/nedbd-v2-darwin-x64 +0 -0
- nedb_engine-2.4.2/python/nedb/nedbd-v2.exe +0 -0
- nedb_engine-2.3.3333/python/nedb/nedbd-v2 +0 -0
- nedb_engine-2.3.3333/python/nedb/nedbd-v2.exe +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/.gitignore +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/LICENSE +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/client/node/README.md +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/client/python/README.md +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/examples/mini-chain/README.md +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/autoindex.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/backends/__init__.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/backends/redis_backend.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/cascade.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/concurrent.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/crypto.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/engine.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/index.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/log.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/merkle.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/mongo.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/proof.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/query.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/redis_compat.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/relations.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/resp2.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/server.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/snapshot.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/sql.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/store.py +0 -0
- {nedb_engine-2.3.3333 → nedb_engine-2.4.2}/python/nedb/wrap_redis.py +0 -0
- {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
|
+
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.
|
|
44
|
+
## NEDB v2.4.2 — Production Stable
|
|
45
45
|
|
|
46
|
-
**Current stable: 2.
|
|
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
|
-
**
|
|
48
|
+
**The v3 storage line — consolidated, 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
|
-
|
|
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
|
|
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.
|
|
23
|
+
## NEDB v2.4.2 — Production Stable
|
|
24
24
|
|
|
25
|
-
**Current stable: 2.
|
|
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
|
-
**
|
|
27
|
+
**The v3 storage line — consolidated, 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
|
-
|
|
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
|
|
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.
|
|
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"
|
|
index 19b2cd9..82af07c 100755
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|