Skip to content

Prepare Java SDK for JDK 25 (LTS), harden CI, and upgrade build tooling#133

Merged
emmanuel-keller merged 8 commits intomainfrom
emmanuel/check-sdk-25
Mar 21, 2026
Merged

Prepare Java SDK for JDK 25 (LTS), harden CI, and upgrade build tooling#133
emmanuel-keller merged 8 commits intomainfrom
emmanuel/check-sdk-25

Conversation

@emmanuel-keller
Copy link
Copy Markdown
Collaborator

@emmanuel-keller emmanuel-keller commented Mar 21, 2026

What's in this PR

This pull request ensures the SurrealDB Java driver is ready for the upcoming JDK 25 LTS release, strengthens CI security, and brings build dependencies up to date. No public API changes are introduced — this is a maintenance and compatibility update.

Changes

  • JDK 25 compatibility — Added JDK 25 to the CI test matrix and set options.release = 8 to guarantee bytecode compatibility back to Java 8 while compiling on newer JDKs.
  • CI security hardening — Pinned all GitHub Actions to commit SHAs instead of mutable tags, preventing supply-chain attacks via tag re-pointing.
  • Gradle wrapper upgrade — Bumped Gradle wrapper from its previous version to 8.14.4.
  • Cargo dependency alignment — Updated Rust-side Cargo.toml dependencies to match the versions used by SurrealDB core, reducing version drift.
  • Rust code formatting — Minor formatting and readability improvements in the native Rust bridge code (no behavioral changes).

Impact for Java driver users

  • No breaking changes. The driver remains compatible with Java 8+.
  • Improved confidence in forward-compatibility with JDK 25 LTS.
  • Stronger CI pipeline integrity protects the supply chain of published artifacts.

@emmanuel-keller emmanuel-keller changed the title Add test for SDK25 Add JDK 25 support, pin GitHub Actions to commit SHAs, and align Cargo version with SurrealDB Mar 21, 2026
@emmanuel-keller emmanuel-keller changed the title Add JDK 25 support, pin GitHub Actions to commit SHAs, and align Cargo version with SurrealDB Prepare Java SDK for JDK 25 (LTS), harden CI, and upgrade build tooling Mar 21, 2026
@emmanuel-keller emmanuel-keller marked this pull request as ready for review March 21, 2026 12:08
Comment thread build.gradle
Comment thread gradle/wrapper/gradle-wrapper.properties Outdated
Comment thread src/main/rust/error.rs
@emmanuel-keller emmanuel-keller merged commit 8a37a9d into main Mar 21, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant