Skip to content

Commit

Permalink
Update minimum Java baseline from 8 to 17 (databind#4820) (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder authored Dec 4, 2024
1 parent 10206e8 commit 3699fc0
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dep_build_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java_version: ['8', '17', '21', '23']
java_version: ['17', '21', '23']
# Versions need to align with ones in 'main.yml' workflow
kotlin_version: ['1.9.24', '2.0.21', '2.1.0']
env:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ on:
branches:
- master
- "3.0"
- "2.19"
paths-ignore:
- "README.md"
- "release-notes/*"
pull_request:
branches:
- master
- "3.0"
- "2.19"
paths-ignore:
- "README.md"
- "release-notes/*"
Expand All @@ -27,18 +25,18 @@ jobs:
fail-fast: false
max-parallel: 5
matrix:
java_version: ['8', '11', '17', '21', '23']
java_version: ['17', '21', '23']
kotlin_version: ['1.9.24', '2.0.21', '2.1.0']
include:
- java_version: '8'
- java_version: '17'
kotlin_version: '1.9.24'
release_build: 'R'
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK
uses: actions/setup-java@v4
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<javac.src.version>1.8</javac.src.version>
<javac.target.version>1.8</javac.target.version>
<!-- as per [databind#4820], minimum of Java 17 for Jackson 3.0 -->
<javac.src.version>17</javac.src.version>
<javac.target.version>17</javac.target.version>

<version.kotlin>1.9.24</version.kotlin>

Expand Down
27 changes: 27 additions & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Project: jackson-module-kotlin
Versions: 3.x (for earlier see VERSION-2.x)

Module that adds support for Kotlin-specific data types, constructs.

Active Maintainers:

* WrongWrong (@k163377) (since 2.15)

Co-maintainers:

* Tatu Saloranta (@cowtowncoder) -- at-large Jackson Author, helps from time to time

Former maintainers:

* Dmitry Spikhalskiy (@Spikhalskiy)
* Drew Stephens (@dinomite)
* Jayson Minard (@apatrida) -- original Module Author
* Vyacheslav Artemyev (@viartemev)

------------------------------------------------------------------------
=== Releases ===
------------------------------------------------------------------------

3.0.0 (not yet released)

- Minimum Java baseline: Java 17

0 comments on commit 3699fc0

Please sign in to comment.