Skip to content

Bump software.amazon.lambda:powertools-cloudformation from 2.2.1 to 2.3.0 #417

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 Aug 13, 2025

Bumps software.amazon.lambda:powertools-cloudformation from 2.2.1 to 2.3.0.

Release notes

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

v2.3.0

Summary

This release introduces Lambda SnapStart priming techniques to both the powertools-metrics and powertools-idempotency utilities, optimizing cold start performance for customers using SnapStart.

We've also updated dependencies across the library, with the most notable change being the removal of AWS SDK v1 dependency from the powertools-tracing utility, aligning with the recent AWS X-Ray SDK update (Release 2.19.0).

⭐️ Thanks to @​subhash686 for contributing the SnapStart priming techniques!

⚡ Lambda SnapStart Priming

Lambda SnapStart AWS Docs

SnapStart reduces Lambda cold start times by taking a snapshot of your initialized function and reusing it for subsequent invocations. We can run custom code before the snapshot is taken to initialize code that would otherwise be initialized at runtime. This process is referred to as "priming", and this is achieved using Java runtime hooks from the open source CRaC (Coordinated Restore at Checkpoint) project.

The following example shows how to prime an AWS S3 client:

import org.crac.Core;
import org.crac.Resource;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import software.amazon.awssdk.services.s3.S3Client;
public class Handler implements RequestHandler<String, String>, Resource {
private final S3Client s3Client = S3Client.create();
public Handler() {
Core.getGlobalContext().register(this);
}
@Override
public String handleRequest(String input, Context context) {
// Business logic using s3Client
return &quot;Hello SnapStart&quot; + input;
}
@Override
public void beforeCheckpoint(org.crac.Context&lt;? extends Resource&gt; context) {
// Will be called before SnapStart takes the snapshot
s3Client.listBuckets();
}
@Override
public void afterRestore(org.crac.Context&lt;? extends Resource&gt; context) {
// Reinitialize after restore
}

</tr></table>

... (truncated)

Commits
  • 9725d44 chore(ci): bump version to 2.3.0
  • 74d3e66 chore: bump org.assertj:assertj-core from 3.27.3 to 3.27.4 (#2031)
  • ab66f95 chore: bump software.amazon.awscdk:aws-cdk-lib from 2.208.0 to 2.210.0 (#2030)
  • 877042b chore: bump aws.sdk.version from 2.32.18 to 2.32.19 (#2029)
  • 174a19f chore: bump co.elastic.logging:logback-ecs-encoder from 1.6.0 to 1.7.0 (#2028)
  • 6c84fb7 chore: bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.4.0 to 4.9.3.2...
  • 58e09cb chore: bump com.amazonaws:aws-lambda-java-runtime-interface-client (#2026)
  • bed5106 chore: bump github/codeql-action from 3.29.7 to 3.29.8 (#2027)
  • ca75f24 chore: bump org.crac:crac from 1.4.0 to 1.5.0 (#2025)
  • ee79c20 chore: bump aws.sdk.version from 2.32.6 to 2.32.18 (#2024)
  • 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.2.1 to 2.3.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.2.1...v2.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 13, 2025
Copy link
Owner

@docwho2 docwho2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approve Dependabot

@docwho2 docwho2 merged commit 4bc7e6c into main Aug 13, 2025
1 check passed
@dependabot dependabot bot deleted the dependabot/maven/software.amazon.lambda-powertools-cloudformation-2.3.0 branch August 13, 2025 08:51
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