Packages

@smithy/core

3.38.1 · 30 Oct 2026Apache-2.0139.1M / weekRepositoryHomepagenpmAtom feed

Your version

173 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 3.38.1

    30 Oct 2026
    • Redact sensitive fields within list items and map values in schema-based logging.

  2. 3.38.0

    29 Oct 2026
    • Let 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 writeKey helper and include headers named after Object prototype properties in canonical request signatures.

  3. 3.37.0

    26 Oct 2026
    • Add 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.

  4. 3.36.2

    21 Oct 2026
    • Add event stream header size validations

    • Cache schema-based detection of event streams

  5. 3.36.1

    20 Oct 2026
    • 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.

  6. 3.36.0

    13 Oct 2026
    • Add JSON codec (protocols/json) with v1/v2 serializers and deserializers, reviver/replacer precision handling, benchmarks, and the client protocol.

  7. 3.35.2

    8 Oct 2026
    • Fix endpoint cache key collision between empty-string and absent parameters

  8. 3.35.1

    30 Sep 2026
    • Fix 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

  9. 3.35.0

    22 Sep 2026
    • Add 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.

  10. 3.34.1

    11 Sep 2026
    • Error and backpressure fixes for AWS chunked encoding streams

  11. 3.34.0

    11 Sep 2026
    • Add custom error classes to identify and differentiate Smithy runtime errors from other errors.

    • Identify AbortError as terminal

  12. 3.33.3

    20 Aug 2026
    • Handle exponent notation when serializing NumericValue wrappers

    • Switch for-in loops to guarded

  13. 3.33.2

    15 Aug 2026
    • Restore npm provenance attestations. No functional changes.

  14. 3.33.1

    15 Aug 2026
    • Fix for RPC protocol event stream initial messages

  15. 3.33.0

    14 Aug 2026
    • Offer the client logger to request handlers as a fallback without overwriting a handler's own logger. A NoOpLogger is not offered, so handlers keep their console-based defaults.

  16. 3.32.0

    11 Aug 2026

    Only updates dependencies, nothing else changes.

  17. 3.31.1

    29 Jul 2026
    • Switch cbor codec to use single-pass (v2) shape serializer and deserializer

  18. 3.31.0

    27 Jul 2026
    • Add single pass cbor serializer and deserializers

  19. 3.30.0

    24 Jul 2026
    • Updating errors list for clock skew errors (retryable)

    • Set NumericValue accepted values to Smithy RPCv2 JSON spec

  20. 3.29.8

    23 Jul 2026
    • Update large map threshold in cbor

  21. 3.29.7

    21 Jul 2026
    • Fix for event stream events - throw the specific modeled error class instead of a generic Error

  22. 3.29.6

    20 Jul 2026
    • Add missing service-specific endpoint features

  23. 3.29.5

    16 Jul 2026
    • Handle early closure of underlying stream in ChecksumStream

  24. 3.29.4

    14 Jul 2026
    • Add typesVersions entries for submodules so TypeScript <4.5 consumers resolve submodule types

  25. 3.29.3

    10 Jul 2026

    Only updates a dependency:@smithy/types 4.16.1

  26. 3.29.2

    8 Jul 2026
    • Types updates for isolatedModules=true

  27. 3.29.1

    2 Jul 2026
    • Make ChecksumStream a Readable that consumes its source directly

  28. 3.29.0

    1 Jul 2026
    • Add 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

  29. 3.28.0

    29 Jun 2026
    • Add IMDSv2 region fallback to NODE_REGION_CONFIG_OPTIONS default, consolidated with defaults-mode region inference.

    • Use internal checksum implementations

  30. 3.27.0

    29 Jun 2026
    • Add crc32 and sha256 checksum impls

    • Clean up ChecksumStream's source stream when destroyed.

    • Validates hostLabel input

  31. 3.26.0

    22 Jun 2026
    • CBOR performance improvements

  32. 3.25.1

    17 Jun 2026
    • Deferred loading for core/event-streams for use in client config initializers

  33. 3.25.0

    15 Jun 2026
    • Update dist-cjs output format to use plain require/exports statements

  34. 3.24.7

    12 Jun 2026
    • 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

  35. 3.24.6

    1 Jun 2026
    • 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

  36. 3.24.5

    27 May 2026
    • Remove and prevent circular file-level dependencies

  37. 3.24.4

    21 May 2026
    • Add bundler compatibility for tsup

  38. 3.24.3

    15 May 2026

    Only updates a dependency:@smithy/types 4.14.2

  39. 3.24.2

    14 May 2026
    • Fix for browser utf8 variant not to include Buffer (Node.js)

  40. 3.24.1

    11 May 2026
    • Fix for uuid generation in Node.js 18.x

    • Retrieve schemas with matching shape name if unambiguous

  41. 3.24.0

    8 May 2026
    • Consolidate core/retry and related cleanup

    • Consolidation for core/protocols

    • Consolidate packages into core/serde

  42. 3.23.17

    23 Apr 2026

    Only updates a dependency:@smithy/util-stream 4.5.25

  43. 3.23.16

    20 Apr 2026
    • Reduce intermediate allocations in hot paths

  44. 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
  45. 3.23.13

    30 Mar 2026
    • Remove unnecessary shallow copy of input object and delete operations in HttpBindingProtocol.serializeRequest and RpcProtocol.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.

  46. 3.23.12

    16 Mar 2026

    Only updates a dependency:@smithy/util-stream 4.5.20

  47. 3.23.11

    12 Mar 2026
    • schema: Add caching to NormalizedSchema.of() and translateTraits()

  48. 3.23.10

    12 Mar 2026
    • Apply resolved endpoint headers to final request

  49. 3.23.9

    6 Mar 2026
    • Fix typo in thrown error message

    • Default event stream body to empty byte array