Releases: awslabs/aws-sdk-rust
August 3rd 2021: Add IoT Data Plane and an Async Caching Credentials Provider
IoT Data Plane is now available! If you discover it isn't functioning as expected, please let us know!
This week also sees the addition of a robust async caching credentials provider. Take a look at the STS example to see how to use it.
To upgrade to the new release, update tag
to v0.0.14-alpha
:
[dependencies]
# eg. S3:
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.14-alpha" }
New This Week
- 🎉 Add IoT Data Plane (smithy-rs#624)
- 🎉 Add LazyCachingCredentialsProvider to aws-auth for use with expiring credentials, such as STS AssumeRole. Update STS example to use this new provider (smithy-rs#578, smithy-rs#595)
- 🐛 Correctly encode HTTP Checksums using base64 instead of hex. Fixes #164. (smithy-rs#615)
- Overhaul serialization/deserialization of numeric/boolean types. This resolves issues around serialization of NaN/Infinity and should also reduce the number of allocations required during serialization. (smithy-rs#618)
- Update SQS example to clarify usage of FIFO vs. standard queues (#162, @trevorrobertsjr)
Contributions
Thank you for your contributions! ❤️
July 28th 2021: (Almost) All Services!
🎉 This week's release includes most of the remaining AWS services (269 in total!).
Breaking changes
test-util
has been made an optional dependency and has moved from
aws-hyper to smithy-http. If you were relying onaws_hyper::TestConnection
, addsmithy-client
as a dependency
and enable the optionaltest-util
feature. This prunes some unnecessary dependencies onroxmltree
andserde_json
for most users. (smithy-rs#608)
New This Week
- 🎉 Release all but four remaining AWS services! Glacier, IoT Data Plane, Timestream DB and Transcribe Streaming will be available in a future release. If you discover that a service isn't functioning as expected please let us know! (smithy-rs#607)
- 🐛 Bugfix: Fix parsing bug where parsing XML incorrectly stripped whitespace (smithy-rs#590, #153)
- We now run some tests on Windows (smithy-rs#594)
- 🐛 Bugfix: Constrain RFC-3339 timestamp formatting to microsecond precision (smithy-rs#596, #152)
July 19th 2021: Add Autoscaling + Bug fixes
This week we've added Autoscaling and fixed an S3 bug.
To update to the new release, change your tag to v0.0.12-alpha.
New this Week
- 🎉 Add support for Autoscaling (#576, #582)
AsyncProvideCredentials
now introduces an additional lifetime parameter, simplifying bridging it with#[async_trait]
interfaces- Fix S3 bug when content type was set explicitly (aws-sdk-rust#131, #566, @eagletmt)
Contributions
Thank you for your contributions! ❤️
July 6th, 2021: AWS Config, EBS, Cognito & Snowball
This week, we've added AWS Config, EBS, Cognito, and Snowball. Projects that are implementing the ProvideCredentials
trait will need to update their imports and should consider using the new async_provide_credentials_fn
for async credential use-cases.
To update to the new release, change your tag to v0.0.11-alpha
.
New this Week
⚠️ Breaking Change:ProvideCredentials
andCredentialError
were both moved intoaws_auth::provider
when they were previously inaws_auth
(#572)- 🎉 Add support for AWS Config (#570)
- 🎉 Add support for EBS (#567)
- 🎉 Add support for Cognito (#573)
- 🎉 Add support for Snowball (#579, @landonxjames)
- Make it possible to asynchronously provide credentials with
async_provide_credentials_fn
(#572, #577) - Improve RDS, QLDB, Polly, and KMS examples (#561, #560, #558, #556, #550)
- Update AWS SDK models (#575)
- 🐛 Bugfix: Fill in message from error response even when it doesn't match the modeled case format (#565)
Contributions
Thank you for your contributions! ❤️
- landonxjames (#579)
June 29th 2021: ECR, EKS, Cloudwatch & Bug fixes
This week, we've added EKS, ECR and Cloudwatch. The JSON deserialization implementation has been replaced, please be
on the lookout for potential issues and compile time improvements.
To update to the new release, change your tag to v0.0.10-alpha
.
New this Week
- 🎉 Add support for ECR (smithy-rs#557)
- 🎉 Add support for Cloudwatch (smithy-rs#554)
- 🎉 Add support for EKS (smithy-rs#553)
⚠️ Breaking Change: httpLabel no longer causes fields to be non-optional. You may need to adapt code that uses models. (#537)⚠️ Breaking Change:Exception
is not renamed toError
. Code may need to be updated to replaceError
withException
when naming error shapes.⚠️ Breaking Change: Models are now in strict pascal case including acronyms (eg.dynamodb::model::{SSESpecification => SseSpecification}
)- Add more SES examples, and improve examples for Batch.
- Improved error handling ergonomics: Errors now provide
is_<variantname>()
methods to simplify error handling - 🐛 Bugfix: Fix bug in
create_multipart_upload
: #127 (smithy-rs#531, @eagletmt)
Contributors
Thank you for your contributions! ❤️
June 22th, 2021: CloudWatch Logs and Bug Fixes
This week, we've added CloudWatch Logs support and fixed several bugs in the generated S3 clients.
There are breaking changes on builders and unions this week.
To upgrade to the new release, update tag
to v0.0.9-alpha
:
[dependencies]
# eg. Cloudwatch Logs:
aws-sdk-cloudwatchlogs = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.9-alpha" }
New this Week
- 🎉 Add support for CloudWatch Logs (smithy-rs#526)
⚠️ Breaking Change: Theset_*
functions on generated Builders now always take anOption
(smithy-rs#506)⚠️ Breaking Change: Theas_*
functions on unions now returnResult
rather thanOption
to clearly indicate what the actual value is (smithy-rs#527)- Add more S3 examples, and improve SNS, SQS, and SageMaker examples. Improve example doc comments (smithy-rs#490, smithy-rs#508, smithy-rs#509, smithy-rs#510, smithy-rs#511, smithy-rs#512, smithy-rs#513, smithy-rs#524)
- Combine individual example packages into per-service example packages with multiple binaries (smithy-rs#481, smithy-rs#490)
- 🐛 Bugfix: Show response body in trace logs for calls that don't return a stream (smithy-rs#514)
- 🐛 Bugfix: Correctly parse S3's GetBucketLocation response (smithy-rs#516)
- 🐛 Bugfix: Fix S3 ListObjectsV2 for prefixes containing tilde characters (smithy-rs#519)
- 🐛 Bugfix: Fix S3 PutBucketLifecycle operation by adding support for the
@httpChecksumRequired
Smithy trait (smithy-rs#523) - 🐛 Bugfix: Correctly parse
x-amz-expiration
header on S3 GetObject responses (smithy-rs#525, @eagletmt)
Contributions
Thank you for your contributions! ❤️
June 15th, 2021: CloudFormation, SageMaker, EC2, and SES
This week, we've added CloudFormation, SageMaker, EC2, and SES. More details below.
To upgrade to the new release, update tag
to v0.0.8-alpha
:
[dependencies]
# eg. EC2:
aws-sdk-ec2 = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.8-alpha" }
New this Week
- 🎉 Add support for CloudFormation (smithy-rs#500, @alistaim)
- 🎉 Add support for SageMaker (smithy-rs#473, @alistaim)
- 🎉 Add support for EC2 (smithy-rs#495)
- 🎉 Add support for SES (smithy-rs#499)
- Add support for the EC2 Query protocol (smithy-rs#475)
- Refactor smithy/hyper connectors to enable client-specified middleware (smithy-rs#496, @jonhoo)
- 🐛 Bugfix: RFC-3339 timestamp formatting is no longer truncating zeros off of the number of seconds (smithy-rs#479, smithy-rs#489)
Contributors:
Thanks!!
June 8th, 2021: 9 new services added
This week we’ve added MediaLive, MediaPackage, SNS, Batch, STS, RDS, RDSData, Route53, and IAM. More details below.
To upgrade to the new release, update tag
to v0.0.7-alpha
:
[dependencies]
# eg. SNS:
aws-sdk-sns = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.7-alpha" }
New this Week
- Breaking change: Some string enums have changed case:
DynamoDB::{SSEStatus => SseStatus. SSEType => SseType}
- 🎉 Add support for MediaLive and MediaPackage (#449, @Alastaim)
- 🎉 Add support for SNS (smithy-rs#450)
- 🎉 Add support for Batch (smithy-rs#452)
- 🎉 Add support for STS. Note: This does not include support for an STS-based credential provider although an example is provided. (smithy-rs#453)
- 🎉 Add support for RDS (smithy-rs#455) and RDS-Data (smithy-rs#470). (@LMJW)
- 🎉 Add support for Route53 (smithy-rs#457, @alistaim)
- Support AWS Endpoints & Regions. With this update, regions like
iam-fips
andcn-north-1
will now resolve to the correct endpoint. Please report any issues with endpoint resolution. (smithy-rs#468) - 🐛 Primitive numerics and booleans are now filtered from serialization when they are 0 and not marked as required. This resolves issues where maxResults needed to be set even though it is optional & fixes errors during deserialization. (smithy-rs#451)
- 🐛 S3 Head Object returned the wrong error when the object did not exist (smithy-rs#460, fixes smithy-rs#456)
Contributors:
Thanks!
June 1st, 2021: SQS & ECS support
New this week:
- 🎉 Add support for SQS. SQS is our first service to use the awsQuery protocol. Please report any issues you may encounter.
- 🎉 Add support for ECS.
- Breaking Change: Refactored
smithy_types::Error
to be more flexible. Internal fields ofError
are now private and can now be accessed accessor functions. (smithy-rs#426) - Breaking change: Smithy Enums do not implement
serde::Serialize
ByteStream::from_path
now acceptsimplications AsRef<Path>
(@LMJW)- Add support for S3 extended request id (smithy-rs#429)
- Add support for the awsQuery protocol. smithy-rs can now add support for all services except EC2.
- Bugfix: Timestamps that fell precisely on minute boundaries were not properly formatted (smithy-rs#435)
- Improve documentation for
ByteStream
& addpub use ByteStream
to generated crates (smithy-rs#443) - Add support for
EndpointPrefix
needed fors3::WriteGetObjectResponse
(smithy-rs#420)
Contributors:
Thanks!
May 25th 2021: v0.0.5-alpha
You can install the new release by updating your dependencies to tag = "v0.0.5-alpha"
, eg.
[dependencies]
aws-sdk-s3 = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.5-alpha" }
New This Week
- 🎉 Add S3 support. S3 is the first protocol to use our new XML serializers which increases the likelihood of undiscovered issues. In addition, virtual addressing, dualstack and transfer acceleration are not currently supported. Please try it out and let us know if you run into any problems! (smithy-rs#398) 🎉
- 🎉 Add support for SSM. SSM was prioritized based on your votes—Please keep voting for the services and feature most important to you! (smithy-rs#393) 🎉
- Add request/response tracing. These can be enabled via tracing subscriber by setting:
RUST_LOG='smithy_http_tower::dispatch=trace,smithy_http::middleware=trace'
(smithy-rs#397) - Bugfix: Generated service docs were missing at the module level (smithy-rs#404)
ByteStream
can now be created fromPath
andFile
viaByteStream::from_path
(smithy-rs#412)- Example code now uses
write_all_buf
(#408, @LMJW) - The
Authorization
andx-amz-security-token
headers are now marked as sensitive and will be omitted from logs even when full request/response tracing is enabled
And more: See the corresponding smithy-rs release.
Contributors:
Thanks!