Skip to content

chore:Prep release 1.18.0 #1515

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

Merged
merged 5 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,37 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo

## [Unreleased]

## [1.18.0] - 2023-11-16

### Added

* feat: add support for [Lambda Advanced Logging Controls (ALC)](https://docs.aws.amazon.com/lambda/latest/dg/monitoring-cloudwatchlogs.html#monitoring-cloudwatchlogs-advanced) (#1514) by @jeromevdl
* feat: Add support for POWERTOOLS_LOGGER_LOG_EVENT (#1510) by @AlexeySoshin

### Maintenance

* fix: json schema 403 error (#1457) by @jeromevdl
* fix: array jmespath fail in idempotency module (#1420) by @jeromevdl
* chore: java21 support in our build (#1488) by @jeromevdl
* chore: Addition of Warn Message If Invalid Annotation Key While Tracing #1511 (#1512) by @jdoherty
* fix: null namespace should fallback to default namespace (#1506) by @jeromevdl
* fix: get trace id from system property when env var is not set (#1503) by @mriccia
* chore: artifacts size on good branches (#1493) by @jeromevdl
* fix: enforce jackson databind version (#1472) by @jeromevdl
* chore: add missing projects and improve workflow (#1487) by @jeromevdl
* chore: Reporting size of the jars in GitHub comments (#1196) by @jeromevdl
* Deps: Bump third party dependencies to the latest versions.

### Documentation

* docs(customer-reference): add Vertex Pharmaceuticals as a customer reference (#1486) by @scottgerring
* docs: Adding Kotlin example. (#1454) by @jasoniharris
* docs: Terraform example (#1478) by @skal111
* docs: Add Serveless Framework example (#1363) by @AlexeySoshin
* docs: Fix link to SQS large message migration guide (#1422) by @scottgerring
* docs(logging): correct log example keys (#1411) by @walmsles
* docs: Update gradle configuration readme (#1359) by @scottgerring

## [1.17.0] - 2023-08-21

### Added
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ Powertools for AWS Lambda (Java) is available in Maven Central. You can use your
<dependency>
<groupId>software.amazon.lambda</groupId>
<artifactId>powertools-tracing</artifactId>
<version>1.17.0</version>
<version>1.18.0</version>
</dependency>
<dependency>
<groupId>software.amazon.lambda</groupId>
<artifactId>powertools-logging</artifactId>
<version>1.17.0</version>
<version>1.18.0</version>
</dependency>
<dependency>
<groupId>software.amazon.lambda</groupId>
<artifactId>powertools-metrics</artifactId>
<version>1.17.0</version>
<version>1.18.0</version>
</dependency>
...
</dependencies>
Expand Down Expand Up @@ -190,7 +190,7 @@ Next, configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lam

## Examples

See the latest release of the **[examples](https://github.com/aws-powertools/powertools-lambda-java/tree/v1.17.0/examples)** for example projects showcasing usage of different utilities.
See the latest release of the **[examples](https://github.com/aws-powertools/powertools-lambda-java/tree/v1.18.0/examples)** for example projects showcasing usage of different utilities.

Have a demo project to contribute which showcase usage of different utilities from powertools? We are happy to accept it [here](CONTRIBUTING.md#security-issue-notifications).

Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<groupId>software.amazon.lambda</groupId>
<artifactId>powertools-examples</artifactId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<packaging>pom</packaging>

<name>Powertools for AWS Lambda (Java) library Examples</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-batch</artifactId>
<packaging>jar</packaging>
<name>Powertools for AWS Lambda (Java) library Examples - Batch</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-cloudformation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-cloudformation</artifactId>
<packaging>jar</packaging>

Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-core/cdk/app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>software.amazon.lambda.examples</groupId>
<version>1.16.1</version>
<version>1.17.0</version>
<artifactId>powertools-examples-core-cdk</artifactId>
<packaging>jar</packaging>

Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-core/cdk/infra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>software.amazon.lambda.examples</groupId>
<artifactId>cdk</artifactId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<cdk.version>2.100.0</cdk.version>
Expand Down
7 changes: 4 additions & 3 deletions examples/powertools-examples-core/gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ compileJava {
}

repositories {
mavenLocal()
mavenCentral()
}

Expand All @@ -27,8 +28,8 @@ dependencies {
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2'
implementation 'com.amazonaws:aws-lambda-java-events:3.11.0'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.2'
aspect 'software.amazon.lambda:powertools-tracing:1.17.0'
aspect 'software.amazon.lambda:powertools-logging:1.17.0'
aspect 'software.amazon.lambda:powertools-metrics:1.17.0'
aspect 'software.amazon.lambda:powertools-tracing:1.18.0'
aspect 'software.amazon.lambda:powertools-logging:1.18.0'
aspect 'software.amazon.lambda:powertools-metrics:1.18.0'
}

6 changes: 3 additions & 3 deletions examples/powertools-examples-core/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.2.2")
implementation("com.amazonaws:aws-lambda-java-events:3.11.0")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.2")
aspect("software.amazon.lambda:powertools-tracing:1.18.0-SNAPSHOT")
aspect("software.amazon.lambda:powertools-logging:1.18.0-SNAPSHOT")
aspect("software.amazon.lambda:powertools-metrics:1.18.0-SNAPSHOT")
aspect("software.amazon.lambda:powertools-tracing:1.18.0")
aspect("software.amazon.lambda:powertools-logging:1.18.0")
aspect("software.amazon.lambda:powertools-metrics:1.18.0")
testImplementation("junit:junit:4.13.2")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
}
Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-core/sam/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-core-sam</artifactId>
<packaging>jar</packaging>

Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-core/serverless/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-core-serverless</artifactId>
<packaging>jar</packaging>

Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-core/terraform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-core-terraform</artifactId>
<packaging>jar</packaging>

Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-idempotency/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-idempotency</artifactId>
<packaging>jar</packaging>
<name>Powertools for AWS Lambda (Java) library Examples - Idempotency</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-parameters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-parameters</artifactId>
<packaging>jar</packaging>
<name>Powertools for AWS Lambda (Java) library Examples - Parameters</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-serialization/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-serialization</artifactId>
<packaging>jar</packaging>
<name>Powertools for AWS Lambda (Java) library Examples - Serialization</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-sqs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-sqs</artifactId>
<packaging>jar</packaging>
<name>Powertools for AWS Lambda (Java) library Examples - SQS</name>
Expand Down
2 changes: 1 addition & 1 deletion examples/powertools-examples-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>software.amazon.lambda.examples</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<artifactId>powertools-examples-validation</artifactId>
<packaging>jar</packaging>
<name>Powertools for AWS Lambda (Java) library Examples - Validation</name>
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ extra_javascript:

extra:
powertools:
version: 1.17.0 # to update after each release (we do not want snapshot version here)
version: 1.18.0 # to update after each release (we do not want snapshot version here)

repo_url: https://github.com/aws-powertools/powertools-lambda-java
edit_uri: edit/main/docs
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<groupId>software.amazon.lambda</groupId>
<artifactId>powertools-parent</artifactId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
<packaging>pom</packaging>

<name>Powertools for AWS Lambda (Java) library Parent</name>
Expand Down
2 changes: 1 addition & 1 deletion powertools-batch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>software.amazon.lambda</groupId>
<artifactId>powertools-parent</artifactId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<description>A suite of utilities that makes batch message processing using AWS Lambda easier.</description>
Expand Down
2 changes: 1 addition & 1 deletion powertools-cloudformation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<name>Powertools for AWS Lambda (Java)library Cloudformation</name>
Expand Down
2 changes: 1 addition & 1 deletion powertools-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<name>Powertools for AWS Lambda (Java) library Core</name>
Expand Down
2 changes: 1 addition & 1 deletion powertools-e2e-tests/handlers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<description>Fake handlers that use Powertools for AWS Lambda (Java).</description>

<properties>
<lambda.powertools.version>1.18.0-SNAPSHOT</lambda.powertools.version>
<lambda.powertools.version>1.18.0</lambda.powertools.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
2 changes: 1 addition & 1 deletion powertools-e2e-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<artifactId>powertools-e2e-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powertools-idempotency/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>software.amazon.lambda</groupId>
<artifactId>powertools-parent</artifactId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<artifactId>powertools-idempotency</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powertools-large-messages/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>software.amazon.lambda</groupId>
<artifactId>powertools-parent</artifactId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<artifactId>powertools-large-messages</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powertools-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<name>Powertools for AWS Lambda (Java) library Logging</name>
Expand Down
2 changes: 1 addition & 1 deletion powertools-metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<name>Powertools for AWS Lambda (Java) library Metrics</name>
Expand Down
2 changes: 1 addition & 1 deletion powertools-parameters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<artifactId>powertools-parameters</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powertools-serialization/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<artifactId>powertools-serialization</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powertools-sqs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<name>Powertools for AWS Lambda (Java) library SQS</name>
Expand Down
2 changes: 1 addition & 1 deletion powertools-test-suite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<name>Powertools for AWS Lambda (Java) library Test Suite</name>
Expand Down
2 changes: 1 addition & 1 deletion powertools-tracing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<name>Powertools for AWS Lambda (Java) library Tracing</name>
Expand Down
2 changes: 1 addition & 1 deletion powertools-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>powertools-parent</artifactId>
<groupId>software.amazon.lambda</groupId>
<version>1.18.0-SNAPSHOT</version>
<version>1.18.0</version>
</parent>

<name>Powertools for AWS Lambda (Java) validation library</name>
Expand Down