Skip to content

Commit 2113efb

Browse files
Update changelog and tag release manifest
1 parent e2a60da commit 2113efb

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,44 @@
11
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
2+
August 31st, 2022
3+
=================
4+
**Breaking Changes:**
5+
- ⚠ ([smithy-rs#1641](https://github.com/awslabs/smithy-rs/issues/1641)) Refactor endpoint resolution internals to use `aws_smithy_types::Endpoint` internally. The public internal
6+
functions `aws_endpoint::set_endpoint_resolver` and `aws_endpoint::get_endpoint_resolver were removed.
7+
- 🐛⚠ ([smithy-rs#1274](https://github.com/awslabs/smithy-rs/issues/1274)) Lossy converters into integer types for `aws_smithy_types::Number` have been
8+
removed. Lossy converters into floating point types for
9+
`aws_smithy_types::Number` have been suffixed with `_lossy`. If you were
10+
directly using the integer lossy converters, we recommend you use the safe
11+
converters.
12+
_Before:_
13+
```rust
14+
fn f1(n: aws_smithy_types::Number) {
15+
let foo: f32 = n.to_f32(); // Lossy conversion!
16+
let bar: u32 = n.to_u32(); // Lossy conversion!
17+
}
18+
```
19+
_After:_
20+
```rust
21+
fn f1(n: aws_smithy_types::Number) {
22+
use std::convert::TryInto; // Unnecessary import if you're using Rust 2021 edition.
23+
let foo: f32 = n.try_into().expect("lossy conversion detected"); // Or handle the error instead of panicking.
24+
// You can still do lossy conversions, but only into floating point types.
25+
let foo: f32 = n.to_f32_lossy();
26+
// To lossily convert into integer types, use an `as` cast directly.
27+
let bar: u32 = n as u32; // Lossy conversion!
28+
}
29+
```
30+
- ⚠ ([smithy-rs#1699](https://github.com/awslabs/smithy-rs/issues/1699)) Bump [MSRV](https://github.com/awslabs/aws-sdk-rust#supported-rust-versions-msrv) from 1.58.1 to 1.61.0 per our policy.
31+
32+
**New this release:**
33+
- 🎉 ([smithy-rs#1598](https://github.com/awslabs/smithy-rs/issues/1598)) Service configs are now generated with new accessors for:
34+
- `Config::retry_config()` - Returns a reference to the inner retry configuration.
35+
- `Config::timeout_config()` - Returns a reference to the inner timeout configuration.
36+
- `Config::sleep_impl()` - Returns a clone of the inner async sleep implementation.
37+
38+
Previously, these were only accessible through `SdkConfig`.
39+
- 🐛🎉 ([aws-sdk-rust#609](https://github.com/awslabs/aws-sdk-rust/issues/609)) The AWS S3 `GetObjectAttributes` operation will no longer fail with an XML error.
40+
41+
242
August 8th, 2022
343
================
444
**Breaking Changes:**

versions.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,6 +1963,10 @@ source_hash = 'aaca70df9f7779b46c5f231d3f9aa903c474ff454ab8ad4004506ea40fa050b3'
19631963
category = 'AwsRuntime'
19641964
version = '0.48.0'
19651965
source_hash = '117a7d3601ab227f7708d0ed1abb0f72c7f7db65e62a59a1e297b7537547a646'
1966+
1967+
[release]
1968+
tag = 'release-2022-08-31'
1969+
19661970
[release.crates]
19671971
aws-config = '0.48.0'
19681972
aws-endpoint = '0.48.0'

0 commit comments

Comments
 (0)