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.120.3 (#1043)
[![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.119.0` -> `v0.120.3` | --- ### Release Notes <details> <summary>gohugoio/hugo (github.com/gohugoio/hugo)</summary> ### [`v0.120.3`](https://togithub.com/gohugoio/hugo/releases/tag/v0.120.3) [Compare Source](https://togithub.com/gohugoio/hugo/compare/v0.120.2...v0.120.3) #### What's Changed - tpl/tplimpl: Fix deprecation logic in embedded templates [`cb98e90`](https://togithub.com/gohugoio/hugo/commit/cb98e9061) [@​jmooring](https://togithub.com/jmooring) [#​11658](https://togithub.com/gohugoio/hugo/issues/11658) - Remove some old and unused deprecation code [`5fa97ee`](https://togithub.com/gohugoio/hugo/commit/5fa97ee96) [@​bep](https://togithub.com/bep) - Add a field prefix to the deprecated log statements [`4d38f47`](https://togithub.com/gohugoio/hugo/commit/4d38f4725) [@​bep](https://togithub.com/bep) - Avoid double printing INFO deprecation messages [`80f793c`](https://togithub.com/gohugoio/hugo/commit/80f793c38) [@​bep](https://togithub.com/bep) [#​11645](https://togithub.com/gohugoio/hugo/issues/11645) - build(deps): bump github.com/tdewolff/parse/v2 from 2.7.1 to 2.7.3 [`a9079d7`](https://togithub.com/gohugoio/hugo/commit/a9079d7a6) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/tdewolff/minify/v2 from 2.20.1 to 2.20.5 [`4914b7f`](https://togithub.com/gohugoio/hugo/commit/4914b7f18) [@​dependabot](https://togithub.com/dependabot)\[bot] ### [`v0.120.2`](https://togithub.com/gohugoio/hugo/releases/tag/v0.120.2) [Compare Source](https://togithub.com/gohugoio/hugo/compare/v0.120.1...v0.120.2) #### What's Changed - Fix deprecation printing on info level [`ab21433`](https://togithub.com/gohugoio/hugo/commit/ab2143368) [@​bep](https://togithub.com/bep) [#​11638](https://togithub.com/gohugoio/hugo/issues/11638) - tpl/tplimpl: Fix deprecation logic in RSS template [`23fcfb7`](https://togithub.com/gohugoio/hugo/commit/23fcfb7f7) [@​jmooring](https://togithub.com/jmooring) [#​11639](https://togithub.com/gohugoio/hugo/issues/11639) ### [`v0.120.1`](https://togithub.com/gohugoio/hugo/releases/tag/v0.120.1) [Compare Source](https://togithub.com/gohugoio/hugo/compare/v0.120.0...v0.120.1) #### What's Changed - deps: Update github.com/tdewolff/minify/v2 v2.20.0 => v2.20.1 [`2bedcf3`](https://togithub.com/gohugoio/hugo/commit/2bedcf3d1) [@​jmooring](https://togithub.com/jmooring) [#​11633](https://togithub.com/gohugoio/hugo/issues/11633) ### [`v0.120.0`](https://togithub.com/gohugoio/hugo/releases/tag/v0.120.0) [Compare Source](https://togithub.com/gohugoio/hugo/compare/v0.119.0...v0.120.0) This is a full dependency refresh and a couple of new cool features: A new [Padding](https://gohugo.io/functions/images/#padding) image filter, and a new [debug.Timer](https://gohugo.io/functions/debug/timer/) template func. The new `debug.Timer` is useful for finding performance bottle necks in templates: ```handlebars {{ $timer := debug.Timer "slowTemplate" }} // ... {{ $timer.Stop }} ``` If you then run `hugo --logLevel info` you should see timer info logged at the end of the build. You can have as many timers as you want and if you don't stop them, they will be stopped at the end of build. Hugo now also builds release binaries for Solaris now that a long-living issue in the upstream [ƒsnotify](https://togithub.com/fsnotify/fsnotify/pull/371) library has been fixed, thanks to [@​nshalman](https://togithub.com/nshalman). #### Notes - The `enableEmoji` flag now only works for Markdown content. This is unfortunate, but the old solution has some known issues and it was too hard to make it work properly as a general thing across all formats. See [#​11598](https://togithub.com/gohugoio/hugo/issues/11598) - `site.DisqusShortname is deprecated` [`2eca1b3`](https://togithub.com/gohugoio/hugo/commit/2eca1b3cc) - `site.GoogleAnalytics` is deprecated [`a692278`](https://togithub.com/gohugoio/hugo/commit/a692278bc) - `site.Author` is deprecated [`d4016dd`](https://togithub.com/gohugoio/hugo/commit/d4016dd5c) - `site.Social` is deprecated [`4910312`](https://togithub.com/gohugoio/hugo/commit/4910312ee) Also, we have changed the string type for some of the fields and methods: - [.Fragments.ToHTML](https://togithub.com/gohugoio/hugo/commit/1b5f78b6b7335b02b6207a637498c4c8817999d1) not returns `template.HTML` - `$resource.Data.Integrity` now returns a `string` and not a `template.HTMLAttr` - `delimit` now returns a `string` and not a `template.HTML` See [#​10876](https://togithub.com/gohugoio/hugo/issues/10876) [#​11502](https://togithub.com/gohugoio/hugo/issues/11502). - the URL functions now returns a `string`, see [#​11536](https://togithub.com/gohugoio/hugo/issues/11536) - The paginator `Pager` now returns a `string`. - `site.BaseURL` now returns a `string`. The above should both solve some issues and make the above types more useful and easer to reason about. But if you use the `delimit` function to process HTML and see some unexpected escaping after this release, e.g.: ```handlebars {{ $s := slice "<i>foo</i>" }} {{ delimit $s "," }} ``` Then you need to mark the type with `safeHTML`: ```handlebars {{ $s := slice "<i>foo</i>" }} {{ delimit $s "," | safeHTML }} ``` #### Bug fixes - create/skeletons: Fix menu template [`acf01bf`](https://togithub.com/gohugoio/hugo/commit/acf01bfb7) [@​jmooring](https://togithub.com/jmooring) [#​11519](https://togithub.com/gohugoio/hugo/issues/11519) - Fix so hugo get -u updates transitively [`de4e466`](https://togithub.com/gohugoio/hugo/commit/de4e46603) [@​razonyang](https://togithub.com/razonyang) - tpl/tplimpl: Fix dropped error [`6251626`](https://togithub.com/gohugoio/hugo/commit/625162674) [@​alrs](https://togithub.com/alrs) - tpl/collections: Fix and deprecate echoParams [`75f56b4`](https://togithub.com/gohugoio/hugo/commit/75f56b4ce) [@​jmooring](https://togithub.com/jmooring) [#​11498](https://togithub.com/gohugoio/hugo/issues/11498) #### Improvements - Add Solaris build [`7f8ab74`](https://togithub.com/gohugoio/hugo/commit/7f8ab7468) [@​bep](https://togithub.com/bep) [#​3500](https://togithub.com/gohugoio/hugo/issues/3500) - Make site.BaseURL and $pager.URL a string [`b6a7568`](https://togithub.com/gohugoio/hugo/commit/b6a756813) [@​bep](https://togithub.com/bep) - commands/new: Remove format flag from new content cmd [`27b22cd`](https://togithub.com/gohugoio/hugo/commit/27b22cd87) [@​jmooring](https://togithub.com/jmooring) [#​11462](https://togithub.com/gohugoio/hugo/issues/11462) - hugolib: Display correct markup identifier in error message [`a2488b1`](https://togithub.com/gohugoio/hugo/commit/a2488b1c9) [@​jmooring](https://togithub.com/jmooring) [#​11538](https://togithub.com/gohugoio/hugo/issues/11538) - livereloadinject: Save some allocations [`8f60c0c`](https://togithub.com/gohugoio/hugo/commit/8f60c0c1e) [@​bep](https://togithub.com/bep) - livereloadinject: Use more robust injection method [`9dc6080`](https://togithub.com/gohugoio/hugo/commit/9dc608084) [@​DominoPivot](https://togithub.com/DominoPivot) - tpl/urls: Return strings from URL functions [`a349aaf`](https://togithub.com/gohugoio/hugo/commit/a349aafb7) [@​jmooring](https://togithub.com/jmooring) [#​11511](https://togithub.com/gohugoio/hugo/issues/11511) - transform/livereloadinject: Add benchmark [`b8fbd4a`](https://togithub.com/gohugoio/hugo/commit/b8fbd4a57) [@​bep](https://togithub.com/bep) - Revert "modules: Throttle the "downloading modules …" log entries" [`28d8446`](https://togithub.com/gohugoio/hugo/commit/28d844642) [@​bep](https://togithub.com/bep) - Revert "modules: Adjust the log throttle logic a little" [`eb5fd31`](https://togithub.com/gohugoio/hugo/commit/eb5fd3127) [@​bep](https://togithub.com/bep) - resources/images: Create padding image filter [`3ed28e4`](https://togithub.com/gohugoio/hugo/commit/3ed28e4bf) [@​jmooring](https://togithub.com/jmooring) [#​11599](https://togithub.com/gohugoio/hugo/issues/11599) - markup/goldmark: Update the CJK extension to allow specifying line break styles [`db14238`](https://togithub.com/gohugoio/hugo/commit/db14238ba) [@​henry0312](https://togithub.com/henry0312) - modules: Adjust the log throttle logic a little [`3f64b5a`](https://togithub.com/gohugoio/hugo/commit/3f64b5a3d) [@​bep](https://togithub.com/bep) - modules: Throttle the "downloading modules …" log entries [`6690409`](https://togithub.com/gohugoio/hugo/commit/66904097e) [@​bep](https://togithub.com/bep) - tpl/collections: Make delimit return a string [`e54139c`](https://togithub.com/gohugoio/hugo/commit/e54139c85) [@​bep](https://togithub.com/bep) [#​10876](https://togithub.com/gohugoio/hugo/issues/10876) [#​11502](https://togithub.com/gohugoio/hugo/issues/11502) - Revise the deprecation logging [`71fd79a`](https://togithub.com/gohugoio/hugo/commit/71fd79a3f) [@​bep](https://togithub.com/bep) - Remove rest of the now unused emoji code [`c4a530f`](https://togithub.com/gohugoio/hugo/commit/c4a530f10) [@​bep](https://togithub.com/bep) [#​11598](https://togithub.com/gohugoio/hugo/issues/11598) - markdown: Pass emoji codes to yuin/goldmark-emoji [`272484f`](https://togithub.com/gohugoio/hugo/commit/272484f8b) [@​jmooring](https://togithub.com/jmooring) [#​7332](https://togithub.com/gohugoio/hugo/issues/7332) [#​11587](https://togithub.com/gohugoio/hugo/issues/11587) [#​11598](https://togithub.com/gohugoio/hugo/issues/11598) - watcher/filenotify: Remove redundant duplicated comments [`c23a0c4`](https://togithub.com/gohugoio/hugo/commit/c23a0c4a0) [@​alexandear](https://togithub.com/alexandear) - tpl/debug: Add average and median to timer output [`46bdc03`](https://togithub.com/gohugoio/hugo/commit/46bdc0388) [@​bep](https://togithub.com/bep) - tpl/debug: Add debug.Timer [`5160c7e`](https://togithub.com/gohugoio/hugo/commit/5160c7efa) [@​bep](https://togithub.com/bep) [#​11580](https://togithub.com/gohugoio/hugo/issues/11580) - Add some convenient integration test helpers [`fd38171`](https://togithub.com/gohugoio/hugo/commit/fd3817181) [@​bep](https://togithub.com/bep) - hugolib: Deprecate .Site.DisqusShortname [`2eca1b3`](https://togithub.com/gohugoio/hugo/commit/2eca1b3cc) [@​jmooring](https://togithub.com/jmooring) - hugolib: Deprecate .Site.GoogleAnalytics [`a692278`](https://togithub.com/gohugoio/hugo/commit/a692278bc) [@​jmooring](https://togithub.com/jmooring) - tpl/tplimpl: Deprecate .Site.Author usage in RSS template [`d4016dd`](https://togithub.com/gohugoio/hugo/commit/d4016dd5c) [@​jmooring](https://togithub.com/jmooring) - tpl/tplimpl: Deprecate .Site.Social usage with internal templates [`4910312`](https://togithub.com/gohugoio/hugo/commit/4910312ee) [@​jmooring](https://togithub.com/jmooring) - markup/tableofcontents: Return template.HTML from .Fragments.ToHTML [`1b5f78b`](https://togithub.com/gohugoio/hugo/commit/1b5f78b6b) [@​jmooring](https://togithub.com/jmooring) [#​11545](https://togithub.com/gohugoio/hugo/issues/11545) - commands: Update message displayed when running CLI from GUI [`5993afa`](https://togithub.com/gohugoio/hugo/commit/5993afa4c) [@​jmooring](https://togithub.com/jmooring) [#​11525](https://togithub.com/gohugoio/hugo/issues/11525) - common/hugo: Add hugo.IsServer and hugo.IsDevelopment [`d1b4458`](https://togithub.com/gohugoio/hugo/commit/d1b445853) [@​jmooring](https://togithub.com/jmooring) [#​11510](https://togithub.com/gohugoio/hugo/issues/11510) - all: Format files with gofmt [`274852b`](https://togithub.com/gohugoio/hugo/commit/274852bcf) [@​alexandear](https://togithub.com/alexandear) - magefile: Update isGoLatest to check for Go 1.21 [`37a2d5e`](https://togithub.com/gohugoio/hugo/commit/37a2d5eb4) [@​abdullah-alaadine](https://togithub.com/abdullah-alaadine) - resources/integrity: Return string instead of template.HTMLAttr [`4c95389`](https://togithub.com/gohugoio/hugo/commit/4c95389c2) [@​jmooring](https://togithub.com/jmooring) [#​11513](https://togithub.com/gohugoio/hugo/issues/11513) - tpl/lang: Formally deprecate lang.NumFmt [`46da0b7`](https://togithub.com/gohugoio/hugo/commit/46da0b7aa) [@​jmooring](https://togithub.com/jmooring) #### Dependency Updates - build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 [`59bcc09`](https://togithub.com/gohugoio/hugo/commit/59bcc098c) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 [`e26ba75`](https://togithub.com/gohugoio/hugo/commit/e26ba752d) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/alecthomas/chroma/v2 from 2.9.1 to 2.10.0 [`bcf07fa`](https://togithub.com/gohugoio/hugo/commit/bcf07fa63) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 [`e2b2092`](https://togithub.com/gohugoio/hugo/commit/e2b2092ce) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/tdewolff/minify/v2 from 2.12.9 to 2.20.0 [`f4df7b8`](https://togithub.com/gohugoio/hugo/commit/f4df7b88b) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 [`3d9bd40`](https://togithub.com/gohugoio/hugo/commit/3d9bd404e) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.12.0 to 0.13.0 [`5f5e55a`](https://togithub.com/gohugoio/hugo/commit/5f5e55aa8) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 [`8c61fd2`](https://togithub.com/gohugoio/hugo/commit/8c61fd254) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.19.3 to 0.19.5 [`d3145e4`](https://togithub.com/gohugoio/hugo/commit/d3145e4e5) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/spf13/afero from 1.9.5 to 1.10.0 [`743a1da`](https://togithub.com/gohugoio/hugo/commit/743a1da3e) [@​dependabot](https://togithub.com/dependabot)\[bot] - build(deps): bump github.com/bep/logg from 0.2.0 to 0.3.0 [`123901b`](https://togithub.com/gohugoio/hugo/commit/123901b74) [@​dependabot](https://togithub.com/dependabot)\[bot] - deps: Update github.com/tdewolff/minify/v2 v2.12.7 => v2.12.9 [`d5d0f42`](https://togithub.com/gohugoio/hugo/commit/d5d0f420d) [@​jmooring](https://togithub.com/jmooring) [#​11533](https://togithub.com/gohugoio/hugo/issues/11533) #### Documentation - docs: Regen docshelper [`29b6e13`](https://togithub.com/gohugoio/hugo/commit/29b6e133a) [@​bep](https://togithub.com/bep) - docs: Regenerate docshelper [`d3d4ab4`](https://togithub.com/gohugoio/hugo/commit/d3d4ab41a) [@​bep](https://togithub.com/bep) - Update README.md [`3af8bde`](https://togithub.com/gohugoio/hugo/commit/3af8bded2) [@​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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information