@procedures/store 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,24 @@
1
1
  # @procedures/store
2
2
 
3
+ ## 0.52.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 913fb0e: The option `pushBatch` of `HybridStorage` merges queued writes into one batch for each send (roadmap CLI-121). The push sends the run of queued sets at the head of the queue as one `setBatch`. It sends the run of deletes as one `deleteBatch`. A first sync of many writes thus makes few remote calls.
8
+
9
+ The caps `maxItems` (default 100) and `maxBytes` (default 1 MiB of JSON) limit each send. A queued batch over the caps goes as batches within the caps. Thus a flush stays within the capacity of a remote limit, when the caps are within it. A send with a too-large error lowers the cap of ids of each later send. The new cap is n × capacity / units with the capacity of the error (option `capacityOf`), else half of n. Thus a flush is not sent again as single writes.
10
+
11
+ A refused or conflicting merged batch goes again as its separate writes. Thus `onRefused`, `onDropped` and the conflict policy get the same writes as without the merge. Without the option, the push sends each queued write alone, as before.
12
+ - @procedures/client@0.52.2
13
+ - @procedures/collections@0.52.2
14
+
15
+ ## 0.52.1
16
+
17
+ ### Patch Changes
18
+
19
+ - @procedures/client@0.52.1
20
+ - @procedures/collections@0.52.1
21
+
3
22
  ## 0.52.0
4
23
 
5
24
  ### Minor Changes