github awspring/spring-cloud-aws v4.0.0-M1
4.0.0-M1

pre-release12 hours ago

Reference documentation

📗 https://docs.awspring.io/spring-cloud-aws/docs/4.0.0-M1/reference/html/index.html

What's Changed

Spring Cloud AWS 4.0.0-M1 introduces compatibility with Spring Boot 4.0.0 and Spring Cloud 5.0.0. This milestone brings extensive improvements across SQS, SNS, S3, DynamoDB, and Kinesis, and marks the major merger of Spring Integration AWS into Spring Cloud AWS, a significant achievement that unifies the ecosystem and brings Spring Integration support directly into the project. It also includes substantial dependency upgrades.

Migration Guide

Since Spring Cloud AWS only supports Jackson 2 for now, you will either have to include the spring-boot-jackson2 dependency or create an ObjectMapper Bean. Auto-configuration will pick up the Jackson 2 ObjectMapper and configure the classes accordingly. In future releases, we will be supporting Jackson 3.

SQS

  • Support of handling multiple different objects by same @SqsListener is now possible by using @SqsHandler annotation by @joseiedo in #1377
  • Support for SNS message payload and metadata is now possible with SnsNotification @chomatdam in #1419
  • Add Error Handler Exponential and Linear Strategies by @brun0-4ugusto in #1422
  • Support for toggling SqsListener starting up on context startup with spring.cloud.aws.sqs.listener.auto-startup by @techadri in #1435
  • Add SemaphoreBackPressureHandler as an optional fallback by @tomazfernandes in #1524
  • Dynamically configure SemaphoreBackPressureHandler with BackPressureLimiter (#1251) by @loicrouchon in #1308
  • Refine BackPressureHandlerFactories API; clarify backpressure by @tomazfernandes in #1469
  • Consolidate ExponentialErrorHandlers by @tomazfernandes in #1474
  • Introduce automatic SQS request batching support component: sqs by @khc41 in #1438
  • fix: Visibility Timeout Extension for Fifo message Batches by @marcotesche in #1432
  • fix: future is cleaned now on exception failure by @dzmitry-dulko in #1455
  • Fix maxMessagesPerPoll validation message in AbstractContainerOptions by @richardfearn in #1480
  • Fix: remove failed queue attributes from cache by @LeeHyungGeol in #1491

SQS Integration

DynamoDb Integration

SNS Integration

DynamoDb

  • Enhance DefaultDynamoDbTableNameResolver with caching and improved table name resolution by @marcusvoltolim in #1464
  • Implement DynamoTemplate update partial using UpdateItemEnhancedRequest by @marcusvoltolim in #1448
  • Introduce conditional save, update and delete operation support for DynamoDB entities. Fixes #gh-1147 by @vyomrastogi in #1371

S3

S3 Integration

Kinesis Integration

STS

  • Configure STS Credentials provider only if either spring.cloud.aws.sts properties, system property or environment variable is set. by @maciejwalkowiak in #1444

SES

Aligh sending message with multiple MimeMessagePreparators with default implementation in JavaMailSender by @maciejwalkowiak #1503

Parameter Store

  • Custom exceptions are now logged by Spring Cloud AWS instead of Spring Core by @MatejNedic #1309

Core

Dependency Upgrades

Documentation

New Contributors

Full Changelog: v3.4.0...v4.0.0-M1

Don't miss a new spring-cloud-aws release

NewReleases is sending notifications on new releases.