@smithy/core
3.41.0 · 16 Nov 2026Apache-2.0157.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @smithy/core From 1.4.2 to 3.40.0
153 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 65
- new
- 87
- fixes
Before you upgrade
Tick each one off as you go- Breaking3.0.0
- Breaking2.0.0
Release by release
- New
Enable the 2026 standard retry behavior unconditionally. The
SMITHY_NEW_RETRIES_2026environment variable is no longer read. Standard and adaptive modes now default to a 50 ms base delay for non-throttling errors and a 1 s base delay for throttling errors, retry quota costs of 14 (non-throttling) and 5 (throttling), and apply backoff to long-polling operations when the retry quota is exhausted.
- New
- New
Return
AbortErrorimmediately when an operation is aborted during retry-token acquisition, backoff, or custom retry-token delays.
- New
- Fixed
Redact sensitive fields within list items and map values in schema-based logging.
- Fixed
- New
Let clients offer a service default idle timeout to the request handler through updateHttpClientConfig, taken only when the handler has none of its own.
- New
Export the shared
writeKeyhelper and include headers named after Object prototype properties in canonical request signatures.
- New
- New
Add AbstractRpcV2Protocol, a shared abstract base for the Smithy RPC v2 JSON and CBOR client protocols, deduplicating their request framing and response status handling.
- New
Add Smithy RPC v2 JSON protocol support: client protocol and JSON codec in @smithy/core, server protocol in @smithy/server-common, and the snapshot response serializer in @smithy/snapshot-testing.
- Fixed
Treat any non-200 response as an error in the Smithy RPC v2 JSON and CBOR client protocols, per the specification. RpcProtocol gains a protected isErrorResponse predicate (default unchanged: status >= 300) that both RPC v2 protocols override to status !== 200.
- New
- New
Add event stream header size validations
- Fixed
Cache schema-based detection of event streams
- New
- Fixed
dbdacac: Keep the JSON string serializer's buffer reservation intact after 6-byte escape sequences so that the characters and closing quote that follow are always written within the buffer.
- Fixed
- New
Add JSON codec (protocols/json) with v1/v2 serializers and deserializers, reviver/replacer precision handling, benchmarks, and the client protocol.
- New
96 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.