@push.rocks/smartdb 5.2.2 → 5.2.3
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_arm64 +0 -0
- package/dist_rust/rustdb_linux_arm64.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 +1 -1
- package/readme.md +22 -0
- package/readme.plan.md +4 -3
- package/third-party-notices.md +32 -6
- 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": "5540a957900ae9ffb3c4ac119e61b508126143e6db827208f8d4555180569a72",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@push.rocks/smartdb",
|
|
6
|
-
"projectVersion": "5.2.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "5.2.3",
|
|
7
|
+
"gitCommit": "b09765bbcdf06fe4be46005a63c22be532d7bfa2",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-08-
|
|
9
|
+
"builtAt": "2026-08-22T22:52:46.361Z",
|
|
10
10
|
"tsrustVersion": "1.10.0",
|
|
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": "81eccfcdbbb51956608e04a3dbac5a13278ea45ad73b756083d614693120b6ba",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@push.rocks/smartdb",
|
|
6
|
-
"projectVersion": "5.2.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "5.2.3",
|
|
7
|
+
"gitCommit": "b09765bbcdf06fe4be46005a63c22be532d7bfa2",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-08-
|
|
9
|
+
"builtAt": "2026-08-22T22:53:24.138Z",
|
|
10
10
|
"tsrustVersion": "1.10.0",
|
|
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": "ada67fe412512c8f3a1654f161278a86f4734d07fc45a1229f37d5e90d27de03",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@push.rocks/smartdb",
|
|
6
|
-
"projectVersion": "5.2.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "5.2.3",
|
|
7
|
+
"gitCommit": "b09765bbcdf06fe4be46005a63c22be532d7bfa2",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-08-
|
|
9
|
+
"builtAt": "2026-08-22T22:54:32.399Z",
|
|
10
10
|
"tsrustVersion": "1.10.0",
|
|
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": "0b953034b6a3c24ed9bbb0c5e6d3500be88b76c3c6bca8765549edddb81ebdd1",
|
|
4
4
|
"buildInfo": {
|
|
5
5
|
"projectName": "@push.rocks/smartdb",
|
|
6
|
-
"projectVersion": "5.2.
|
|
7
|
-
"gitCommit": "
|
|
6
|
+
"projectVersion": "5.2.3",
|
|
7
|
+
"gitCommit": "b09765bbcdf06fe4be46005a63c22be532d7bfa2",
|
|
8
8
|
"gitDirty": false,
|
|
9
|
-
"builtAt": "2026-08-
|
|
9
|
+
"builtAt": "2026-08-22T22:55:12.046Z",
|
|
10
10
|
"tsrustVersion": "1.10.0",
|
|
11
11
|
"binary": "rustdb",
|
|
12
12
|
"target": "macos_arm64"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartdb',
|
|
6
|
-
version: '5.2.
|
|
6
|
+
version: '5.2.3',
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxxQkFBcUI7SUFDM0IsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHFIQUFxSDtDQUNuSSxDQUFBIn0=
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -967,6 +967,28 @@ const names = await collection.distinct('name');
|
|
|
967
967
|
|
|
968
968
|
Advertises MongoDB wire protocol versions 0–21. The documented command surface is tested with the official `mongodb` Node.js driver version 7.5.x.
|
|
969
969
|
|
|
970
|
+
OP_MSG parsing rejects unknown required flags, invalid CRC-32C checksums,
|
|
971
|
+
duplicate BSON keys, noncanonical array indexes, malformed section boundaries,
|
|
972
|
+
multiple body sections, duplicate or colliding document-sequence identifiers,
|
|
973
|
+
and missing or non-string `$db` fields. Unknown optional flags are ignored. A
|
|
974
|
+
message is limited to 48,000,000 bytes, each BSON document to 16,777,216 bytes,
|
|
975
|
+
and BSON nesting to 100 levels. One message may contain at most 128 sections,
|
|
976
|
+
10,000 document-sequence documents, 100,000 BSON elements, and 100,000 BSON
|
|
977
|
+
document or array containers. The advertised `maxWriteBatchSize` is therefore
|
|
978
|
+
10,000.
|
|
979
|
+
|
|
980
|
+
The `moreToCome` request flag is accepted only for the exact `endSessions` or
|
|
981
|
+
`killSessions` cleanup envelope: an `admin` command body containing only the
|
|
982
|
+
session array, `writeConcern: { w: 0 }`, and `$db: "admin"`, with no document
|
|
983
|
+
sequence. It executes without a transport response and leaves the connection
|
|
984
|
+
reusable. Every other `moreToCome` envelope closes before command routing or
|
|
985
|
+
response-owned resource creation.
|
|
986
|
+
|
|
987
|
+
Raw receive buffers and parsed requests are charged separately against a
|
|
988
|
+
process-wide 256 MiB encoded-byte admission budget. Large unread pipelines remain
|
|
989
|
+
charged and are compacted only at geometric utilization thresholds; the budget is
|
|
990
|
+
an encoded-input bound rather than a claim about exact allocator heap usage.
|
|
991
|
+
|
|
970
992
|
### Read and Write Concerns
|
|
971
993
|
|
|
972
994
|
SmartDB 5.x does not implement MongoDB `readConcern` or `writeConcern`
|
package/readme.plan.md
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Status: canonical direction, approved 2026-08-17. Reread before starting engine or
|
|
4
4
|
managed-service work.
|
|
5
5
|
|
|
6
|
-
Baseline: `@push.rocks/smartdb` 5.2.
|
|
6
|
+
Baseline: `@push.rocks/smartdb` 5.2.2. SmartDB is a Rust database engine with a
|
|
7
7
|
TypeScript lifecycle facade, a MongoDB wire-protocol command surface, file and
|
|
8
8
|
memory storage, authentication, transactions, resource fencing, and official
|
|
9
9
|
MongoDB Node.js driver integration.
|
|
10
10
|
|
|
11
11
|
Current execution status:
|
|
12
12
|
|
|
13
|
-
- the legal and provenance gate
|
|
13
|
+
- the legal and provenance gate passed on 2026-08-22
|
|
14
14
|
- Phase 0 and the Phase 1 gate have not passed
|
|
15
15
|
- 5.x maintenance now treats `data.rdb` as authoritative, ignores unverifiable
|
|
16
16
|
legacy hint contents, streams CRC validation, and repairs only an incomplete
|
|
@@ -131,7 +131,8 @@ and reproducible baseline measurements.
|
|
|
131
131
|
|
|
132
132
|
- stop over-advertising MongoDB version, wire behavior, and batch limits
|
|
133
133
|
- reject ignored concerns, options, commands, and successful administrative stubs
|
|
134
|
-
- validate OP_MSG required flags,
|
|
134
|
+
- completed slice (2026-08-22): validate OP_MSG required flags, CRC-32C
|
|
135
|
+
checksums, bounded framing, and exact no-response admission and execution
|
|
135
136
|
- preserve complete BSON type and value identity for document and index keys
|
|
136
137
|
- reconcile ambiguous point-write failures before returning control to callers
|
|
137
138
|
- journal DDL and sync every required file and parent directory
|
package/third-party-notices.md
CHANGED
|
@@ -8,10 +8,8 @@ own MIT license and are not repeated below.
|
|
|
8
8
|
|
|
9
9
|
## Component Inventory
|
|
10
10
|
|
|
11
|
-
The
|
|
12
|
-
|
|
13
|
-
the table. This inventory was generated from the lockfile with
|
|
14
|
-
`cargo license --json`.
|
|
11
|
+
The selected license for each component is stated in the table. This inventory
|
|
12
|
+
was generated from the lockfile with `cargo license --json`.
|
|
15
13
|
|
|
16
14
|
| Component | Version | Upstream expression | Selected license |
|
|
17
15
|
| --- | --- | --- | --- |
|
|
@@ -40,6 +38,7 @@ the table. This inventory was generated from the lockfile with
|
|
|
40
38
|
| clap_lex | 1.1.0 | Apache-2.0 OR MIT | MIT |
|
|
41
39
|
| colorchoice | 1.0.5 | Apache-2.0 OR MIT | MIT |
|
|
42
40
|
| cpufeatures | 0.2.17 | Apache-2.0 OR MIT | MIT |
|
|
41
|
+
| crc32c | 0.6.8 | Apache-2.0 OR MIT | Apache-2.0 |
|
|
43
42
|
| crc32fast | 1.5.0 | Apache-2.0 OR MIT | MIT |
|
|
44
43
|
| crossbeam-utils | 0.8.21 | Apache-2.0 OR MIT | MIT |
|
|
45
44
|
| crypto-common | 0.1.7 | Apache-2.0 OR MIT | MIT |
|
|
@@ -111,6 +110,7 @@ the table. This inventory was generated from the lockfile with
|
|
|
111
110
|
| regex-automata | 0.4.14 | Apache-2.0 OR MIT | MIT |
|
|
112
111
|
| regex-syntax | 0.8.10 | Apache-2.0 OR MIT | MIT |
|
|
113
112
|
| ring | 0.17.14 | Apache-2.0 AND ISC | Apache-2.0 AND ISC |
|
|
113
|
+
| rustc_version | 0.4.1 | Apache-2.0 OR MIT | MIT |
|
|
114
114
|
| rustix | 1.1.4 | Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT | MIT |
|
|
115
115
|
| rustls | 0.23.40 | Apache-2.0 OR ISC OR MIT | MIT |
|
|
116
116
|
| rustls-pemfile | 2.2.0 | Apache-2.0 OR ISC OR MIT | MIT |
|
|
@@ -248,7 +248,7 @@ Copyright (c) 2016 Joe Wilm (utf8parse)
|
|
|
248
248
|
|
|
249
249
|
Copyright (c) 2016 Joseph Birr-Pixton <jpixton@gmail.com> (rustls, rustls-pemfile)
|
|
250
250
|
|
|
251
|
-
Copyright (c) 2016 The Rust Project Developers (lock_api, parking_lot, parking_lot_core, thread_local)
|
|
251
|
+
Copyright (c) 2016 The Rust Project Developers (lock_api, parking_lot, parking_lot_core, rustc_version, thread_local)
|
|
252
252
|
|
|
253
253
|
Copyright (c) 2016 Titus Wormer <tituswormer@gmail.com> (strsim)
|
|
254
254
|
|
|
@@ -374,7 +374,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
374
374
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
375
375
|
SOFTWARE.
|
|
376
376
|
|
|
377
|
-
## Apache-2.0
|
|
377
|
+
## Apache-2.0 Notices
|
|
378
|
+
|
|
379
|
+
### ring
|
|
378
380
|
|
|
379
381
|
`ring` includes BoringSSL-derived, once_cell-derived, and fiat-crypto-derived
|
|
380
382
|
code under the Apache License 2.0. The fiat-crypto-derived code carries this
|
|
@@ -741,6 +743,30 @@ the following restrictions:
|
|
|
741
743
|
misrepresented as being the original software.
|
|
742
744
|
3. This notice may not be removed or altered from any source distribution.
|
|
743
745
|
|
|
746
|
+
## Zlib-derived Notice for crc32c
|
|
747
|
+
|
|
748
|
+
The `crc32c` component's `src/combine.rs` is based on the Zlib project's
|
|
749
|
+
`crc32.c` combine implementation and carries the following notice:
|
|
750
|
+
|
|
751
|
+
crc32.c -- compute the CRC-32 of a data stream
|
|
752
|
+
Copyright (C) 1995-2006, 2010, 2011, 2012, 2016 Mark Adler
|
|
753
|
+
|
|
754
|
+
This software is provided 'as-is', without any express or implied warranty. In
|
|
755
|
+
no event will the authors be held liable for any damages arising from the use of
|
|
756
|
+
this software.
|
|
757
|
+
|
|
758
|
+
Permission is granted to anyone to use this software for any purpose, including
|
|
759
|
+
commercial applications, and to alter it and redistribute it freely, subject to
|
|
760
|
+
the following restrictions:
|
|
761
|
+
|
|
762
|
+
1. The origin of this software must not be misrepresented; you must not claim
|
|
763
|
+
that you wrote the original software. If you use this software in a product,
|
|
764
|
+
an acknowledgment in the product documentation would be appreciated but is
|
|
765
|
+
not required.
|
|
766
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
767
|
+
misrepresented as being the original software.
|
|
768
|
+
3. This notice may not be removed or altered from any source distribution.
|
|
769
|
+
|
|
744
770
|
## Unicode License V3 for unicode-ident
|
|
745
771
|
|
|
746
772
|
COPYRIGHT AND PERMISSION NOTICE
|
package/ts/00_commitinfo_data.ts
CHANGED