Master: Renovate: Automerge Update dependency without new findings
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
gohugoio/hugo | ironbank-github | minor |
v0.118.2 -> v0.119.0
|
gohugoio/hugo | minor |
v0.118.2 -> v0.119.0
|
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
gohugoio/hugo
v0.119.0
This version is built with Go 1.21.1 which contains some relevant security fixes for the html/template
package, see Issue 62196 and Issue 62197. This is the main reason Hugo 0.119.0 is released sooner rather than later. But this release also comes with a dependency refresh and some useful image processing improvements:
Process
support all of the existing scaling operations, but it can also be used do simple format conversions (e.g. from JPG to PNG). A before/after example:
{{ $watermark := resources.Get "logo.jpg" | images.Filter
(images.GaussianBlur 6)
(images.Opacity 0.5)
}}
{{ $watermark = $watermark.Resize (printf "%dx%d png" $watermark.Width $watermark.Height )
There are some issues with the above:
- The source image does not support transparency, so the transparency pixels will be filled with the configured background colour.
- The image will be decoded and encoded twice with a potential loss in quality.
- It's clumsy.
With Hugo 0.119.0 the above can be written as:
{{ $watermark := resources.Get "logo.jpg" |