Zum Inhalt

Polycrate CLI 0.30.1

Release-Datum: 25. Februar 2026
Typ: Bugfix-Release

Highlights

Polycrate CLI 0.30.1 behebt einen Regressionsbugin polycrate block pull, der in 0.30.0 eingeführt wurde. Block-Upgrades (bereits installierter Block wird auf neue Version aktualisiert) schlugen mit einem "no such file or directory"-Fehler fehl.

Artefakte

Docker Images

docker pull cargo.ayedo.cloud/library/polycrate:0.30.1

CLI Downloads

Plattform Architektur Download
Linux amd64 Download
Linux arm64 Download
macOS amd64 Download
macOS arm64 (Apple Silicon) Download

Installation & Update

polycrate update 0.30.1

Installationsanleitung

Bugfixes

Fix: Block Pull schlägt fehl nach Version-Upgrade

polycrate block pull schlug fehl wenn ein Block bereits lokal installiert war und auf eine neue Version aktualisiert werden sollte.

Fehlerbild:

failed to pull block 'cargo.ayedo.cloud/ayedo/k8s/polycrate-api:0.8.0':
open /path/to/blocks/.../CHANGELOG.poly: no such file or directory

Ursache: In CLI 0.30.0 wurde die Block-Pull-Logik von crane.Export auf eine eigene extract()-Funktion umgestellt. crane.Export erzeugte ein vollständiges Docker-Filesystem-Tar mit explizitem Root-Directory-Eintrag (./), was dazu führte, dass das Zielverzeichnis automatisch angelegt wurde. Die neue extract()-Funktion gibt nur die OCI-Layer-Inhalte weiter (keine Docker-Metadaten). Da layerFromDir beim Packen den Root-Eintrag explizit überspringt und filepath.Walk Dateien alphabetisch sortiert (CHANGELOG.poly vor playbooks/), wurde os.OpenFile auf eine Datei aufgerufen bevor das Zielverzeichnis existierte.

Fix: os.MkdirAll(path, 0755) wird nach os.RemoveAll und vor Untar aufgerufen (cmd/oci.go).

Spezifikation

polycrate-operator Block

Der polycrate-operator Block wurde auf Version 0.3.36 aktualisiert:

polycrate pull cargo.ayedo.cloud/ayedo/k8s/polycrate-operator
polycrate run polycrate-operator install