Skip to content

Conversation

@phipag
Copy link
Contributor

@phipag phipag commented Nov 12, 2025

Summary

This PR adds the new functional interface introduced with v2.6.0 to the documentation highlighting for all utilities that there is now an alternative way that does not depend on AspectJ anymore. The key benefits of this are:

  • No aspectjrt dependency at runtime (lighter deployment package)
  • No compile-time configuration through build plugin to setup compile-time weaving
    • No bytecode manipulation
  • Works with any framework (Quarkus, Micronaut, Spring etc.) because we don't rely on the vanilla Lambda handleRequest method signature anymore

We also add a new "Usage patterns" page similar to TypeScript.

Preview available here: https://dealn7fl31ram.cloudfront.net/

Changes

Issue number: #2221


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@phipag phipag self-assigned this Nov 12, 2025
@phipag phipag added documentation Improvements or additions to documentation maintenance and removed size/XXL labels Nov 12, 2025
@phipag phipag moved this to Pending review in Powertools for AWS Lambda (Java) Nov 12, 2025
Copy link
Contributor

@leandrodamascena leandrodamascena left a comment

Choose a reason for hiding this comment

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

Hi @phipag, overall, this PR seems great to me. I'm just wondering if it makes sense to refer to the Functional API as recommended way and the annotation as legacy mode.

If you think that make sense, then make changes.. If not, ignore my comments and I can approve.

phipag and others added 11 commits November 13, 2025 10:11
Co-authored-by: Stefano Vozza <[email protected]>
Co-authored-by: Stefano Vozza <[email protected]>
Co-authored-by: Stefano Vozza <[email protected]>
Co-authored-by: Stefano Vozza <[email protected]>
Co-authored-by: Stefano Vozza <[email protected]>
Co-authored-by: Stefano Vozza <[email protected]>
Co-authored-by: Stefano Vozza <[email protected]>
Co-authored-by: Stefano Vozza <[email protected]>
Co-authored-by: Stefano Vozza <[email protected]>
@sonarqubecloud
Copy link

1 similar comment
@sonarqubecloud
Copy link

@phipag phipag merged commit f9f227c into main Nov 13, 2025
10 checks passed
@phipag phipag deleted the phipag/issue2221 branch November 13, 2025 09:19
@github-project-automation github-project-automation bot moved this from Pending review to Coming soon in Powertools for AWS Lambda (Java) Nov 13, 2025
@phipag phipag linked an issue Nov 13, 2025 that may be closed by this pull request
1 task
@phipag phipag linked an issue Nov 13, 2025 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation maintenance size/XXL

Projects

Status: Coming soon

Development

Successfully merging this pull request may close these issues.

Docs: Document usage of functional API for all utilities

3 participants