@smithy/core
3.38.1 · 30 Oct 2026Apache-2.0139.1M / weekRepositoryHomepagenpmAtom feed
173 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
3.38.1
30 Oct 2026Redact sensitive fields within list items and map values in schema-based logging.
3.38.0
29 Oct 2026Let clients offer a service default idle timeout to the request handler through updateHttpClientConfig, taken only when the handler has none of its own.
Export the shared
writeKeyhelper and include headers named after Object prototype properties in canonical request signatures.
3.37.0
26 Oct 2026Add AbstractRpcV2Protocol, a shared abstract base for the Smithy RPC v2 JSON and CBOR client protocols, deduplicating their request framing and response status handling.
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.
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.
3.36.2
21 Oct 2026Add event stream header size validations
Cache schema-based detection of event streams
3.36.1
20 Oct 2026dbdacac: 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.
3.36.0
13 Oct 2026Add JSON codec (protocols/json) with v1/v2 serializers and deserializers, reviver/replacer precision handling, benchmarks, and the client protocol.
3.35.2
8 Oct 2026Fix endpoint cache key collision between empty-string and absent parameters
3.35.1
30 Sep 2026Fix for SDK ServiceException instanceof detection relating to mangled class names
Restore a compat name-string fallback in ServiceException instanceof for clients predating shapeId stamping, gated on a class-name length of at least 6
3.35.0
22 Sep 2026Add per-request MetricsRecorder support through
client.send(command, { metricsRecorder })CBOR spec error handling fixes: the error identifier namespace is no longer incorrectly removed during error lookup. Code property from the body is no longer used as a fallback for error identification. Status code 500 is now classified as server fault.
Minor Changes
Add per-request MetricsRecorder support through
client.send(command, { metricsRecorder })
Patch Changes
CBOR spec error handling fixes: the error identifier namespace is no longer incorrectly removed during error lookup. Code property from the body is no longer used as a fallback for error identification. Status code 500 is now classified as server fault.
3.34.1
11 Sep 2026Error and backpressure fixes for AWS chunked encoding streams
3.34.0
11 Sep 2026Add custom error classes to identify and differentiate Smithy runtime errors from other errors.
Identify AbortError as terminal
3.33.3
20 Aug 2026Handle exponent notation when serializing NumericValue wrappers
Switch for-in loops to guarded
3.33.2
15 Aug 2026Restore npm provenance attestations. No functional changes.
Patch Changes
Restore npm provenance attestations. No functional changes.
3.33.1
15 Aug 2026Fix for RPC protocol event stream initial messages
Patch Changes
Fix for RPC protocol event stream initial messages
3.33.0
14 Aug 2026Offer the client logger to request handlers as a fallback without overwriting a handler's own logger. A
NoOpLoggeris not offered, so handlers keep their console-based defaults.
3.32.0
11 Aug 2026Only updates dependencies, nothing else changes.
3.31.1
29 Jul 2026Switch cbor codec to use single-pass (v2) shape serializer and deserializer
3.31.0
27 Jul 2026Add single pass cbor serializer and deserializers
3.30.0
24 Jul 2026Updating errors list for clock skew errors (retryable)
Set NumericValue accepted values to Smithy RPCv2 JSON spec
3.29.8
23 Jul 2026Update large map threshold in cbor
3.29.7
21 Jul 2026Fix for event stream events - throw the specific modeled error class instead of a generic Error
3.29.6
20 Jul 2026Add missing service-specific endpoint features
3.29.5
16 Jul 2026Handle early closure of underlying stream in ChecksumStream
3.29.4
14 Jul 2026Add typesVersions entries for submodules so TypeScript <4.5 consumers resolve submodule types
3.29.3
10 Jul 2026Only updates a dependency:@smithy/types 4.16.1
3.29.2
8 Jul 2026Types updates for isolatedModules=true
Patch Changes
Types updates for isolatedModules=true
3.29.1
2 Jul 2026Make ChecksumStream a Readable that consumes its source directly
3.29.0
1 Jul 2026Add internal higher order factory for Command classes
Move endpoint instructions types from core to types to fix the type of the instruction supplier static method of Command classes
Minor Changes
Add internal higher order factory for Command classes
Patch Changes
Move endpoint instructions types from core to types to fix the type of the instruction supplier static method of Command classes
3.28.0
29 Jun 2026Add IMDSv2 region fallback to NODE_REGION_CONFIG_OPTIONS default, consolidated with defaults-mode region inference.
Use internal checksum implementations
3.27.0
29 Jun 2026Add crc32 and sha256 checksum impls
Clean up ChecksumStream's source stream when destroyed.
Validates hostLabel input
3.26.0
22 Jun 2026CBOR performance improvements
3.25.1
17 Jun 2026Deferred loading for core/event-streams for use in client config initializers
3.25.0
15 Jun 2026Update dist-cjs output format to use plain require/exports statements
Minor Changes
Update dist-cjs output format to use plain require/exports statements
3.24.7
12 Jun 2026Update author URL in package.json to be more specific
Add upper bound for Retry-After delay in deprecated StandardRetryStrategy
Fix call to setTimeout in DefaultRateLimiter, browser compatibility
Patch Changes
Update author URL in package.json to be more specific
Add upper bound for Retry-After delay in deprecated StandardRetryStrategy
Fix call to setTimeout in DefaultRateLimiter, browser compatibility
bcbadbc: Package json updates
3.24.6
1 Jun 2026Update adaptive rate limiter to execute directly prior to outgoing requests & retries
Treat the Node.js DNS error code EAI_AGAIN as a transient (retryable) error
Patch Changes
Update adaptive rate limiter to execute directly prior to outgoing requests & retries
Treat the Node.js DNS error code EAI_AGAIN as a transient (retryable) error
3.24.5
27 May 2026Remove and prevent circular file-level dependencies
3.24.4
21 May 2026Add bundler compatibility for tsup
3.24.3
15 May 2026Only updates a dependency:@smithy/types 4.14.2
3.24.2
14 May 2026Fix for browser utf8 variant not to include Buffer (Node.js)
3.24.1
11 May 2026Fix for uuid generation in Node.js 18.x
Retrieve schemas with matching shape name if unambiguous
3.24.0
8 May 2026Consolidate core/retry and related cleanup
Consolidation for core/protocols
Consolidate packages into core/serde
Minor Changes
Consolidate core/retry and related cleanup
Consolidation for core/protocols
Consolidate packages into core/serde
Consolidate into core/endpoints
Fix browser bundler metadata for @smithy/core
Package consolidation for core/config
Consolidate core/event-streams
Consolidate packages into core/client
Patch Changes
Move core/serde checksum components to core/checksum
Clean up exported API surface
Avoid sideEffects in core submodule indices
Avoid throwing from waiter 403 warning checks when no responses have been observed.
Export surface equality for core, Node.js/browser/react-native
3.23.17
23 Apr 2026Only updates a dependency:@smithy/util-stream 4.5.25
3.23.16
20 Apr 2026Reduce intermediate allocations in hot paths
3.23.14 – 3.23.152 releases that only update dependencies@smithy/types 4.14.1@smithy/util-stream 4.5.23@smithy/protocol-http 5.3.14and 2 moreShow each
- 3.23.1516 Apr 2026@smithy/types 4.14.1@smithy/util-stream 4.5.23@smithy/protocol-http 5.3.14and 2 more
- 3.23.146 Apr 2026@smithy/types 4.14.0@smithy/protocol-http 5.3.13@smithy/url-parser 4.2.13and 2 more
3.23.13
30 Mar 2026Remove unnecessary shallow copy of input object and delete operations in
HttpBindingProtocol.serializeRequestandRpcProtocol.serializeRequest. The body serializer is schema-driven and only reads members listed in the payload schema, making the spread and deletes redundant. This eliminates an O(n) copy and 5 delete operations per request.
3.23.12
16 Mar 2026Only updates a dependency:@smithy/util-stream 4.5.20
3.23.11
12 Mar 2026schema: Add caching to NormalizedSchema.of() and translateTraits()
3.23.10
12 Mar 2026Apply resolved endpoint headers to final request
Patch Changes
Apply resolved endpoint headers to final request
3.23.9
6 Mar 2026Fix typo in thrown error message
Default event stream body to empty byte array