...

Text file src/github.com/aws/smithy-go/CHANGELOG.md

Documentation: github.com/aws/smithy-go

     1# Release (2024-02-21)
     2
     3## Module Highlights
     4* `github.com/aws/smithy-go`: v1.20.1
     5  * **Bug Fix**: Remove runtime dependency on go-cmp.
     6
     7# Release (2024-02-13)
     8
     9## Module Highlights
    10* `github.com/aws/smithy-go`: v1.20.0
    11  * **Feature**: Add codegen definition for sigv4a trait.
    12  * **Feature**: Bump minimum Go version to 1.20 per our language support policy.
    13
    14# Release (2023-12-07)
    15
    16## Module Highlights
    17* `github.com/aws/smithy-go`: v1.19.0
    18  * **Feature**: Support modeled request compression.
    19
    20# Release (2023-11-30)
    21
    22* No change notes available for this release.
    23
    24# Release (2023-11-29)
    25
    26## Module Highlights
    27* `github.com/aws/smithy-go`: v1.18.0
    28  * **Feature**: Expose Options() method on generated service clients.
    29
    30# Release (2023-11-15)
    31
    32## Module Highlights
    33* `github.com/aws/smithy-go`: v1.17.0
    34  * **Feature**: Support identity/auth components of client reference architecture.
    35
    36# Release (2023-10-31)
    37
    38## Module Highlights
    39* `github.com/aws/smithy-go`: v1.16.0
    40  * **Feature**: **LANG**: Bump minimum go version to 1.19.
    41
    42# Release (2023-10-06)
    43
    44## Module Highlights
    45* `github.com/aws/smithy-go`: v1.15.0
    46  * **Feature**: Add `http.WithHeaderComment` middleware.
    47
    48# Release (2023-08-18)
    49
    50* No change notes available for this release.
    51
    52# Release (2023-08-07)
    53
    54## Module Highlights
    55* `github.com/aws/smithy-go`: v1.14.1
    56  * **Bug Fix**: Prevent duplicated error returns in EndpointResolverV2 default implementation.
    57
    58# Release (2023-07-31)
    59
    60## General Highlights
    61* **Feature**: Adds support for smithy-modeled endpoint resolution.
    62
    63# Release (2022-12-02)
    64
    65* No change notes available for this release.
    66
    67# Release (2022-10-24)
    68
    69## Module Highlights
    70* `github.com/aws/smithy-go`: v1.13.4
    71  * **Bug Fix**: fixed document type checking for encoding nested types
    72
    73# Release (2022-09-14)
    74
    75* No change notes available for this release.
    76
    77# Release (v1.13.2)
    78
    79* No change notes available for this release.
    80
    81# Release (v1.13.1)
    82
    83* No change notes available for this release.
    84
    85# Release (v1.13.0)
    86
    87## Module Highlights
    88* `github.com/aws/smithy-go`: v1.13.0
    89  * **Feature**: Adds support for the Smithy httpBearerAuth authentication trait to smithy-go. This allows the SDK to support the bearer authentication flow for API operations decorated with httpBearerAuth. An API client will need to be provided with its own bearer.TokenProvider implementation or use the bearer.StaticTokenProvider implementation.
    90
    91# Release (v1.12.1)
    92
    93## Module Highlights
    94* `github.com/aws/smithy-go`: v1.12.1
    95  * **Bug Fix**: Fixes a bug where JSON object keys were not escaped.
    96
    97# Release (v1.12.0)
    98
    99## Module Highlights
   100* `github.com/aws/smithy-go`: v1.12.0
   101  * **Feature**: `transport/http`: Add utility for setting context metadata when operation serializer automatically assigns content-type default value.
   102
   103# Release (v1.11.3)
   104
   105## Module Highlights
   106* `github.com/aws/smithy-go`: v1.11.3
   107  * **Dependency Update**: Updates smithy-go unit test dependency go-cmp to 0.5.8.
   108
   109# Release (v1.11.2)
   110
   111* No change notes available for this release.
   112
   113# Release (v1.11.1)
   114
   115## Module Highlights
   116* `github.com/aws/smithy-go`: v1.11.1
   117  * **Bug Fix**: Updates the smithy-go HTTP Request to correctly handle building the request to an http.Request. Related to [aws/aws-sdk-go-v2#1583](https://github.com/aws/aws-sdk-go-v2/issues/1583)
   118
   119# Release (v1.11.0)
   120
   121## Module Highlights
   122* `github.com/aws/smithy-go`: v1.11.0
   123  * **Feature**: Updates deserialization of header list to supported quoted strings
   124
   125# Release (v1.10.0)
   126
   127## Module Highlights
   128* `github.com/aws/smithy-go`: v1.10.0
   129  * **Feature**: Add `ptr.Duration`, `ptr.ToDuration`, `ptr.DurationSlice`, `ptr.ToDurationSlice`, `ptr.DurationMap`, and `ptr.ToDurationMap` functions for the `time.Duration` type.
   130
   131# Release (v1.9.1)
   132
   133## Module Highlights
   134* `github.com/aws/smithy-go`: v1.9.1
   135  * **Documentation**: Fixes various typos in Go package documentation.
   136
   137# Release (v1.9.0)
   138
   139## Module Highlights
   140* `github.com/aws/smithy-go`: v1.9.0
   141  * **Feature**: sync: OnceErr, can be used to concurrently record a signal when an error has occurred.
   142  * **Bug Fix**: `transport/http`: CloseResponseBody and ErrorCloseResponseBody middleware have been updated to ensure that the body is fully drained before closing.
   143
   144# Release v1.8.1
   145
   146### Smithy Go Module
   147* **Bug Fix**: Fixed an issue that would cause the HTTP Content-Length to be set to 0 if the stream body was not set.
   148  * Fixes [aws/aws-sdk-go-v2#1418](https://github.com/aws/aws-sdk-go-v2/issues/1418)
   149
   150# Release v1.8.0
   151
   152### Smithy Go Module
   153
   154* `time`: Add support for parsing additional DateTime timestamp format ([#324](https://github.com/aws/smithy-go/pull/324))
   155  * Adds support for parsing DateTime timestamp formatted time similar to RFC 3339, but without the `Z` character, nor UTC offset.
   156  * Fixes [#1387](https://github.com/aws/aws-sdk-go-v2/issues/1387)
   157
   158# Release v1.7.0
   159
   160### Smithy Go Module
   161* `ptr`:  Handle error for deferred file close call ([#314](https://github.com/aws/smithy-go/pull/314))
   162  * Handle error for defer close call
   163* `middleware`: Add Clone to Metadata ([#318](https://github.com/aws/smithy-go/pull/318))
   164  * Adds a new Clone method to the middleware Metadata type. This provides a shallow clone of the entries in the Metadata.
   165* `document`: Add new package for document shape serialization support ([#310](https://github.com/aws/smithy-go/pull/310))
   166
   167### Codegen
   168* Add Smithy Document Shape Support ([#310](https://github.com/aws/smithy-go/pull/310))
   169  * Adds support for Smithy Document shapes and supporting types for protocols to implement support
   170
   171# Release v1.6.0 (2021-07-15)
   172
   173### Smithy Go Module
   174* `encoding/httpbinding`: Support has been added for encoding `float32` and `float64` values that are `NaN`, `Infinity`, or `-Infinity`. ([#316](https://github.com/aws/smithy-go/pull/316))
   175
   176### Codegen
   177* Adds support for handling `float32` and `float64` `NaN` values in HTTP Protocol Unit Tests. ([#316](https://github.com/aws/smithy-go/pull/316))
   178* Adds support protocol generator implementations to override the error code string returned by `ErrorCode` methods on generated error types. ([#315](https://github.com/aws/smithy-go/pull/315))
   179
   180# Release v1.5.0 (2021-06-25)
   181
   182### Smithy Go module
   183* `time`: Update time parsing to not be as strict for HTTPDate and DateTime ([#307](https://github.com/aws/smithy-go/pull/307))
   184  * Fixes [#302](https://github.com/aws/smithy-go/issues/302) by changing time to UTC before formatting so no local offset time is lost.
   185
   186### Codegen
   187* Adds support for integrating client members via plugins ([#301](https://github.com/aws/smithy-go/pull/301))
   188* Fix serialization of enum types marked with payload trait ([#296](https://github.com/aws/smithy-go/pull/296))
   189* Update generation of API client modules to include a manifest of files generated ([#283](https://github.com/aws/smithy-go/pull/283))
   190* Update Group Java group ID for smithy-go generator ([#298](https://github.com/aws/smithy-go/pull/298))
   191* Support the delegation of determining the errors that can occur for an operation ([#304](https://github.com/aws/smithy-go/pull/304))
   192* Support for marking and documenting deprecated client config fields. ([#303](https://github.com/aws/smithy-go/pull/303))
   193
   194# Release v1.4.0 (2021-05-06)
   195
   196### Smithy Go module
   197* `encoding/xml`: Fix escaping of Next Line and Line Start in XML Encoder ([#267](https://github.com/aws/smithy-go/pull/267))
   198
   199### Codegen
   200* Add support for Smithy 1.7 ([#289](https://github.com/aws/smithy-go/pull/289))
   201* Add support for httpQueryParams location
   202* Add support for model renaming conflict resolution with service closure
   203
   204# Release v1.3.1 (2021-04-08)
   205
   206### Smithy Go module
   207* `transport/http`: Loosen endpoint hostname validation to allow specifying port numbers. ([#279](https://github.com/aws/smithy-go/pull/279))
   208* `io`: Fix RingBuffer panics due to out of bounds index. ([#282](https://github.com/aws/smithy-go/pull/282))
   209
   210# Release v1.3.0 (2021-04-01)
   211
   212### Smithy Go module
   213* `transport/http`: Add utility to safely join string to url path, and url raw query.
   214
   215### Codegen
   216* Update HttpBindingProtocolGenerator to use http/transport JoinPath and JoinQuery utility.
   217
   218# Release v1.2.0 (2021-03-12)
   219
   220### Smithy Go module
   221* Fix support for parsing shortened year format in HTTP Date header.
   222* Fix GitHub APIDiff action workflow to get gorelease tool correctly.
   223* Fix codegen artifact unit test for Go 1.16
   224
   225### Codegen
   226* Fix generating paginator nil parameter handling before usage.
   227* Fix Serialize unboxed members decorated as required.
   228* Add ability to define resolvers at both client construction and operation invocation.
   229* Support for extending paginators with custom runtime trait

View as plain text