@procedures/client 0.48.2 → 0.49.0
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 +18 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/adapters/http/server/body.d.ts.map +1 -1
- package/dist/adapters/http/server/body.js +13 -2
- package/dist/adapters/http/server/body.js.map +1 -1
- package/dist/adapters/websocket/client/transport.d.ts +6 -0
- package/dist/adapters/websocket/client/transport.d.ts.map +1 -1
- package/dist/adapters/websocket/client/transport.js +53 -6
- package/dist/adapters/websocket/client/transport.js.map +1 -1
- package/dist/adapters/websocket/client/types.d.ts +2 -0
- package/dist/adapters/websocket/client/types.d.ts.map +1 -1
- package/dist/adapters/websocket/server/transport.d.ts.map +1 -1
- package/dist/adapters/websocket/server/transport.js +2 -1
- package/dist/adapters/websocket/server/transport.js.map +1 -1
- package/dist/adapters/websocket/server/types.d.ts +2 -0
- package/dist/adapters/websocket/server/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/adapters/http/server/body.ts +11 -2
- package/src/adapters/websocket/client/transport.ts +52 -7
- package/src/adapters/websocket/client/types.ts +3 -0
- package/src/adapters/websocket/server/transport.ts +2 -1
- package/src/adapters/websocket/server/types.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @procedures/client
|
|
2
2
|
|
|
3
|
+
## 0.49.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a1aedc5: The release train: the ranges of @mark1russell7/collections change to a version outside the old range.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- bf0aa79: A write over the size limit of the remote no longer stops the offline queue of `HybridStorage` (CLI-108).
|
|
12
|
+
|
|
13
|
+
- A batch that the remote refuses, or that is too large, goes again as one write for each id. Only the bad write leaves the queue, and its siblings reach the remote.
|
|
14
|
+
- A write of one id that is too large leaves the queue at once, and the writes behind it go on. The hook `onDropped` gets its id and value with the new reason `too-large`.
|
|
15
|
+
- The new option `isTooLarge` tells which error is too large. The default is the code `PAYLOAD_TOO_LARGE`.
|
|
16
|
+
- The `hello` of the WebSocket server tells its limit `maxPayload`. The client refuses a larger call alone with `PAYLOAD_TOO_LARGE`, and the other calls of the connection go on. Before, the server closed the connection, and each pending call failed.
|
|
17
|
+
- The HTTP server reads and drops up to 64 MiB of a body over the limit. So the client gets the answer 413, not a reset of the connection.
|
|
18
|
+
|
|
19
|
+
Breaking change: the type `DroppedWrite["reason"]` has the new member `"too-large"`. To migrate, add a case for `"too-large"` to each `switch` over the reason. A refused batch no longer drops its good siblings.
|
|
20
|
+
|
|
3
21
|
## 0.48.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|