Reference documentation
📗 https://docs.awspring.io/spring-cloud-aws/docs/3.3.0/reference/html/index.html
What's Changed
Spring Cloud AWS 3.3.0 brings compatibility with Spring Boot 3.4 and Spring Cloud 2024.0. Highlights:
- experimental support for GraalVM native image builds contributed by @MatejNedic
- auto-configuration of amazon-s3-encryption-client-java for effortless encryption objects on the client side before they get sent to S3 by @MatejNedic (docs)
- Add support for
spring.config.import
with S3 backend by @kunalvarpe in #849
- auto-configuration of aws-s3-accessgrants-plugin-java-v2 by @MatejNedic (docs)
- populating Spring property source from EC2 instance metadata by @kennyk65 (docs)
- reworked and simplified customizing AWS client beans by @maciejwalkowiak (docs)
Full list of changes:
Core
- Automatically populate
PropertySource
with instance metadata when running within an EC2-based environment by @kennyk65 in #962 - Add client customizer interface for each supported integration by @maciejwalkowiak in #1229
- Add GraalVM native image support by @MatejNedic in #856 and #1297
- Add
dualstack-enabled
property toAwsClientProperties
. by @maciejwalkowiak in #1294
S3
- Fine grained access control of S3 files via S3 Access Grant is now supported out of the box via S3AccessPlugin by @MatejNedic in #1247
- Add KMS, RSA or AES ClientSide file encryption support through
S3EncrpytionClient
by @MatejNedic in #1033 S3OutputStream
can now be canceled at any time during upload by @zhemaituk in #1221- Remove throws IOException that is never thrown in S3Resource methods by @alexisgra in #1222
- Add
S3Operations#createResource
. by @maciejwalkowiak in #1223 - Fix: Do not apply ObjectMetadata#contentLength for UploadPartRequest by @Mobe91 in #1249
- Add a constructor to S3ProtocolResolver allowing its usage outside of Spring context by @klach-ocado in #1276
- Add support for
spring.config.import
with S3 backend by @kunalvarpe in #849 - Specify Content-MD5 when generating presigned URL for uploading object (#1161) by @hardikSinghBehl in #1252
- Align
S3ConfigDataLocationResolver
resolving behavior with Spring Boot resolvers by @MatejNedic in #1299
SQS
- Propagate
AWSTraceHeader
by @acomofcg in #1287 - Fix deserializing lists with
@SnsNotificationMessage
by @frjonsen in #1282 - Fix setting timeout in seconds in
SqsTemplate
by @joey in #1250 - Add more detailed error message for SQS exceptions in
QueueAttributesResolver
by @joseiedo in #1200
SNS
SnsTemplate
provides functionality to validate topic existence (#1137) by @hardikSinghBehl in #1142
SecretsManager
- Fix
AutoConfigureAfter
forSecretsManagerAutoConfiguration
by @marcindabrowski in #1235
Parameter Store
Documentation
- Fix testing documentation header levels by @maciejwalkowiak in #1273
- Update AWS S3 CRT Client dependency in docs by @vchrisb in #1274
- Fix broken link for Spring Docker Compose support by @Tooa in #1281
- Document SecretsManager cross-account access by @mmaeller in #1302
Dependencies
- Remove
s3-transfer-manager
fromspring-cloud-aws-dependencies
by @vchrisb in #1275 - Upgrade Spring Cloud to 4.2.0 by @abilng in #1290
- Upgrade AWS S3 Encryption Client to 3.3.0 by @MatejNedic in #1303
- Manage Testcontainers version through Spring Boot dependency management by @maciejwalkowiak in #1218
- Upgrade LocalStack to 3.8.1 by @maciejwalkowiak in #1217
- Upgrade Spring Modulith to 1.3 by @odrotbohm in #1317
- Upgrade AWS versions to 2.29.52 by @MatejNedic in #1320
Github pipeline
- Update labeler action to v5 by @marcindabrowski in #1236
- Update checkout action to v4 by @marcindabrowski in #1237
- Update cache action to v4 by @marcindabrowski in #1238
- Add "type: maintenance" label for GitHub files by @marcindabrowski in #1240
- Update setup-java action to v4 by @marcindabrowski in #1241
- Update github-script action to v7 by @marcindabrowski in #1242
- Enable Dependabot for GitHub Actions by @marcindabrowski in #1243
New Contributors
- @hardikSinghBehl made their first contribution in #1142
- @kennyk65 made their first contribution in #962
- @zhemaituk made their first contribution in #1221
- @Forfend made their first contribution in #1233
- @marcindabrowski made their first contribution in #1236
- @Mobe91 made their first contribution in #1249
- @vchrisb made their first contribution in #1274
- @abilng made their first contribution in #1290
- @klach-ocado made their first contribution in #1276
- @Tooa made their first contribution in #1281
- @acomofcg made their first contribution in #1287
- @frjonsen made their first contribution in #1282
- @joey made their first contribution in #1250
- @joseiedo made their first contribution in #1200
- @mmaeller made their first contribution in #1302
- @odrotbohm made their first contribution in #1317
Full Changelog: v3.2.1...v3.3.0