Skip to content

Commit

Permalink
fix(deps): update module github.com/gohugoio/hugo to v0.119.0 (#1033)
Browse files Browse the repository at this point in the history
[![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)
[@&#8203;bep](https://togithub.com/bep)
[#&#8203;11450](https://togithub.com/gohugoio/hugo/issues/11450)
- Fix recently broken benchmark
[`18ce854`](https://togithub.com/gohugoio/hugo/commit/18ce85462)
[@&#8203;bep](https://togithub.com/bep)

#### Improvements

- common: Remove unused constants
[`6b65b2f`](https://togithub.com/gohugoio/hugo/commit/6b65b2fae)
[@&#8203;alexandear](https://togithub.com/alexandear)
- Add images.Process filter
[`6a246d1`](https://togithub.com/gohugoio/hugo/commit/6a246d115)
[@&#8203;bep](https://togithub.com/bep)
[#&#8203;8439](https://togithub.com/gohugoio/hugo/issues/8439)
- Add $image.Process
[`ef0e714`](https://togithub.com/gohugoio/hugo/commit/ef0e7149d)
[@&#8203;bep](https://togithub.com/bep)
[#&#8203;11483](https://togithub.com/gohugoio/hugo/issues/11483)
- google_analytics_async.html: Add deprecation warning
[`c32094a`](https://togithub.com/gohugoio/hugo/commit/c32094ace)
[@&#8203;carlmjohnson](https://togithub.com/carlmjohnson)
- Add images.Opacity filter
[`f9b3c0f`](https://togithub.com/gohugoio/hugo/commit/f9b3c0f48)
[@&#8203;bep](https://togithub.com/bep)
[#&#8203;11471](https://togithub.com/gohugoio/hugo/issues/11471)
- Upgrade to Go 1.21.1
[`1e9b87f`](https://togithub.com/gohugoio/hugo/commit/1e9b87f76)
[@&#8203;bep](https://togithub.com/bep)
[#&#8203;11474](https://togithub.com/gohugoio/hugo/issues/11474)
[#&#8203;11414](https://togithub.com/gohugoio/hugo/issues/11414)
- create/skeletons: Improve viewport meta tag
[`f916315`](https://togithub.com/gohugoio/hugo/commit/f9163155d)
[@&#8203;jmooring](https://togithub.com/jmooring)
- commands/gen: Remove default highlight style
[`75c0f88`](https://togithub.com/gohugoio/hugo/commit/75c0f8828)
[@&#8203;jmooring](https://togithub.com/jmooring)
[#&#8203;11445](https://togithub.com/gohugoio/hugo/issues/11445)
- Adjust baseline benchmarks
[`69f5bad`](https://togithub.com/gohugoio/hugo/commit/69f5bad40)
[@&#8203;bep](https://togithub.com/bep)
- commands: Print language code after web server address info
[`525bed9`](https://togithub.com/gohugoio/hugo/commit/525bed991)
[@&#8203;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)
[@&#8203;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)
[@&#8203;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)
[@&#8203;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)
[@&#8203;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)
[@&#8203;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)
[@&#8203;dependabot](https://togithub.com/dependabot)\[bot]

#### Documentation

- docs: Even more about images.Process
[`a9d19db`](https://togithub.com/gohugoio/hugo/commit/a9d19dbdd)
[@&#8203;bep](https://togithub.com/bep)
- docs: More about images.Process
[`12d7131`](https://togithub.com/gohugoio/hugo/commit/12d713176)
[@&#8203;bep](https://togithub.com/bep)
- docs: Regen docshelper
[`1768684`](https://togithub.com/gohugoio/hugo/commit/1768684d8)
[@&#8203;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)
[@&#8203;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
renovate[bot] authored Sep 24, 2023
1 parent ec0c645 commit 1d0ac52
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deps/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module theme

go 1.18

require github.com/gohugoio/hugo v0.118.2
require github.com/gohugoio/hugo v0.119.0

require (
github.com/armon/go-radix v1.0.0 // indirect
Expand Down Expand Up @@ -31,9 +31,9 @@ require (
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/tdewolff/parse/v2 v2.6.6 // indirect
golang.org/x/exp v0.0.0-20221031165847-c99f073a8326 // indirect
golang.org/x/net v0.14.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
golang.org/x/net v0.15.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
8 changes: 8 additions & 0 deletions deps/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ github.com/gohugoio/hugo v0.117.0 h1:VP7MVke7R36zjUkWezg7mEtfnwHm2L5u0JwvMHvcsZQ
github.com/gohugoio/hugo v0.117.0/go.mod h1:b6mjGjvIqRD36x+ePNDhn1ZCXdWBkvu95+dZNTCuoDM=
github.com/gohugoio/hugo v0.118.2 h1:N+Gf+Zs74xuURsBN/Q1mevb68SgH77bapkREDjW4/Ss=
github.com/gohugoio/hugo v0.118.2/go.mod h1:loOGCp1OeKj3qCxrUe6L/FP1m0qF0EA9QbZ6ARXVoho=
github.com/gohugoio/hugo v0.119.0 h1:kQha6WHt5GcCbI2PELB5KjWMHFJ8LJLrh3lusxnmCng=
github.com/gohugoio/hugo v0.119.0/go.mod h1:pXwmL2lFumAkr3qS2D262seu4SWDLphQLvYfhdGdLRU=
github.com/gohugoio/locales v0.14.0 h1:Q0gpsZwfv7ATHMbcTNepFd59H7GoykzWJIxi113XGDc=
github.com/gohugoio/locales v0.14.0/go.mod h1:ip8cCAv/cnmVLzzXtiTpPwgJ4xhKZranqNqtoIu0b/4=
github.com/gohugoio/localescompressed v1.0.1 h1:KTYMi8fCWYLswFyJAeOtuk/EkXR/KPTHHNN9OS+RTxo=
Expand Down Expand Up @@ -364,6 +366,8 @@ golang.org/x/net v0.11.0 h1:Gi2tvZIJyBtO9SDr1q9h5hEQCp/4L2RQ+ar0qjx2oNU=
golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ=
golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14=
golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI=
golang.org/x/net v0.15.0 h1:ugBLEUaxABaB5AJqW9enI0ACdci2RUd4eP51NTBvuJ8=
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -432,6 +436,8 @@ golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s=
golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand All @@ -451,6 +457,8 @@ golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4=
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc=
golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down

0 comments on commit 1d0ac52

Please sign in to comment.