Skip to content

Releases: aws-powertools/powertools-lambda-java

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

v1.7.1

06 Jul 13:43
0eec650
Compare
Choose a tag to compare

Changes

This release fixes static code analysis violations identified using spotbugs. For future, these checks are now part of our build workflows as well, making sure none of these issues slips through in any of the future releases.

This release was made possible by the following contributors:

@pankajagrawal16

v1.7.0

05 Jul 12:09
aad936f
Compare
Choose a tag to compare

Changes

Logging

  • You can now inject correlation IDs coming from any Event Source using Json Pointer expressions, or by manually injecting a string with setCorrelationId() in LoggingUtils.

image

  • As we initialize Logger in the global scope, logging state can persist across invocations. It is a good practice to always append new keys and use default values, so Logger can update and remove keys on a per invocation basis. However, sometimes you might add keys conditionally depending on the incoming event. For these type of use cases, you can now use clearState attribute on @Logging annotation.

image

This release was made possible by the following contributors:

@pankajagrawal16

v1.6.0

21 Jun 07:52
48f22ea
Compare
Choose a tag to compare

Changes

Added

  • Tracing: Support for Boolean and Number type as value in TracingUtils.putAnnotation()
  • Logging: API to remove any additional custom key from logger entry using LoggingUtils.removeKeys()

Maintenance

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

This release was made possible by the following contributors:

@dmahapatro, @msailes, @pankajagrawal16 and @sullis

v1.5.0

31 Mar 08:03
0db2903
Compare
Choose a tag to compare

Changes

Metrics

  • Ability to set multiple dimensions as default dimensions via MetricsUtils.defaultDimensions().
    Introduced in v1.4.0, MetricsUtils.defaultDimensionSet() is deprecated now for better user experience.

This release was made possible by the following contributors:

@pankajagrawal16

v1.4.0

11 Mar 14:01
edbc105
Compare
Choose a tag to compare

Changes

Metrics

  • Removed validation of having minimum one dimension to capture metrics. EMF now support Dimension set being empty as well.

  • Now Customers have ability to set default dimension for metrics via MetricsUtils.defaultDimensionSet(). This is will be automatically applied to any metrics captured via @Metrics annotation as well as withSingleMetric api calls.

image

This release was made possible by the following contributors:

@pankajagrawal16