plantuml-server: 1.2026.5 -> 1.2026.6 + switch to jetty 12 (#529856)

This commit is contained in:
Anthony
2026-06-19 22:00:38 +00:00
committed by GitHub
3 changed files with 10 additions and 16 deletions
@@ -44,6 +44,8 @@
- The `services.syncthing` module now updates the Syncthing REST API using partial updates (`PATCH`) instead of full replacements (`PUT`) for general settings. Updating these settings was broken and prone to errors after updates, see [#428808](https://github.com/NixOS/nixpkgs/issues/428808) and [#528889](https://github.com/NixOS/nixpkgs/issues/528889). As a result, settings modified manually through the Syncthing Web UI that are not explicitly defined in your Nix configuration will now persist across rebuilds.
- `services.plantuml-server.packages.jetty` now supports `jetty_12`, it no longer supports `jetty_11`.
## Other Notable Changes {#sec-release-26.11-notable-changes}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
@@ -37,15 +37,7 @@ in
packages = {
jdk = mkPackageOption pkgs "jdk" { };
jetty = mkPackageOption pkgs "jetty" {
default = [ "jetty_11" ];
extraDescription = ''
At the time of writing (v1.2023.12), PlantUML Server does not support
Jetty versions higher than 12.x.
Jetty 12.x has introduced major breaking changes, see
<https://github.com/jetty/jetty.project/releases/tag/jetty-12.0.0> and
<https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-11-to-12>
'';
default = [ "jetty_12" ];
};
};
@@ -115,11 +107,11 @@ in
script = ''
${cfg.packages.jdk}/bin/java \
-jar ${cfg.packages.jetty}/start.jar \
--module=deploy,http,jsp \
jetty.home=${cfg.packages.jetty} \
jetty.base=${cfg.package} \
jetty.http.host=${cfg.listenHost} \
jetty.http.port=${toString cfg.listenPort}
--module=http,ee11-deploy,ee11-jsp \
-Djetty.home=${cfg.packages.jetty} \
-Djetty.base=${cfg.package} \
-Djetty.http.host=${cfg.listenHost} \
-Djetty.http.port=${toString cfg.listenPort}
'';
serviceConfig = {
+2 -2
View File
@@ -7,11 +7,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "plantuml-server";
version = "1.2026.5";
version = "1.2026.6";
src = fetchurl {
url = "https://github.com/plantuml/plantuml-server/releases/download/v${finalAttrs.version}/plantuml-v${finalAttrs.version}.war";
hash = "sha256-Ub6Ao+m1hC+tEerkVnMXN2CMRf8CKg9XcB9E8JsunvY=";
hash = "sha256-1jcX6GMknJK5dGL74DMwYTDZNVkKI07MpL8qbb0WMi4=";
};
dontUnpack = true;