@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.
- package/dist_rust/rustdb_linux_amd64 +0 -0
- package/dist_rust/rustdb_linux_amd64.tsrust-build.json +4 -4
- package/dist_rust/rustdb_linux_amd64_musl +0 -0
- package/dist_rust/rustdb_linux_amd64_musl.tsrust-build.json +4 -4
- package/dist_rust/rustdb_linux_arm64 +0 -0
- package/dist_rust/rustdb_linux_arm64.tsrust-build.json +4 -4
- package/dist_rust/rustdb_linux_arm64_musl +0 -0
- package/dist_rust/rustdb_linux_arm64_musl.tsrust-build.json +4 -4
- package/dist_rust/rustdb_macos_amd64 +0 -0
- package/dist_rust/rustdb_macos_amd64.tsrust-build.json +4 -4
- package/dist_rust/rustdb_macos_arm64 +0 -0
- package/dist_rust/rustdb_macos_arm64.tsrust-build.json +4 -4
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/package.json +2 -2
- package/readme.md +26 -5
- package/ts/00_commitinfo_data.ts +1 -1
|
Binary file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": "tsrust.build-provenance.v2",
|
|
3
|
-
"binarySha256": "
|
|
3
|
+
"binarySha256": "202b8b8f3c743e55897a1e24795e99fc758d41af0b09a02450d06270d9c63636",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@lossless.org/nosqldb",
|
|
6
|
-
"projectVersion": "10.7.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "10.7.2",
|
|
7
|
+
"gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-09-
|
|
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": "
|
|
3
|
+
"binarySha256": "6305631b2bd32cb8e4243d4c48587302b919cab8f7dd2163e34a2fb7ac2a231b",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@lossless.org/nosqldb",
|
|
6
|
-
"projectVersion": "10.7.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "10.7.2",
|
|
7
|
+
"gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-09-
|
|
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": "
|
|
3
|
+
"binarySha256": "4ab038c4cb872473f3046a5f5c9885999789fcb0a6f5ae7bfa4e17e65aafe658",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@lossless.org/nosqldb",
|
|
6
|
-
"projectVersion": "10.7.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "10.7.2",
|
|
7
|
+
"gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-09-
|
|
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": "
|
|
3
|
+
"binarySha256": "3293ead26a125239e01cedb02a5426656deca5acb6bb112b2c1a4af8c60e454c",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@lossless.org/nosqldb",
|
|
6
|
-
"projectVersion": "10.7.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "10.7.2",
|
|
7
|
+
"gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-09-
|
|
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": "
|
|
3
|
+
"binarySha256": "328ce3d8bdf3d4521ad627d054a659617a59db664f7eff215d7e727e8398ddbb",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@lossless.org/nosqldb",
|
|
6
|
-
"projectVersion": "10.7.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "10.7.2",
|
|
7
|
+
"gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-09-
|
|
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": "
|
|
3
|
+
"binarySha256": "618ad99857c7238c5e8c3ad49eb2e47329bccf2bc3ff17b560f84887a40a81f3",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@lossless.org/nosqldb",
|
|
6
|
-
"projectVersion": "10.7.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "10.7.2",
|
|
7
|
+
"gitCommit": "51e2b018bac6b008f8ffb23170b5f3371fd38402",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-09-
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
386
|
-
For example, `{ serverId: 1, timestamp: 1 }` seeks directly into the
|
|
387
|
-
server's time interval. Inclusive/exclusive endpoints, descending
|
|
388
|
-
trailing fields and reverse pagination retain their normal
|
|
389
|
-
|
|
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
|
package/ts/00_commitinfo_data.ts
CHANGED