CHANGELOG.md

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