Bump software.amazon.lambda:powertools-cloudformation from 2.1.1 to 2.2.0
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(4 months ago)
(4 months ago)
(4 months ago)
by docwho2
dependencies java
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
Executorgiving you more control over the resources used by the batch operations.⭐️ Thanks to
@visheshrupareliafor their first contribution to Powertools for AWS! And thanks to@jreijnfor adding GraalVM support to the serialization module.Add support for batch execution in parallel with custom Executor
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); }
@Overridepublic 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
- chore(ci): bump version to 2.2.0 (#1942) by @github-actions[bot]
- build(deps): bump org.codehaus.mojo:build-helper-maven-plugin from 3.6.0 to 3.6.1 (#1941) by @dependabot[bot]
- build(deps): bump org.sonatype.central:central-publishing-maven-plugin from 0.7.0 to 0.8.0 (#1940) by @dependabot[bot]
- build(deps): bump log4j.version from 2.24.3 to 2.25.1 (#1939) by @dependabot[bot]
- build(deps): bump aws.sdk.version from 2.30.31 to 2.31.78 (#1938) by @dependabot[bot]
... (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
- chore(deps): Update deps for jackson (#1793) by
@sthulb- build(deps): bump log4j.version from 2.22.1 to 2.24.3 (#1777) by
@dependabot- chore(deps): update JSII to 1.108 (#1791) by
@sthulb- build(deps): bump jinja2 from 3.1.5 to 3.1.6 in /docs (#1789) by
@dependabot- chore: Update netty version (#1768) by
@sthulb- chore: Set versions of transitive dependencies (#1767) by
@sthulb- chore: update Jackson in examples (#1766) by
@sthulb- build(deps): bump org.apache.maven.plugins:maven-jar-plugin from 3.4.1 to 3.4.2 (#1731) by
@dependabot- build(deps): bump aws.xray.recorder.version from 2.15.3 to 2.18.1 (#1726) by
@dependabot- build(deps): bump aws.sdk.version from 2.26.29 to 2.27.12 (#1724) by
@dependabot- fix: Allow empty responses as well as null response in AppConfig (#1673) by
@chrisclayson- build(deps): bump aws.sdk.version from 2.27.2 to 2.27.7 (#1715) by
@dependabot- build(deps): bump aws.sdk.version from 2.26.29 to 2.27.2 (#1714) by
@dependabot- build(deps): bump aws.sdk.version from 2.25.26 to 2.26.29 (#1713) by
@dependabot- build(deps): bump aws.sdk.version from 2.26.25 to 2.26.29 (#1712) by
@dependabot- chore: deprecate java1.8 al1 (#1706) by
@jeromevdl- chore: java 1.8 AL1 is deprecated, fix E2E tests (#1692) by
@jeromevdl- build(deps): bump aws.sdk.version from 2.26.21 to 2.26.25 (#1703) by
@dependabot- build(deps): bump aws.sdk.version from 2.26.3 to 2.26.21 (#1697) by
@dependabot- build(deps): bump jackson.version from 2.17.0 to 2.17.2 (#1696) by
@dependabot- build(deps): bump org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0 (#1694) by
@dependabot- build(deps): bump commons-io:commons-io from 2.15.1 to 2.16.1 (#1691) by
@dependabot- docs: improve tracing doc for sdk instrumentation (#1687) by
@jeromevdl- docs: fix tracing links for xray (#1686) by
@jeromevdl- build(deps): bump org.apache.maven.plugins:maven-failsafe-plugin from 3.2.5 to 3.3.0 (#1679) by
@dependabot- build(deps): bump aws.sdk.version from 2.25.69 to 2.26.3 (#1658) by
@dependabot- build(deps): bump com.github.spotbugs:spotbugs-maven-plugin from 4.7.3.6 to 4.8.5.0 (#1657) by
@dependabot- build(deps): bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.0 to 3.4.0 (#1653) by
@dependabot
... (truncated)
Commits
e3afeabchore(ci): bump version to 2.2.0ff87eccbuild(deps): bump org.codehaus.mojo:build-helper-maven-plugin (#1941)765ddf2build(deps): bump org.sonatype.central:central-publishing-maven-plugin (#1940)b277e65build(deps): bump log4j.version from 2.24.3 to 2.25.1 (#1939)57c8cb2build(deps): bump aws.sdk.version from 2.30.31 to 2.31.78 (#1938)765f0acbuild(deps-dev): bump org.apache.commons:commons-lang3 (#1937)9dcb9b6build(deps): bump org.apache.commons:commons-lang3 from 3.15.0 to 3.18.0 (#1936)3a7b67bfeat(batch): add support for batch execution in parallel with custom Executor...f8a9edefix(examples): Fix GraalVM metadata after common runtime client changes (#1935)0f36150feat(serialization): Add GraalVM metadata configuration (#1905)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
maven
2.1.1 → 2.2.0
Minor
Technical Details
| ID: | 3483661 |
| UUID: | 2669849797 |
| Node ID: | PR_kwDOJJc3uM6fIqzF |
| Host: | GitHub |
| Repository: | docwho2/java-postgres-lambda-trigger |
| Merge State: | Unknown |