unstale

npm / @smithy/types

@smithy/types

What changed in @smithy/types 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

8 new APIs and options5 behavior and defaults5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

@smithy/types 418 changes

New APIs and options 8

  • Adds per-request MetricsRecorder support through client.send options.

    4.19.0release notes

  • Allows passing a custom fetch function to fetch-http-handler.

    4.18.0release notes

  • Adds the MetricsRecorder interface for SSDK metrics.

    4.16.0release notes

  • Adds the MetricsRecorderFactory interface for SSDK metrics.

    4.16.0release notes

  • Allows credentials to be snapshotted for event-stream signing.

    4.14.1release notes

  • New checksum algorithms can be added via extension.

    4.13.0release notes

  • Adds a static union schema as a new type.

    4.11.0release notes

  • Types used by the package are now exported for developers to use.

    4.8.1release notes

Behavior and default changes 5

  • Downlevel types are now used with TypeScript versions earlier than 4.5, improving compatibility for those consumers.

    4.16.1release notes

  • The dist-cjs output now uses plain require/exports statements.

    4.15.0release notes

  • Default retries wait less between server errors and slightly longer between throttling errors, consume less retry capacity for throttling, and better parse retry-after headers.

    4.14.0release notes

  • Structure schemas now encode the required member count.

    4.12.0release notes

  • Protocol selection is easier for developers using the package.

    4.10.0release notes

Fixes and other changes 5

  • Updates types for compatibility with isolatedModules=true.

    4.16.0release notes

  • Moved endpoint instructions types from core to types to fix the type of the instruction supplier static method of Command classes.

    4.15.1release notes

  • Excludes SharedArrayBuffer from the recursive type transform.

    4.14.2release notes

  • Adds an eventStream indicator signal so NodeHttp2ConnectionManager does not reuse connections for event streams.

    4.14.1release notes

  • Resolved endpoint headers are applied to the final request.

    4.13.1release notes