Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/gohugoio/hugo to v0.119.0 #1033

Merged
merged 1 commit into from
Sep 24, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 24, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/gohugoio/hugo require minor v0.118.2 -> v0.119.0

Release Notes

gohugoio/hugo (github.com/gohugoio/hugo)

v0.119.0

Compare Source

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:

  • A new general-purpose Process method and filter.
  • A new Opacity filter.

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:

  1. The source image does not support transparency, so the transparency pixels will be filled with the configured background colour.
  2. The image will be decoded and encoded twice with a potential loss in quality.
  3. It's clumsy.

With Hugo 0.119.0 the above can be written as:

{{ $watermark := resources.Get "logo.jpg" | images.Filter  
       (images.GaussianBlur 6) 
       (images.Opacity 0.5) 
       (images.Process "png") 
}}

Bug fixes

Improvements

Dependency Updates

Documentation


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (squash) September 24, 2023 16:42
@github-actions
Copy link
Contributor

github-actions bot commented Sep 24, 2023

@github-actions github-actions bot temporarily deployed to pull request September 24, 2023 16:44 Inactive
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 7c6a364 to ac78425 Compare September 24, 2023 21:59
@github-actions github-actions bot temporarily deployed to pull request September 24, 2023 22:01 Inactive
@renovate renovate bot merged commit 1d0ac52 into main Sep 24, 2023
@renovate renovate bot deleted the renovate/github.com-gohugoio-hugo-0.x branch September 24, 2023 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants