@smithy/util-middleware
An internal package
This package provides shared utilities for middleware.
Usage
You probably shouldn't, at least directly.
Shared utilities for to be used in middleware packages.
Command
class examples now generate with a reference to the Client
constructor input type (#1690)@eventStreamPayload
member is a string (#1674)| undefined
for optional type properties to support exactOptionalPropertyTypes
(#1448)codegen: Added Smithy RPCv2 CBOR protocol generator (#1280)
codegen: Added support for string array parameters in endpoints (#1376)
codegen: Added support for operation context params in endpoints (#1379)
Added logic to resolve the service specific endpoint once per client instance instead of for each request (#1382)
Fixed a bug that prevented a concrete client type (e.g., S3Client
) to be converted to a NodeJsClient
(#1389)
codegen: Enabled the new identity and auth behavior by default and add a legacy auth mode (#1352)
codegen: Added logic to skip the application of the CustomEndpoints
plugin for models using Endpoints-2.0 (#1337)
codegen: Added automatic default idempotency tokens in headers for requests when a token is not explicitly provided (#1327)
codegen: Added a set of built-in integration plugins to code-generator (#1321)
codegen: Fixed inconsistent ordering issue when writing client params during code-generation (#1355)
codegen: Fixed incorrect usage of string templates when generating commands (#1354)
codegen: Fixed serialization of :event-type
in event-streams where the member target-id was being used instead of the member name (#1349)
codegen: Fixed issue where content-type was being set when input body was empty (#1304)
CredentialsProviderError
(#1290)export
was used instead of the clearer export type
(#1284)@smithy/fetch-http-handler
, @smithy/node-http-handler
: Improveed stream collection performance (#1272)@smithy/node-http-handler
, "@smithy/util-stream
: Handle web streams in streamCollector and sdkStreamMixin@smithy/types
: Fixed type transforms account for no-args operation methods (#1262)HttpResponse
docs (#958)@auth
Smithy trait. See https://smithy.io/2.0/spec/authentication-traits.html#auth-trait.@smithy/types
: Assertive client type helper (#1076)@smithy/*
: dist-cjs
artifacts are now generated as a bundle (#1146)@smithy/util-base64
: Encoders now accept strings (#1176)@smithy/node-http-handler
: Enable ctor arg passthrough for requestHandler (#1167)@smithy/node-http-handler
: Add checked socket exhaustion warning when throughput is slow (#1164)@smithy/node-http-handler
: Allow http(s).Agent ctor arg in lieu of instance (#1165)@smithy/node-http-handler
: Reduce buffer copies (#867)TopDownIndex::getContainedOperations()
for operation iterations (#1109)@smithy/middleware-retry
: Retry after clock skew correction (#1170)@smithy/middleware-retry
: Warn streaming requests are not retryable (#1092)@smithy/core
: Handle multi-part token paths in paginator (#1160)@smithy/util-utf8
: Use Node.js implementations in react-native (#1070)@smithy/smithy-client
: Apply filtering when walking json arrays (#1086)@smithy/util-body-length-browser
: Increase performance of body length calculation for larger payloads on browser (#1088)@smithy/middleware-serde
: Allow error deserializers to populate error response body (#1180)@smithy/shared-ini-file-loader
: Process sso-session names with config prefix separator (#1173)@smithy/shared-ini-file-loader
: Process config files for profile names containing prefix separator (#1100)@smithy/shared-ini-file-loader
: Allow dot, solidus, percent and colon characters in profile names (#1067)smithy-build.json
examples (#1082)util-endpoints
(#1044)unionShape
deserializer overridable (#1040, #1045)-p
for mkdir
in build-generated-test-packages
(#1010)buildAndCopyToNodeModules()
(#1003)smithy-typescript-codegen-test
(#995)model_*
files exist (#996)sso-session
and services sections when loading config files (#993)CONFIG_PREFIX_SEPARATOR
from loadSharedConfigFiles
(#992)configSelector
(#990)RuntimeExtension
and Client ExtensionConfiguration
interfaces (#1057)TARGET_NAMESPACE
from TypeScriptSettings
(#1057)@smithy/shared-ini-file-loader
(#1027)$
from HttpApiKeyAuthSigner
(#1006)signer.sign()
in httpSigningMiddleware
(#1005)@httpApiKeyAuth
scheme property (#1001)HttpAuthSchemeParameters
codegen (#998)resolveHttpAuthSchemeConfig
imports (#997)keepalive=false
for fetch (#1016)enum
as const
to reduce generated code (#726)lib
to use es2018
for SSDK libs (#678)@required
members without | undefined
. WARNING: Using this mode may lead to backwards incompatible impact for clients when a service removes @required
from a member. (#566, #688)fail()
after jest-upgrade (#645)1.25.x
which bring Smithy IDL v2 support. (#589)1.0.0-alpha6
. (#583)1.19.x
. (#531)typescript
to ~4.6.2
. (#527)httpApiKeyAuth
middleware. (#528)List<String>
in function parameters list. (#516)1.17.x
. (#505)@httpApiKeyAuth
. (#473)prepack
script to generated packages. (#479)defaultsMode
. (#495)@tsconfig/recommended
.
(#493)filterSensitiveLog
from exceptions. (#488)yarn
and npm
.
(#476)ErrorName
. (#490)1.14.x
. (#468)src
folder. (#434, #437, #438)1.12.0
. (#448)typescript
to ~4.3.5
. (#418)@httpMalformedRequestTests
. (#393)smithy-aws-typescript-codegen
or use latest
. (#388)