Skip to content

Commit 773d36e

Browse files
Merge smithy-rs-release-1.x.y into main (#3615)
2 parents d7be220 + fc32b3f commit 773d36e

File tree

3 files changed

+83
-150
lines changed

3 files changed

+83
-150
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
2+
April 30th, 2024
3+
================
4+
**New this release:**
5+
- :tada: (client, [smithy-rs#119](https://github.com/smithy-lang/smithy-rs/issues/119), [smithy-rs#3595](https://github.com/smithy-lang/smithy-rs/issues/3595), [smithy-rs#3593](https://github.com/smithy-lang/smithy-rs/issues/3593), [smithy-rs#3585](https://github.com/smithy-lang/smithy-rs/issues/3585), [smithy-rs#3571](https://github.com/smithy-lang/smithy-rs/issues/3571), [smithy-rs#3569](https://github.com/smithy-lang/smithy-rs/issues/3569)) Added support for waiters. Services that model waiters now have a `Waiters` trait that adds
6+
some methods prefixed with `wait_until` to the existing clients.
7+
8+
For example, if there was a waiter modeled for "thing" that takes a "thing ID", using
9+
that waiter would look as follows:
10+
11+
```rust
12+
use my_generated_client::client::Waiters;
13+
14+
let result = client.wait_until_thing()
15+
.thing_id("someId")
16+
.wait(Duration::from_secs(120))
17+
.await;
18+
```
19+
- :bug: (all, [smithy-rs#3603](https://github.com/smithy-lang/smithy-rs/issues/3603)) Fix event stream `:content-type` message headers for struct messages. Note: this was the `:content-type` header on individual event message frames that was incorrect, not the HTTP `content-type` header for the initial request.
20+
21+
222
April 19th, 2024
323
================
424
**New this release:**

CHANGELOG.next.toml

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -9,64 +9,4 @@
99
# message = "Fix typos in module documentation for generated crates"
1010
# references = ["smithy-rs#920"]
1111
# meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"}
12-
# author = "rcoh"
13-
14-
[[aws-sdk-rust]]
15-
message = """
16-
Added support for waiters. Services that model waiters now have a `Waiters` trait that adds
17-
some methods prefixed with `wait_until` to the existing clients. These can be used to, for example
18-
in S3, wait for a newly created bucket to be ready, or in EC2, to wait for a started instance to
19-
have the status OK.
20-
21-
Using a waiter looks like the following example for EC2:
22-
```rust
23-
use aws_sdk_ec2::client::Waiters;
24-
25-
let result = ec2_client.wait_until_instance_status_ok()
26-
.instance_ids("some-instance-id")
27-
.wait(Duration::from_secs(300))
28-
.await;
29-
```
30-
"""
31-
references = ["aws-sdk-rust#400", "smithy-rs#3595", "smithy-rs#3593", "smithy-rs#3585", "smithy-rs#3571", "smithy-rs#3569"]
32-
meta = { "breaking" = false, "tada" = true, "bug" = false }
33-
author = "jdisanti"
34-
35-
[[smithy-rs]]
36-
message = """
37-
Added support for waiters. Services that model waiters now have a `Waiters` trait that adds
38-
some methods prefixed with `wait_until` to the existing clients.
39-
40-
For example, if there was a waiter modeled for "thing" that takes a "thing ID", using
41-
that waiter would look as follows:
42-
43-
```rust
44-
use my_generated_client::client::Waiters;
45-
46-
let result = client.wait_until_thing()
47-
.thing_id("someId")
48-
.wait(Duration::from_secs(120))
49-
.await;
50-
```
51-
"""
52-
references = ["smithy-rs#119", "smithy-rs#3595", "smithy-rs#3593", "smithy-rs#3585", "smithy-rs#3571", "smithy-rs#3569"]
53-
meta = { "breaking" = false, "tada" = true, "bug" = false, "target" = "client" }
54-
author = "jdisanti"
55-
56-
[[aws-sdk-rust]]
57-
message = "SDK crates now set the `rust-version` property in their Cargo.toml files to indicate the minimum supported Rust version."
58-
references = ["smithy-rs#3601"]
59-
meta = { "breaking" = false, "tada" = true, "bug" = false }
60-
author = "jdisanti"
61-
62-
[[smithy-rs]]
63-
message = "Fix event stream `:content-type` message headers for struct messages. Note: this was the `:content-type` header on individual event message frames that was incorrect, not the HTTP `content-type` header for the initial request."
64-
references = ["smithy-rs#3603"]
65-
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "all" }
66-
author = "jdisanti"
67-
68-
[[aws-sdk-rust]]
69-
message = "`aws_config::default_provider::use_dual_stack_provider` is now public instead of `pub(crate)`"
70-
references = ["aws-sdk-rust#879", "smithy-rs#3611"]
71-
meta = { "breaking" = false, "tada" = false, "bug" = false }
72-
author = "jdisanti"
12+
# author = "rcoh"

aws/SDK_CHANGELOG.next.json

Lines changed: 62 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -5,81 +5,6 @@
55
{
66
"smithy-rs": [],
77
"aws-sdk-rust": [
8-
{
9-
"message": "EKS Pod Identity is now supported as part of the default ECS credential provider.",
10-
"meta": {
11-
"bug": false,
12-
"breaking": false,
13-
"tada": true
14-
},
15-
"author": "jackkleeman",
16-
"references": [
17-
"smithy-rs#3416"
18-
],
19-
"since-commit": "c9786d6f56357348714e6c85f3f345a30d8674d8",
20-
"age": 5
21-
},
22-
{
23-
"message": "Add support for Lambda's `InvokeWithResponseStreaming` and Bedrock Agent Runtime's `InvokeAgent` operations.",
24-
"meta": {
25-
"bug": false,
26-
"breaking": false,
27-
"tada": true
28-
},
29-
"author": "jdisanti",
30-
"references": [
31-
"aws-sdk-rust#1075",
32-
"aws-sdk-rust#1080",
33-
"smithy-rs#3451"
34-
],
35-
"since-commit": "c9786d6f56357348714e6c85f3f345a30d8674d8",
36-
"age": 5
37-
},
38-
{
39-
"message": "Added support for SSO bearer token authentication. The aws-sdk-codecatalyst crate can now send requests without erroring.",
40-
"meta": {
41-
"bug": false,
42-
"breaking": false,
43-
"tada": true
44-
},
45-
"author": "jdisanti",
46-
"references": [
47-
"aws-sdk-rust#703",
48-
"smithy-rs#3453"
49-
],
50-
"since-commit": "c9786d6f56357348714e6c85f3f345a30d8674d8",
51-
"age": 5
52-
},
53-
{
54-
"message": "Add support for S3 Express One Zone. See [the user guide](https://github.com/awslabs/aws-sdk-rust/discussions/1091) for more details.",
55-
"meta": {
56-
"bug": false,
57-
"breaking": false,
58-
"tada": true
59-
},
60-
"author": "ysaito1001",
61-
"references": [
62-
"aws-sdk-rust#992",
63-
"smithy-rs#3465"
64-
],
65-
"since-commit": "c9786d6f56357348714e6c85f3f345a30d8674d8",
66-
"age": 5
67-
},
68-
{
69-
"message": "`aws_sigv4::http_request::settigns::SigningSettings` adds a new setting `session_token_name_override` to allow for an alternative session token name for SigV4 signing.",
70-
"meta": {
71-
"bug": false,
72-
"breaking": false,
73-
"tada": false
74-
},
75-
"author": "ysaito1001",
76-
"references": [
77-
"smithy-rs#3465",
78-
"smithy-rs#3477"
79-
],
80-
"since-commit": "c9786d6f56357348714e6c85f3f345a30d8674d8",
81-
"age": 5
82-
},
838
{
849
"message": "`DefaultS3ExpressIdentityProvider` now uses `BehaviorVersion` threaded through from the outer S3 client, instead of always creating `BehaviorVersion::latest()` on the fly.",
8510
"meta": {
@@ -92,7 +17,7 @@
9217
"smithy-rs#3478"
9318
],
9419
"since-commit": "2561e01afca63a28b5034a99c610373f84545721",
95-
"age": 4
20+
"age": 5
9621
},
9722
{
9823
"message": "Users may now set an endpoint URL from the env or profile file:\n\n- env: `AWS_ENDPOINT_URL=\"http://localhost\"`\n- profile: `endpoint_url = http://localhost`\n\nUsers may also ignore endpoint URLs sourced from the env and profile files:\n\n- env: `AWS_IGNORE_CONFIGURED_ENDPOINT_URLS=\"true\"`\n- profile: `ignore_configured_endpoint_urls = true`\n",
@@ -106,7 +31,7 @@
10631
"smithy-rs#3488"
10732
],
10833
"since-commit": "2561e01afca63a28b5034a99c610373f84545721",
109-
"age": 4
34+
"age": 5
11035
},
11136
{
11237
"message": "Fix a bug where a `sigv4-s3express` auth scheme was incorrectly positioned at the front of `auth_scheme_options` and was used when no auth schemes were available for an endpoint.",
@@ -120,7 +45,7 @@
12045
"smithy-rs#3498"
12146
],
12247
"since-commit": "2561e01afca63a28b5034a99c610373f84545721",
123-
"age": 4
48+
"age": 5
12449
},
12550
{
12651
"message": "Ability to add an inline policy or a list of policy ARNs to the `WebIdentityTokenCredentialsProvider` builder.",
@@ -134,7 +59,7 @@
13459
"smithy-rs#3506"
13560
],
13661
"since-commit": "f19a9da9b8f79a7c448246475539c03e1bb58d7e",
137-
"age": 3
62+
"age": 4
13863
},
13964
{
14065
"message": "Make `BehaviorVersion` be future-proof by disallowing it to be constructed via the `BehaviorVersion {}` syntax.",
@@ -149,7 +74,7 @@
14974
"smithy-rs#3513"
15075
],
15176
"since-commit": "f19a9da9b8f79a7c448246475539c03e1bb58d7e",
152-
"age": 3
77+
"age": 4
15378
},
15479
{
15580
"message": "Users may now set service-specific configuration in the environment. For more information, see [this discussion topic](https://github.com/smithy-lang/smithy-rs/discussions/3537).",
@@ -163,7 +88,7 @@
16388
"smithy-rs#3493"
16489
],
16590
"since-commit": "f19a9da9b8f79a7c448246475539c03e1bb58d7e",
166-
"age": 3
91+
"age": 4
16792
},
16893
{
16994
"message": "All requests are now retryable, even if they are deserialized successfully. Previously, this was not allowed.",
@@ -177,7 +102,7 @@
177102
"smithy-rs#3389"
178103
],
179104
"since-commit": "f19a9da9b8f79a7c448246475539c03e1bb58d7e",
180-
"age": 3
105+
"age": 4
181106
},
182107
{
183108
"message": "Add FIPS support to our Hyper 1.0-based client. Customers can enable this mode by enabling the `crypto-aws-lc-fips` on `aws-smithy-experimental`. To construct a client using the new client, consult this [example](https://github.com/awslabs/aws-sdk-rust/blob/release-2024-03-29/sdk/s3/tests/hyper-10.rs).\n\nPlease note that support for Hyper 1.0 remains experimental.",
@@ -191,7 +116,7 @@
191116
"smithy-rs#3539"
192117
],
193118
"since-commit": "f19a9da9b8f79a7c448246475539c03e1bb58d7e",
194-
"age": 3
119+
"age": 4
195120
},
196121
{
197122
"message": "Fixes the identity resolver types (`credentials_provider()` and `token_provider()`) from `SdkConfig` to have\na consistent identity cache partition when re-used across different clients.\n",
@@ -205,7 +130,7 @@
205130
"smithy-rs#3427"
206131
],
207132
"since-commit": "129b85d3187d61dbe4bac2a105ebc3411516a271",
208-
"age": 2
133+
"age": 3
209134
},
210135
{
211136
"message": "Stalled stream protection now supports request upload streams. It is currently off by default, but will be enabled by default in a future release. To enable it now, you can do the following:\n\n```rust\nlet config = aws_config::defaults(BehaviorVersion::latest())\n .stalled_stream_protection(StalledStreamProtectionConfig::enabled().build())\n .load()\n .await;\n```\n",
@@ -219,7 +144,7 @@
219144
"smithy-rs#3485"
220145
],
221146
"since-commit": "129b85d3187d61dbe4bac2a105ebc3411516a271",
222-
"age": 2
147+
"age": 3
223148
},
224149
{
225150
"message": "Stalled stream protection on downloads will now only trigger if the upstream source is too slow. Previously, stalled stream protection could be erroneously triggered if the user was slowly consuming the stream slower than the minimum speed limit.",
@@ -233,7 +158,7 @@
233158
"smithy-rs#3485"
234159
],
235160
"since-commit": "129b85d3187d61dbe4bac2a105ebc3411516a271",
236-
"age": 2
161+
"age": 3
237162
},
238163
{
239164
"message": "Upgraded MSRV to Rust 1.75",
@@ -247,7 +172,7 @@
247172
"smithy-rs#3553"
248173
],
249174
"since-commit": "13c04dafcf5d0f6d65a3edf54b78193f00b44265",
250-
"age": 1
175+
"age": 2
251176
},
252177
{
253178
"message": "Make `SigningSettings` and its fields implement `Clone` and `Copy`",
@@ -261,7 +186,7 @@
261186
"smithy-rs#3533"
262187
],
263188
"since-commit": "13c04dafcf5d0f6d65a3edf54b78193f00b44265",
264-
"age": 1
189+
"age": 2
265190
},
266191
{
267192
"message": "Change some credentials related info log messages to debug.",
@@ -275,7 +200,7 @@
275200
"smithy-rs#3546"
276201
],
277202
"since-commit": "13c04dafcf5d0f6d65a3edf54b78193f00b44265",
278-
"age": 1
203+
"age": 2
279204
},
280205
{
281206
"message": "Fix an S3 crate's dependency on `ahash` so the crate can be compiled for `wasm32-unknown-unknown`.",
@@ -290,6 +215,54 @@
290215
"aws-sdk-rust#1131"
291216
],
292217
"since-commit": "13c04dafcf5d0f6d65a3edf54b78193f00b44265",
218+
"age": 2
219+
},
220+
{
221+
"message": "Added support for waiters. Services that model waiters now have a `Waiters` trait that adds\nsome methods prefixed with `wait_until` to the existing clients. These can be used to, for example\nin S3, wait for a newly created bucket to be ready, or in EC2, to wait for a started instance to\nhave the status OK.\n\nUsing a waiter looks like the following example for EC2:\n```rust\nuse aws_sdk_ec2::client::Waiters;\n\nlet result = ec2_client.wait_until_instance_status_ok()\n .instance_ids(\"some-instance-id\")\n .wait(Duration::from_secs(300))\n .await;\n```\n",
222+
"meta": {
223+
"bug": false,
224+
"breaking": false,
225+
"tada": true
226+
},
227+
"author": "jdisanti",
228+
"references": [
229+
"aws-sdk-rust#400",
230+
"smithy-rs#3595",
231+
"smithy-rs#3593",
232+
"smithy-rs#3585",
233+
"smithy-rs#3571",
234+
"smithy-rs#3569"
235+
],
236+
"since-commit": "d7be22025857da5d21a0a1c8f5753fcf48e8d0ac",
237+
"age": 1
238+
},
239+
{
240+
"message": "SDK crates now set the `rust-version` property in their Cargo.toml files to indicate the minimum supported Rust version.",
241+
"meta": {
242+
"bug": false,
243+
"breaking": false,
244+
"tada": true
245+
},
246+
"author": "jdisanti",
247+
"references": [
248+
"smithy-rs#3601"
249+
],
250+
"since-commit": "d7be22025857da5d21a0a1c8f5753fcf48e8d0ac",
251+
"age": 1
252+
},
253+
{
254+
"message": "`aws_config::default_provider::use_dual_stack_provider` is now public instead of `pub(crate)`",
255+
"meta": {
256+
"bug": false,
257+
"breaking": false,
258+
"tada": false
259+
},
260+
"author": "jdisanti",
261+
"references": [
262+
"aws-sdk-rust#879",
263+
"smithy-rs#3611"
264+
],
265+
"since-commit": "d7be22025857da5d21a0a1c8f5753fcf48e8d0ac",
293266
"age": 1
294267
}
295268
],

0 commit comments

Comments
 (0)