Releases: awslabs/aws-sdk-rust
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!
May 18th 2021: v0.0.4-alpha
You can install the new release by updating your dependencies to tag = "v0.0.4-alpha"
, eg.
[dependencies]
aws-sdk-lambda = { git = "https://github.com/awslabs/aws-sdk-rust", tag = "v0.0.4-alpha" }
New this week:
- 🎉 Add support for AWS Lambda (smithy-rs#361, @richardhboyd) 🎉
- Generate docs automatically and host on GitHub Pages: https://awslabs.github.io/aws-sdk-rust/ (#81)
- Add support for streaming request bodies. This is technically a breaking change but no currently generated AWS services expose this type. (smithy-rs#359)
- Types represented by the Smithy
Set
type now generateVec<T>
in all cases. This is also technically breaking but not currently exposed. (smithy-rs#270) - Bugfix: The
.message()
field of errors will now look for bothmessage
andMessage
in the model (smithy-rs#374) - Add support for the
AWS_REGION
environment variable. (smithy-rs#362) - The request type generated by the fluent builders, eg.
dynamodb.list_tables()
is nowDebug
(smithy-rs#377, @declanvk)
And more: See the corresponding smithy-rs release.
Contributors:
- @richardhboyd
- @declanvk
- @jdisanti2019
- @rcoh
Thanks!
May 6th Alpha Release v0.0.3-alpha
New this week:
- Fix stack overflow in
SdkBody
Debug implementation - Upgrade to Smithy 1.7. This adds support for several new API Gateway endpoints
- Add support for streaming response bodies. This is currently only used in Polly
- Added code examples for Kinesis
More details in smithy-rs: https://github.com/awslabs/smithy-rs/releases/tag/v0.8
April 27th Alpha
Merge pull request #49 from awslabs/Doug-AWS-patch-env Update README.md