github smithy-lang/smithy 1.71.0
Smithy CLI v1.71.0

4 hours ago

1.71.0 (2026-05-14)

Features

  • Added aws.apigateway#resourcePolicy trait and OpenAPI mapper
    (#3081)
  • Added aws.apigateway#minimumCompressionSize trait and OpenAPI mapper
    (#3076)
  • Added aws.apigateway#gatewayResponses trait and OpenAPI mapper with DANGER
    validation for CORS conflicts
    (#3089)
  • Added aws.auth#cognitoUserPoolsScopes trait for specifying OAuth scopes on
    operations that use an Amazon Cognito User Pools authorizer.
    (#3109)
  • Added aws.apigateway#apiTlsPolicy trait and OpenAPI mapper
    (#3083)
  • Added tlsConfig, responseTransferMode, and integrationTarget sub-fields
    to the aws.apigateway#integration trait
    (#3090)
  • Added copy-on-write optimization for toBuilder() via
    BuilderRef.setBorrowed
    (#3107)
  • Fixed trait codegen to generate more specific return type for trait provider
    (#3087)
  • Added aws.apigateway#apiKeyRequired trait and OpenAPI mapper
    (#3091)
  • Added aws.apigateway#endpointConfiguration trait
    (#3088)
  • Added ipAddressType field to the aws.apigateway#endpointConfiguration
    trait and added an OpenAPI mapper that writes vpcEndpointIds and
    disableExecuteApiEndpoint to the
    x-amazon-apigateway-endpoint-configuration extension.
    (#3110)
  • Optimized model scoping in JsonSchemaConverter by constructing through a
    Model.Builder instead of filtering shapes.
    (#3111)
  • Added a new protocol test for query operations with no output that can include
    ResponseMetadata. No assertions are done but protocol test runners should be
    able to handle the metadata without choking.
    (#3106)

Bug Fixes

  • Fixed an issue where traits would lose their types, reverting to DynamicTrait,
    when renaming shapes
    (#3086)
  • Fixed selector parsing to properly handle extraneous BREAK_TOKENS (',', ']',
    ')') in a selector. This manifested in silently dropping contents in the comma
    case ("structure, string" was effectively just "structure"). For the closing
    brace/paren, the characters were silently ignored as seen in the additional
    fixed tests. (#3063)
  • Fixed event stream test params encoding blobs in b64.
    (#3121)
  • Fixed a bug in OpenAPI conversions where onErrorStatusConflict from
    mappers/protocols wasn't being respected.
    (#3123)
  • Fixed a Windows user PATH corruption in install.bat caused by setx silently
    truncating values over 1024 characters
    (#3117)
  • Fixed an issue where jsonName wasn't applied to examples in OpenAPI for
    restJson1 (#3108)
  • Fixed trait-codegen failure when string literals contain dollar signs
    (#3096)

Documentation

  • Fixed stale and mismatched AWS API Gateway reference link targets
    (#3077)

Don't miss a new smithy release

NewReleases is sending notifications on new releases.