@procedures/client 0.41.0 → 0.41.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @procedures/client
2
2
 
3
+ ## 0.41.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 69cee92: The error codes of the HTTP client agree more with `ERROR_REGISTRY` (the deferred findings of the invariants audit of O70).
8
+
9
+ - `ERROR_REGISTRY` and `ErrorCode` have the codes `STREAM_ENDED` and `METADATA_TOO_LARGE` of `HttpTransport`. `STREAM_ENDED` is retryable, and `METADATA_TOO_LARGE` is not. At this time, `isKnownErrorCode()` gives `true` for the two codes, so a server with `expose: "coded"` shows their message.
10
+ - When a status has no entry in `ERROR_REGISTRY`, `createHTTPStatusError()` takes the code from `HTTPStatusToCode`. Three of these codes are deprecated as error codes. The next MINOR of the client group replaces them with codes of `ERROR_REGISTRY`:
11
+ - 408: `REQUEST_TIMEOUT` becomes `TIMEOUT`, with `retryable: true`.
12
+ - 500: `INTERNAL_SERVER_ERROR` becomes `INTERNAL_ERROR`, with `retryable: false`.
13
+ - 599: `HTTP_NETWORK_CONNECT_TIMEOUT_ERROR` becomes `HTTP_NETWORK_CONNECT_TIMEOUT`, with `retryable: true`.
14
+ - This release does not change a code or a `retryable` flag of the fallback.
15
+
3
16
  ## 0.41.0
4
17
 
5
18
  ### Minor Changes