Skip to content

Commit db01a7f

Browse files
Update changelog and tag release manifest
1 parent 8bcacf7 commit db01a7f

File tree

2 files changed

+79
-0
lines changed

2 files changed

+79
-0
lines changed

CHANGELOG.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,79 @@
11
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
2+
January 13th, 2023
3+
==================
4+
**Breaking Changes:**
5+
- ⚠🎉 ([smithy-rs#1784](https://github.com/awslabs/smithy-rs/issues/1784), [smithy-rs#2074](https://github.com/awslabs/smithy-rs/issues/2074)) Integrate Endpoints 2.0 into the Rust SDK. Endpoints 2.0 enables features like S3 virtual addressing & S3
6+
object lambda. As part of this change, there are several breaking changes although efforts have been made to deprecate
7+
where possible to smooth the upgrade path.
8+
1. `aws_smithy_http::endpoint::Endpoint` and the `endpoint_resolver` methods have been deprecated. In general, these usages
9+
should be replaced with usages of `endpoint_url` instead. `endpoint_url` accepts a string so an `aws_smithy_http::Endpoint`
10+
does not need to be constructed. This structure and methods will be removed in a future release.
11+
2. The `endpoint_resolver` method on `<service>::config::Builder` now accepts a service specific endpoint resolver instead
12+
of an implementation of `ResolveAwsEndpoint`. Most users will be able to replace these usages with a usage of `endpoint_url`.
13+
3. `ResolveAwsEndpoint` has been deprecated and will be removed in a future version of the SDK.
14+
4. The SDK does not support "pseudo regions" anymore. Specifically, regions like `iam-fips` will no longer resolve to a FIPS endpoint.
15+
- ⚠🎉 ([smithy-rs#1784](https://github.com/awslabs/smithy-rs/issues/1784), [smithy-rs#2074](https://github.com/awslabs/smithy-rs/issues/2074)) Add additional configuration parameters to `aws_sdk_s3::Config`.
16+
17+
The launch of endpoints 2.0 includes more configuration options for S3. The default behavior for endpoint resolution has
18+
been changed. Before, all requests hit the path-style endpoint. Going forward, all requests that can be routed to the
19+
virtually hosted bucket will be routed there automatically.
20+
- `force_path_style`: Requests will now default to the virtually-hosted endpoint `<bucketname>.s3.<region>.amazonaws.com`
21+
- `use_arn_region`: Enables this client to use an ARN’s region when constructing an endpoint instead of the client’s configured region.
22+
- `accelerate`: Enables this client to use S3 Transfer Acceleration endpoints.
23+
24+
Note: the AWS SDK for Rust does not currently support Multi Region Access Points (MRAP).
25+
- ⚠ ([smithy-rs#2108](https://github.com/awslabs/smithy-rs/issues/2108)) Move types for AWS SDK credentials to a separate crate.
26+
A new AWS runtime crate called `aws-credential-types` has been introduced. Types for AWS SDK credentials have been moved to that crate from `aws-config` and `aws-types`. The new crate is placed at the top of the dependency graph among AWS runtime crates with the aim of the downstream crates having access to the types defined in it.
27+
- ⚠ ([smithy-rs#2162](https://github.com/awslabs/smithy-rs/issues/2162)) `aws_config::profile::retry_config` && `aws_config::environment::retry_config` have been removed. Use `aws_config::default_provider::retry_config` instead.
28+
29+
**New this release:**
30+
- 🎉 ([smithy-rs#2168](https://github.com/awslabs/smithy-rs/issues/2168)) Add support for resolving FIPS and dual-stack endpoints.
31+
32+
FIPS and dual-stack endpoints can each be configured in multiple ways:
33+
1. Automatically from the environment and AWS profile
34+
2. Across all clients loaded from the same `SdkConfig` via `from_env().use_dual_stack(true).load().await`
35+
3. At a client level when constructing the configuration for an individual client.
36+
37+
Note: Not all services support FIPS and dual-stack.
38+
- ([smithy-rs#2152](https://github.com/awslabs/smithy-rs/issues/2152)) Add support for overriding profile name and profile file location across all providers. Prior to this change, each provider needed to be updated individually.
39+
40+
### Before
41+
```rust
42+
use aws_config::profile::{ProfileFileCredentialsProvider, ProfileFileRegionProvider};
43+
use aws_config::profile::profile_file::{ProfileFiles, ProfileFileKind};
44+
45+
let profile_files = ProfileFiles::builder()
46+
.with_file(ProfileFileKind::Credentials, "some/path/to/credentials-file")
47+
.build();
48+
let credentials_provider = ProfileFileCredentialsProvider::builder()
49+
.profile_files(profile_files.clone())
50+
.build();
51+
let region_provider = ProfileFileRegionProvider::builder()
52+
.profile_files(profile_files)
53+
.build();
54+
55+
let sdk_config = aws_config::from_env()
56+
.credentials_provider(credentials_provider)
57+
.region(region_provider)
58+
.load()
59+
.await;
60+
```
61+
62+
### After
63+
```rust
64+
use aws_config::profile::{ProfileFileCredentialsProvider, ProfileFileRegionProvider};
65+
use aws_config::profile::profile_file::{ProfileFiles, ProfileFileKind};
66+
67+
let profile_files = ProfileFiles::builder()
68+
.with_file(ProfileFileKind::Credentials, "some/path/to/credentials-file")
69+
.build();
70+
let sdk_config = aws_config::from_env()
71+
.profile_files(profile_files)
72+
.load()
73+
.await;
74+
/// ```
75+
76+
277
December 14th, 2022
378
===================
479
**Breaking Changes:**

versions.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,6 +2106,10 @@ source_hash = '5154fa71362bea32266b76d677f1d5ad929b2c6ebd9a5930dd91762d2237e515'
21062106
category = 'AwsRuntime'
21072107
version = '0.53.0'
21082108
source_hash = 'e7a2823960327e31238a74f73c67e4690548cd679fa2c4610369a2f699e03a7a'
2109+
2110+
[release]
2111+
tag = 'release-2023-01-13'
2112+
21092113
[release.crates]
21102114
aws-config = '0.53.0'
21112115
aws-credential-types = '0.53.0'

0 commit comments

Comments
 (0)