diff --git a/nixos/doc/manual/release-notes/rl-2611.section.md b/nixos/doc/manual/release-notes/rl-2611.section.md index 35476167c040..0252bcb370ea 100644 --- a/nixos/doc/manual/release-notes/rl-2611.section.md +++ b/nixos/doc/manual/release-notes/rl-2611.section.md @@ -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} diff --git a/nixos/modules/services/web-apps/plantuml-server.nix b/nixos/modules/services/web-apps/plantuml-server.nix index 184787d94c0e..59e8bc94c541 100644 --- a/nixos/modules/services/web-apps/plantuml-server.nix +++ b/nixos/modules/services/web-apps/plantuml-server.nix @@ -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 - and - - ''; + 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 = { diff --git a/pkgs/by-name/pl/plantuml-server/package.nix b/pkgs/by-name/pl/plantuml-server/package.nix index 6618d990f540..d6cbc6985125 100644 --- a/pkgs/by-name/pl/plantuml-server/package.nix +++ b/pkgs/by-name/pl/plantuml-server/package.nix @@ -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;