From c31c02780da350d33ce6a3908b3ffb10ee41068a Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 21 May 2026 14:02:32 +0000 Subject: [PATCH] =?UTF-8?q?bump=20SPI=20version=200.1.0=20=E2=86=92=200.2.?= =?UTF-8?q?0=20to=20force=20re-fetch=20of=20fixed=20picture=20jar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous release shipped helpwave-picture-0.1.0.jar that still had the buggy 3-arg constructor. The follow-up commit fixed the constructor but kept the same SPI version, so the GitHub release re-attached a jar with the same filename — NixOS deployments that already cached the sha256 of the old bytes silently kept pulling the broken artifact and Keycloak boot kept failing with the Arc UnsatisfiedResolutionException on PictureConfig / S3Storage injection. Bumping the SPI version makes the filename change to helpwave-picture-0.2.0.jar (likewise captcha + privacy), so any nix-prefetch-url / fetchurl line has to be updated, which forces a real re-fetch of the fixed bytes. Theme version bumped 0.4.0 → 0.5.0 too so the release contains everything in one consistent tag. docs/deployment-nixos.md now references themeVersion = "0.5.0" and spiVersion = "0.2.0" in the example Nix expression and the nix-prefetch-url snippet. --- docs/deployment-nixos.md | 8 ++++---- keycloak-extensions/captcha/pom.xml | 2 +- keycloak-extensions/picture/pom.xml | 2 +- keycloak-extensions/pom.xml | 2 +- keycloak-extensions/privacy/pom.xml | 2 +- package.json | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/deployment-nixos.md b/docs/deployment-nixos.md index 108815a..291cd27 100644 --- a/docs/deployment-nixos.md +++ b/docs/deployment-nixos.md @@ -17,7 +17,7 @@ Every release attaches the following artifacts to the GitHub release: | `helpwave-privacy-.jar` | `privacy/` | `FormAction` SPI: privacy checkbox + acceptance attrs. | | `helpwave-picture-.jar` | `picture/` | `RealmResourceProvider` SPI: avatar upload to S3 / R2. | -`` is the SPI Maven version (`keycloak-extensions/pom.xml`, currently `0.1.0`), +`` is the SPI Maven version (`keycloak-extensions/pom.xml`, currently `0.2.0`), which is independent from the theme/npm version in `package.json`. All four jars go into Keycloak's `providers/` directory — `services.keycloak.plugins` does that for you. @@ -28,8 +28,8 @@ Keycloak's `providers/` directory — `services.keycloak.plugins` does that for let domain = "id.helpwave.de"; - themeVersion = "0.4.0"; # ⇄ package.json version → release tag v0.4.0 - spiVersion = "0.1.0"; # ⇄ keycloak-extensions/pom.xml + themeVersion = "0.5.0"; # ⇄ package.json version → release tag v0.5.0 + spiVersion = "0.2.0"; # ⇄ keycloak-extensions/pom.xml release = file: sha: pkgs.fetchurl { @@ -119,7 +119,7 @@ in > > ```sh > nix-prefetch-url --type sha256 \ -> "https://github.com/helpwave/id.helpwave.de/releases/download/v0.4.0/helpwave-picture-0.1.0.jar" +> "https://github.com/helpwave/id.helpwave.de/releases/download/v0.5.0/helpwave-picture-0.2.0.jar" > ``` > > Or just run `nixos-rebuild switch` once with all four `sha256-AAA…` placeholders, copy diff --git a/keycloak-extensions/captcha/pom.xml b/keycloak-extensions/captcha/pom.xml index 6453722..4cc9558 100644 --- a/keycloak-extensions/captcha/pom.xml +++ b/keycloak-extensions/captcha/pom.xml @@ -7,7 +7,7 @@ de.helpwave.keycloak helpwave-keycloak-extensions - 0.1.0 + 0.2.0 helpwave-captcha diff --git a/keycloak-extensions/picture/pom.xml b/keycloak-extensions/picture/pom.xml index e684d38..0652259 100644 --- a/keycloak-extensions/picture/pom.xml +++ b/keycloak-extensions/picture/pom.xml @@ -7,7 +7,7 @@ de.helpwave.keycloak helpwave-keycloak-extensions - 0.1.0 + 0.2.0 helpwave-picture diff --git a/keycloak-extensions/pom.xml b/keycloak-extensions/pom.xml index e689662..de88e97 100644 --- a/keycloak-extensions/pom.xml +++ b/keycloak-extensions/pom.xml @@ -6,7 +6,7 @@ de.helpwave.keycloak helpwave-keycloak-extensions - 0.1.0 + 0.2.0 pom helpwave Keycloak Extensions Keycloak SPI extensions used by id.helpwave.de diff --git a/keycloak-extensions/privacy/pom.xml b/keycloak-extensions/privacy/pom.xml index ce0360e..2beb3e9 100644 --- a/keycloak-extensions/privacy/pom.xml +++ b/keycloak-extensions/privacy/pom.xml @@ -7,7 +7,7 @@ de.helpwave.keycloak helpwave-keycloak-extensions - 0.1.0 + 0.2.0 helpwave-privacy diff --git a/package.json b/package.json index a2fcac8..c7f38e2 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "id.helpwave.de", - "version": "0.4.0", + "version": "0.5.0", "repository": { "type": "git", "url": "git://github.com/helpwave/id.helpwave.de.git"