Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws-powertools/powertools-lambda-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.0
Choose a base ref
...
head repository: aws-powertools/powertools-lambda-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.1.0
Choose a head ref
  • 9 commits
  • 129 files changed
  • 4 contributors

Commits on Jun 12, 2025

  1. chore(ci): bump version to 2.0.0 (#1876)

    Co-authored-by: Powertools for AWS Lambda (Java) Bot <151832416+aws-powertools-bot@users.noreply.github.com>
    github-actions[bot] and aws-powertools-bot authored Jun 12, 2025
    Configuration menu
    Copy the full SHA
    9616520 View commit details
    Browse the repository at this point in the history
  2. docs: Version documentation (#1878)

    * Add versioning plugin for docs and update workflows.
    
    * Add old version banner override. Remove preview wording.
    phipag authored Jun 12, 2025
    Configuration menu
    Copy the full SHA
    871a844 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2025

  1. chore(ci): Update workflows to make v2 the default (#1888)

    * chore(ci): Make v2 the main branch
    
    * update runner size for release
    
    * update skip checks
    
    * create tag instead of release
    sthulb authored Jun 13, 2025
    Configuration menu
    Copy the full SHA
    0b27594 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2025

  1. Configuration menu
    Copy the full SHA
    cc1b3b1 View commit details
    Browse the repository at this point in the history
  2. fix(metrics): Do not flush when no metrics were added to avoid printi…

    …ng root-level _aws dict (#1891)
    
    * fix(metrics): Do not flush when no metrics were added to avoid printing root-level _aws dict.
    
    * Fix pmd linting failures.
    phipag authored Jun 16, 2025
    Configuration menu
    Copy the full SHA
    8a040ac View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2025

  1. feat(kafka): New Kafka utility (#1898)

    * Add initial code for KafkaJson and KafkaAvro request handlers.
    
    * Add deserialization via @Deserialization annotation.
    
    * Add TODOs in code.
    
    * Fix typos and make AbstractKafkaDeserializer package private.
    
    * Remove request handler implementation in favor for @Deserialization annotation.
    
    * Parse Timestamp type correctly.
    
    * Remove custom RequestHandler implementation example.
    
    * Make AspectJ version compatible with min version Java 11.
    
    * Clarify exception message when deserialization fails.
    
    * Add more advanced JSON escpaing to JSONSerializer in logging module.
    
    * Add protobuf deserialization logic and fully working example.
    
    * Add Maven profile to compile a JAR with different dependency combinations.
    
    * Add minimal kafka example.
    
    * Add missing copyright.
    
    * Add unit tests for kafka utility.
    
    * Add minimal kafka example to examples module in pom.xml.
    
    * Add some comments.
    
    * Update powertools-examples-kafka with README and make it more minimalistic. Remove powertools-examples-kafka-minimal.
    
    * Implement PR feedback from Karthik.
    
    * Fix SAM outputs.
    
    * Do not fail on unknown properties when deserializating into KafkaEvent.
    
    * Allow customers to bring their own kafka-clients dependency.
    
    * Add Kafka utility documentation.
    
    * Update project version consistently to 2.0.0.
    
    * fix: Fix bug where abbreviated _HANDLER env var did not detect the Deserialization annotation.
    
    * fix: Bug when trying to deserialize a type into itself for Lambda default behavior. We can just return the type itself. Relevant for simple String and InputStream handlers.
    
    * When falling back to Lambda default, handle conversion between InputStream and String.
    
    * Raise a runtime exception when the KafkaEvent is invalid.
    
    * docs: Announce deprecation of v1
    
    * fix(metrics): Do not flush when no metrics were added to avoid printing root-level _aws dict (#1891)
    
    * fix(metrics): Do not flush when no metrics were added to avoid printing root-level _aws dict.
    
    * Fix pmd linting failures.
    
    * Rename docs to Kafka Consumer and add line highlights for code examples.
    
    * Fix Spotbug issues.
    
    * Reduce cognitive complexity of DeserializationUtils making it more modular and representing handler information in a simple HandlerInfo class.
    
    * Reduce cognitive complexity of AbstractKafkaDeserializer.
    
    * Enable removal policy DESTROY on e2e test for kinesis streams and SQS queues to avoid exceeding account limit.
    
    * Replace System.out with Powertools Logging.
    
    * Add notice about kafka-clients compatibility.
    
    * Add sentence stating that Avro / Protobuf classes can be autogenerated.
    phipag authored Jun 18, 2025
    Configuration menu
    Copy the full SHA
    eebc06a View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2025

  1. fix(kafka): Add support for confluent message indices. (#1902)

    * fix(kafka): Add support for confluent message indices.
    
    * Make Generator classes non-instantiable (they are static utility classes).
    
    * Make generator classes final.
    phipag authored Jun 19, 2025
    Configuration menu
    Copy the full SHA
    f563d23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf01e91 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    33748d4 View commit details
    Browse the repository at this point in the history
Loading