@lossless.org/nosqldb 10.3.0 → 10.4.0

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.
Binary file
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "36dca185334f904cef212998118b6ac114d7bb5adb55eefe4a510ed595d2213c",
3
+ "binarySha256": "31770f09ae1c249545227942c92be3e32cfb5f59a09b890ab8738b70f2dc73cd",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.3.0",
7
- "gitCommit": "4d06e6d9ea56329cdd3402d731c75dab19644979",
6
+ "projectVersion": "10.4.0",
7
+ "gitCommit": "24ea908914d4553b3578c607ca50a27861e1cfde",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-19T17:31:32.898Z",
10
- "tsrustVersion": "1.13.0",
9
+ "builtAt": "2026-09-22T14:53:07.033Z",
10
+ "tsrustVersion": "1.13.2",
11
11
  "binary": "rustdb",
12
12
  "target": "linux_amd64"
13
13
  }
Binary file
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "4968cf846beccaf7045176a4bb8ccc63df7fcb8e596c74a88c83d5c0efa25474",
3
+ "binarySha256": "7eb59b0144c748c486af0b5adf73113961cea39d22798a6d1d6257cfa94f0c1f",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.3.0",
7
- "gitCommit": "4d06e6d9ea56329cdd3402d731c75dab19644979",
6
+ "projectVersion": "10.4.0",
7
+ "gitCommit": "24ea908914d4553b3578c607ca50a27861e1cfde",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-19T17:31:33.621Z",
10
- "tsrustVersion": "1.13.0",
9
+ "builtAt": "2026-09-22T14:53:07.815Z",
10
+ "tsrustVersion": "1.13.2",
11
11
  "binary": "rustdb",
12
12
  "target": "linux_amd64_musl"
13
13
  }
Binary file
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "3cb9ed2baea196408f7cb601f0e87c94460847f647791b668bd0c0ab16d9bc36",
3
+ "binarySha256": "b4fe927c4f9b0d3c7f7bfbd76d60a6cb606691d21e552f83c2424120d6c48b70",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.3.0",
7
- "gitCommit": "4d06e6d9ea56329cdd3402d731c75dab19644979",
6
+ "projectVersion": "10.4.0",
7
+ "gitCommit": "24ea908914d4553b3578c607ca50a27861e1cfde",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-19T17:31:33.262Z",
10
- "tsrustVersion": "1.13.0",
9
+ "builtAt": "2026-09-22T14:53:07.423Z",
10
+ "tsrustVersion": "1.13.2",
11
11
  "binary": "rustdb",
12
12
  "target": "linux_arm64"
13
13
  }
Binary file
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "c4217a046e3ef077b2fb4cbd55b2293065fcf0e5d19d02872d24944d7fb38d47",
3
+ "binarySha256": "e74084637d8b8e9da01a20c0946ec25524a9b7d08caf789e65e64d39292396b5",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.3.0",
7
- "gitCommit": "4d06e6d9ea56329cdd3402d731c75dab19644979",
6
+ "projectVersion": "10.4.0",
7
+ "gitCommit": "24ea908914d4553b3578c607ca50a27861e1cfde",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-19T17:31:34.006Z",
10
- "tsrustVersion": "1.13.0",
9
+ "builtAt": "2026-09-22T14:53:08.224Z",
10
+ "tsrustVersion": "1.13.2",
11
11
  "binary": "rustdb",
12
12
  "target": "linux_arm64_musl"
13
13
  }
Binary file
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "76bbc0d282e60f4420de493d7d2ba9f8397c1369c77660a477523371285d4f1e",
3
+ "binarySha256": "10d24aaf60614be79b6d5eb40af8d54fa55b09df533ba3b2e681d312dead41e5",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.3.0",
7
- "gitCommit": "4d06e6d9ea56329cdd3402d731c75dab19644979",
6
+ "projectVersion": "10.4.0",
7
+ "gitCommit": "24ea908914d4553b3578c607ca50a27861e1cfde",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-19T17:17:17.746Z",
10
- "tsrustVersion": "1.13.0",
9
+ "builtAt": "2026-09-22T14:38:03.452Z",
10
+ "tsrustVersion": "1.13.2",
11
11
  "binary": "rustdb",
12
12
  "target": "macos_amd64"
13
13
  }
Binary file
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "c186fb50d99d277a712483a44554f886592e4e5721afedf4fb06bc996212a778",
3
+ "binarySha256": "458b9c061fc56aac6e8bce80ec3d1d0648979d69668c818dea5a1ee7644415cb",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.3.0",
7
- "gitCommit": "4d06e6d9ea56329cdd3402d731c75dab19644979",
6
+ "projectVersion": "10.4.0",
7
+ "gitCommit": "24ea908914d4553b3578c607ca50a27861e1cfde",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-19T17:17:18.309Z",
10
- "tsrustVersion": "1.13.0",
9
+ "builtAt": "2026-09-22T14:38:04.073Z",
10
+ "tsrustVersion": "1.13.2",
11
11
  "binary": "rustdb",
12
12
  "target": "macos_arm64"
13
13
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@lossless.org/nosqldb',
6
- version: '10.3.0',
6
+ version: '10.4.0',
7
7
  description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx1QkFBdUI7SUFDN0IsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHFIQUFxSDtDQUNuSSxDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lossless.org/nosqldb",
3
- "version": "10.3.0",
3
+ "version": "10.4.0",
4
4
  "private": false,
5
5
  "description": "A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.",
6
6
  "exports": {
@@ -16,7 +16,7 @@
16
16
  "@design.estate/dees-element": "^2.2.4",
17
17
  "@git.zone/tsbuild": "^4.5.0",
18
18
  "@git.zone/tsbundle": "^2.13.0",
19
- "@git.zone/tsrust": "^1.13.0",
19
+ "@git.zone/tsrust": "^1.13.2",
20
20
  "@git.zone/tstest": "^6.1.1",
21
21
  "@lossless.org/client": "0.1.1",
22
22
  "@types/node": "26.5.1",
package/readme.md CHANGED
@@ -1625,7 +1625,7 @@ const names = await collection.distinct('name');
1625
1625
  | **Indexes** | `createIndexes`, `dropIndexes`, `listIndexes` |
1626
1626
  | **Sessions** | `startSession`, `endSessions`, `killSessions` |
1627
1627
  | **Transactions** | `startTransaction`, `commitTransaction`, `abortTransaction` through driver sessions |
1628
- | **Admin** | `ping`, `listDatabases`, `listCollections`, `drop`, `dropDatabase`, `create`, `serverStatus`, `dbStats`, `collStats`, `connectionStatus`, `renameCollection` |
1628
+ | **Admin** | `ping`, `buildInfo`/`buildinfo`, `listDatabases`, `listCollections`, `drop`, `dropDatabase`, `create`, `serverStatus`, `dbStats`, `collStats`, `connectionStatus`, `renameCollection` |
1629
1629
 
1630
1630
  Advertises MongoDB wire protocol versions 0–21. The documented command surface is tested with the official `mongodb` Node.js driver version 7.5.x.
1631
1631
 
@@ -1659,6 +1659,63 @@ socket read. Large unread pipelines remain charged and are compacted only at
1659
1659
  geometric utilization thresholds; the budget is an encoded-input bound rather
1660
1660
  than a claim about exact allocator heap usage.
1661
1661
 
1662
+ ### Identifying the Engine
1663
+
1664
+ NoSQLDB speaks the MongoDB wire protocol, so it must also state plainly what it
1665
+ is. Every `hello`, `ismaster` and `isMaster` reply carries a self-contained
1666
+ `nosqldb` document, and so does `buildInfo`/`buildinfo`:
1667
+
1668
+ ```json
1669
+ {
1670
+ "product": "NoSQLDB",
1671
+ "vendor": "lossless.org",
1672
+ "version": "<the released package version>",
1673
+ "storageEngine": "native",
1674
+ "mongodbCompatibility": "7.0.0",
1675
+ "minWireVersion": 0,
1676
+ "maxWireVersion": 21
1677
+ }
1678
+ ```
1679
+
1680
+ `version` is the released `@lossless.org/nosqldb` version the running binary was
1681
+ built from: the Rust build compiles it in from the package manifest, so the
1682
+ answer belongs to the shipped artifact and cannot drift from it.
1683
+ `mongodbCompatibility` is the MongoDB release whose wire protocol and command
1684
+ semantics this engine implements — a compatibility statement, never a claim to
1685
+ be that build.
1686
+
1687
+ The handshake carries the identity unconditionally, before authentication, so a
1688
+ client can derive its backend from the connection it already has. `buildInfo` is
1689
+ available to **every authenticated connection**, including a `readWrite`-only
1690
+ tenant user and an allocation read grant; it requires no `clusterMonitor` role
1691
+ and creates no session state. `buildInfo` answers from build metadata alone and
1692
+ therefore still answers on a fenced or closed runtime, while `hello` fails
1693
+ closed. It answers in MongoDB's shape so existing tooling keeps working:
1694
+
1695
+ ```json
1696
+ {
1697
+ "version": "7.0.0",
1698
+ "versionArray": [7, 0, 0, 0],
1699
+ "gitVersion": "<source commit, or \"unknown\" when the build had no Git metadata>",
1700
+ "modules": [],
1701
+ "javascriptEngine": "none",
1702
+ "bits": 64,
1703
+ "debug": false,
1704
+ "maxBsonObjectSize": 16777216,
1705
+ "storageEngines": ["native"],
1706
+ "nosqldb": { "...": "the identity above" },
1707
+ "ok": 1
1708
+ }
1709
+ ```
1710
+
1711
+ `buildInfo.version` states the implemented compatibility level, exactly like
1712
+ `serverStatus.version`; the engine's own version is in `nosqldb.version`. A
1713
+ commit is never fabricated: `gitVersion` is either the exact source commit of
1714
+ the build or the literal `unknown`. `serverStatus` keeps every field it already
1715
+ reported, including `version` and `process: "rustdb"`, and now reports the same
1716
+ `nosqldb` identity beside them — but it remains a `clusterMonitor` command, so
1717
+ least-privilege connections use `hello` or `buildInfo`.
1718
+
1662
1719
  ### Read and Write Concerns and Wire Deadlines
1663
1720
 
1664
1721
  NoSQLDB serves every database from exactly one voting node and states its
@@ -1715,7 +1772,7 @@ replication.
1715
1772
  ### Unsupported Administrative Commands
1716
1773
 
1717
1774
  NoSQLDB returns `CommandNotFound` (code 59) for the wire commands `validate`,
1718
- legacy `authenticate`, `buildInfo`/`buildinfo`, `hostInfo`,
1775
+ legacy `authenticate`, `hostInfo`,
1719
1776
  `whatsmyuri`, `getLog`, `getCmdLineOpts`, `getParameter`, `setFreeMonitoring`,
1720
1777
  `currentOp`, `killOp`, `top`, `profile`, `compact`, `reIndex`, `fsync`, and
1721
1778
  `connPoolSync`. These commands previously had placeholder success responses but
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@lossless.org/nosqldb',
6
- version: '10.3.0',
6
+ version: '10.4.0',
7
7
  description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
8
8
  }