Skip to content

Latest commit

 

History

History
135 lines (102 loc) · 9.16 KB

CHANGELOG.md

File metadata and controls

135 lines (102 loc) · 9.16 KB

Smithy Typescript Codegen Changelog

0.12.0 (2022-09-19)

Features

  • Migrated the code generator to use Smithy's new and recommended DirectedCodegen. (#585)
  • Added support for endpoints v2. (#586)
  • Updated Smithy version to 1.25.x which bring Smithy IDL v2 support. (#589)
  • Updated SSDK library version to 1.0.0-alpha6. (#583)
  • Added different package description for client v/s server. (#582)
  • Overrode typescript version for typedoc. (#561)
  • Removed namespaces that only contain log filters. (#574)
  • Added support for event stream for RPC protocols. (#573)
  • Added fallback to status code for unmodeled errors. (#565)
  • Added support for generating protocol specific event payload. (#554)
  • Used Record type instead of Object. (#556, #557, #558, #562)
  • Removed explicit reference to MetadataBearer from error shapes. (#545)
  • Added codegen indicator comment to generated files. (#538)
  • Added check to stop pagination on same token. (#534)

Bug Fixes

  • Fixed code generation for server protocol tests. (#577)
  • Fixed missing Content-Type header in some events. (#567)

0.11.0 (2022-04-04)

Features

  • Removed MetadataBearer from output type. (#530)
  • Updated Smithy version to 1.19.x. (#531)
  • Updated typescript to ~4.6.2. (#527)
  • Set bodyLengthChecker type to BodyLengthCalculator. (#524)

Bug Fixes

  • Added missing export for httpApiKeyAuth middleware. (#528)

0.10.0 (2022-03-02)

Features

  • Bumped SSDK library versions to 1.0.0-alpha5. (#520)
  • Added support for List<String> in function parameters list. (#516)
  • Updated generation of exceptions for easier handling. (#502)
  • Updated clean script to delete *.tsbuildinfo. (#514)

Bug Fixes

  • Fixed scripts for npm by extracting run command out. (#519)
  • Fixed the generation of collections of documents in protocol tests. (#513)

0.9.0 (2022-02-14)

Features

  • Updated Smithy version to 1.17.x. (#505)
  • Added support for @httpApiKeyAuth. (#473)
  • Added a default prepack script to generated packages. (#479)
  • Added TypeScript contextual keywords to the reserved words list. (#500)
  • Changed generated builds to run concurrently. (#498)
  • Added support for defaultsMode. (#495)
  • Updated generated packages to use @tsconfig/recommended. (#493)
  • Removed filterSensitiveLog from exceptions. (#488)
  • Bumped SSDK library versions to 1.0.0-alpha4. (#480)
  • Removed test dependencies and configuration from generated packages. (#483)
  • Updated minimum supported Node version to 12. (#481, #482)
  • Added option to configure package manager, supporting yarn and npm. (#476)
  • Switched pattern validation to re2-wasm to avoid native dependency. (#467)

Bug Fixes

  • Updated protocol tests to check for ErrorName. (#490)
  • Added escaping for regex literals in path segments. (#477)
  • Fix greedy label matching. (#474)

Documentation

  • Updated README example. (#501)

0.8.0 (2021-11-23)

Features

  • Updated Smithy version dependency to be more specific. (#465)
  • Updated Smithy version to 1.14.x. (#468)

Bug Fixes

  • Fixed the generated comment for link to client config. (#466)

0.7.0 (2021-11-03)

Features

  • Updated parsing of timestamps and unions to be stricter. (#412, #414)
  • Reduced published package size. (#427, #443, #446, #444, #452)
  • Added handling for more complex Accept header values. (#431)
  • Moved source files to src folder. (#434, #437, #438)
  • Added ability to ts-ignore a default import. (#445)
  • Updated Smithy version to 1.12.0. (#448)
  • Switched to re2 for pattern validation. (#451)

Bug Fixes

  • Used base64 en/decoder from context in bindings. (#419)
  • Downgraded typescript to ~4.3.5. (#418)
  • Fixed XML protocol test to compare payload with outmost node. (#433)
  • Fixed handling of multi-value query parameters to align with API Gateway behavior. (#449)

0.6.0 (2021-09-02)

Features

  • Updated parsing of request and response payloads for Http binding protocols to be stricter. (#405)
  • Updated number parsing to be stricter based on size. (#397, #404)
  • Added handling for Content-Type and Accept headers in SSDK. (#394)
  • Added a generator for @httpMalformedRequestTests. (#393)
  • Added warning for unsupported Node.js version. (#392)

Bug Fixes

  • Allowed setting prefix path for rpc protocols. (#406)
  • Fixed SSDK codegen for different casing of operation name, by using operation symbol name consistently. (#402)
  • Fixed processing of runtime config for generic clients. (#401)

0.5.0 (2021-07-23)

Features

  • Bumped tslib version to 2.3.0. (#387)
  • Calculate content-length for SSDKs. (#386)

Bug Fixes

  • Update dependency versioning to pull from smithy-aws-typescript-codegen or use latest. (#388)