Skip to content

Update to JDK 27 and bump dependencies - #108

Open
tobihagemann wants to merge 2 commits into
developfrom
feature/jdk26
Open

tobihagemann wants to merge 2 commits into
developfrom
feature/jdk26

Conversation

@tobihagemann

@tobihagemann tobihagemann commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Raises the build and target JDK to 27. webdav-nio-adapter 3.0.2+ requires at least 26, which is already EOL. Also brings runtime dependencies and CI actions up to date, which picks up the logback fixes for CVE-2026-9828 and CVE-2026-10532. Supersedes #105.

  • JDK 27: jdk.version is 27 and CI builds with Temurin 27.0.1.1+4. Temurin ships no macOS x64 JDK since 27, so the Intel Mac build uses Zulu 27.0.1.1+4. setup-java v6 is needed for the four-part version string.
  • Dependencies: cryptofs 2.12.1, webdav-nio-adapter 3.0.3, fuse-nio-adapter 7.0.1, logback 1.6.8, slf4j 2.0.20, jansi 2.4.3, plus junit and the Maven plugins.
  • integrations-api: declared explicitly at 1.10.1. fuse-nio-adapter pulls 1.10.1 and webdav-nio-adapter pulls 1.9.1, and without the explicit dependency Maven resolves the older one.
  • App image: jlink adds java.net.http, which integrations-api 1.10.1 requires. The launcher enables native access for org.cryptomator.frontend.fuse, which fuse-nio-adapter 7 requires.
  • Logging: logback 1.6.3+ deprecates ConsoleAppender.setWithJansi, and the deprecation warning makes logback print its status log on every start. LogbackConfigurator installs fusesource Jansi itself, the same call logback made internally, so colored output stays the same. The suggested JansiConsoleAppender only supports jline's Jansi.
  • CI actions: checkout v7, setup-java v6, upload-artifact v7, download-artifact v8.0.2, action-gh-release v3.0.5 (post-publish was still on v2).

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change updates the JDK version, Maven dependencies and plugins, and pinned GitHub Actions used by build and release workflows. The macOS build matrix now selects Java distributions by architecture. LogbackConfigurator installs Jansi directly instead of enabling it through the deprecated appender setting. The changelog records dependency updates and fixes for two Logback deserialization vulnerabilities.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Suggested reviewers: infeo, mindmonk

Merge Risk: Minimal · up to fad64 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title "Update to JDK 27 and bump dependencies" names the two main changes in the changeset: the build and target JDK moves from 25 to 27 across the pom.xml, CI workflows and CHANGELOG, and runtime…
Description check Passed The description explains the purpose of the changeset: raising the build and target JDK to 27, bumping runtime dependencies and CI actions, declaring integrations-api explicitly, adding java.net.http …
Full details: Title check

Explanation

The title "Update to JDK 27 and bump dependencies" names the two main changes in the changeset: the build and target JDK moves from 25 to 27 across the pom.xml, CI workflows and CHANGELOG, and runtime dependencies (cryptofs, webdav-nio-adapter, fuse-nio-adapter, logback, slf4j, jansi) are bumped. It is concise and specific enough for a teammate scanning history. The title does not mention the logging change or the CI action updates, which is acceptable because it need not cover every detail.

Full details: Description check

Explanation

The description explains the purpose of the changeset: raising the build and target JDK to 27, bumping runtime dependencies and CI actions, declaring integrations-api explicitly, adding java.net.http to the jlink image, and replacing the deprecated logback ConsoleAppender Jansi call in LogbackConfigurator. These match the file summaries. It also cites the CVE fixes, which fits the CHANGELOG entries.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

LanguageTool

CHANGELOG.md

LanguageTool could not check every text chunk; analysis is incomplete

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 10e70761-496e-40d6-99e9-8d841e43ae72
Commits

Reviewing files that changed from the base of the PR and between 355f067 and fad6481.

Files selected for processing: 8

  • .github/workflows/build-linux.yml
  • .github/workflows/build-mac.yml
  • .github/workflows/build-win.yml
  • .github/workflows/build.yml
  • .github/workflows/draft-release.yml
  • .github/workflows/get-version.yml
  • CHANGELOG.md
  • pom.xml
Files skipped from review as they are similar to previous changes: 1

  • CHANGELOG.md

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@tobihagemann
tobihagemann requested a review from infeo November 30, 2026 21:01

@infeo infeo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We change directly to JDK 27, because JDK 26 is EOL

Copilot AI balanced review requested due to automatic review settings December 2, 2026 15:24
@tobihagemann tobihagemann changed the title Update to JDK 26 and bump dependencies Update to JDK 27 and bump dependencies Dec 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The compiler release and CI workflows target Java 27, making the CLI incompatible with the stated Java 26 baseline.

1 open issue
What changed in this PR

Updates the CLI’s Java toolchain, dependencies, packaging, and CI, including Logback security fixes that supersede #105.

Changes:

  • Advances the configured toolchain to JDK 27 and refreshes dependencies and Maven plugins.
  • Updates runtime modules, native-access settings, and Jansi initialization.
  • Refreshes CI actions and release documentation.
File Description
src/​main/​java/​org/​cryptomator/​cli/​LogbackConfigurator.java Installs Jansi directly instead of using deprecated Logback configuration.
pom.xml Updates Java target, dependencies, and plugins.
dist/​jpackage.args Enables native access for FUSE.
dist/​jlink.args Includes the HTTP client module.
CHANGELOG.md Records dependency, JDK, and security updates.
.github/​workflows/​post-publish.yml Updates the release action.
.github/​workflows/​get-version.yml Updates Java and CI actions.
.github/​workflows/​draft-release.yml Updates Java and release actions.
.github/​workflows/​build.yml Updates the build JDK and actions.
.github/​workflows/​build-win.yml Refreshes Windows build and publishing tooling.
.github/​workflows/​build-mac.yml Refreshes tooling and selects Zulu for Intel Macs.
.github/​workflows/​build-linux.yml Refreshes Linux build and publishing tooling.

Review effort: Balanced

Comment thread pom.xml Resolved
@tobihagemann
tobihagemann requested a review from infeo December 2, 2026 15:35
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.

3 participants