Skip to content

Releases: awslabs/aws-sdk-rust

August 3rd 2021: Add IoT Data Plane and an Async Caching Credentials Provider

03 Aug 21:26
c0905d9
Compare
Choose a tag to compare

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!

28 Jul 17:16
7c5f375
Compare
Choose a tag to compare
Pre-release

🎉 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 on aws_hyper::TestConnection, add smithy-client as a dependency
    and enable the optional test-util feature. This prunes some unnecessary dependencies on roxmltree and serde_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

20 Jul 00:08
d61aa95
Compare
Choose a tag to compare

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

06 Jul 20:08
6780fde
Compare
Choose a tag to compare

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 and CredentialError were both moved into aws_auth::provider when they were previously in aws_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

30 Jun 00:32
abe0ae5
Compare
Choose a tag to compare

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 to Error. Code may need to be updated to replace Error with Exception 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

22 Jun 22:23
52164d5
Compare
Choose a tag to compare

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

Contributions

Thank you for your contributions! ❤️

June 15th, 2021: CloudFormation, SageMaker, EC2, and SES

15 Jun 19:52
2d87693
Compare
Choose a tag to compare

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

Contributors:

Thanks!!

June 8th, 2021: 9 new services added

08 Jun 15:40
1b923f8
Compare
Choose a tag to compare
Pre-release

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 and cn-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

01 Jun 18:35
b0049d2
Compare
Choose a tag to compare
Pre-release

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 of Error 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 accepts implications 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 & add pub use ByteStream to generated crates (smithy-rs#443)
  • Add support for EndpointPrefix needed for s3::WriteGetObjectResponse (smithy-rs#420)

Contributors:

Thanks!

May 25th 2021: v0.0.5-alpha

25 May 17:05
00c6d6f
Compare
Choose a tag to compare
Pre-release

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 from Path and File via ByteStream::from_path (smithy-rs#412)
  • Example code now uses write_all_buf (#408, @LMJW)
  • The Authorization and x-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!