nedb-engine 16.19.0 → 20.21.22

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 CHANGED
@@ -127,6 +127,12 @@ traversable — and the same hash chain that keeps it honest also protects it.
127
127
 
128
128
  ---
129
129
 
130
+ ## Boot hydration
131
+
132
+ Set `NITRO_NEDB_HYDRATION=true` in the process that opens the database. On an exclusive durable Rust open, the engine loads current document IDs and live records into RAM before open returns. Embedded clients and the HTTP daemon use this same open path. Writes refresh the resident state and deletes remove the live entry. The DAG retains the version history on disk.
133
+
134
+ In the Python engine, ordinary replay already builds resident state. A portal open with hydration enabled loads the sealed checkpoint into the in-memory version store before replaying the tail. Size memory for the live dataset and allow time at startup to read it. The flag defaults to off.
135
+
130
136
  ## Portals — data stays on disk, access is immediate · *new*
131
137
 
132
138
  A database should not need RAM proportional to its history just to *open*.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/nesql-linux-arm64 CHANGED
Binary file
Binary file
package/nesql-linux-x64 CHANGED
Binary file
Binary file
package/nesql-win-x64.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nedb-engine",
3
- "version": "16.19.0",
4
- "description": "NEDB \u2014 hash-chained, time-traveling, bi-temporal embedded database with Rust native core. SQL, Redis, MongoDB adapters. Causal Write Provenance. RESP2 wire protocol.",
3
+ "version": "20.21.22",
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. Opt-in boot hydration (NITRO_NEDB_HYDRATION=true) loads the live dataset into RAM at open for millisecond reads.",
5
5
  "main": "index.js",
6
6
  "exports": {
7
7
  ".": {
Binary file
Binary file
Binary file
Binary file
Binary file
package/nesql-darwin-x64 DELETED
Binary file