From 449f6842399cebba108c55c2f9055e3c8a5590ee Mon Sep 17 00:00:00 2001 From: Jared McCannon Date: Thu, 7 May 2026 11:57:11 -0500 Subject: [PATCH 1/3] Updated the java version and the example app. --- .mvn/wrapper/maven-wrapper.properties | 4 ++-- README.md | 9 +++------ .../.mvn/wrapper/maven-wrapper.properties | 4 ++-- examples/spring-boot-3-jdk-17/README.md | 2 +- examples/spring-boot-3-jdk-17/pom.xml | 17 ++++++++++++++++- pom.xml | 16 +++++++++++----- 6 files changed, 35 insertions(+), 17 deletions(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 2695c33..b68d07d 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.9.4/maven-wrapper-3.9.4.jar +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.15/apache-maven-3.9.15-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.4/maven-wrapper-3.3.4.jar diff --git a/README.md b/README.md index 61e4c5f..84c77a3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # Passwordless Java SDK -The official [Bitwarden Passwordless.dev](https://passwordless.dev/) Java library, for Java 8+ runtime. +The official [Bitwarden Passwordless.dev](https://passwordless.dev/) Java library, for Java 17+ runtime. ## Installation @@ -148,12 +148,9 @@ For a comprehensive list of examples, check out the [API documentation][api-docs ## Contributing -This library compiles to Java 8 compatible runtime and requires minimum JDK 8 installed. +This library compiles to a Java 17 compatible runtime and requires JDK 17 or newer installed. Tested up to JDK 25. -Newer JDK are still backwards compatible to version 8, so you are free to use any of the JDK version - tested up to -version 20. - -Download and install [JDK 8](https://adoptium.net/temurin/releases/?version=8) if you do not have compatible JDK. +Download and install [JDK 17](https://adoptium.net/temurin/releases/?version=17) if you do not have a compatible JDK. The `JAVA_HOME` environment variable needs to contain installed JDK path. diff --git a/examples/spring-boot-3-jdk-17/.mvn/wrapper/maven-wrapper.properties b/examples/spring-boot-3-jdk-17/.mvn/wrapper/maven-wrapper.properties index a768e1e..b68d07d 100644 --- a/examples/spring-boot-3-jdk-17/.mvn/wrapper/maven-wrapper.properties +++ b/examples/spring-boot-3-jdk-17/.mvn/wrapper/maven-wrapper.properties @@ -14,5 +14,5 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.9.4/maven-wrapper-3.9.4.jar +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.15/apache-maven-3.9.15-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.4/maven-wrapper-3.3.4.jar diff --git a/examples/spring-boot-3-jdk-17/README.md b/examples/spring-boot-3-jdk-17/README.md index fc674c5..5a29a9f 100644 --- a/examples/spring-boot-3-jdk-17/README.md +++ b/examples/spring-boot-3-jdk-17/README.md @@ -25,4 +25,4 @@ JDK 17 or newer is required to run the application. 6. For all Passwordless API functionalities supported by Java SDK, navigate to http://localhost:8080/swagger-ui/index.html 7. See [Example Passwordless REST Api requests and responses](example-rest-requests/passwordless-api.http) -[passwordless-java-sdk]:https://github.com/passwordless/passwordless-java- +[passwordless-java-sdk]:https://github.com/passwordless/passwordless-java diff --git a/examples/spring-boot-3-jdk-17/pom.xml b/examples/spring-boot-3-jdk-17/pom.xml index 2ea603e..6a8bb34 100644 --- a/examples/spring-boot-3-jdk-17/pom.xml +++ b/examples/spring-boot-3-jdk-17/pom.xml @@ -17,6 +17,8 @@ 17 UTF-8 + + 1.18.38 @@ -47,7 +49,7 @@ org.projectlombok lombok - 1.18.28 + ${lombok.version} provided @@ -71,6 +73,19 @@ + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.projectlombok + lombok + ${lombok.version} + + + + org.graalvm.buildtools native-maven-plugin diff --git a/pom.xml b/pom.xml index 06df524..d9aa2a1 100644 --- a/pom.xml +++ b/pom.xml @@ -43,7 +43,8 @@ - 1.8 + 17 + 1.18.38 UTF-8 bitwarden https://sonarcloud.io @@ -102,7 +103,7 @@ org.projectlombok lombok - 1.18.36 + ${lombok.version} provided @@ -156,11 +157,16 @@ maven-compiler-plugin 3.13.0 - ${java.version} - ${java.version} - ${java.version} + ${java.version} true true + + + org.projectlombok + lombok + ${lombok.version} + + From aa1adf95d469f61c289a6dc2f6b322a5ae744ec1 Mon Sep 17 00:00:00 2001 From: Jared McCannon Date: Thu, 7 May 2026 12:04:06 -0500 Subject: [PATCH 2/3] Up the version to 2.0.0 because we're changing the minimum jdk version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d9aa2a1..ebc8bc3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.bitwarden passwordless - 1.2.3 + 2.0.0 passwordless Passwordless.dev Java SDK jar From c7c8872b89238a08cc8724d9f4229418c2bab2de Mon Sep 17 00:00:00 2001 From: Jared McCannon Date: Tue, 16 Jun 2026 09:13:25 -0500 Subject: [PATCH 3/3] Dropping back to 8+ for the sdk. reverting changes to readme. --- README.md | 10 +++++----- pom.xml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 84c77a3..dafc3f7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # Passwordless Java SDK -The official [Bitwarden Passwordless.dev](https://passwordless.dev/) Java library, for Java 17+ runtime. +The official [Bitwarden Passwordless.dev](https://passwordless.dev/) Java library, for Java 8+ runtime. ## Installation @@ -15,14 +15,14 @@ The official [Bitwarden Passwordless.dev](https://passwordless.dev/) Java librar com.bitwarden passwordless - 1.2.3 + 1.2.4 ``` **Gradle**: add to the `dependencies` in *gradle.build* file: ```groovy -implementation group: 'com.bitwarden', name: 'passwordless', version: '1.2.3' +implementation group: 'com.bitwarden', name: 'passwordless', version: '1.2.4' ``` ### Dependencies @@ -148,9 +148,9 @@ For a comprehensive list of examples, check out the [API documentation][api-docs ## Contributing -This library compiles to a Java 17 compatible runtime and requires JDK 17 or newer installed. Tested up to JDK 25. +This library compiles to a Java 8 compatible runtime and requires JDK 8 or newer installed. Tested up to JDK 25. -Download and install [JDK 17](https://adoptium.net/temurin/releases/?version=17) if you do not have a compatible JDK. +Download and install [JDK 8](https://adoptium.net/temurin/releases/?version=8) if you do not have a compatible JDK. The `JAVA_HOME` environment variable needs to contain installed JDK path. diff --git a/pom.xml b/pom.xml index ebc8bc3..d2d3abb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.bitwarden passwordless - 2.0.0 + 1.2.4 passwordless Passwordless.dev Java SDK jar @@ -43,7 +43,7 @@ - 17 + 8 1.18.38 UTF-8 bitwarden