Skip to content

Commit cfcc39c

Browse files
authored
Add changelog for enabling retries by default (#4454) (#4492)
Adds missing changelog entry for PR #4454 which enabled retries by default for AWS SDK clients starting with `BehaviorVersion::v2026_01_12()`.
1 parent 481f218 commit cfcc39c

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.changelog/1769183956.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
applies_to:
3+
- client
4+
- aws-sdk-rust
5+
authors:
6+
- vcjana
7+
references:
8+
- smithy-rs#4454
9+
- smithy-rs#4467
10+
- aws-sdk-rust#1389
11+
breaking: true
12+
new_feature: true
13+
bug_fix: false
14+
---
15+
Enable retries by default for AWS SDK clients using `BehaviorVersion::v2026_01_12()` or later.
16+
17+
Previously, retries were only enabled when constructing clients via `aws_config::load_from_env()`. Clients constructed directly using `Client::from_conf()` did not have retries enabled, which was inconsistent with AWS SDK behavior in other languages.
18+
19+
This change affects AWS SDK clients constructed with `Client::from_conf()` when using `BehaviorVersion::v2026_01_12()` or `BehaviorVersion::latest()`. Generic Smithy clients (non-AWS) are not affected.
20+
21+
To disable retries:
22+
```rust
23+
let config = aws_sdk_s3::Config::builder()
24+
.retry_config(RetryConfig::disabled())
25+
// ...
26+
.build();
27+
```
28+
29+
For more context, see the [discussion on retry behavior](https://github.com/smithy-lang/smithy-rs/discussions/4466).

0 commit comments

Comments
 (0)