Skip to content

Releases: aws-powertools/powertools-lambda-java

v1.10.3

01 Feb 09:40
15029c4
Compare
Choose a tag to compare

Changes

Bug Fixes

  • SQS Batch processing: Prevent message to be marked as success if failed sending to DLQ for non retryable exceptions. #731

Documentation

  • SQS Batch processing: Improve documentation on IAM premissions required by function when using utility with an encrypted SQS queue with customer managed KMS keys.

  • chore: move core utilities example to aws-samples/aws-lambda-powertools-examples (#733) by @pankajagrawal16
  • fix: Prevent message to be marked as success if failed sending to DLQ (#731) by @pankajagrawal16
  • fix(gradle): Fix gradle example and docs to work with java 12+ (#703) by @michaelbrewer

This release was made possible by the following contributors:

@michaelbrewer and @pankajagrawal16

v1.10.2

07 Jan 13:07
7e6a23c
Compare
Choose a tag to compare

Changes

Tracing

Ability to override object mapper used for serializing method response as trace metadata when enabled. This provides users ability to customize how and what you want to capture as metadata from method response object. You might
want to supply custom object mapper in order to control how serialization is done, for example, when you want to serialize only
specific fields from received response due to security.

image

  • feat(tracing): ability to override object mapper (#698) by @pankajagrawal16
  • chore(docs): Add FAQs section to docs with information about Lombok support. (#680) by @kozub

This release was made possible by the following contributors:

@kozub and @pankajagrawal16

v1.10.1

06 Jan 16:46
2a6b4a3
Compare
Choose a tag to compare

Changes

Security

Upgrading Log4j to version 2.17.1 for CVE-2021-44832

This release was made possible by the following contributors:

@dependabot, @dependabot[bot], @pankajagrawal16 and @poprahul

v1.10.0

27 Dec 09:56
b1d4256
Compare
Choose a tag to compare

Changes

Logging

With 1.10.0 we have deprecated configuring log4j using < LambdaJsonLayout \> plugin since underlying JsonLayout is deprecated too. New configuration is based on the recommended JSON Template Layout.

While utility still supports the old configuration, we strongly recommend upgrading the log4j2.xml configuration to JsonTemplateLayout instead. Switching to JsonTemplateLayout is straight forward. Please refer docs to upgrade to JsonTemplateLayout from deprecated LambdaJsonLayout configuration in log4j2.xml.

JsonTemplateLayout is a customizable, efficient, and garbage-free JSON generating layout. It encodes LogEvents according to the structure described by the JSON template provided.

image

🐛 Bug

  • SQS Batch: Support batch size greater than 10. #667

This release was made possible by the following contributors:

@pankajagrawal16

v1.9.0

21 Dec 14:57
9b532ae
Compare
Choose a tag to compare

Changes

Tracing

image

Tracing now automatically adds a Service annotation if either namespace parameter or POWERTOOLS_SERVICE_NAME is set - This makes it easier to slice and dice all of your traces by the exact service you have deployed.

Logging

Upgrade Log4j to version 2.17.0 for CVE-2021-45105

This release was made possible by the following contributors:

@pankajagrawal16

v1.8.2

15 Dec 09:43
d922570
Compare
Choose a tag to compare

Changes

Security

Upgrading Log4j to version 2.16.0 for CVE-2021-45046

This release was made possible by the following contributors:

@dependabot, @dependabot[bot] and @msailes

v1.8.1

10 Dec 13:56
bca196f
Compare
Choose a tag to compare

Changes

Security
Upgrade Log4j to v2.15.0 in response to CVE-2021-44228

Maintenance
deps: Bump third party dependencies to the latest versions.

This release was made possible by the following contributors:

@dependabot, @dependabot[bot], @msailes and @pankajagrawal16

v1.8.0

05 Nov 15:00
83dbc7e
Compare
Choose a tag to compare

Changes

Powertools Cloudformation module (NEW)

New module simplifying AWS Lambda-backed custom resources written in Java. #560

image

SQS Large message processing

Utility now adds ability to override the default S3Client use to fetch payload from S3. #602

image

This release was made possible by the following contributors:

@bdkosher, @pankajagrawal16

v1.7.3

14 Sep 08:37
Compare
Choose a tag to compare

Changes

With this release, If you want certain exceptions to be treated as permanent failures during batch processing, i.e. exceptions where the result of retrying will always be a failure and want these can be immediately moved to the dead letter queue associated to the source SQS queue, you can use SqsBatch#nonRetryableExceptions() to configure such exceptions.

image

This release was made possible by the following contributors:

@pankajagrawal16

v1.7.2

03 Aug 09:34
605c9a5
Compare
Choose a tag to compare

Changes

  • Powertools All Modules: Upgrade to the latest(1.14.0) aspectj-maven-plugin which also supports Java 9 and newer versions.
    Users no longer need to depend on com.nickwongdev as a workaround. #489

  • Logging: Performance optimisation to improve cold start. #484

  • SQS Batch processing/Large message: Module now lazy loads default SQS client. #484

This release was made possible by the following contributors:

@drissamri, @pankajagrawal16