From 507eed564102750f8fdbf6ae79c8e1021a86c9d1 Mon Sep 17 00:00:00 2001 From: Marcus Talbot Date: Fri, 1 Nov 2024 09:27:30 +0100 Subject: [PATCH] #210: Upgrade Java version to 21 --- .github/workflows/maven.yml | 2 +- CHANGELOG.md | 3 ++- pom.xml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a50706ba..a1ffbc01 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,4 +13,4 @@ jobs: call-workflow: uses: 42BV/42-github-workflows/.github/workflows/maven-test.yml@main with: - java-version: 17 \ No newline at end of file + java-version: 21 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f6d0c7fa..616d7843 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added -- Issue [#207](https://github.com/42BV/beanmapper/issues/207) Fixed issue where Optionals of an Enum could not be +- Issue [#210](https://github.com/42BV/beanmapper/issues/210) Upgraded Java version to 21. +- Issue [#207](https://github.com/42BV/beanmapper/issues/207) Fixed issue where Optionals of an Enum could not be mapped to an Optional of the same Enum, as it would attempt to create a new instance of the enum-class in question. Remedied by adding a check to the OptionalToAnyConverter. - Issue [#188](https://github.com/42BV/beanmapper/issues/188) Made BeanProperty-annotation repeatable. Added targets-property to BeanProperty-annotation, allowing the user to specify which mappings a BeanProperty should apply to. diff --git a/pom.xml b/pom.xml index 93ee0b67..ad8bfaf3 100644 --- a/pom.xml +++ b/pom.xml @@ -49,7 +49,7 @@ - 17 + 21 UTF-8 3.30.2-GA