Skip to content

Releases: awspring/spring-cloud-aws

3.0.3

06 Nov 07:37
e739584
Compare
Choose a tag to compare

Reference documentation

πŸ“— https://docs.awspring.io/spring-cloud-aws/docs/3.0.3/reference/html/index.html

What's Changed

SQS

  • Add manual container instantiation sample by @mcruzdev in #788
  • Add Validator setter in EndpointRegistrar by @maksym-telepchuk-ocado in #893
  • Enhance SqsAutoConfiguration to use an available ObjectMapper by @postalservice14 in #906
  • Add acknowledgement mode on @SqsListener annotation by @jvcalassio in #870

S3

  • Fix S3 file listing if the prefix resolves to slash by @klopfdreh in #912
  • Add a method to check if bucket exists in S3Template by @straurob in #915
  • Fix S3Presigner region resolution by @anappi-vc in #937

Parameter Store

  • Adds array properties support to Parameter Store by @deki in #894
  • Add option to set property prefix on Parameter Store property sources by @beccagaspard in #927

Secrets Manager

SNS

Core

  • Fixed AwsClientCustomizer to handle asyncHttpClientBuilder properly by @mokamoto12 in #875

Documentation

Dependency Updates

  • Upgrade Spring Cloud Commons to 4.0.4 by @straurob in #916
  • Upgrade AWS SDK v2 to 2.21.12
  • Upgrade Amazon DAX Client to 2.0.4
  • Upgrade AWS CRT to 0.28.3

New Contributors

Full Changelog: v3.0.2...v3.0.3

3.0.2

15 Aug 11:05
Compare
Choose a tag to compare

Reference documentation

πŸ“— https://docs.awspring.io/spring-cloud-aws/docs/3.0.2/reference/html/index.html

What's Changed

SQS

  • Fix corePoolSize so that maximum number of messages (maxConcurrentMessages * number of queues) are processed simultaneously. by @mokamoto12 in #833
  • Add support for autoStartup by @marcinmilewski93 in #827
  • Ability to set SmartLifecycle.phase to SqsMessageListenerContainer/DefaultListenerContainerRegistry by @estigma88 in #821
  • Fix the position of log parameters by @tw-kang-namas in #853

S3

  • Add S3Client listObjects support in S3Template by @alexisgra in #831

New Contributors

Full Changelog: v3.0.1...v3.0.2

3.0.1

11 May 06:27
0423ef8
Compare
Choose a tag to compare

Reference documentation

πŸ“— https://docs.awspring.io/spring-cloud-aws/docs/3.0.1/reference/html/index.html

What's Changed

S3

  • Implement utilities() and waiter() methods in CrossRegionS3Client that delegate to default S3 client. by @maciejwalkowiak in #798
  • S3Resource improved getURL handling by @klopfdreh in #795

getURL() method on S3Resource respects now spring.cloud.aws.s3.path-style-access-enabled property. For example, for bucket 's3resourcetestand keynew-file.txt`:

SQS

  • Conditionally add a random UUID dedup ID if the queue isn't configured for content based deduplication by @jwilmoth-nc in #799

Fixed a bug where for sending messages to FIFO queues the framework would generate a random UUID for missing messageDeduplicationId even if content-based deduplication was enabled on AWS.

Now the framework will only generate a UUID for missing messageDeduplicationId if content-based deduplication is disabled.

Projects that depend on FIFO content-based deduplication should upgrade to 3.0.1 since the bug can lead to duplicated messages being sent.

Parameter Store

Dependency upgrades

Samples

New Contributors

Full Changelog: v3.0.0...v3.0.1

3.0.0

02 May 11:45
bf91576
Compare
Choose a tag to compare

Spring Cloud AWS 3.0 is a rewrite of the project using AWS SDK v2 for Java. Since this has required a major refactoring, we took it as an opportunity to revisit all the assumptions and integrations modules. As a result, we've produced a library that is lightweight, flexible, causes less headache and provides simple to use abstractions.

Spring Cloud AWS 3.0 is compatible with Spring Boot 3.0+.

Reference documentation

To understand the full scope of changes we recommend going through the change list for each milestone and release candidate version:

Since a lot of things have changed, we strongly recommend going through the (completely rewritten) reference documentation:

πŸ“— https://docs.awspring.io/spring-cloud-aws/docs/3.0.0/reference/html/index.html

What's Changed between 3.0.0 RC2 and 3.0.0

Core

  • Autoconfigure StsWebIdentityTokenFileCredentialsProvider by @eduanb in #691
  • Update AWS SDK v2 to 2.20.55 version by @MatejNedic in #784

SQS

S3

SES

  • Add option to configure sourceArn for SES integration by @schjan79 in #762

SNS

  • Resolve SNS topic ARN by full topic name by @jkatnik in #756

CloudWatch

  • Align CloudWatch properties names to match Spring Boot 3.0 conventions by @thake in #779

Feedback

We are aware that this release breaks existing code but this was the only sensible way we could evolve the framework and meet the demand in constrained time we have. We are very open for your feedback and appreciate any shoutout on social media and Github ⭐️.

This release would not happen without our wonderful community. Big thanks for your bug reports, ideas and pull requests!

New Contributors since version 2.4.0

Big thanks to all contributors! πŸ™‚

Full Changelog: v2.4.0...v3.0.0

3.0.0-RC2

25 Mar 21:29
df4b473
Compare
Choose a tag to compare

Reference documentation

πŸ“— https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-RC1/reference/html/index.html

What's Changed

S3

SNS

Secrets Manager & Parameter Store

SQS

DynamoDB

  • Add option to set DynamoDB table prefix. by @arunkpatra in #726
  • Add support for indexes in scans and queries in DynamoDbTemplate by @MatejNedic in #680

Other

New Contributors

Big thanks to all contributors! πŸ™‚

Full Changelog: v3.0.0-RC1...v3.0.0-RC2

2.4.4

02 Feb 05:34
98b6ac1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.3...v2.4.4

3.0.0-RC1

30 Jan 08:18
91d8c7b
Compare
Choose a tag to compare

Spring Cloud AWS 3.0 RC1 brings all the features that are planned for the 3.0 release.

πŸ“— https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-RC1/reference/html/index.html

The most notable features added in RC1 are:

SqsTemplate

SqsTemplate is an higher level abstraction on the top of SqsAsyncClient for sending and receiving messages imperatively:

SendResult<String> result = template.send(to -> to.queue("myQueue")
    .payload("myPayload")
    .header("myHeaderName", "myHeaderValue")
    .headers(Map.of("myOtherHeaderName", "myOtherHeaderValue"))
    .delaySeconds(10)
);

Go to reference documentation for more details.

S3 URL signing

S3Template integrates now with S3Presigner for creating signed URLs

URL signedGetUrl = s3Template.createSignedGetUrl("bucket_name", "file.txt", Duration.ofMinutes(5));

Go to reference documentation for more details.

Secrets Manager

Secrets Manager integration now supports binary secrets and allows setting properties prefix to avoid collision with other property sources.

spring.config.import=optional:aws-secretsmanager:/secrets/database-secrets?prefix=db.

Go to reference documentation for more details.

What's Changed

SQS

S3

DynamoDB

Secrets Manager

Core

Other

Feedback

We are aware that 3.0 release breaks existing code but this was the only sensible way we could evolve the framework and meet the demand in constrained time we have. We are very open for your feedback and appreciate any shoutout on social media and Github ⭐️.

This release would not happen without our wonderful community. Big thanks for your bug reports, ideas and pull requests!

New Contributors

Full Changelog: v3.0.0-M3...v3.0.0-RC1

2.4.3

29 Jan 08:05
9930ac4
Compare
Choose a tag to compare

What's Changed

Big thanks to all contributors!

πŸ“— https://docs.awspring.io/spring-cloud-aws/docs/2.4.3/reference/html/index.html

New Contributors

Full Changelog: v2.4.2...v2.4.3

v3.0.0-M3

23 Oct 08:19
Compare
Choose a tag to compare

Spring Cloud AWS 3.0.0 M3 is the first release compatible with Spring Boot 3.0. At the same time, there is no compatibility anymore with Spring Boot 2.x.

The most notable changes:

πŸ“— https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-M3/reference/html/index.html

Full Changelog: v3.0.0-M2...v3.0.0-M3

Big thanks to all contributors!

Other changes

New Contributors

Full Changelog: v3.0.0-M2...v3.0.0-M3

3.0.0-M2

02 Sep 19:23
0c1fbff
Compare
Choose a tag to compare

M2 is the next milestone in our journey to rewrite Spring Cloud AWS to use AWS SDK v2.

The most important changes since M1:

SQS

Completely rewritten SQS integration πŸ”₯ #374:

  • auto-configuration for SqsAsyncClient
  • support for @SqsListener
  • ability to create SQS listener with simple lambda without annotation
  • support for batch listeners
  • support for FIFO queues
  • @SqsTest annotation for slice testing of SQS listeners

SqsTemplate for sending messages will be added in M3.

DynamoDB

New integration #339 πŸš€

CloudWatch

  • auto-configuration for micrometer-registry-cloudwatch2 #237

S3

Improvement to S3Resource:

  • Add Ability to get metadata via S3Resource #451

Improvements to cross-region S3 client:

  • Read bucket region from redirect header #453
  • Use status code instead of message to detect region change #459

πŸ“— https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-M2/reference/html/index.html

Full Changelog: v3.0.0-M1...v3.0.0-M2

Big thanks to all contributors!

What's Changed

New Contributors

Full Changelog: v3.0.0-M1...v3.0.0-M2