Skip to content

Releases: awslabs/aws-sdk-rust

August 11th, 2021

11 Aug 22:30
ce01df4
Compare
Choose a tag to compare
August 11th, 2021 Pre-release
Pre-release

This release primarily contains internal changes to runtime components & updates to AWS models.

Breaking changes

  • (smithy-rs#635) The config(), config_mut(), request(), and request_mut() methods on operation::Request have been renamed to properties(), properties_mut(), http(), and http_mut() respectively.

  • (smithy-rs#635) The Response type on Tower middleware has been changed from http::Response<SdkBody> to operation::Response. The HTTP response is still available from the operation::Response using its http() and http_mut() methods.

  • (smithy-rs#635) The ParseHttpResponse trait's parse_unloaded() method now takes an operation::Response rather than an http::Response<SdkBody>.

  • (smithy-rs#626) ParseHttpResponse no longer has a generic argument for the body type, but instead, always uses SdkBody. This may cause compilation failures for you if you are using Smithy generated types to parse JSON or XML without using a client to request data from a service. The fix should be as simple as removing <SdkBody> in the example below:

    Before:

    let output = <Query as ParseHttpResponse<SdkBody>>::parse_loaded(&parser, &response).unwrap();

    After:

    let output = <Query as ParseHttpResponse>::parse_loaded(&parser, &response).unwrap();

New This Week

  • The closure passed to async_provide_credentials_fn can now borrow values (smithy-rs#637)
  • Bring in the latest AWS models (smithy-rs#630)

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!