@push.rocks/smartdb 2.14.0 → 2.14.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/.smartconfig.json
CHANGED
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"services": []
|
|
34
|
+
"services": [],
|
|
35
|
+
"schemaVersion": 2
|
|
35
36
|
},
|
|
36
37
|
"@git.zone/tsdoc": {
|
|
37
38
|
"legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
|
|
@@ -43,12 +44,17 @@
|
|
|
43
44
|
"to": "./ts_debugserver/bundled.ts",
|
|
44
45
|
"outputMode": "base64ts",
|
|
45
46
|
"bundler": "esbuild",
|
|
46
|
-
"includeFiles": [
|
|
47
|
+
"includeFiles": [
|
|
48
|
+
"./html/index.html"
|
|
49
|
+
]
|
|
47
50
|
}
|
|
48
51
|
]
|
|
49
52
|
},
|
|
50
53
|
"@git.zone/tsrust": {
|
|
51
|
-
"targets": [
|
|
54
|
+
"targets": [
|
|
55
|
+
"linux_amd64",
|
|
56
|
+
"linux_arm64"
|
|
57
|
+
],
|
|
52
58
|
"static": true
|
|
53
59
|
},
|
|
54
60
|
"@ship.zone/szci": {
|
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartdb',
|
|
6
|
-
version: '2.14.
|
|
6
|
+
version: '2.14.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxxQkFBcUI7SUFDM0IsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHFIQUFxSDtDQUNuSSxDQUFBIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@push.rocks/smartdb",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.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": {
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"@api.global/typedserver": "^8.4.6",
|
|
16
16
|
"@design.estate/dees-element": "^2.2.4",
|
|
17
17
|
"@git.zone/tsbuild": "^4.4.2",
|
|
18
|
-
"@git.zone/tsbundle": "^2.11.
|
|
18
|
+
"@git.zone/tsbundle": "^2.11.3",
|
|
19
19
|
"@git.zone/tsrun": "^2.0.5",
|
|
20
|
-
"@git.zone/tsrust": "^1.
|
|
21
|
-
"@git.zone/tstest": "^3.6.
|
|
22
|
-
"@types/node": "^26.1.
|
|
20
|
+
"@git.zone/tsrust": "^1.7.0",
|
|
21
|
+
"@git.zone/tstest": "^3.6.7",
|
|
22
|
+
"@types/node": "^26.1.2",
|
|
23
23
|
"mongodb": "^7.5.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
package/readme.hints.md
CHANGED
|
@@ -13,3 +13,4 @@
|
|
|
13
13
|
- tsrust injects `RUSTFLAGS="-C target-feature=+crt-static"` only into its own per-target cargo invocations and verifies the result (no `PT_INTERP` ELF header). Keep `rust/.cargo/config.toml` free of `rustflags` entries: the injected env variable would replace them, and a repo-wide `rustflags` would also break plain `cargo test`/`cargo check` (proc-macros cannot build with `+crt-static` on linux-gnu without an explicit `--target`). The repo previously carried such `rustflags` lines; they were removed when the tsrust `static` option was adopted.
|
|
14
14
|
- `pnpm run test:rust` runs the Rust unit tests; plain `cargo test` in `rust/` works as well.
|
|
15
15
|
- Verify linkage manually with `ldd dist_rust/<binary>_linux_amd64` → "statically linked".
|
|
16
|
+
- Do NOT verify feature presence in release binaries with `strings`/`grep`: on x86_64 release builds LLVM embeds short string literals (≤16 bytes, e.g. BSON doc keys like `volatileOnly`) as instruction immediates, so they are invisible to byte scans while the aarch64 binary shows them in `.rodata`. This produces false "stale binary" alarms. Verify behavior by running the binary (the wire tests spawn the host-arch binary from `dist_rust/`), or disassemble: `objdump -d <bin> | grep <hex-of-literal-LE>`.
|
package/readme.md
CHANGED
|
@@ -571,6 +571,16 @@ const results = await collection.aggregate([
|
|
|
571
571
|
|
|
572
572
|
**Supported stages:** `$match`, `$project`, `$group`, `$sort`, `$limit`, `$skip`, `$unwind`, `$lookup`, `$addFields`, `$count`, `$facet`, `$replaceRoot`, `$set`, `$unionWith`, `$out`, `$merge`
|
|
573
573
|
|
|
574
|
+
`$lookup` supports the equality form and a bounded correlated pipeline form with
|
|
575
|
+
`let`, an optional `$match` using `$expr`/`$and`/`$eq`, and an optional following
|
|
576
|
+
`$limit`. Correlated string equality predicates can use a full-key or subset
|
|
577
|
+
foreign equality index to reduce candidates when available. Candidates are
|
|
578
|
+
paged, the complete expression remains authoritative, and `$limit` counts only
|
|
579
|
+
exact expression matches. Other BSON value shapes use the bounded scan path.
|
|
580
|
+
Mixed `localField`/`foreignField` plus `pipeline` lookups and other inner stages
|
|
581
|
+
are rejected explicitly. Complete filter trees are validated before data is
|
|
582
|
+
read, and query nesting plus aggregation work are bounded.
|
|
583
|
+
|
|
574
584
|
**Group accumulators:** `$sum`, `$avg`, `$min`, `$max`, `$first`, `$last`, `$push`, `$addToSet`, `$count`
|
|
575
585
|
|
|
576
586
|
### Indexes
|
package/ts/00_commitinfo_data.ts
CHANGED