Skip to content

Commit

Permalink
Prepare for v0.38.0 release (#1223)
Browse files Browse the repository at this point in the history
* Update changelogs

* Update AWS models

* Version bump
  • Loading branch information
jdisanti authored Feb 24, 2022
1 parent 4ff8dc6 commit f7e1f08
Show file tree
Hide file tree
Showing 17 changed files with 1,623 additions and 340 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<!-- Do not manually edit this file, use `update-changelogs` -->
0.38.0 (Februrary 24, 2022)
===========================
**Breaking Changes:**
- ⚠ ([smithy-rs#1197](https://github.com/awslabs/smithy-rs/issues/1197)) `aws_smithy_types::retry::RetryKind` had its `NotRetryable` variant split into `UnretryableFailure` and `Unnecessary`. If you implement the `ClassifyResponse`, then successful responses need to return `Unnecessary`, and failures that shouldn't be retried need to return `UnretryableFailure`.
- ⚠ ([smithy-rs#1209](https://github.com/awslabs/smithy-rs/issues/1209)) `aws_smithy_types::primitive::Encoder` is now a struct rather than an enum, but its usage remains the same.
- ⚠ ([smithy-rs#1217](https://github.com/awslabs/smithy-rs/issues/1217)) `ClientBuilder` helpers `rustls()` and `native_tls()` now return `DynConnector` and use dynamic dispatch rather than returning their concrete connector type that would allow static dispatch. If static dispatch is desired, then manually construct a connector to give to the builder. For example, for rustls: `builder.connector(Adapter::builder().build(aws_smithy_client::conns::https()))` (where `Adapter` is in `aws_smithy_client::hyper_ext`).

**New this release:**
- 🐛 ([smithy-rs#1197](https://github.com/awslabs/smithy-rs/issues/1197)) Fixed a bug that caused clients to eventually stop retrying. The cross-request retry allowance wasn't being reimbursed upon receiving a successful response, so once this allowance reached zero, no further retries would ever be attempted.


0.37.0 (February 18th, 2022)
============================
**Breaking Changes:**
Expand Down
54 changes: 0 additions & 54 deletions CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,57 +10,3 @@
# references = ["smithy-rs#920"]
# meta = { "breaking" = false, "tada" = false, "bug" = false }
# author = "rcoh"

[[aws-sdk-rust]]
message = "Fixed a bug that caused clients to eventually stop retrying. The cross-request retry allowance wasn't being reimbursed upon receiving a successful response, so once this allowance reached zero, no further retries would ever be attempted."
references = ["smithy-rs#1197"]
meta = { "breaking" = false, "tada" = false, "bug" = true }
author = "jdisanti"

[[smithy-rs]]
message = "Fixed a bug that caused clients to eventually stop retrying. The cross-request retry allowance wasn't being reimbursed upon receiving a successful response, so once this allowance reached zero, no further retries would ever be attempted."
references = ["smithy-rs#1197"]
meta = { "breaking" = false, "tada" = false, "bug" = true }
author = "jdisanti"

[[smithy-rs]]
message = "`aws_smithy_types::retry::RetryKind` had its `NotRetryable` variant split into `UnretryableFailure` and `Unnecessary`. If you implement the `ClassifyResponse`, then successful responses need to return `Unnecessary`, and failures that shouldn't be retried need to return `UnretryableFailure`."
references = ["smithy-rs#1197"]
meta = { "breaking" = true, "tada" = false, "bug" = false }
author = "jdisanti"

[[smithy-rs]]
message = "`aws_smithy_types::primitive::Encoder` is now a struct rather than an enum, but its usage remains the same."
references = ["smithy-rs#1209"]
meta = { "breaking" = true, "tada" = false, "bug" = false }
author = "jdisanti"

[[smithy-rs]]
message = "`ClientBuilder` helpers `rustls()` and `native_tls()` now return `DynConnector` and use dynamic dispatch rather than returning their concrete connector type that would allow static dispatch. If static dispatch is desired, then manually construct a connector to give to the builder. For example, for rustls: `builder.connector(Adapter::builder().build(aws_smithy_client::conns::https()))` (where `Adapter` is in `aws_smithy_client::hyper_ext`)."
references = ["smithy-rs#1217"]
meta = { "breaking" = true, "tada" = false, "bug" = false }
author = "jdisanti"

[[aws-sdk-rust]]
message = "`ClientBuilder` helpers `rustls()` and `native_tls()` now return `DynConnector` so that they once again work when constructing clients with custom middleware in the SDK."
references = ["smithy-rs#1217", "aws-sdk-rust#467"]
meta = { "breaking" = false, "tada" = false, "bug" = true }
author = "jdisanti"

[[aws-sdk-rust]]
message = "`aws-sigv4` no longer skips the `content-length` and `content-type` headers when signing with `SignatureLocation::QueryParams`"
references = ["smithy-rs#1216"]
meta = { "breaking" = true, "tada" = false, "bug" = false }
author = "jdisanti"

[[aws-sdk-rust]]
message = "Fixed a bug in S3 that prevented the `content-length` and `content-type` inputs from being included in a presigned request signature. With this fix, customers can generate presigned URLs that enforce `content-length` and `content-type` for requests to S3."
references = ["smithy-rs#1216", "aws-sdk-rust#466"]
meta = { "breaking" = false, "tada" = false, "bug" = true }
author = "jdisanti"

[[aws-sdk-rust]]
message = "Made it possible to change settings, such as load timeout, on the credential cache used by the `DefaultCredentialsChain`."
references = ["smithy-rs#1220", "aws-sdk-rust#462"]
meta = { "breaking" = false, "tada" = true, "bug" = false }
author = "jdisanti"
12 changes: 12 additions & 0 deletions aws/SDK_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<!-- Do not manually edit this file, use `update-changelogs` -->
0.8.0 (Februrary 24, 2022)
==========================
**Breaking Changes:**
- ⚠ ([smithy-rs#1216](https://github.com/awslabs/smithy-rs/issues/1216)) `aws-sigv4` no longer skips the `content-length` and `content-type` headers when signing with `SignatureLocation::QueryParams`

**New this release:**
- 🎉 ([smithy-rs#1220](https://github.com/awslabs/smithy-rs/issues/1220), [aws-sdk-rust#462](https://github.com/awslabs/aws-sdk-rust/issues/462)) Made it possible to change settings, such as load timeout, on the credential cache used by the `DefaultCredentialsChain`.
- 🐛 ([smithy-rs#1197](https://github.com/awslabs/smithy-rs/issues/1197)) Fixed a bug that caused clients to eventually stop retrying. The cross-request retry allowance wasn't being reimbursed upon receiving a successful response, so once this allowance reached zero, no further retries would ever be attempted.
- 🐛 ([smithy-rs#1217](https://github.com/awslabs/smithy-rs/issues/1217), [aws-sdk-rust#467](https://github.com/awslabs/aws-sdk-rust/issues/467)) `ClientBuilder` helpers `rustls()` and `native_tls()` now return `DynConnector` so that they once again work when constructing clients with custom middleware in the SDK.
- 🐛 ([smithy-rs#1216](https://github.com/awslabs/smithy-rs/issues/1216), [aws-sdk-rust#466](https://github.com/awslabs/aws-sdk-rust/issues/466)) Fixed a bug in S3 that prevented the `content-length` and `content-type` inputs from being included in a presigned request signature. With this fix, customers can generate presigned URLs that enforce `content-length` and `content-type` for requests to S3.


0.7.0 (February 18th, 2022)
===========================
**Breaking Changes:**
Expand Down
12 changes: 12 additions & 0 deletions aws/sdk/aws-models/apprunner.json
Original file line number Diff line number Diff line change
Expand Up @@ -2618,6 +2618,18 @@
{
"value": "NODEJS_12",
"name": "NODEJS_12"
},
{
"value": "NODEJS_14",
"name": "NODEJS_14"
},
{
"value": "CORRETTO_8",
"name": "CORRETTO_8"
},
{
"value": "CORRETTO_11",
"name": "CORRETTO_11"
}
]
}
Expand Down
113 changes: 112 additions & 1 deletion aws/sdk/aws-models/budgets.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
{
"target": "com.amazonaws.budgets#DescribeBudgetActionsForBudget"
},
{
"target": "com.amazonaws.budgets#DescribeBudgetNotificationsForAccount"
},
{
"target": "com.amazonaws.budgets#DescribeBudgetPerformanceHistory"
},
Expand Down Expand Up @@ -561,6 +564,32 @@
"smithy.api#pattern": "^[^:\\\\]+$"
}
},
"com.amazonaws.budgets#BudgetNotificationsForAccount": {
"type": "structure",
"members": {
"Notifications": {
"target": "com.amazonaws.budgets#Notifications"
},
"BudgetName": {
"target": "com.amazonaws.budgets#BudgetName"
}
},
"traits": {
"smithy.api#documentation": "<p>\n The budget name and associated notifications for an account.\n </p>"
}
},
"com.amazonaws.budgets#BudgetNotificationsForAccountList": {
"type": "list",
"member": {
"target": "com.amazonaws.budgets#BudgetNotificationsForAccount"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 50
}
}
},
"com.amazonaws.budgets#BudgetPerformanceHistory": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -1749,6 +1778,78 @@
}
}
},
"com.amazonaws.budgets#DescribeBudgetNotificationsForAccount": {
"type": "operation",
"input": {
"target": "com.amazonaws.budgets#DescribeBudgetNotificationsForAccountRequest"
},
"output": {
"target": "com.amazonaws.budgets#DescribeBudgetNotificationsForAccountResponse"
},
"errors": [
{
"target": "com.amazonaws.budgets#AccessDeniedException"
},
{
"target": "com.amazonaws.budgets#ExpiredNextTokenException"
},
{
"target": "com.amazonaws.budgets#InternalErrorException"
},
{
"target": "com.amazonaws.budgets#InvalidNextTokenException"
},
{
"target": "com.amazonaws.budgets#InvalidParameterException"
},
{
"target": "com.amazonaws.budgets#NotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n\t\t\tLists the budget names and notifications that are associated with an account.\n\t\t</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"items": "BudgetNotificationsForAccount",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.budgets#DescribeBudgetNotificationsForAccountRequest": {
"type": "structure",
"members": {
"AccountId": {
"target": "com.amazonaws.budgets#AccountId",
"traits": {
"smithy.api#required": {}
}
},
"MaxResults": {
"target": "com.amazonaws.budgets#MaxResultsBudgetNotifications",
"traits": {
"smithy.api#documentation": "<p>\n\t\t\tAn integer that shows how many budget name entries a paginated response contains.\n\t\t</p>"
}
},
"NextToken": {
"target": "com.amazonaws.budgets#GenericString"
}
}
},
"com.amazonaws.budgets#DescribeBudgetNotificationsForAccountResponse": {
"type": "structure",
"members": {
"BudgetNotificationsForAccount": {
"target": "com.amazonaws.budgets#BudgetNotificationsForAccountList",
"traits": {
"smithy.api#documentation": "<p>\n\t\t\tA list of budget names and associated notifications for an account.\n\t\t</p>"
}
},
"NextToken": {
"target": "com.amazonaws.budgets#GenericString"
}
}
},
"com.amazonaws.budgets#DescribeBudgetPerformanceHistory": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -2479,6 +2580,16 @@
}
}
},
"com.amazonaws.budgets#MaxResultsBudgetNotifications": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.budgets#NotFoundException": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -2554,7 +2665,7 @@
"smithy.api#documentation": "<p> The threshold of a notification.</p>",
"smithy.api#range": {
"min": 0,
"max": 40000000000
"max": 15000000000000
}
}
},
Expand Down
Loading

0 comments on commit f7e1f08

Please sign in to comment.