Releases: awspring/spring-cloud-aws
3.2.1
Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.2.1/reference/html/index.html
What's Changed
- Fix for
InMemoryBufferingS3OutputStreamwrongly appliescontentLengthtoUploadPartRequestcausing timeout by @Mobe91 in #1249 - Update Spring Modulith by @maciejwalkowiak in #1260
Full Changelog: v3.2.0...v3.2.1
3.0.5
Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.0.5/reference/html/index.html
What's Changed
S3
- Make
getUrlreturn location of bucket if object is empty ornullby @MatejNedic in #1226
3.2.0
Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.2.0/reference/html/index.html
What's Changed
Spring Cloud AWS 3.2.0 brings compatibility with Spring Boot 3.3.x and contains all changes introduced in version 3.2.0-M1.
Highlights
Simplified integration testing with LocalStack through new modules:
spring-cloud-aws-testcontainers- adds support for@ServiceConnection&LocalStackContainerspring-cloud-aws-docker-compose- support for LocalStack via Docker Compose integration by @dominik-kovacs in #1123
Integration with Spring Modulith:
- SQS and SNS integration for Spring Modulith's Externalized Events has been migrated to Spring Cloud AWS by @maciejwalkowiak in #1068
SQS
SqsMessageListenerContainerfails fast if queue names are not all FIFO or Standard by @internetstaff in #1001- Add default behaviour for queue not found strategy by @tomazfernandes in #1190
- Batch now supports
@SnsNotificationpayload by @tomazfernandes in #1191 - Enable receiving messages from different message groups in the same batch for FIFO queues by @tomazfernandes in #1192
- Add
BatchVisibilitylistener method parameter by @tomazfernandes in #1193 - Auto-configure default
MessageConverterby @tomazfernandes in #1194 - Enable
SqsMessagingMessageConverterto handle JSON Strings with JSON Mime Type by @tomazfernandes in #1195
DynamoDb
- Delete operation now returns entity which was deleted @MatejNedic in #1185
S3
- Make
getUrlreturn location of bucket if object is empty ornullby @MatejNedic in #1158
SES
- Fix: when sending emails field 'to' is not taking into consideration when sending CC and BCC types @buckett in #1174
Docker Compose
- Add LocalStack docker compose support by @dominik-kovacs in #1123
Dependencies
- Upgrade AWS SDK to 2.25.70 by @maciejwalkowiak in #1207
New Contributors
- @elkkhan made their first contribution in #1128
- @lawseff made their first contribution in #1139
- @internetstaff made their first contribution in #1001
- @manakbisht made their first contribution in #1151
- @buckett made their first contribution in #1174
- @dominik-kovacs made their first contribution in #1123
Full Changelog: v3.2.0-M1...v3.2.0
3.2.0 M1
Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.2.0-M1/reference/html/index.html
What's Changed
Testcontainers
Added a module spring-cloud-aws-testcontainers that simplifies testing Spring Cloud AWS against LocalStack:
- Add
@ServiceConnectionsupport. by @maciejwalkowiak in #1075 - Add
LocalstackAwsClientFactoryto simplify creating AWS clients pointing to LocalStack by @maciejwalkowiak in #1106
Spring Modulith
SQS and SNS integration for Spring Modulith's Externalized Events has been migrated to Spring Cloud AWS:
- Add Spring Modulith integration with SQS and SNS by @maciejwalkowiak in #1068
SQS
- Document behavior change when sending / receiving List of messages. by @alexisgra in #1101
- Polished Javadocs examples in
SqsMessageListenerContainerandSqsMessageListenerContainerFactoryby @sefabal in #1102
S3
- Remove Cross Region S3 client. by @maciejwalkowiak in #1103
Core
- Add
@NestedConfigurationPropertyto display profile name and path when configuring application properties by @kcsurapaneni in #1109 - Upgrade AWS SDK to 2.25.21 by @edelauna in #1115
Secrets Manager
- Auto-configure
SecretsManagerClienteven if config import is not used. by @maciejwalkowiak in #1114
SNS
New Contributors
- @sefabal made their first contribution in #1102
- @kcsurapaneni made their first contribution in #1109
- @edelauna made their first contribution in #1115
- @sondemar made their first contribution in #1105
Full Changelog: v3.1.1...v3.2.0-M1
3.1.1
Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.1.1/reference/html/index.html
What's Changed
SQS
- Fix:
QueueAttributesResolverthrows when creating Fifo queue (#995) by @tomazfernandes in #1002 - Fix: Permits are not released when Conversion Error happens. by @tomazfernandes in #1090
- Fix: Acknowledgement Graceful Shutdown. @tomazfernandes in #1082
- Fix: Add Missing Synchronization in Ack Buffer Access by @tomazfernandes in #1038
- Fix: time unit in log message for slow acknowledgements by @PatrickGotthard in #1030
- Deserialize SNS messages posted to SQS queue with
@SnsNotificationMessageby @msosa in #898 - Simplify not adding type header when sending a message with
SqsTemplate. (#659) by @levys17 in #1066 - Add support for Spring Retry
BackOffPolicywhen SQS Polling thread throws an exception. by @tomazfernandes in #1008 - Document default value for Acknowledgement Shutdown Timeout and Listener Shutdown Timeout by @mt-ocado in #1034
- Document changes in sending & receiving list of messages between 2.x and 3.x (#1101) by @alexisgra
- Fixed legacy Javadoc examples in
SqsMessageListenerContainerandSqsMessageListenerContainerFactory(#1102) by @sefabal
Simple Email Service`
- Add
configurationSetNameconfiguration property by @thomas-burko in #1007 - Add
fromArnconfiguration property @thomas-burko in #1026
Parameter Store and Secrets Manager
- Secrets Manager integration can be disabled by setting
enablefield to false. by @maciejwalkowiak in #1009 - Parameter Store integration can be disabled by setting
enablefield to false. @MatejNedic in #1039 - Update documentation on reload feature in Parameter Store and Secrets Manager by @maciejwalkowiak in #1088
- Added trailing slash to parameter store examples by @thelateperseus in #1086
- Parameter Store 2.x.x -> to 3.x.x migration documentation @rratliff in #1032
DynamoDb
- DynamoDb integration now supports global suffix automatically assigned to table names via global property. @vldr-ivakhnenko in #1081
Core
AnonymousCredentialsProvideris used now with by default when STS integration is enabled @MatejNedic in #1089- Fixed property name
StsProperties#asyncCredentialsUpdateby @MatejNedic in #1011
Dependency Upgrades
- Upgrade AWS SDK to 2.21.46 by @maciejwalkowiak in #1085
New Contributors
- @thomas-burko made their first contribution in #1007
- @PatrickGotthard made their first contribution in #1030
- @rratliff made their first contribution in #1032
- @thelateperseus made their first contribution in #1086
- @vldr-ivakhnenko made their first contribution in #1081
- @msosa made their first contribution in #898
- @levys17 made their first contribution in #1066
Big thanks to all contributors! 🙂
Full Changelog: v3.1.0...v3.1.1
3.1.0
Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.1.0/reference/html/index.html
What's Changed
Spring Cloud AWS 3.1.0 brings compatibility with Spring Boot 3.2.x and contains all changes introduced in version 3.0.4.
Secrets Manager
Dependencies
- Upgrade to Spring Cloud 4.1.0 by @maciejwalkowiak in #981
New Contributors
3.0.4
Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.0.4/reference/html/index.html
What's Changed
DynamoDB
- Configure DynamoDb TableSchema as a bean by @maciejwalkowiak in #957
S3
- fix: correct conditional for S3CrtAsyncClientAutoConfiguration by @iuliiasobolevska in #970
- Add support for SDK's cross-region S3 client. by @maciejwalkowiak in #960
- Fix S3Template.createSignedPutURL not applying given ObjectMetadata by @LucasJC in #974
- Add S3Client objectExists support in S3Template by @Ziemowit in #978
- apply path-style-access-enabled config to CRT client by @chrisrhut in #872
Core
- Fix startup when only base starter is included in classpath. by @maciejwalkowiak in #955
SQS
- Add ContentBasedDeduplication option when sending SQS messages (#938) by @tomazfernandes in #987
Maintenance
New Contributors
- @iuliiasobolevska made their first contribution in #970
- @LucasJC made their first contribution in #974
- @Ziemowit made their first contribution in #978
- @chrisrhut made their first contribution in #872
Big thanks to all contributors! 🙂
Full Changelog: v3.0.3...v3.0.4
3.0.3
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
EndpointRegistrarby @maksym-telepchuk-ocado in #893 - Enhance
SqsAutoConfigurationto use an availableObjectMapperby @postalservice14 in #906 - Add acknowledgement mode on
@SqsListenerannotation 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
S3Templateby @straurob in #915 - Fix
S3Presignerregion 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
- Log reason why retrieving secrets failed. by @maciejwalkowiak in #928
SNS
- Set more detailed data type on
timestampattribute in SNS message. by @maciejwalkowiak in #932
Core
- Fixed
AwsClientCustomizerto handleasyncHttpClientBuilderproperly by @mokamoto12 in #875
Documentation
- Update docs and labels to use correct casing for LocalStack by @tinyg210 in #895
- Fix link to index page from appendix. by @maciejwalkowiak in #930
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
- @maksym-telepchuk-ocado made their first contribution in #893
- @postalservice14 made their first contribution in #906
- @tinyg210 made their first contribution in #895
- @straurob made their first contribution in #916
- @deki made their first contribution in #894
- @anappi-vc made their first contribution in #937
- @beccagaspard made their first contribution in #927
- @jvcalassio made their first contribution in #870
Full Changelog: v3.0.2...v3.0.3
3.0.2
Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.0.2/reference/html/index.html
What's Changed
SQS
- Fix
corePoolSizeso 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
- @mokamoto12 made their first contribution in #833
- @marcinmilewski93 made their first contribution in #827
- @estigma88 made their first contribution in #821
- @tw-kang-namas made their first contribution in #853
- @alexisgra made their first contribution in #831
Full Changelog: v3.0.1...v3.0.2
3.0.1
Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.0.1/reference/html/index.html
What's Changed
S3
- Implement
utilities()andwaiter()methods inCrossRegionS3Clientthat 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`:
- with
spring.cloud.aws.s3.path-style-access-enabledset tofalse,getURL()returns: https://s3resourcetest.s3.eu-west-1.amazonaws.com/new-file.txt - with
spring.cloud.aws.s3.path-style-access-enabledset totrue,getURL()returns: https://s3.eu-west-1.amazonaws.com/s3resourcetest/new-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
- Upgrade AWS SDK to 2.20.63 by @maciejwalkowiak in #805
- Upgrade AWS CRT to 0.21.14 by @maciejwalkowiak in #806
Samples
New Contributors
- @jwilmoth-nc made their first contribution in #799
Full Changelog: v3.0.0...v3.0.1