From 1365d9c7c42401e491e253c09a3b43aaf3b31ca5 Mon Sep 17 00:00:00 2001 From: Marc Wrobel Date: Sun, 1 Oct 2023 10:51:46 +0200 Subject: [PATCH] Officially support Java 21 and drop support for Java 20 (closes #367) --- .github/workflows/build.yml | 4 ++-- CHANGELOG.md | 1 + README.md | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2103d43..2ebc4766 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: runs-on: 'ubuntu-latest' strategy: matrix: - java: ['8', '11', '17', '20'] + java: ['8', '11', '17', '21'] steps: - name: Checkout repository uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 @@ -25,7 +25,7 @@ jobs: - name: Set up Java ${{ matrix.java }} uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 with: - distribution: 'temurin' + distribution: 'zulu' java-version: ${{ matrix.java }} cache: 'maven' diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e5371d8..a1e81e0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Added +- Officially support Java 21 (#367). - Support random IBAN generation based on countries (`RandomIban.next(IsoCountry...)`), country alpha-2 codes (`RandomIban.next(String...)`) or currencies (`RandomIban.next(IsoCurrency...)`) (#339). - Support random BIC generation based on countries (`RandomBic.next(IsoCountry...)`), country alpha-2 diff --git a/README.md b/README.md index 9ab1e185..62fade41 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Open in Gitpod](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/marcwrobel/jbanking/) [![Build](https://github.com/marcwrobel/jbanking/workflows/build/badge.svg)](https://github.com/marcwrobel/jbanking/actions) -[![Supported JVM Versions](https://img.shields.io/badge/JVM-8--17-brightgreen.svg?logo=openjdk)](https://github.com/marcwrobel/jbanking/actions/workflows/build.yml) +[![Supported JVM Versions](https://img.shields.io/badge/JVM-8--21-brightgreen.svg?logo=openjdk)](https://github.com/marcwrobel/jbanking/actions/workflows/build.yml) [![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=fr.marcwrobel:jbanking&metric=alert_status)](https://sonarcloud.io/dashboard?id=fr.marcwrobel:jbanking) [![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=fr.marcwrobel:jbanking&metric=coverage)](https://sonarcloud.io/dashboard?id=fr.marcwrobel:jbanking) [![SonarCloud Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=fr.marcwrobel:jbanking&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=fr.marcwrobel:jbanking) @@ -46,7 +46,7 @@ jbanking is supporting the following features : ## Requirements -jbanking requires at least [Java 8](https://adoptium.net/) (build is tested against Java 8, 11, 17 and 19). It has no +jbanking requires at least [Java 8](https://adoptium.net/) (build is tested against Java 8, 11, 17 and 21). It has no additional dependency ! ## Use it !