Skip to content

Commit aab97ff

Browse files
Merge branch 'main' into RFC30/error-metadata
2 parents 17ab7ff + bc4c186 commit aab97ff

File tree

231 files changed

+13897
-6456
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+13897
-6456
lines changed

.github/workflows/ci-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ jobs:
111111
semver-checks:
112112
name: check the semver status of this PR
113113
runs-on: smithy_ubuntu-latest_8-core
114+
needs:
115+
- save-docker-login-token
116+
- acquire-base-image
114117
steps:
115118
- uses: actions/checkout@v3
116119
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
required: false
3030

3131
env:
32-
rust_version: 1.66.1
32+
rust_version: 1.67.1
3333
rust_toolchain_components: clippy,rustfmt
3434
ENCRYPTED_DOCKER_PASSWORD: ${{ secrets.ENCRYPTED_DOCKER_PASSWORD }}
3535
DOCKER_LOGIN_TOKEN_PASSPHRASE: ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}

.github/workflows/claim-crate-names.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
rust_version: 1.66.1
13+
rust_version: 1.67.1
1414

1515
name: Claim unpublished crate names on crates.io
1616
run-name: ${{ github.workflow }}

.github/workflows/github-pages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77

88
name: Update GitHub Pages
99

10+
env:
11+
rust_version: 1.67.1
12+
1013
# Allow only one doc pages build to run at a time for the entire smithy-rs repo
1114
concurrency:
1215
group: github-pages-yml
@@ -20,7 +23,9 @@ jobs:
2023
uses: actions/checkout@v3
2124
with:
2225
persist-credentials: false
23-
- uses: dtolnay/rust-toolchain@stable
26+
- uses: dtolnay/rust-toolchain@master
27+
with:
28+
toolchain: ${{ env.rust_version }}
2429
- name: Generate docs
2530
env:
2631
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pull-request-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
env:
3030
java_version: 11
31-
rust_version: 1.66.1
31+
rust_version: 1.67.1
3232
rust_toolchain_components: clippy,rustfmt
3333
apt_dependencies: libssl-dev gnuplot jq
3434

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
rust_version: 1.66.1
13+
rust_version: 1.67.1
1414

1515
name: Release smithy-rs
1616
run-name: ${{ github.workflow }} ${{ inputs.semantic_version }} (${{ inputs.commit_sha }}) - ${{ inputs.dry_run && 'Dry run' || 'Production run' }}

.github/workflows/update-sdk-next.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Rust
3333
uses: dtolnay/rust-toolchain@master
3434
with:
35-
toolchain: 1.66.1
35+
toolchain: 1.67.1
3636
- name: Delete old SDK
3737
run: |
3838
- name: Generate a fresh SDK

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ target/
5656

5757
# tools
5858
.tool-versions
59+
60+
# python
61+
__pycache__

CHANGELOG.next.toml

Lines changed: 83 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,33 @@
1111
# meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"}
1212
# author = "rcoh"
1313

14+
[[smithy-rs]]
15+
message = """
16+
Implement layer for servers to handle [ALB health checks](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html).
17+
Take a look at `aws_smithy_http_server::plugin::alb_health_check` to learn about it.
18+
"""
19+
references = ["smithy-rs#2540"]
20+
meta = { "breaking" = false, "tada" = true, "bug" = false, "target" = "server" }
21+
author = "jjant"
22+
23+
[[smithy-rs]]
24+
message = "Implement `PluginPipeline::http_layer` which allows you to apply a `tower::Layer` to all operations."
25+
references = ["smithy-rs#2540"]
26+
meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "server" }
27+
author = "jjant"
28+
29+
[[aws-sdk-rust]]
30+
message = "Implement std::error::Error#source() properly for the service meta Error enum."
31+
references = ["aws-sdk-rust#784"]
32+
meta = { "breaking" = false, "tada" = false, "bug" = false }
33+
author = "abusch"
34+
35+
[[smithy-rs]]
36+
message = "Implement std::error::Error#source() properly for the service meta Error enum."
37+
references = ["aws-sdk-rust#784"]
38+
meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" }
39+
author = "abusch"
40+
1441
[[aws-sdk-rust]]
1542
message = "The outputs for event stream operations (for example, S3's SelectObjectContent) now implement the `Sync` auto-trait."
1643
references = ["smithy-rs#2496"]
@@ -20,7 +47,7 @@ author = "jdisanti"
2047
[[smithy-rs]]
2148
message = "The outputs for event stream operations now implement the `Sync` auto-trait."
2249
references = ["smithy-rs#2496"]
23-
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "all"}
50+
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "all" }
2451
author = "jdisanti"
2552

2653
[[aws-sdk-rust]]
@@ -32,7 +59,7 @@ author = "eduardomourar"
3259
[[smithy-rs]]
3360
message = "Clients now compile for the `wasm32-unknown-unknown` and `wasm32-wasi` targets when no default features are enabled. WebAssembly is not officially supported yet, but this is a great first step towards it!"
3461
references = ["smithy-rs#2254"]
35-
meta = { "breaking" = false, "tada" = true, "bug" = false, "target" = "client"}
62+
meta = { "breaking" = false, "tada" = true, "bug" = false, "target" = "client" }
3663
author = "eduardomourar"
3764

3865
[[smithy-rs]]
@@ -44,7 +71,7 @@ author = "jdisanti"
4471
[[smithy-rs]]
4572
message = "Streaming operations now emit the request ID at the `debug` log level like their non-streaming counterparts."
4673
references = ["smithy-rs#2495"]
47-
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "client"}
74+
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "client" }
4875
author = "jdisanti"
4976

5077
[[smithy-rs]]
@@ -82,7 +109,7 @@ meta = { "breaking" = false, "tada" = false, "bug" = false }
82109
author = "parker-timmerman"
83110

84111
[[aws-sdk-rust]]
85-
message = "Fix but where an incorrect endpoint was produced for WriteGetObjectResponse"
112+
message = "Fix bug where an incorrect endpoint was produced for `WriteGetObjectResponse`"
86113
references = ["smithy-rs#781", "aws-sdk-rust#781"]
87114
meta = { "breaking" = false, "tada" = false, "bug" = true }
88115
author = "rcoh"
@@ -92,3 +119,55 @@ message = "Update the `std::fmt::Debug` implementation for `aws-sigv4::SigningPa
92119
references = ["smithy-rs#2562"]
93120
meta = { "breaking" = false, "tada" = true, "bug" = true }
94121
author = "Velfi"
122+
123+
[[aws-sdk-rust]]
124+
message = "`aws_smithy_types::date_time::Format` has been re-exported in SDK crates."
125+
references = ["smithy-rs#2534"]
126+
meta = { "breaking" = false, "tada" = false, "bug" = false }
127+
author = "ysaito1001"
128+
129+
[[smithy-rs]]
130+
message = "`aws_smithy_types::date_time::Format` has been re-exported in service client crates."
131+
references = ["smithy-rs#2534"]
132+
meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" }
133+
author = "ysaito1001"
134+
135+
[[smithy-rs]]
136+
message = "Fix generation of constrained shapes reaching `@sensitive` shapes"
137+
references = ["smithy-rs#2582", "smithy-rs#2585"]
138+
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "server" }
139+
author = "david-perez"
140+
141+
[[smithy-rs]]
142+
message = "Fix server code generation bug affecting constrained shapes bound with `@httpPayload`"
143+
references = ["smithy-rs#2583", "smithy-rs#2584"]
144+
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "server" }
145+
author = "david-perez"
146+
147+
[[aws-sdk-rust]]
148+
message = """Reduce several instances of credential exposure in the SDK logs:
149+
- IMDS now suppresses the body of the response from logs
150+
- `aws-sigv4` marks the `x-amz-session-token` header as sensitive
151+
- STS & SSO credentials have been manually marked as sensitive which suppresses logging of response bodies for relevant operations
152+
"""
153+
author = "rcoh"
154+
references = ["smithy-rs#2603"]
155+
meta = { "breaking" = false, "tada" = false, "bug" = false }
156+
157+
[[smithy-rs]]
158+
message = "Add a sensitive method to `ParseHttpResponse`. When this returns true, logging of the HTTP response body will be suppressed."
159+
author = "rcoh"
160+
references = ["smithy-rs#2603"]
161+
meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client" }
162+
163+
[[aws-sdk-rust]]
164+
message = "Update MSRV to Rust 1.67.1"
165+
references = ["smithy-rs#2611"]
166+
meta = { "breaking" = true, "tada" = false, "bug" = false }
167+
author = "jdisanti"
168+
169+
[[smithy-rs]]
170+
message = "Update MSRV to Rust 1.67.1"
171+
references = ["smithy-rs#2611"]
172+
meta = { "breaking" = true, "tada" = false, "bug" = false, "target" = "all"}
173+
author = "jdisanti"

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
/codegen-server-test/ @awslabs/smithy-rs-server
55
/codegen-server/ @awslabs/smithy-rs-server
66
/rust-runtime/aws-smithy-http-server/ @awslabs/smithy-rs-server
7+
/examples/ @awslabs/smithy-rs-server
78

89
# Python Server
910
/codegen-server-test/python/ @awslabs/smithy-rs-python-server @awslabs/smithy-rs-server

0 commit comments

Comments
 (0)