@lossless.org/nosqldb 10.7.0 → 10.7.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.
Binary file
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "d3027ff11e74ac1a91cea03a88a33077ec9ea28cff0e111a482e0983a36ee796",
3
+ "binarySha256": "202b8b8f3c743e55897a1e24795e99fc758d41af0b09a02450d06270d9c63636",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.7.0",
7
- "gitCommit": "4a527262213092fdd7a439e7ea8d2b70f7d800d4",
6
+ "projectVersion": "10.7.2",
7
+ "gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-26T14:16:18.634Z",
9
+ "builtAt": "2026-09-27T06:42:40.093Z",
10
10
  "tsrustVersion": "1.15.1",
11
11
  "binary": "rustdb",
12
12
  "target": "linux_amd64"
Binary file
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "5264f621d38fdd4351306e7e8efc7863ed9a2bc957f4f71d3bad4eaec5b71e0e",
3
+ "binarySha256": "6305631b2bd32cb8e4243d4c48587302b919cab8f7dd2163e34a2fb7ac2a231b",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.7.0",
7
- "gitCommit": "4a527262213092fdd7a439e7ea8d2b70f7d800d4",
6
+ "projectVersion": "10.7.2",
7
+ "gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-26T14:16:19.435Z",
9
+ "builtAt": "2026-09-27T06:42:40.986Z",
10
10
  "tsrustVersion": "1.15.1",
11
11
  "binary": "rustdb",
12
12
  "target": "linux_amd64_musl"
Binary file
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "74a2b3654bc3edd97f982a0edaf9a2e282eac2ffb3a8a080eb83512f3449b0b2",
3
+ "binarySha256": "4ab038c4cb872473f3046a5f5c9885999789fcb0a6f5ae7bfa4e17e65aafe658",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.7.0",
7
- "gitCommit": "4a527262213092fdd7a439e7ea8d2b70f7d800d4",
6
+ "projectVersion": "10.7.2",
7
+ "gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-26T14:16:19.044Z",
9
+ "builtAt": "2026-09-27T06:42:40.538Z",
10
10
  "tsrustVersion": "1.15.1",
11
11
  "binary": "rustdb",
12
12
  "target": "linux_arm64"
Binary file
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "dcb9615a4f2f7564b2bcb2215cb9d837a6846443454d616ffbfe3cb5e2a84c6b",
3
+ "binarySha256": "3293ead26a125239e01cedb02a5426656deca5acb6bb112b2c1a4af8c60e454c",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.7.0",
7
- "gitCommit": "4a527262213092fdd7a439e7ea8d2b70f7d800d4",
6
+ "projectVersion": "10.7.2",
7
+ "gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-26T14:16:19.847Z",
9
+ "builtAt": "2026-09-27T06:42:41.429Z",
10
10
  "tsrustVersion": "1.15.1",
11
11
  "binary": "rustdb",
12
12
  "target": "linux_arm64_musl"
Binary file
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "41145e19642b376bd84578dac20e7523e3a3b3b791c4224d0cd8d88e67112c52",
3
+ "binarySha256": "328ce3d8bdf3d4521ad627d054a659617a59db664f7eff215d7e727e8398ddbb",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.7.0",
7
- "gitCommit": "4a527262213092fdd7a439e7ea8d2b70f7d800d4",
6
+ "projectVersion": "10.7.2",
7
+ "gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-26T14:01:32.784Z",
9
+ "builtAt": "2026-09-27T06:26:41.032Z",
10
10
  "tsrustVersion": "1.15.1",
11
11
  "binary": "rustdb",
12
12
  "target": "macos_amd64"
Binary file
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "386b5e1a40ea4fca93c53678f952e0465f028cf370a1ada7935fbb00af149412",
3
+ "binarySha256": "618ad99857c7238c5e8c3ad49eb2e47329bccf2bc3ff17b560f84887a40a81f3",
4
4
  "buildInfo": {
5
5
  "projectName": "@lossless.org/nosqldb",
6
- "projectVersion": "10.7.0",
7
- "gitCommit": "4a527262213092fdd7a439e7ea8d2b70f7d800d4",
6
+ "projectVersion": "10.7.2",
7
+ "gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-26T14:01:33.406Z",
9
+ "builtAt": "2026-09-27T06:26:41.629Z",
10
10
  "tsrustVersion": "1.15.1",
11
11
  "binary": "rustdb",
12
12
  "target": "macos_arm64"
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@lossless.org/nosqldb',
6
- version: '10.7.0',
6
+ version: '10.7.2',
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.7.0",
3
+ "version": "10.7.2",
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": {
@@ -17,7 +17,7 @@
17
17
  "@git.zone/tsbuild": "^5.0.0",
18
18
  "@git.zone/tsbundle": "^2.15.0",
19
19
  "@git.zone/tsrust": "^1.15.1",
20
- "@git.zone/tstest": "^6.3.0",
20
+ "@git.zone/tstest": "^6.3.1",
21
21
  "@lossless.org/client": "0.1.1",
22
22
  "@types/node": "26.6.2",
23
23
  "mongodb": "^7.5.0"
package/readme.md CHANGED
@@ -382,11 +382,17 @@ generation bindings are validated before and after the batch; mutation,
382
382
  durability, cancellation and close checks remain enforced. No lease or resolved
383
383
  authorization is reused across requests or asynchronous suspensions.
384
384
 
385
- Compound indexes combine leading equality fields with a range on the next field.
386
- For example, `{ serverId: 1, timestamp: 1 }` seeks directly into the requested
387
- server's time interval. Inclusive/exclusive endpoints, descending components,
388
- trailing fields and reverse pagination retain their normal semantics. The full
389
- predicate is still checked for every selected candidate.
385
+ Compound indexes combine leading equality fields, if any, with a range on the
386
+ next field. For example, `{ serverId: 1, timestamp: 1 }` seeks directly into the
387
+ requested server's time interval. Inclusive/exclusive endpoints, descending
388
+ components, trailing fields and reverse pagination retain their normal
389
+ semantics. A range is built from `$gt`, `$gte`, `$lt` and `$lte`, and from
390
+ `$ne: null` or a `$nin` list holding null, which read only the non-null keys as
391
+ MongoDB's `[MinKey, undefined) ∪ (null, MaxKey]` bounds do: documents without
392
+ the field or with an explicit null are not examined. Ranges are built only on
393
+ complete, non-multikey indexes whose values all have a scalar order; other
394
+ indexes are not narrowed. The full predicate is still checked for every
395
+ selected candidate.
390
396
 
391
397
  For a query whose filter references only `_id` and whose projection is exactly
392
398
  `{ _id: 1 }`, the native primary index can supply the original BSON identity
@@ -625,6 +631,10 @@ and revalidate under exclusive admission before any publication.
625
631
 
626
632
  Logical sessions survive socket disconnects. Expiry, `endSessions` and
627
633
  `killSessions` drain active work and release cursors and namespace gates.
634
+ A `commitTransaction` or `abortTransaction` retried while its session is being
635
+ ended still replays the transaction's stored outcome, so a committed
636
+ transaction is never reported as aborted; a transaction that was still open
637
+ when its session ended publishes nothing and reports `NoSuchTransaction` (251).
628
638
  Rejected new transaction envelopes do not consume session capacity or reset
629
639
  existing sessions. See the native resource budgets below.
630
640
 
@@ -1353,6 +1363,9 @@ await collection.findOneAndReplace({ _id: id }, { name: 'Replaced' }, { returnDo
1353
1363
  // Array
1354
1364
  { tags: { $all: ['mongodb', 'database'] } }
1355
1365
  { scores: { $elemMatch: { $gte: 80, $lt: 90 } } }
1366
+ { labels: { $not: { $elemMatch: { $nin: ['linux', 'gpu'] } } } }
1367
+ { items: { $elemMatch: { sku: 'a', qty: { $gt: 2 } } } }
1368
+ { items: { $all: [{ $elemMatch: { sku: 'a' } }, { $elemMatch: { qty: 0 } }] } }
1356
1369
  { tags: { $size: 3 } }
1357
1370
 
1358
1371
  // Regex
@@ -1367,6 +1380,14 @@ await collection.findOneAndReplace({ _id: id }, { name: 'Replaced' }, { returnDo
1367
1380
  code or an array of them, and matches an array field through its elements as
1368
1381
  well as `'array'` itself.
1369
1382
 
1383
+ `$elemMatch` has MongoDB's two forms. An operand whose first key is a query
1384
+ operator applies its operators (`$eq`, `$ne`, `$gt`, `$gte`, `$lt`, `$lte`,
1385
+ `$in`, `$nin`, `$exists`, `$type`, `$regex`, `$size`, `$mod`, `$all`, `$not`,
1386
+ `$elemMatch`) to each element as a whole; any other operand is a query over
1387
+ each embedded document, and a nested array is matched as a document keyed by
1388
+ index. A dotted path tests every array it reaches on its own. `$expr` inside
1389
+ `$elemMatch` is refused with `BadValue` (2), as on MongoDB.
1390
+
1370
1391
  `$expr` evaluates an aggregation expression per document in `find`, `count`,
1371
1392
  `distinct`, `update`, `delete`, `findAndModify` and a `$match` stage, and
1372
1393
  matches when the result is truthy. It accepts the operators listed under
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@lossless.org/nosqldb',
6
- version: '10.7.0',
6
+ version: '10.7.2',
7
7
  description: 'A MongoDB-compatible embedded database server with wire protocol support, backed by a high-performance Rust engine.'
8
8
  }