@procedures/mongo 0.52.0 → 0.52.1
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/CHANGELOG.md +8 -0
- package/README.md +2 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @procedures/mongo
|
|
2
2
|
|
|
3
|
+
## 0.52.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c5a444c: The README tells the date, the commit and the version of each measured number. These numbers are the compile cache of `mark`, the write limit of `MongoDocumentStorage` and the benchmarks of `SqliteStorage`.
|
|
8
|
+
- @procedures/client@0.52.1
|
|
9
|
+
- @procedures/collections@0.52.1
|
|
10
|
+
|
|
3
11
|
## 0.52.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -720,6 +720,8 @@ const notes = new MongoDocumentStorage<Note>({
|
|
|
720
720
|
|
|
721
721
|
The same runner writes 799 a second over 100 collections with a p99 of 37.5 ms, so the limit comes from the one collection. Runs: [the rungs](https://github.com/mark1russell7/client/actions/runs/41956238365), [the ceiling](https://github.com/mark1russell7/client/actions/runs/41966001438).
|
|
722
722
|
|
|
723
|
+
The study of 2026-11-05 measured the code of the commits `5c55c327` and `ca514219` (`@procedures/mongo` 0.47.2). The numbers and the limit are of that code. A later version can give different numbers.
|
|
724
|
+
|
|
723
725
|
### Change hints from the change stream: `watchStorageChanges`
|
|
724
726
|
|
|
725
727
|
The collection procedures publish an event for each of their writes. A write that does not go through them (a raw write, a script, a view, another process) has no event. `watchStorageChanges(storage, publish, options)` watches the change stream of the collection of a storage and publishes a hint of each change (roadmap CLI-77). Change streams need a replica set.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@procedures/mongo",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.1",
|
|
5
5
|
"description": "MongoDB as typed procedures: documents, bulk writes, distinct, explain, collections, indexes, aggregation, change streams and database info, with safe update and delete targets.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"mongodb",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"@mark1russell7/rigor-generators": "^0.1.5",
|
|
69
69
|
"@mark1russell7/rigor-statistics": "^0.1.9",
|
|
70
70
|
"@mark1russell7/service": "^0.6.0",
|
|
71
|
-
"@procedures/peer": "0.52.
|
|
72
|
-
"@procedures/store": "0.52.
|
|
71
|
+
"@procedures/peer": "0.52.1",
|
|
72
|
+
"@procedures/store": "0.52.1",
|
|
73
73
|
"@types/node": "^22.0.0",
|
|
74
74
|
"typescript": "^7.0.2",
|
|
75
75
|
"vitest": "^5.0.3"
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"procedures": "./dist/register.js"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@procedures/client": "0.52.
|
|
82
|
-
"@procedures/collections": "0.52.
|
|
81
|
+
"@procedures/client": "0.52.1",
|
|
82
|
+
"@procedures/collections": "0.52.1",
|
|
83
83
|
"mongodb": "^7.0.0",
|
|
84
84
|
"zod": "^4.6.5"
|
|
85
85
|
},
|