Skip to content

Releases: aws-powertools/powertools-lambda-java

v1.12.3

12 Jul 14:02
804d8ea
Compare
Choose a tag to compare

Changes

Maintenance

  • Upgraded version of X-Ray library to resolve vulnerable transitive dependencies. (#920) by @msailes

This release was made possible by the following contributors:

@msailes and @pankajagrawal16

v1.12.2

29 Apr 04:48
31aec8e
Compare
Choose a tag to compare

Changes

Bug Fixes

  • SQS Large message processing: Classpath conflict on PayloadS3Pointer when consumer application depends on payloadoffloading-common, introduced in v1.8.0.

  • fix: remove local implementation of PayloadS3Pointer.java and use payloadoffloading-common (#851) by @pankajagrawal16

This release was made possible by the following contributors:

@pankajagrawal16

v1.12.1

21 Apr 07:37
Compare
Choose a tag to compare

Changes

Bug Fixes

  • Idempotency: thread-safety issue of MessageDigest (#817)
  • Idempotency: disable dynamodb client creation in persistent store when disabling idempotency (#796)

Maintenance

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

This release was made possible by the following contributors:

@cjb574, @hamid646m, @jeromevdl, @kozub and @pankajagrawal16

v1.12.0

01 Mar 11:33
bd3f3e5
Compare
Choose a tag to compare

Changes

Added

  • Easy Event Deserialization: Extraction and deserialization of the main content of events (body, messages, ...) #757

image

Bug Fixes

  • Different behavior while using SSMProvider with or without trailing slash in parameter names #758

This release was made possible by the following contributors:

@jeromevdl, @kozub, @michaelbrewer and @pankajagrawal16

v1.11.0

17 Feb 07:44
44455c2
Compare
Choose a tag to compare

Changes

Idempotency module

New module to get your Lambda function Idempotent.

Key features:

  • Use DynamoDB as a persistence layer for state including Bring Your Own Persistence Store Layer
  • Optional in-memory caching, idempotency state auto-expiration for cost reasons
  • JMESPath support to select a subset of your payload to serialize and hash as idempotency key
  • Payload validation in case we shouldn’t return the previous result in case X parameter has changed in your request
  • Last but not least, the documentation is super comprehensive with over 600 lines of content.

image

This release was made possible by the following contributors:

@jeromevdl

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