Hugo v0.163.0 bringt Verbesserungen bei der Bildverarbeitung mit formatspezifischen Qualitätseinstellungen und AVIF-Optimierungen. Die neue page.IsBranch-Methode ersetzt page.IsNode. Mehrere Einstellungen werden als veraltet markiert, darunter resources/jsconfig baseUrl und globale Imaging-Konfigurationen. Das Update ist unkritisch und erfordert keine sofortigen Änderungen.
Neue Features
- page.IsBranch method
- per-format AVIF hint setting
- content-aware AVIF chroma subsampling
- quality setting per image format
- memory alloc error recovery in WASM image processors
- livereload websocket disconnect on pageswap
Deprecations
- resources/jsconfig: baseUrl setting
- link and image render hook settings
- Imaging.Compression setting (moved to webp and avif configs)
- page.IsNode method (replaced with IsBranch)
- global imaging quality setting
Betroffene Abhängigkeiten
- github.com/bits-and-blooms/bitset
- github.com/tetratelabs/wazero
- github.com/rogpeppe/go-internal
- github.com/getkin/kin-openapi