From 99412f0fe816fc33534ea2b056c5f63454046a58 Mon Sep 17 00:00:00 2001 From: Jakub Hertyk Date: Fri, 6 Feb 2026 11:01:40 -0500 Subject: [PATCH 1/2] BREAKING CHANGE: Remove Java 11 support, Java 17 is now the minimum required version - Updated build.gradle to set sourceCompatibility and targetCompatibility to Java 17 - Updated GitHub Actions workflow to test on Java 17 and 21 only - Removed Java 11 from CI/CD test matrix - Updated all workflow jobs to use Java 17 as the base version --- .github/workflows/main.yaml | 8 ++++---- build.gradle | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 50bdd3e5..c6112a1d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -18,7 +18,7 @@ jobs: strategy: matrix: - java: [11, 17, 21] + java: [17, 21] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -37,7 +37,7 @@ jobs: run: | ./gradlew build test-integration - - if: matrix.java == 11 + - if: matrix.java == 17 name: Upload coverage to Codecov uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2 continue-on-error: true @@ -60,7 +60,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 with: - java-version: 11 + java-version: 17 distribution: "temurin" - name: Validate Gradle wrapper @@ -93,7 +93,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 with: - java-version: 11 + java-version: 17 distribution: "temurin" - name: Validate Gradle wrapper diff --git a/build.gradle b/build.gradle index 699d87e5..7bac38bd 100644 --- a/build.gradle +++ b/build.gradle @@ -26,8 +26,8 @@ repositories { } java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 withJavadocJar() withSourcesJar() From 2d7bcdedbe7e7e7d994218cc41764268ebfab858 Mon Sep 17 00:00:00 2001 From: Jakub Hertyk Date: Fri, 6 Feb 2026 14:54:47 -0500 Subject: [PATCH 2/2] Update README to document Java 17 minimum requirement and support policy --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5a61ac3..95c7c927 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ OpenFGA is designed to make it easy for application builders to model their perm The OpenFGA Java SDK is available on [Maven Central](https://central.sonatype.com/). -The OpenFGA Java SDK currently supports **Java 11** as the minimum JDK version. +The OpenFGA Java SDK currently supports **Java 17** as the minimum JDK version. It can be used with the following: