Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update module github.com/gohugoio/hugo to v0.119.0 (#1033)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/gohugoio/hugo](https://togithub.com/gohugoio/hugo) | require | minor | `v0.118.2` -> `v0.119.0` | --- ### Release Notes <details> <summary>gohugoio/hugo (github.com/gohugoio/hugo)</summary> ### [`v0.119.0`](https://togithub.com/gohugoio/hugo/releases/tag/v0.119.0) [Compare Source](https://togithub.com/gohugoio/hugo/compare/v0.118.2...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](https://togithub.com/golang/go/issues/62196) and [Issue 62197](https://togithub.com/golang/go/issues/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](https://gohugo.io/content-management/image-processing/#process) method and filter. - A new [Opacity](https://gohugo.io/functions/images/#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: ```handlebars {{ $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: ```handlebars {{ $watermark := resources.Get "logo.jpg" | images.Filter (images.GaussianBlur 6) (images.Opacity 0.5) (images.Process "png") }} ``` #### Bug fixes - Fix tests for Go 1.21.1 [`79a17d9`](https://togithub.com/gohugoio/hugo/commit/79a17d9e5) [@​bep](https://togithub.com/bep) [#​11450](https://togithub.com/gohugoio/hugo/issues/11450) - Fix recently broken benchmark [`18ce854`](https://togithub.com/gohugoio/hugo/commit/18ce85462) [@​bep](https://togithub.com/bep) #### Improvements - common: Remove unused constants [`6b65b2f`](https://togithub.com/gohugoio/hugo/commit/6b65b2fae) [@​alexandear](https://togithub.com/alexandear) - Add images.Process filter [`6a246d1`](https://togithub.com/gohugoio/hugo/commit/6a246d115) [@​bep](https://togithub.com/bep) [#​8439](https://togithub.com/gohugoio/hugo/issues/8439) - Add $image.Process [`ef0e714`](https://togithub.com/gohugoio/hugo/commit/ef0e7149d) [@​bep](https://togithub.com/bep) [#​11483](https://togithub.com/gohugoio/hugo/issues/11483) - google_analytics_async.html: Add deprecation warning [`c32094a`](https://togithub.com/gohugoio/hugo/commit/c32094ace) [@​carlmjohnson](https://togithub.com/carlmjohnson) - Add images.Opacity filter [`f9b3c0f`](https://togithub.com/gohugoio/hugo/commit/f9b3c0f48) [@​bep](https://togithub.com/bep) [#​11471](https://togithub.com/gohugoio/hugo/issues/11471) - Upgrade to Go 1.21.1 [`1e9b87f`](https://togithub.com/gohugoio/hugo/commit/1e9b87f76) [@​bep](https://togithub.com/bep) [#​11474](https://togithub.com/gohugoio/hugo/issues/11474) [#​11414](https://togithub.com/gohugoio/hugo/issues/11414) - create/skeletons: Improve viewport meta tag [`f916315`](https://togithub.com/gohugoio/hugo/commit/f9163155d) [@​jmooring](https://togithub.com/jmooring) - commands/gen: Remove default highlight style [`75c0f88`](https://togithub.com/gohugoio/hugo/commit/75c0f8828) [@​jmooring](https://togithub.com/jmooring) [#​11445](https://togithub.com/gohugoio/hugo/issues/11445) - Adjust baseline benchmarks [`69f5bad`](https://togithub.com/gohugoio/hugo/commit/69f5bad40) [@​bep](https://togithub.com/bep) - commands: Print language code after web server address info [`525bed9`](https://togithub.com/gohugoio/hugo/commit/525bed991) [@​ilmari-lauhakangas](https://togithub.com/ilmari-lauhakangas) #### Dependency Updates - build(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0 [`a262fd4`](https://togithub.com/gohugoio/hugo/commit/a262fd4dd) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/alecthomas/chroma/v2 from 2.8.0 to 2.9.1 [`f0d3245`](https://togithub.com/gohugoio/hugo/commit/f0d32455d) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.19.2 to 0.19.3 [`e8bc8e6`](https://togithub.com/gohugoio/hugo/commit/e8bc8e6d0) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go from 1.44.314 to 1.45.14 [`11fcda9`](https://togithub.com/gohugoio/hugo/commit/11fcda971) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/getkin/kin-openapi from 0.118.0 to 0.120.0 [`f31375d`](https://togithub.com/gohugoio/hugo/commit/f31375d4c) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.11.0 to 0.12.0 [`6415b59`](https://togithub.com/gohugoio/hugo/commit/6415b599b) [@​dependabot](https://togithub.com/dependabot)\[bot] #### Documentation - docs: Even more about images.Process [`a9d19db`](https://togithub.com/gohugoio/hugo/commit/a9d19dbdd) [@​bep](https://togithub.com/bep) - docs: More about images.Process [`12d7131`](https://togithub.com/gohugoio/hugo/commit/12d713176) [@​bep](https://togithub.com/bep) - docs: Regen docshelper [`1768684`](https://togithub.com/gohugoio/hugo/commit/1768684d8) [@​bep](https://togithub.com/bep) - commands: Update CLI docs with the important -u flag in hugo mod get [`275c0ac`](https://togithub.com/gohugoio/hugo/commit/275c0acbf) [@​bep](https://togithub.com/bep) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/peaceiris/hugo-theme-iris). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information