@smithy/node-http-handler
Advanced tools
+1110
| # Change Log | ||
| ## 4.11.0 | ||
| ### Minor Changes | ||
| - cf69285: use the client logger as a fallback when the request handler has no logger configured, while preserving an explicitly configured handler logger. | ||
| ### Patch Changes | ||
| - Updated dependencies [cf69285] | ||
| - @smithy/core@3.33.0 | ||
| ## 4.10.0 | ||
| ### Minor Changes | ||
| - ec9b4b2: chore: update builds to use typescript 6. This should not affect consumers, who may continue to use TypeScript 3.4 through 7.0 as of this version. | ||
| ### Patch Changes | ||
| - Updated dependencies [ec9b4b2] | ||
| - @smithy/types@4.17.0 | ||
| - @smithy/core@3.32.0 | ||
| ## 4.9.13 | ||
| ### Patch Changes | ||
| - Updated dependencies [fcf1366] | ||
| - @smithy/core@3.31.1 | ||
| ## 4.9.12 | ||
| ### Patch Changes | ||
| - Updated dependencies [a14bb71] | ||
| - @smithy/core@3.31.0 | ||
| ## 4.9.11 | ||
| ### Patch Changes | ||
| - Updated dependencies [54040ef] | ||
| - Updated dependencies [155bb56] | ||
| - @smithy/core@3.30.0 | ||
| ## 4.9.10 | ||
| ### Patch Changes | ||
| - Updated dependencies [d6e6f8b] | ||
| - @smithy/core@3.29.8 | ||
| ## 4.9.9 | ||
| ### Patch Changes | ||
| - Updated dependencies [44b21e6] | ||
| - @smithy/core@3.29.7 | ||
| ## 4.9.8 | ||
| ### Patch Changes | ||
| - Updated dependencies [3248fbd] | ||
| - @smithy/core@3.29.6 | ||
| ## 4.9.7 | ||
| ### Patch Changes | ||
| - Updated dependencies [b44cb0a] | ||
| - @smithy/core@3.29.5 | ||
| ## 4.9.6 | ||
| ### Patch Changes | ||
| - Updated dependencies [5fca3a0] | ||
| - @smithy/core@3.29.4 | ||
| ## 4.9.5 | ||
| ### Patch Changes | ||
| - Updated dependencies [a97abc3] | ||
| - @smithy/types@4.16.1 | ||
| - @smithy/core@3.29.3 | ||
| ## 4.9.4 | ||
| ### Patch Changes | ||
| - 273e480: types updates for isolatedModules=true | ||
| - Updated dependencies [273e480] | ||
| - Updated dependencies [74b3d45] | ||
| - @smithy/types@4.16.0 | ||
| - @smithy/core@3.29.2 | ||
| ## 4.9.3 | ||
| ### Patch Changes | ||
| - Updated dependencies [1fac409] | ||
| - @smithy/core@3.29.1 | ||
| ## 4.9.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [12bceb2] | ||
| - Updated dependencies [4395dad] | ||
| - @smithy/core@3.29.0 | ||
| - @smithy/types@4.15.1 | ||
| ## 4.9.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [d366537] | ||
| - Updated dependencies [c0d7f5d] | ||
| - @smithy/core@3.28.0 | ||
| ## 4.9.0 | ||
| ### Minor Changes | ||
| - c9575e1: use streamCollector from core/serde | ||
| ### Patch Changes | ||
| - Updated dependencies [c9575e1] | ||
| - Updated dependencies [2dcefdb] | ||
| - Updated dependencies [91280a5] | ||
| - @smithy/core@3.27.0 | ||
| ## 4.8.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [3cfda3b] | ||
| - @smithy/core@3.26.0 | ||
| ## 4.8.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [63ddca4] | ||
| - @smithy/core@3.25.1 | ||
| ## 4.8.0 | ||
| ### Minor Changes | ||
| - 17e50e9: update dist-cjs output format to use plain require/exports statements | ||
| ### Patch Changes | ||
| - Updated dependencies [17e50e9] | ||
| - @smithy/types@4.15.0 | ||
| - @smithy/core@3.25.0 | ||
| ## 4.7.8 | ||
| ### Patch Changes | ||
| - 1e5bdd3: Update author URL in package.json to be more specific | ||
| - bcbadbc: package json updates | ||
| - Updated dependencies [1e5bdd3] | ||
| - Updated dependencies [13e74d6] | ||
| - Updated dependencies [3bc3322] | ||
| - Updated dependencies [bcbadbc] | ||
| - @smithy/core@3.24.7 | ||
| - @smithy/types@4.14.4 | ||
| ## 4.7.7 | ||
| ### Patch Changes | ||
| - 9ea5ce5: import node:http,https,http2 using default export object (writable) | ||
| ## 4.7.6 | ||
| ### Patch Changes | ||
| - Updated dependencies [776bc52] | ||
| - Updated dependencies [5b92a54] | ||
| - @smithy/types@4.14.3 | ||
| - @smithy/core@3.24.6 | ||
| ## 4.7.5 | ||
| ### Patch Changes | ||
| - Updated dependencies [721fbed] | ||
| - @smithy/core@3.24.5 | ||
| ## 4.7.4 | ||
| ### Patch Changes | ||
| - Updated dependencies [9eaa5c6] | ||
| - @smithy/core@3.24.4 | ||
| ## 4.7.3 | ||
| ### Patch Changes | ||
| - Updated dependencies [cf00244] | ||
| - @smithy/types@4.14.2 | ||
| - @smithy/core@3.24.3 | ||
| ## 4.7.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [6d4eb8a] | ||
| - @smithy/core@3.24.2 | ||
| ## 4.7.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [2dc5cf6] | ||
| - Updated dependencies [1d0ff86] | ||
| - @smithy/core@3.24.1 | ||
| ## 4.7.0 | ||
| ### Minor Changes | ||
| - 9194e9f: consolidate into core/endpoints | ||
| ### Patch Changes | ||
| - da4e89e: Avoid array allocation in header transform | ||
| - 5329323: Remove empty object allocation in hot paths | ||
| - 09093fb: Support passing options through to Node's http2.connect | ||
| - 75603d4: Replace timeouts array with individual variables | ||
| - Updated dependencies [ee92b6b] | ||
| - Updated dependencies [540aeb4] | ||
| - Updated dependencies [0be0b36] | ||
| - Updated dependencies [4f30af1] | ||
| - Updated dependencies [8963b91] | ||
| - Updated dependencies [fb323fb] | ||
| - Updated dependencies [9194e9f] | ||
| - Updated dependencies [7ec62a0] | ||
| - Updated dependencies [62fed78] | ||
| - Updated dependencies [cad44fc] | ||
| - Updated dependencies [545589a] | ||
| - Updated dependencies [f21bf6b] | ||
| - Updated dependencies [7fd6ac0] | ||
| - @smithy/core@3.24.0 | ||
| ## 4.6.1 | ||
| ### Patch Changes | ||
| - 769ed47: update http2 session closure to prefer session.close() on goaway rather than immediately invoking session.destroy() | ||
| ## 4.6.0 | ||
| ### Minor Changes | ||
| - 60d13c8: adds ref-counting logic for http2 sessions in the client connection pool. | ||
| ## 4.5.3 | ||
| ### Patch Changes | ||
| - 131fce4: add eventStream indicator signal for NodeHttp2ConnectionManager so it does not reuse connections for event streams | ||
| - Updated dependencies [131fce4] | ||
| - Updated dependencies [52b4789] | ||
| - @smithy/types@4.14.1 | ||
| - @smithy/protocol-http@5.3.14 | ||
| - @smithy/querystring-builder@4.2.14 | ||
| ## 4.5.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [cffd868] | ||
| - @smithy/types@4.14.0 | ||
| - @smithy/protocol-http@5.3.13 | ||
| - @smithy/querystring-builder@4.2.13 | ||
| ## 4.5.1 | ||
| ### Patch Changes | ||
| - fac1a34: Move `@smithy/abort-controller` to devDeps | ||
| ## 4.5.0 | ||
| ### Minor Changes | ||
| - 4e7fa38: defer loading of node:http module | ||
| ## 4.4.16 | ||
| ### Patch Changes | ||
| - dab22f1: fix: do not return caller's Error directly from buildAbortError | ||
| Always create a new mutable Error when the abort reason is an Error, preserving the original via `.cause`. Fixes TypeError when retry middleware tries to set `$metadata` on a frozen/sealed abort reason. | ||
| ## 4.4.15 | ||
| ### Patch Changes | ||
| - Updated dependencies [5340b11] | ||
| - @smithy/types@4.13.1 | ||
| - @smithy/abort-controller@4.2.12 | ||
| - @smithy/protocol-http@5.3.12 | ||
| - @smithy/querystring-builder@4.2.12 | ||
| ## 4.4.14 | ||
| ### Patch Changes | ||
| - a4d95e6: Set downlevel types to be used in typescript@'<4.5' | ||
| - Updated dependencies [a4d95e6] | ||
| - @smithy/querystring-builder@4.2.11 | ||
| - @smithy/abort-controller@4.2.11 | ||
| - @smithy/protocol-http@5.3.11 | ||
| ## 4.4.13 | ||
| ### Patch Changes | ||
| - 9bf9ae2: fix: reject aborted requests with AbortSignal.reason instead of a generic Error | ||
| ## 4.4.12 | ||
| ### Patch Changes | ||
| - Updated dependencies [d0954cc] | ||
| - @smithy/types@4.13.0 | ||
| - @smithy/abort-controller@4.2.10 | ||
| - @smithy/protocol-http@5.3.10 | ||
| - @smithy/querystring-builder@4.2.10 | ||
| ## 4.4.11 | ||
| ### Patch Changes | ||
| - 03c3dc8: update for rollup build externalLiveBindings=false | ||
| - Updated dependencies [03c3dc8] | ||
| - @smithy/abort-controller@4.2.9 | ||
| - @smithy/protocol-http@5.3.9 | ||
| - @smithy/querystring-builder@4.2.9 | ||
| - @smithy/types@4.12.1 | ||
| ## 4.4.10 | ||
| ### Patch Changes | ||
| - f6f0de9: write request.end() with no arg if empty buffer | ||
| ## 4.4.9 | ||
| ### Patch Changes | ||
| - 3ee4e66: Use configured logger when provided. | ||
| ## 4.4.8 | ||
| ### Patch Changes | ||
| - Updated dependencies [745867a] | ||
| - @smithy/types@4.12.0 | ||
| - @smithy/abort-controller@4.2.8 | ||
| - @smithy/protocol-http@5.3.8 | ||
| - @smithy/querystring-builder@4.2.8 | ||
| ## 4.4.7 | ||
| ### Patch Changes | ||
| - Updated dependencies [9ccb841] | ||
| - @smithy/types@4.11.0 | ||
| - @smithy/abort-controller@4.2.7 | ||
| - @smithy/protocol-http@5.3.7 | ||
| - @smithy/querystring-builder@4.2.7 | ||
| ## 4.4.6 | ||
| ### Patch Changes | ||
| - Updated dependencies [5a56762] | ||
| - @smithy/types@4.10.0 | ||
| - @smithy/abort-controller@4.2.6 | ||
| - @smithy/protocol-http@5.3.6 | ||
| - @smithy/querystring-builder@4.2.6 | ||
| ## 4.4.5 | ||
| ### Patch Changes | ||
| - Updated dependencies [3926fd7] | ||
| - @smithy/types@4.9.0 | ||
| - @smithy/abort-controller@4.2.5 | ||
| - @smithy/protocol-http@5.3.5 | ||
| - @smithy/querystring-builder@4.2.5 | ||
| ## 4.4.4 | ||
| ### Patch Changes | ||
| - df00095: skip body write delay when http Agent is externally owned | ||
| - Updated dependencies [6da0ab3] | ||
| - @smithy/types@4.8.1 | ||
| - @smithy/abort-controller@4.2.4 | ||
| - @smithy/protocol-http@5.3.4 | ||
| - @smithy/querystring-builder@4.2.4 | ||
| ## 4.4.3 | ||
| ### Patch Changes | ||
| - 344d06a: shfit http1 calls with expect 100-continue header to isolated http Agents | ||
| ## 4.4.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [8a2a912] | ||
| - @smithy/types@4.8.0 | ||
| - @smithy/abort-controller@4.2.3 | ||
| - @smithy/protocol-http@5.3.3 | ||
| - @smithy/querystring-builder@4.2.3 | ||
| ## 4.4.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [052d261] | ||
| - @smithy/types@4.7.1 | ||
| - @smithy/abort-controller@4.2.2 | ||
| - @smithy/protocol-http@5.3.2 | ||
| - @smithy/querystring-builder@4.2.2 | ||
| ## 4.4.0 | ||
| ### Minor Changes | ||
| - 761d89c: undeprecate socketTimeout for node:https requests | ||
| ### Patch Changes | ||
| - Updated dependencies [761d89c] | ||
| - Updated dependencies [7f8af58] | ||
| - @smithy/types@4.7.0 | ||
| - @smithy/abort-controller@4.2.1 | ||
| - @smithy/protocol-http@5.3.1 | ||
| - @smithy/querystring-builder@4.2.1 | ||
| ## 4.3.0 | ||
| ### Minor Changes | ||
| - 45ee67f: update dist-cjs generation to use rollup | ||
| ### Patch Changes | ||
| - Updated dependencies [45ee67f] | ||
| - @smithy/abort-controller@4.2.0 | ||
| - @smithy/protocol-http@5.3.0 | ||
| - @smithy/querystring-builder@4.2.0 | ||
| - @smithy/types@4.6.0 | ||
| ## 4.2.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [bb7c1c1] | ||
| - @smithy/types@4.5.0 | ||
| - @smithy/abort-controller@4.1.1 | ||
| - @smithy/protocol-http@5.2.1 | ||
| - @smithy/querystring-builder@4.1.1 | ||
| ## 4.2.0 | ||
| ### Minor Changes | ||
| - 64cda93: set sideEffects bundler metadata | ||
| ### Patch Changes | ||
| - f884df7: enforce consistent-type-imports | ||
| - Updated dependencies [64cda93] | ||
| - Updated dependencies [f884df7] | ||
| - @smithy/querystring-builder@4.1.0 | ||
| - @smithy/abort-controller@4.1.0 | ||
| - @smithy/protocol-http@5.2.0 | ||
| - @smithy/types@4.4.0 | ||
| ## 4.1.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [64e033f] | ||
| - @smithy/types@4.3.2 | ||
| - @smithy/abort-controller@4.0.5 | ||
| - @smithy/protocol-http@5.1.3 | ||
| - @smithy/querystring-builder@4.0.5 | ||
| ## 4.1.0 | ||
| ### Minor Changes | ||
| - c4e923a: per-request timeouts support | ||
| ## 4.0.6 | ||
| ### Patch Changes | ||
| - Updated dependencies [358c1ff] | ||
| - @smithy/types@4.3.1 | ||
| - @smithy/abort-controller@4.0.4 | ||
| - @smithy/protocol-http@5.1.2 | ||
| - @smithy/querystring-builder@4.0.4 | ||
| ## 4.0.5 | ||
| ### Patch Changes | ||
| - Updated dependencies [0547fab] | ||
| - @smithy/types@4.3.0 | ||
| - @smithy/abort-controller@4.0.3 | ||
| - @smithy/protocol-http@5.1.1 | ||
| - @smithy/querystring-builder@4.0.3 | ||
| ## 4.0.4 | ||
| ### Patch Changes | ||
| - Updated dependencies [e917e61] | ||
| - @smithy/protocol-http@5.1.0 | ||
| - @smithy/types@4.2.0 | ||
| - @smithy/abort-controller@4.0.2 | ||
| - @smithy/querystring-builder@4.0.2 | ||
| ## 4.0.3 | ||
| ### Patch Changes | ||
| - 54d2416: Fix constructor socketAcquisitionWarningTimeout does not work | ||
| - fba050c: Clear obsolete timeout handlers from socket. | ||
| ## 4.0.2 | ||
| ### Patch Changes | ||
| - fbd06eb: fix sending request when 100 Continue response takes more than 1 second | ||
| ## 4.0.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [2aff9df] | ||
| - Updated dependencies [000b2ae] | ||
| - @smithy/types@4.1.0 | ||
| - @smithy/abort-controller@4.0.1 | ||
| - @smithy/protocol-http@5.0.1 | ||
| - @smithy/querystring-builder@4.0.1 | ||
| ## 4.0.0 | ||
| ### Major Changes | ||
| - 20d99be: major version bump for dropping node16 support | ||
| ### Patch Changes | ||
| - Updated dependencies [20d99be] | ||
| - @smithy/abort-controller@4.0.0 | ||
| - @smithy/protocol-http@5.0.0 | ||
| - @smithy/querystring-builder@4.0.0 | ||
| - @smithy/types@4.0.0 | ||
| ## 3.3.3 | ||
| ### Patch Changes | ||
| - 5e73108: fix delayed calling of setTimeout on requests | ||
| ## 3.3.2 | ||
| ### Patch Changes | ||
| - f4e1a45: skip sending body without waiting for a timeout on response, if "expect" request header with "100-continue" is provided | ||
| - a257792: Added context binding to the setTimeout and clearTimeout functions | ||
| - Updated dependencies [b52b4e8] | ||
| - @smithy/types@3.7.2 | ||
| - @smithy/abort-controller@3.1.9 | ||
| - @smithy/protocol-http@4.1.8 | ||
| - @smithy/querystring-builder@3.0.11 | ||
| ## 3.3.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [fcd5ca8] | ||
| - @smithy/types@3.7.1 | ||
| - @smithy/abort-controller@3.1.8 | ||
| - @smithy/protocol-http@4.1.7 | ||
| - @smithy/querystring-builder@3.0.10 | ||
| ## 3.3.0 | ||
| ### Minor Changes | ||
| - cd1929b: vitest compatibility | ||
| ### Patch Changes | ||
| - Updated dependencies [cd1929b] | ||
| - @smithy/types@3.7.0 | ||
| - @smithy/abort-controller@3.1.7 | ||
| - @smithy/protocol-http@4.1.6 | ||
| - @smithy/querystring-builder@3.0.9 | ||
| ## 3.2.5 | ||
| ### Patch Changes | ||
| - Updated dependencies [84bec05] | ||
| - @smithy/types@3.6.0 | ||
| - @smithy/abort-controller@3.1.6 | ||
| - @smithy/protocol-http@4.1.5 | ||
| - @smithy/querystring-builder@3.0.8 | ||
| ## 3.2.4 | ||
| ### Patch Changes | ||
| - Updated dependencies [a4c1285] | ||
| - @smithy/types@3.5.0 | ||
| - @smithy/abort-controller@3.1.5 | ||
| - @smithy/protocol-http@4.1.4 | ||
| - @smithy/querystring-builder@3.0.7 | ||
| ## 3.2.3 | ||
| ### Patch Changes | ||
| - 08fbedf: remove brackets from hostname | ||
| ## 3.2.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [e7b438b] | ||
| - @smithy/types@3.4.2 | ||
| - @smithy/abort-controller@3.1.4 | ||
| - @smithy/protocol-http@4.1.3 | ||
| - @smithy/querystring-builder@3.0.6 | ||
| ## 3.2.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [cf9257e] | ||
| - @smithy/types@3.4.1 | ||
| - @smithy/abort-controller@3.1.3 | ||
| - @smithy/protocol-http@4.1.2 | ||
| - @smithy/querystring-builder@3.0.5 | ||
| ## 3.2.0 | ||
| ### Minor Changes | ||
| - c86a02c: defer socket event listeners for node:http | ||
| ### Patch Changes | ||
| - 5510e83: call socket operations if socket is present in deferred listeners | ||
| - Updated dependencies [2dad138] | ||
| - Updated dependencies [9f3f2f5] | ||
| - @smithy/types@3.4.0 | ||
| - @smithy/abort-controller@3.1.2 | ||
| - @smithy/protocol-http@4.1.1 | ||
| - @smithy/querystring-builder@3.0.4 | ||
| ## 3.1.4 | ||
| ### Patch Changes | ||
| - Updated dependencies [86862ea] | ||
| - @smithy/protocol-http@4.1.0 | ||
| ## 3.1.3 | ||
| ### Patch Changes | ||
| - Updated dependencies [796567d] | ||
| - @smithy/protocol-http@4.0.4 | ||
| ## 3.1.2 | ||
| ### Patch Changes | ||
| - f31cc5f: remove abort signal event listeners after request completion | ||
| ## 3.1.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [4784fb9] | ||
| - @smithy/types@3.3.0 | ||
| - @smithy/abort-controller@3.1.1 | ||
| - @smithy/protocol-http@4.0.3 | ||
| - @smithy/querystring-builder@3.0.3 | ||
| ## 3.1.0 | ||
| ### Minor Changes | ||
| - c16e014: add logger option to node-http-handler parameters, clear socket usage check timeout on error | ||
| - c2a5595: use platform AbortController|AbortSignal implementations | ||
| ### Patch Changes | ||
| - Updated dependencies [c16e014] | ||
| - Updated dependencies [c2a5595] | ||
| - @smithy/types@3.2.0 | ||
| - @smithy/abort-controller@3.1.0 | ||
| - @smithy/protocol-http@4.0.2 | ||
| - @smithy/querystring-builder@3.0.2 | ||
| ## 3.0.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [38da9009] | ||
| - @smithy/types@3.1.0 | ||
| - @smithy/abort-controller@3.0.1 | ||
| - @smithy/protocol-http@4.0.1 | ||
| - @smithy/querystring-builder@3.0.1 | ||
| ## 3.0.0 | ||
| ### Major Changes | ||
| - 671aa704: update to node16 minimum | ||
| ### Minor Changes | ||
| - 3500f341: handle web streams in streamCollector and sdkStreamMixin | ||
| ### Patch Changes | ||
| - e76e736b: improve stream collection speed | ||
| - Updated dependencies [7a7c84d3] | ||
| - Updated dependencies [671aa704] | ||
| - @smithy/types@3.0.0 | ||
| - @smithy/querystring-builder@3.0.0 | ||
| - @smithy/abort-controller@3.0.0 | ||
| - @smithy/protocol-http@4.0.0 | ||
| ## 2.5.0 | ||
| ### Minor Changes | ||
| - 38f9a61f: Update package dependencies | ||
| ### Patch Changes | ||
| - Updated dependencies [38f9a61f] | ||
| - Updated dependencies [661f1d60] | ||
| - @smithy/querystring-builder@2.2.0 | ||
| - @smithy/abort-controller@2.2.0 | ||
| - @smithy/protocol-http@3.3.0 | ||
| - @smithy/types@2.12.0 | ||
| ## 2.4.3 | ||
| ### Patch Changes | ||
| - 511206e5: reduce buffer copies | ||
| ## 2.4.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [43f3e1e2] | ||
| - @smithy/types@2.11.0 | ||
| - @smithy/abort-controller@2.1.4 | ||
| - @smithy/protocol-http@3.2.2 | ||
| - @smithy/querystring-builder@2.1.4 | ||
| ## 2.4.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [dd0d9b4b] | ||
| - @smithy/types@2.10.1 | ||
| - @smithy/abort-controller@2.1.3 | ||
| - @smithy/protocol-http@3.2.1 | ||
| - @smithy/querystring-builder@2.1.3 | ||
| ## 2.4.0 | ||
| ### Minor Changes | ||
| - d70a00ac: allow ctor args in lieu of Agent instances in node-http-handler ctor | ||
| - 1e23f967: add socket exhaustion checked warning to node-http-handler | ||
| ### Patch Changes | ||
| - Updated dependencies [d70a00ac] | ||
| - Updated dependencies [1e23f967] | ||
| - Updated dependencies [929801bc] | ||
| - @smithy/types@2.10.0 | ||
| - @smithy/protocol-http@3.2.0 | ||
| - @smithy/abort-controller@2.1.2 | ||
| - @smithy/querystring-builder@2.1.2 | ||
| ## 2.3.1 | ||
| ### Patch Changes | ||
| - 2b1bf055: generate dist-cjs with runtime list of export names for esm | ||
| - Updated dependencies [2b1bf055] | ||
| - @smithy/abort-controller@2.1.1 | ||
| - @smithy/protocol-http@3.1.1 | ||
| - @smithy/querystring-builder@2.1.1 | ||
| - @smithy/types@2.9.1 | ||
| ## 2.3.0 | ||
| ### Minor Changes | ||
| - 9939f823: bundle dist-cjs index | ||
| ### Patch Changes | ||
| - Updated dependencies [9939f823] | ||
| - @smithy/querystring-builder@2.1.0 | ||
| - @smithy/abort-controller@2.1.0 | ||
| - @smithy/protocol-http@3.1.0 | ||
| - @smithy/types@2.9.0 | ||
| ## 2.2.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [590af6b7] | ||
| - @smithy/types@2.8.0 | ||
| - @smithy/abort-controller@2.0.16 | ||
| - @smithy/protocol-http@3.0.12 | ||
| - @smithy/querystring-builder@2.0.16 | ||
| ## 2.2.1 | ||
| ### Patch Changes | ||
| - e2e3f7d5: align ctor and static creation signatures for http handlers | ||
| ## 2.2.0 | ||
| ### Minor Changes | ||
| - 340634a5: move default fetch and http handler ctor types to the types package | ||
| ### Patch Changes | ||
| - Updated dependencies [340634a5] | ||
| - @smithy/types@2.7.0 | ||
| - @smithy/abort-controller@2.0.15 | ||
| - @smithy/protocol-http@3.0.11 | ||
| - @smithy/querystring-builder@2.0.15 | ||
| ## 2.1.10 | ||
| ### Patch Changes | ||
| - Updated dependencies [9bfc64ed] | ||
| - Updated dependencies [9579a9a0] | ||
| - @smithy/types@2.6.0 | ||
| - @smithy/abort-controller@2.0.14 | ||
| - @smithy/protocol-http@3.0.10 | ||
| - @smithy/querystring-builder@2.0.14 | ||
| ## 2.1.9 | ||
| ### Patch Changes | ||
| - Updated dependencies [8044a814] | ||
| - @smithy/types@2.5.0 | ||
| - @smithy/abort-controller@2.0.13 | ||
| - @smithy/protocol-http@3.0.9 | ||
| - @smithy/querystring-builder@2.0.13 | ||
| ## 2.1.8 | ||
| ### Patch Changes | ||
| - Updated dependencies [5e9fd6ce] | ||
| - Updated dependencies [05f5d42c] | ||
| - @smithy/types@2.4.0 | ||
| - @smithy/abort-controller@2.0.12 | ||
| - @smithy/protocol-http@3.0.8 | ||
| - @smithy/querystring-builder@2.0.12 | ||
| ## 2.1.7 | ||
| ### Patch Changes | ||
| - Updated dependencies [d6b4c090] | ||
| - @smithy/types@2.3.5 | ||
| - @smithy/abort-controller@2.0.11 | ||
| - @smithy/protocol-http@3.0.7 | ||
| - @smithy/querystring-builder@2.0.11 | ||
| ## 2.1.6 | ||
| ### Patch Changes | ||
| - Updated dependencies [2f70f105] | ||
| - Updated dependencies [9a562d37] | ||
| - @smithy/types@2.3.4 | ||
| - @smithy/abort-controller@2.0.10 | ||
| - @smithy/protocol-http@3.0.6 | ||
| - @smithy/querystring-builder@2.0.10 | ||
| ## 2.1.5 | ||
| ### Patch Changes | ||
| - Updated dependencies [ea0635d6] | ||
| - @smithy/types@2.3.3 | ||
| - @smithy/abort-controller@2.0.9 | ||
| - @smithy/protocol-http@3.0.5 | ||
| - @smithy/querystring-builder@2.0.9 | ||
| ## 2.1.4 | ||
| ### Patch Changes | ||
| - Updated dependencies [fbfeebee] | ||
| - Updated dependencies [c0b17a13] | ||
| - @smithy/types@2.3.2 | ||
| - @smithy/abort-controller@2.0.8 | ||
| - @smithy/protocol-http@3.0.4 | ||
| - @smithy/querystring-builder@2.0.8 | ||
| ## 2.1.3 | ||
| ### Patch Changes | ||
| - Updated dependencies [b9265813] | ||
| - Updated dependencies [6d1c2fb1] | ||
| - @smithy/types@2.3.1 | ||
| - @smithy/abort-controller@2.0.7 | ||
| - @smithy/protocol-http@3.0.3 | ||
| - @smithy/querystring-builder@2.0.7 | ||
| ## 2.1.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [5b3fec37] | ||
| - @smithy/protocol-http@3.0.2 | ||
| ## 2.1.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [5db648a6] | ||
| - @smithy/protocol-http@3.0.1 | ||
| ## 2.1.0 | ||
| ### Minor Changes | ||
| - a03026e3: Add http client component to runtime extension | ||
| ### Patch Changes | ||
| - Updated dependencies [88bcec3d] | ||
| - Updated dependencies [a03026e3] | ||
| - @smithy/types@2.3.0 | ||
| - @smithy/protocol-http@3.0.0 | ||
| - @smithy/abort-controller@2.0.6 | ||
| - @smithy/querystring-builder@2.0.6 | ||
| ## 2.0.5 | ||
| ### Patch Changes | ||
| - Updated dependencies [b753dd4c] | ||
| - Updated dependencies [6c8ffa27] | ||
| - @smithy/types@2.2.2 | ||
| - @smithy/abort-controller@2.0.5 | ||
| - @smithy/protocol-http@2.0.5 | ||
| - @smithy/querystring-builder@2.0.5 | ||
| ## 2.0.4 | ||
| ### Patch Changes | ||
| - Updated dependencies [381e03c4] | ||
| - @smithy/types@2.2.1 | ||
| - @smithy/abort-controller@2.0.4 | ||
| - @smithy/protocol-http@2.0.4 | ||
| - @smithy/querystring-builder@2.0.4 | ||
| ## 2.0.3 | ||
| ### Patch Changes | ||
| - Updated dependencies [f6cb949d] | ||
| - @smithy/types@2.2.0 | ||
| - @smithy/abort-controller@2.0.3 | ||
| - @smithy/protocol-http@2.0.3 | ||
| - @smithy/querystring-builder@2.0.3 | ||
| ## 2.0.2 | ||
| ### Patch Changes | ||
| - Updated dependencies [59548ba9] | ||
| - Updated dependencies [3e1ab589] | ||
| - @smithy/types@2.1.0 | ||
| - @smithy/abort-controller@2.0.2 | ||
| - @smithy/protocol-http@2.0.2 | ||
| - @smithy/querystring-builder@2.0.2 | ||
| ## 2.0.1 | ||
| ### Patch Changes | ||
| - Updated dependencies [1b951769] | ||
| - @smithy/types@2.0.2 | ||
| - @smithy/abort-controller@2.0.1 | ||
| - @smithy/protocol-http@2.0.1 | ||
| - @smithy/querystring-builder@2.0.1 | ||
| ## 2.0.0 | ||
| ### Major Changes | ||
| - 9d53bc76: update to 2.x major versions | ||
| ### Patch Changes | ||
| - Updated dependencies [9d53bc76] | ||
| - @smithy/abort-controller@2.0.0 | ||
| - @smithy/protocol-http@2.0.0 | ||
| - @smithy/querystring-builder@2.0.0 | ||
| - @smithy/types@2.0.1 | ||
| ## 1.1.0 | ||
| ### Minor Changes | ||
| - e3cbb3cc: set types to the 1.x line | ||
| ### Patch Changes | ||
| - Updated dependencies [e3cbb3cc] | ||
| - @smithy/abort-controller@1.1.0 | ||
| - @smithy/protocol-http@1.2.0 | ||
| - @smithy/querystring-builder@1.1.0 | ||
| - @smithy/types@1.2.0 | ||
| ## 1.0.4 | ||
| ### Patch Changes | ||
| - Updated dependencies [8cd89c75] | ||
| - Updated dependencies [d90a45b5] | ||
| - @smithy/types@2.0.0 | ||
| - @smithy/abort-controller@1.0.3 | ||
| - @smithy/protocol-http@1.1.2 | ||
| - @smithy/querystring-builder@1.0.3 | ||
| ## 1.0.3 | ||
| ### Patch Changes | ||
| - 6e312329: restore downlevel types | ||
| - Updated dependencies [6e312329] | ||
| - @smithy/querystring-builder@1.0.2 | ||
| - @smithy/abort-controller@1.0.2 | ||
| - @smithy/protocol-http@1.1.1 | ||
| - @smithy/types@1.1.1 | ||
| ## 1.0.2 | ||
| ### Patch Changes | ||
| - e051b157: Rejoin main promise when error is thrown in writeRequestBody | ||
| ## 1.0.1 | ||
| ### Patch Changes | ||
| - 2c57033f: Set correct publishConfig directory | ||
| - Updated dependencies [2c57033f] | ||
| - @smithy/querystring-builder@1.0.1 | ||
| - @smithy/abort-controller@1.0.1 | ||
| All notable changes to this project will be documented in this file. | ||
| See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
| See [@aws-sdk/node-http-handler](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/node-http-handler/CHANGELOG.md) for additional history. |
@@ -269,2 +269,3 @@ const { buildQueryString, HttpResponse } = require("@smithy/core/protocols"); | ||
| const config = this.config; | ||
| const logger = config.logger; | ||
| const isSSL = request.protocol === "https:"; | ||
@@ -313,3 +314,3 @@ if (!isSSL && !this.config.httpAgent) { | ||
| socketWarningTimeoutId = timing.setTimeout(() => { | ||
| this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger); | ||
| this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger); | ||
| }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000)); | ||
@@ -381,3 +382,3 @@ const queryString = request.query ? buildQueryString(request.query) : ""; | ||
| connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout); | ||
| requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console); | ||
| requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console); | ||
| socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout); | ||
@@ -400,2 +401,8 @@ const httpAgent = nodeHttpsOptions.agent; | ||
| this.configProvider = this.configProvider.then((config) => { | ||
| if (key === Symbol.for("logger")) { | ||
| return { | ||
| ...config, | ||
| logger: config.logger ?? value, | ||
| }; | ||
| } | ||
| return { | ||
@@ -402,0 +409,0 @@ ...config, |
@@ -73,2 +73,3 @@ import { HttpResponse, buildQueryString } from "@smithy/core/protocols"; | ||
| const config = this.config; | ||
| const logger = config.logger; | ||
| const isSSL = request.protocol === "https:"; | ||
@@ -117,3 +118,3 @@ if (!isSSL && !this.config.httpAgent) { | ||
| socketWarningTimeoutId = timing.setTimeout(() => { | ||
| this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, config.logger); | ||
| this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, logger); | ||
| }, config.socketAcquisitionWarningTimeout ?? (config.requestTimeout ?? 2000) + (config.connectionTimeout ?? 1000)); | ||
@@ -185,3 +186,3 @@ const queryString = request.query ? buildQueryString(request.query) : ""; | ||
| connectionTimeoutId = setConnectionTimeout(req, reject, config.connectionTimeout); | ||
| requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, config.logger ?? console); | ||
| requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config.throwOnRequestTimeout, logger ?? console); | ||
| socketTimeoutId = setSocketTimeout(req, reject, config.socketTimeout); | ||
@@ -204,2 +205,8 @@ const httpAgent = nodeHttpsOptions.agent; | ||
| this.configProvider = this.configProvider.then((config) => { | ||
| if (key === Symbol.for("logger")) { | ||
| return { | ||
| ...config, | ||
| logger: config.logger ?? value, | ||
| }; | ||
| } | ||
| return { | ||
@@ -206,0 +213,0 @@ ...config, |
+2
-6
| { | ||
| "name": "@smithy/node-http-handler", | ||
| "version": "4.10.0", | ||
| "version": "4.11.0", | ||
| "description": "Provides a way to make requests", | ||
@@ -31,5 +31,2 @@ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/node-http-handler", | ||
| }, | ||
| "publishConfig": { | ||
| "directory": ".release/package" | ||
| }, | ||
| "scripts": { | ||
@@ -42,3 +39,2 @@ "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'", | ||
| "extract:docs": "api-extractor run --local", | ||
| "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", | ||
| "test": "yarn g:vitest run", | ||
@@ -48,3 +44,3 @@ "test:watch": "yarn g:vitest watch" | ||
| "dependencies": { | ||
| "@smithy/core": "^3.32.0", | ||
| "@smithy/core": "^3.33.0", | ||
| "@smithy/types": "^4.17.0", | ||
@@ -51,0 +47,0 @@ "tslib": "^2.6.2" |
Unstable ownership
Supply chain riskA new collaborator has begun publishing package versions. Package stability and security risk may be elevated.
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
126863
20.97%56
1.82%2318
0.61%1
Infinity%25
4.17%Updated