@procedures/mongo 0.52.0 → 0.52.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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @procedures/mongo
2
2
 
3
+ ## 0.52.2
4
+
5
+ ### Patch Changes
6
+
7
+ - @procedures/client@0.52.2
8
+ - @procedures/collections@0.52.2
9
+
10
+ ## 0.52.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 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`.
15
+ - @procedures/client@0.52.1
16
+ - @procedures/collections@0.52.1
17
+
3
18
  ## 0.52.0
4
19
 
5
20
  ### 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.0",
4
+ "version": "0.52.2",
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.0",
72
- "@procedures/store": "0.52.0",
71
+ "@procedures/peer": "0.52.2",
72
+ "@procedures/store": "0.52.2",
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.0",
82
- "@procedures/collections": "0.52.0",
81
+ "@procedures/client": "0.52.2",
82
+ "@procedures/collections": "0.52.2",
83
83
  "mongodb": "^7.0.0",
84
84
  "zod": "^4.6.5"
85
85
  },