nedb-engine 2.4.468 → 2.5.2
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.
- package/README.md +24 -2
- package/index.d.ts +10 -0
- package/nedb.darwin-arm64.node +0 -0
- package/nedb.darwin-x64.node +0 -0
- package/nedb.linux-x64-gnu.node +0 -0
- package/nedb.win32-x64-msvc.node +0 -0
- package/nedbd-v2-darwin-arm64 +0 -0
- package/nedbd-v2-darwin-x64 +0 -0
- package/nedbd-v2-linux-x64 +0 -0
- package/nedbd-v2-win-x64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,9 +20,9 @@ One Rust core → ships to **PyPI** and **npm** from a single source.
|
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
-
## NEDB v2.4.
|
|
23
|
+
## NEDB v2.4.468 — Production Stable
|
|
24
24
|
|
|
25
|
-
**Current stable: 2.4.
|
|
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`.
|
|
26
26
|
|
|
27
27
|
**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
28
|
|
|
@@ -509,6 +509,28 @@ Prompt-to-database scaffolding GUI with schema graph, NQL console, time-travel s
|
|
|
509
509
|
|
|
510
510
|
---
|
|
511
511
|
|
|
512
|
+
## Releasing
|
|
513
|
+
|
|
514
|
+
NEDB and its two distributions (`crypto-database`, `aof-db`) ship from a **single version tag** via one committed tool:
|
|
515
|
+
|
|
516
|
+
```bash
|
|
517
|
+
python3 scripts/release.py "vFROM" "vTO"
|
|
518
|
+
# e.g. the first run of the 2.4.468 line:
|
|
519
|
+
python3 scripts/release.py "v2.4.68" "v2.4.468"
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
Both arguments require the leading `v` (e.g. `v2.4.468`). The script:
|
|
523
|
+
|
|
524
|
+
1. **Bumps every version-bearing manifest** (npm / PyPI / crates + the engine crate, clients, and the maturin project) in the flagship **and** both distribution forks from `FROM` to `TO`, opening and merging a release PR per repo.
|
|
525
|
+
2. **Repoints the `distributions/*` submodules** to the freshly-bumped fork masters.
|
|
526
|
+
3. **Tags `vTO`** on `master`, firing CI/CD — `release.yml` (flagship) + `release-distros.yml` (distros) + Codemagic (macOS wheels/addons) — to publish `nedb-engine` + `crypto-database` + `aof-db` aligned on one version across npm, PyPI, and crates.io.
|
|
527
|
+
|
|
528
|
+
It is **idempotent**: a manifest line already at `TO` is left untouched, a repo already fully at `TO` produces no empty PR, and an existing `vTO` tag is left in place — so a half-finished release can be re-run safely, and the remaining steps (submodule repoint, tag) always run even when the version was already correct.
|
|
529
|
+
|
|
530
|
+
Requires `GITHUB_TOKEN` (`repo` + `workflow` scope) in the environment. It never force-pushes `master` and never commits to it directly — every change lands through a branch + PR + merge.
|
|
531
|
+
|
|
532
|
+
---
|
|
533
|
+
|
|
512
534
|
## License
|
|
513
535
|
|
|
514
536
|
See `LICENSE` file. · © INTERCHAINED, LLC — [interchained.org](https://interchained.org)
|
package/index.d.ts
CHANGED
|
@@ -33,4 +33,14 @@ export declare class NedbCore {
|
|
|
33
33
|
seq(): bigint
|
|
34
34
|
/** Flush WAL and MANIFEST — v2 equivalent of v1 flush(). */
|
|
35
35
|
flush(): void
|
|
36
|
+
/**
|
|
37
|
+
* The tip — the most recent write (latest node) as a JSON string, or null if
|
|
38
|
+
* the database is empty. The cheap "give me the latest write" primitive.
|
|
39
|
+
*/
|
|
40
|
+
tip(): string | null
|
|
41
|
+
/**
|
|
42
|
+
* Changefeed: every write AFTER `after_seq` (exclusive), ascending, each as a
|
|
43
|
+
* JSON string. Pass the seq you last saw to stream only new writes.
|
|
44
|
+
*/
|
|
45
|
+
since(afterSeq: bigint): Array<string>
|
|
36
46
|
}
|
package/nedb.darwin-arm64.node
CHANGED
|
Binary file
|
package/nedb.darwin-x64.node
CHANGED
|
Binary file
|
package/nedb.linux-x64-gnu.node
CHANGED
|
Binary file
|
package/nedb.win32-x64-msvc.node
CHANGED
|
Binary file
|
package/nedbd-v2-darwin-arm64
CHANGED
|
Binary file
|
package/nedbd-v2-darwin-x64
CHANGED
|
Binary file
|
package/nedbd-v2-linux-x64
CHANGED
|
Binary file
|
package/nedbd-v2-win-x64.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nedb-engine",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"description": "NEDB — hash-chained, time-traveling, bi-temporal embedded database with Rust native core. SQL, Redis, MongoDB adapters. Causal Write Provenance. RESP2 wire protocol.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|