@procedures/client 0.23.0 → 0.24.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 +21 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/adapters/http/server/ndjson.d.ts +7 -1
- package/dist/adapters/http/server/ndjson.d.ts.map +1 -1
- package/dist/adapters/http/server/ndjson.js +4 -0
- package/dist/adapters/http/server/ndjson.js.map +1 -1
- package/dist/adapters/websocket/shared/rpc.d.ts +4 -0
- package/dist/adapters/websocket/shared/rpc.d.ts.map +1 -1
- package/dist/adapters/websocket/shared/rpc.js +4 -0
- package/dist/adapters/websocket/shared/rpc.js.map +1 -1
- package/dist/server/procedure-server.d.ts +4 -0
- package/dist/server/procedure-server.d.ts.map +1 -1
- package/dist/server/procedure-server.js +4 -0
- package/dist/server/procedure-server.js.map +1 -1
- package/package.json +1 -1
- package/src/adapters/http/server/ndjson.ts +7 -1
- package/src/adapters/websocket/shared/rpc.ts +4 -0
- package/src/server/procedure-server.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @procedures/client
|
|
2
2
|
|
|
3
|
+
## 0.24.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2735505: Deprecated (D13): the flag `retryable: false` of an in-band end before the first item of a stream, for an error without a flag. The next MINOR of the client group changes it (roadmap CLI-68, decision D25). This release changes no behavior.
|
|
8
|
+
|
|
9
|
+
- The in-band end is the `error` line of NDJSON, the `error` frame of WebSocket and the `_meta` of the MCP stream result.
|
|
10
|
+
- Now, an error of a handler without a flag gets `retryable: false` there, also when the stream gave no item (CLI-58).
|
|
11
|
+
- After the change, an in-band end without a flag before the first item gets the flag of its code in `ERROR_CODES`, as an error before the start of the stream does. Thus `UNAVAILABLE` is retryable there.
|
|
12
|
+
- Then the retry middleware of the client sends such a stream again. This adds time and calls. A handler with an effect before its error does that effect again.
|
|
13
|
+
- After the first item, the flag stays `false` without a flag. This part of the CLI-58 rule does not change.
|
|
14
|
+
- To keep the flag `false` before the first item, give `retryable: false` in the error of the handler. Or do not use the retry middleware for that call.
|
|
15
|
+
|
|
16
|
+
`WIRE-PROTOCOL.md` (section "Error codes") and the doc comments of `errorResponse`, `defaultNdjsonError`, `errorStatus` and `streamErrorMeta` have the deprecation notes.
|
|
17
|
+
|
|
18
|
+
The site, MiniMongo, Graph and jarvis: no change in this release.
|
|
19
|
+
|
|
20
|
+
## 0.24.0
|
|
21
|
+
|
|
22
|
+
No changes in this release.
|
|
23
|
+
|
|
3
24
|
## 0.23.0
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|