Polycrate API 0.11.15
Polycrate API 0.11.15
Release-Datum: 19. Januar 2026
Typ: Hotfix
Highlights
- KaTeX/LaTeX entfernt aus Milkdown CSS - behebt collectstatic-Fehler in Prod
- Enthält alle Fixes aus 0.11.14 (Certificate API Upsert)
Artefakte
Docker Images
docker pull cargo.ayedo.cloud/polycrate/polycrate-api:0.11.15
Installation
polycrate pull cargo.ayedo.cloud/ayedo/k8s/polycrate-api
polycrate run polycrate-api install
Bugfixes
KaTeX CSS entfernt
Problem:
milkdown-crepe.css enthielt KaTeX-Styles für LaTeX Math-Rendering. Diese referenzierten ~30 Font-Dateien (fonts/KaTeX_*.woff2), die nicht im Static Files Verzeichnis existierten.
In Development wird dies ignoriert (Standard Django Storage), aber in Production nutzt Whitenoise CompressedManifestStaticFilesStorage, das alle CSS-Referenzen auflöst → collectstatic crashte.
whitenoise.storage.MissingFileError: The file 'polycrate_api/css/vendor/fonts/KaTeX_AMS-Regular.woff2' could not be found
Lösung:
- Build-Script
scripts/build-milkdown-css.shangepasst latex.cssundkatex.min.cssnicht mehr inkludiert- LaTeX/Math-Rendering wird in Notes nicht benötigt
Certificate API Upsert (aus 0.11.14)
Die perform_create() Methode prüft jetzt vor dem Erstellen, ob ein Zertifikat bereits existiert. Falls ja, wird ein Update durchgeführt statt einen UniqueConstraint-Fehler zu werfen.
Migration
Keine Datenbank-Migration erforderlich.
Changelog
| Komponente | Änderung |
|---|---|
scripts/build-milkdown-css.sh |
KaTeX/LaTeX entfernt |
milkdown-crepe.css |
Neu gebaut ohne KaTeX-Referenzen |
Block-Version
# block.poly
name: cargo.ayedo.cloud/ayedo/k8s/polycrate-api
version: 0.5.19
app_version: "0.11.15"