Skip to content

Bump software.amazon.lambda:powertools-cloudformation from 2.1.1 to 2.2.0 #475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 16, 2025

Bumps software.amazon.lambda:powertools-cloudformation from 2.1.1 to 2.2.0.

Release notes

Sourced from software.amazon.lambda:powertools-cloudformation's releases.

v2.2.0

Summary

This release adds GraalVM support to the Serialization utility and improves the Batch Processing utility allowing you to pass a custom Executor giving you more control over the resources used by the batch operations.

⭐️ Thanks to @​visheshruparelia for their first contribution to Powertools for AWS! And thanks to @​jreijn for adding GraalVM support to the serialization module.

Add support for batch execution in parallel with custom Executor

Docs

This feature enhances the batch processing capabilities by allowing parallel execution with a custom Executor. This allows you to customize the resources used by the batch operations, such as providing your own thread pool giving you more control over the degree of concurrency.

Here's an example of how to use a custom executor for parallel batch processing:

public class SqsBatchHandler implements RequestHandler<SQSEvent, SQSBatchResponse> {
private final BatchMessageHandler<SQSEvent, SQSBatchResponse> handler;
private final ExecutorService executor;
public SqsBatchHandler() {
handler = new BatchMessageHandlerBuilder()
.withSqsBatchHandler()
.buildWithMessageHandler(this::processMessage, Product.class);
executor = Executors.newFixedThreadPool(2);
}
@Override
public SQSBatchResponse handleRequest(SQSEvent sqsEvent, Context context) {
// New feature: custom executor can now be passed as a method argument for parallel processing
return handler.processBatchInParallel(sqsEvent, context, executor);
}
private void processMessage(Product p, Context c) {
// Process the product
}
}

Changes

... (truncated)

Changelog

Sourced from software.amazon.lambda:powertools-cloudformation's changelog.

Changelog

All notable changes to this project will be documented in this file.

This project follows Keep a Changelog format for changes and adheres to Semantic Versioning.

[Unreleased]

[1.20.1] - 2025-04-08

  • docs: fix 2 typos (#1739) by @​ntestor
  • docs: Correct XML formatting for Maven configuration in Large Messages utility docs (#1796) by @​jreijn
  • fix: Load version.properties file as resource stream to fix loading when packaged as jar (#1813) by @​phipag

[1.20.0] - 2025-03-25

  • feat(cfn-custom-resource): Add optional 'reason' field for detailed failure reporting (#1758) by @​moizsh

[1.19.0] - 2025-03-07

... (truncated)

Commits
  • e3afeab chore(ci): bump version to 2.2.0
  • ff87ecc build(deps): bump org.codehaus.mojo:build-helper-maven-plugin (#1941)
  • 765ddf2 build(deps): bump org.sonatype.central:central-publishing-maven-plugin (#1940)
  • b277e65 build(deps): bump log4j.version from 2.24.3 to 2.25.1 (#1939)
  • 57c8cb2 build(deps): bump aws.sdk.version from 2.30.31 to 2.31.78 (#1938)
  • 765f0ac build(deps-dev): bump org.apache.commons:commons-lang3 (#1937)
  • 9dcb9b6 build(deps): bump org.apache.commons:commons-lang3 from 3.15.0 to 3.18.0 (#1936)
  • 3a7b67b feat(batch): add support for batch execution in parallel with custom Executor...
  • f8a9ede fix(examples): Fix GraalVM metadata after common runtime client changes (#1935)
  • 0f36150 feat(serialization): Add GraalVM metadata configuration (#1905)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [software.amazon.lambda:powertools-cloudformation](https://github.com/aws-powertools/powertools-lambda-java) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/aws-powertools/powertools-lambda-java/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-java/blob/main/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-java@v2.1.1...v2.2.0)

---
updated-dependencies:
- dependency-name: software.amazon.lambda:powertools-cloudformation
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 16, 2025
@docwho2 docwho2 merged commit 1ca128b into main Jul 16, 2025
1 check passed
@dependabot dependabot bot deleted the dependabot/maven/software.amazon.lambda-powertools-cloudformation-2.2.0 branch July 16, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant