aws-powertools / powertools-lambda-java

Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
https://docs.powertools.aws.dev/lambda/java/
MIT No Attribution
290 stars 88 forks source link

chore(v2): remove java 1.8 relics from the code #1659

Closed jeromevdl closed 5 months ago

jeromevdl commented 5 months ago

Issue #, if available: #1523

Description of changes:

Remove the latest references to java 1.8 (pom, docs, e2e tests...)

Checklist

* [x] [Meet tenets criteria](https://docs.powertools.aws.dev/lambda-java/#tenets) * [x] Update tests * [x] Update docs * [x] PR title follows [conventional commit semantics](https://www.conventionalcommits.org/en/v1.0.0/) ## Breaking change checklist

RFC issue #: #1523

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

github-actions[bot] commented 5 months ago

:floppy_disk: Artifacts Size Report

Module Version Size (KB)
powertools-common 2.0.0-SNAPSHOT 9.59
powertools-serialization 2.0.0-SNAPSHOT 17.23
powertools-logging 2.0.0-SNAPSHOT 33.07
powertools-logging-log4j 2.0.0-SNAPSHOT 20.68
powertools-logging-logback 2.0.0-SNAPSHOT 16.91
powertools-tracing 2.0.0-SNAPSHOT 14.01
powertools-metrics 2.0.0-SNAPSHOT 14.05
powertools-parameters 2.0.0-SNAPSHOT 17.49
powertools-validation 2.0.0-SNAPSHOT 19.94
powertools-cloudformation 2.0.0-SNAPSHOT 16.58
powertools-idempotency-core 2.0.0-SNAPSHOT 34.63
powertools-idempotency-dynamodb 2.0.0-SNAPSHOT 12.37
powertools-large-messages 2.0.0-SNAPSHOT 17.45
powertools-batch 2.0.0-SNAPSHOT 16.89
powertools-parameters-ssm 2.0.0-SNAPSHOT 10.70
powertools-parameters-secrets 2.0.0-SNAPSHOT 9.90
powertools-parameters-dynamodb 2.0.0-SNAPSHOT 11.95
powertools-parameters-appconfig 2.0.0-SNAPSHOT 11.45
scottgerring commented 5 months ago

It's nice to see this getting cut out @jeromevdl :D Couple of other bits I found:

There's a bunch of java 1.8 refs in the metrics docs still, starting here:

https://github.com/aws-powertools/powertools-lambda-java/blob/719054626c8af7b9c134da5c68a73a0104dac872/docs/core/metrics.md?plain=1#L31

as well as large_messages.md and validation.md

build.gradle.kts for the kotlin example appears to depend on a java1.8 specific bit org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10.

jeromevdl commented 5 months ago

It's nice to see this getting cut out @jeromevdl :D Couple of other bits I found:

There's a bunch of java 1.8 refs in the metrics docs still, starting here:

https://github.com/aws-powertools/powertools-lambda-java/blob/719054626c8af7b9c134da5c68a73a0104dac872/docs/core/metrics.md?plain=1#L31

as well as large_messages.md and validation.md

build.gradle.kts for the kotlin example appears to depend on a java1.8 specific bit org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud