chore(deps): update dependency gohugoio/hugo to v0.121.1 #119

Merged
xoxys merged 1 commits from renovate/gohugoio-hugo-0.x into main 2024-01-04 19:50:31 +00:00
Member

This PR contains the following updates:

Package Update Change
gohugoio/hugo minor v0.115.2 -> v0.121.1

Release Notes

gohugoio/hugo (gohugoio/hugo)

v0.121.1

Compare Source

The only change in this release is that the release binaries are compiled with Go 1.21.5 which contains some security fixes that are relevant for Hugo.

v0.121.0

Compare Source

There are some minor new features in this release, but it's mostly a release with bug fixes and dependency updates. One notable dependency update is libweb v1.3.2 which comes with a security fix for the Webp decoder (chromium: #​1479274, CVE-2023-4863). Hugo only uses the encoder (we use Go's native Webp decoder) so we're not affected by this, but we have been contacted by some corporate Hugo users who's eager to have a clean security report.

Notes

  • kin-openapi v0.122.0 has some minor breaking API changes which, from Hugo's side of it, can be adapted by using the new .Map accessors if you get an error.

Bug fixes and enhancements

Dependency Updates

Documentation

v0.120.4

Compare Source

The only change in this release is that the release binaries are compiled with Go 1.21.4 which comes with a security fix for Windows that may be relevant for Hugo. See:

What's Changed

v0.120.3

Compare Source

What's Changed

v0.120.2

Compare Source

What's Changed

v0.120.1

Compare Source

What's Changed

v0.120.0

Compare Source

This is a full dependency refresh and a couple of new cool features:

A new Padding image filter, and a new debug.Timer template func. The new debug.Timer is useful for finding performance bottle necks in templates:

{{ $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 library has been fixed, thanks to @​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
  • site.DisqusShortname is deprecated 2eca1b3
  • site.GoogleAnalytics is deprecated a692278
  • site.Author is deprecated d4016dd
  • site.Social is deprecated 4910312

Also, we have changed the string type for some of the fields and methods:

  • .Fragments.ToHTML now 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 #​11502.
  • the URL functions now returns a string, see #​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.:

{{ $s := slice "<i>foo</i>" }}
{{ delimit $s "," }}

Then you need to mark the type with safeHTML:

{{ $s := slice "<i>foo</i>" }}
{{ delimit $s "," | safeHTML }}

Bug fixes

Improvements

Dependency Updates

Documentation

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

v0.118.2

Compare Source

What's Changed

v0.118.1

Compare Source

Note: There still seem to be an issue on Vercel.


This release only fixes a GLIBC_xxx not found issue with the Linux AMD64 binary when running on older Linux versions, which is the situation when building on Netlify/Vercel etc. 7e9092e @​bep #​11414

There's no functional changes in this release. See v0.118.0.

v0.118.0

Compare Source

Note: Hugo 0.118.2 fixes an issue with the Linux binaries when building on Netlify/Vercel/etc.


Hugo 0.118.0 now builds with Go 1.21. This version also comes with:

  • Proper CJK support in Markdown:
  [markup.goldmark]
    [markup.goldmark.extensions]
      [markup.goldmark.extensions.cjk]

### Whether to enable CJK support.
        enable = false

### Whether softline breaks between east asian wide characters should be ignored.
        eastAsianLineBreaks = false    

###  Whether a '\' escaped half-space(0x20) should not be rendered.
        escapedSpace = false
  • A revamped implementation of hugo new site and hugo new theme. See details.

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.117.0

Compare Source

This is a release on the small side, but. especially the new Page.RenderShortcodes method is so useful, especially for bigger sites, that we decided to get it out sooner rather than later. This method renders all the shortcodes in the content, preserving the surrounding markup (e.g. Markdown) as is. See the Hugo Documentation for more information.

Improvements

Dependency Updates

Documentation

v0.116.1

Compare Source

What's Changed

v0.116.0

Compare Source

There are two notable changes in this release. For one, we have changed the default location of the cacheDir (where Hugo stores all its file caches). Having the cache stored in a /tmp folder has had its issues, especially for the module cache and especially on MacOS. The current new default should be better and more stable. See See Configure CacheDir for more info.

Also in this release: The where template func finally supports regular expressions with the new like operator.

Note

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.115.4

Compare Source

Bug fixes

Improvements

v0.115.3

Compare Source

What's Changed


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gohugoio/hugo](https://github.com/gohugoio/hugo) | minor | `v0.115.2` -> `v0.121.1` | --- ### Release Notes <details> <summary>gohugoio/hugo (gohugoio/hugo)</summary> ### [`v0.121.1`](https://github.com/gohugoio/hugo/releases/tag/v0.121.1) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.121.0...v0.121.1) The only change in this release is that the release binaries are compiled with [Go 1.21.5](https://github.com/golang/go/issues?q=milestone%3AGo1.21.5+label%3ACherryPickApproved) which contains some [security fixes](https://groups.google.com/g/golang-announce/c/iLGK3x6yuNo) that are relevant for Hugo. - Upgrade to Go 1.21.5 [`eb9f1eb`](https://github.com/gohugoio/hugo/commit/eb9f1eb65) [@&#8203;bep](https://github.com/bep) [#&#8203;11786](https://github.com/gohugoio/hugo/issues/11786) ### [`v0.121.0`](https://github.com/gohugoio/hugo/releases/tag/v0.121.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.120.4...v0.121.0) There are some minor new features in this release, but it's mostly a release with bug fixes and dependency updates. One notable dependency update is [libweb v1.3.2](https://github.com/webmproject/libwebp/releases/tag/v1.3.2) which comes with a security fix for the Webp *decoder* (chromium: [#&#8203;1479274](https://github.com/gohugoio/hugo/issues/1479274), CVE-2023-4863). Hugo only uses the encoder (we use Go's native Webp decoder) so we're not affected by this, but we have been contacted by some corporate Hugo users who's eager to have a clean security report. #### Notes - [kin-openapi v0.122.0](https://github.com/getkin/kin-openapi#v01220) has some minor breaking API changes which, from Hugo's side of it, can be adapted by using the new `.Map` accessors if you get an error. #### Bug fixes and enhancements - github: Fix CI build on Windows [`6d4b012`](https://github.com/gohugoio/hugo/commit/6d4b01241) [@&#8203;bep](https://github.com/bep) - Fix handling of dropped error in test [`26a8ec2`](https://github.com/gohugoio/hugo/commit/26a8ec207) [@&#8203;alrs](https://github.com/alrs) - resources/resource: Fix GroupByParamDate with raw TOML dates [`dd6cd62`](https://github.com/gohugoio/hugo/commit/dd6cd6268) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11563](https://github.com/gohugoio/hugo/issues/11563) - helpers: Fix TrimShortHTML used by markdownify and RenderString [`0bde693`](https://github.com/gohugoio/hugo/commit/0bde6931a) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11698](https://github.com/gohugoio/hugo/issues/11698) - Pull in the latest code from Go's template packages ([#&#8203;11771](https://github.com/gohugoio/hugo/issues/11771)) [`9f978d3`](https://github.com/gohugoio/hugo/commit/9f978d387) [@&#8203;bep](https://github.com/bep) [#&#8203;10707](https://github.com/gohugoio/hugo/issues/10707) [#&#8203;11507](https://github.com/gohugoio/hugo/issues/11507) - tpl: Allow using page resources on the images page parameter for `opengraph`, `schema` and `twitter_cards` templates [`14d85ec`](https://github.com/gohugoio/hugo/commit/14d85ec13) [@&#8203;razonyang](https://github.com/razonyang) - hugolib: Apply titleCaseStyle to automatic section pages [`171836c`](https://github.com/gohugoio/hugo/commit/171836cdf) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11547](https://github.com/gohugoio/hugo/issues/11547) - tpl/urls: Retain query and fragment with absURL and absLangURL [`9ea7103`](https://github.com/gohugoio/hugo/commit/9ea7103db) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11772](https://github.com/gohugoio/hugo/issues/11772) - markup: Add Level to Heading struct [`3fc42da`](https://github.com/gohugoio/hugo/commit/3fc42da3d) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;10776](https://github.com/gohugoio/hugo/issues/10776) - tpl/fmt: Print suppression help with erroridf [`d24da17`](https://github.com/gohugoio/hugo/commit/d24da1712) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11506](https://github.com/gohugoio/hugo/issues/11506) - tpl/transform: Display Chroma highlighting errors [`4583b41`](https://github.com/gohugoio/hugo/commit/4583b4130) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;9642](https://github.com/gohugoio/hugo/issues/9642) - common/para: Skip flaky test on CI [`e2a624d`](https://github.com/gohugoio/hugo/commit/e2a624dd6) [@&#8203;bep](https://github.com/bep) - watcher: Skip flaky test for now [`30a18e8`](https://github.com/gohugoio/hugo/commit/30a18e882) [@&#8203;bep](https://github.com/bep) - tpl/transform: Add transform.XMLEscape template function [`b4c5df4`](https://github.com/gohugoio/hugo/commit/b4c5df42f) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;3268](https://github.com/gohugoio/hugo/issues/3268) - tpl/tplimpl: Remove superfluous type attr on script elements [`8d32ca2`](https://github.com/gohugoio/hugo/commit/8d32ca223) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;6379](https://github.com/gohugoio/hugo/issues/6379) - common/para: Skip flaky tests on Windows [`27620da`](https://github.com/gohugoio/hugo/commit/27620daa2) [@&#8203;bep](https://github.com/bep) - navigation: Unexport menu entry methods [`80d2fdb`](https://github.com/gohugoio/hugo/commit/80d2fdbaa) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11670](https://github.com/gohugoio/hugo/issues/11670) - markup/goldmark: Sync image render hook code with Goldmark [`805cc17`](https://github.com/gohugoio/hugo/commit/805cc1773) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11681](https://github.com/gohugoio/hugo/issues/11681) #### Dependency Updates - build(deps): bump github.com/alecthomas/chroma/v2 from 2.11.1 to 2.12.0 [`558f325`](https://github.com/gohugoio/hugo/commit/558f3258a) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/tdewolff/minify/v2 from 2.20.8 to 2.20.9 [`507f4e3`](https://github.com/gohugoio/hugo/commit/507f4e356) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 [`a7e721e`](https://github.com/gohugoio/hugo/commit/a7e721e02) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/getkin/kin-openapi from 0.121.0 to 0.122.0 [`2627b91`](https://github.com/gohugoio/hugo/commit/2627b91d3) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.13.0 to 0.14.0 [`e536d46`](https://github.com/gohugoio/hugo/commit/e536d461a) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - deps: Update github.com/tdewolff/minify/v2 v2.20.7 => v2.20.8 [`bfc325f`](https://github.com/gohugoio/hugo/commit/bfc325f56) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;5748](https://github.com/gohugoio/hugo/issues/5748) - build(deps): bump github.com/spf13/afero from 1.10.0 to 1.11.0 [`36a60f6`](https://github.com/gohugoio/hugo/commit/36a60f65d) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.19.7 to 0.19.8 [`de2fcc5`](https://github.com/gohugoio/hugo/commit/de2fcc5e1) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump google.golang.org/api from 0.151.0 to 0.152.0 [`9ca889b`](https://github.com/gohugoio/hugo/commit/9ca889ba4) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - deps: Upgrade to libwebp 1.3.2 [`4fb40ee`](https://github.com/gohugoio/hugo/commit/4fb40ee87) [@&#8203;bep](https://github.com/bep) [#&#8203;11746](https://github.com/gohugoio/hugo/issues/11746) - build(deps): bump github.com/aws/aws-sdk-go from 1.48.4 to 1.48.6 [`bc93a36`](https://github.com/gohugoio/hugo/commit/bc93a3613) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/tools from 0.15.0 to 0.16.0 [`3e5bc6f`](https://github.com/gohugoio/hugo/commit/3e5bc6f3b) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/getkin/kin-openapi from 0.120.0 to 0.121.0 [`7c47036`](https://github.com/gohugoio/hugo/commit/7c47036f1) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/bep/logg from 0.3.0 to 0.4.0 [`4d07e1f`](https://github.com/gohugoio/hugo/commit/4d07e1fe8) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - deps: Upgrade to github.com/bep/simplecobra v0.4.0 [`1c41232`](https://github.com/gohugoio/hugo/commit/1c41232e6) [@&#8203;bep](https://github.com/bep) - build(deps): bump github.com/aws/aws-sdk-go from 1.48.2 to 1.48.4 [`f11ca0f`](https://github.com/gohugoio/hugo/commit/f11ca0fad) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/tools from 0.14.0 to 0.15.0 [`d7a2f3f`](https://github.com/gohugoio/hugo/commit/d7a2f3f98) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/gorilla/websocket from 1.5.0 to 1.5.1 [`ef12d16`](https://github.com/gohugoio/hugo/commit/ef12d169c) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 [`a62bbfa`](https://github.com/gohugoio/hugo/commit/a62bbfa9e) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/net from 0.17.0 to 0.18.0 [`5887230`](https://github.com/gohugoio/hugo/commit/5887230b7) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.19.5 to 0.19.7 [`a4a66b8`](https://github.com/gohugoio/hugo/commit/a4a66b821) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/alecthomas/chroma/v2 from 2.10.0 to 2.11.1 [`813390b`](https://github.com/gohugoio/hugo/commit/813390b5a) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/tdewolff/minify/v2 from 2.20.5 to 2.20.7 [`d528bbd`](https://github.com/gohugoio/hugo/commit/d528bbd6d) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump google.golang.org/api from 0.138.0 to 0.151.0 [`af7f6c8`](https://github.com/gohugoio/hugo/commit/af7f6c8b3) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go from 1.45.14 to 1.48.2 ([#&#8203;11724](https://github.com/gohugoio/hugo/issues/11724)) [`e70849e`](https://github.com/gohugoio/hugo/commit/e70849ea7) [@&#8203;dependabot](https://github.com/dependabot)\[bot] [#&#8203;11723](https://github.com/gohugoio/hugo/issues/11723) #### Documentation - docs: Regen docshelper [`255e0a9`](https://github.com/gohugoio/hugo/commit/255e0a971) [@&#8203;bep](https://github.com/bep) - docs: Adjust last merge from docs repository [`6580cd3`](https://github.com/gohugoio/hugo/commit/6580cd30a) [@&#8203;jmooring](https://github.com/jmooring) - docs: Regen docs helper [`7617de8`](https://github.com/gohugoio/hugo/commit/7617de86c) [@&#8203;bep](https://github.com/bep) ### [`v0.120.4`](https://github.com/gohugoio/hugo/releases/tag/v0.120.4) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.120.3...v0.120.4) The only change in this release is that the release binaries are compiled with Go 1.21.4 which comes with a security fix for Windows that may be relevant for Hugo. See: - https://github.com/golang/go/issues?q=milestone%3AGo1.21.4+label%3ACherryPickApproved - Especially [golang/go#63715](https://github.com/golang/go/issues/63715) #### What's Changed - Upgrade to go 1.21.4 [`9315a2d`](https://github.com/gohugoio/hugo/commit/9315a2d2c) [@&#8203;bep](https://github.com/bep) [#&#8203;11685](https://github.com/gohugoio/hugo/issues/11685) ### [`v0.120.3`](https://github.com/gohugoio/hugo/releases/tag/v0.120.3) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.120.2...v0.120.3) #### What's Changed - tpl/tplimpl: Fix deprecation logic in embedded templates [`cb98e90`](https://github.com/gohugoio/hugo/commit/cb98e9061) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11658](https://github.com/gohugoio/hugo/issues/11658) - Remove some old and unused deprecation code [`5fa97ee`](https://github.com/gohugoio/hugo/commit/5fa97ee96) [@&#8203;bep](https://github.com/bep) - Add a field prefix to the deprecated log statements [`4d38f47`](https://github.com/gohugoio/hugo/commit/4d38f4725) [@&#8203;bep](https://github.com/bep) - Avoid double printing INFO deprecation messages [`80f793c`](https://github.com/gohugoio/hugo/commit/80f793c38) [@&#8203;bep](https://github.com/bep) [#&#8203;11645](https://github.com/gohugoio/hugo/issues/11645) - build(deps): bump github.com/tdewolff/parse/v2 from 2.7.1 to 2.7.3 [`a9079d7`](https://github.com/gohugoio/hugo/commit/a9079d7a6) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/tdewolff/minify/v2 from 2.20.1 to 2.20.5 [`4914b7f`](https://github.com/gohugoio/hugo/commit/4914b7f18) [@&#8203;dependabot](https://github.com/dependabot)\[bot] ### [`v0.120.2`](https://github.com/gohugoio/hugo/releases/tag/v0.120.2) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.120.1...v0.120.2) #### What's Changed - Fix deprecation printing on info level [`ab21433`](https://github.com/gohugoio/hugo/commit/ab2143368) [@&#8203;bep](https://github.com/bep) [#&#8203;11638](https://github.com/gohugoio/hugo/issues/11638) - tpl/tplimpl: Fix deprecation logic in RSS template [`23fcfb7`](https://github.com/gohugoio/hugo/commit/23fcfb7f7) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11639](https://github.com/gohugoio/hugo/issues/11639) ### [`v0.120.1`](https://github.com/gohugoio/hugo/releases/tag/v0.120.1) [Compare Source](https://github.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://github.com/gohugoio/hugo/commit/2bedcf3d1) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11633](https://github.com/gohugoio/hugo/issues/11633) ### [`v0.120.0`](https://github.com/gohugoio/hugo/releases/tag/v0.120.0) [Compare Source](https://github.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://github.com/fsnotify/fsnotify/pull/371) library has been fixed, thanks to [@&#8203;nshalman](https://github.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 [#&#8203;11598](https://github.com/gohugoio/hugo/issues/11598) - `site.DisqusShortname is deprecated` [`2eca1b3`](https://github.com/gohugoio/hugo/commit/2eca1b3cc) - `site.GoogleAnalytics` is deprecated [`a692278`](https://github.com/gohugoio/hugo/commit/a692278bc) - `site.Author` is deprecated [`d4016dd`](https://github.com/gohugoio/hugo/commit/d4016dd5c) - `site.Social` is deprecated [`4910312`](https://github.com/gohugoio/hugo/commit/4910312ee) Also, we have changed the string type for some of the fields and methods: - [.Fragments.ToHTML](https://github.com/gohugoio/hugo/commit/1b5f78b6b7335b02b6207a637498c4c8817999d1) now 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 [#&#8203;10876](https://github.com/gohugoio/hugo/issues/10876) [#&#8203;11502](https://github.com/gohugoio/hugo/issues/11502). - the URL functions now returns a `string`, see [#&#8203;11536](https://github.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://github.com/gohugoio/hugo/commit/acf01bfb7) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11519](https://github.com/gohugoio/hugo/issues/11519) - Fix so hugo get -u updates transitively [`de4e466`](https://github.com/gohugoio/hugo/commit/de4e46603) [@&#8203;razonyang](https://github.com/razonyang) - tpl/tplimpl: Fix dropped error [`6251626`](https://github.com/gohugoio/hugo/commit/625162674) [@&#8203;alrs](https://github.com/alrs) - tpl/collections: Fix and deprecate echoParams [`75f56b4`](https://github.com/gohugoio/hugo/commit/75f56b4ce) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11498](https://github.com/gohugoio/hugo/issues/11498) #### Improvements - Add Solaris build [`7f8ab74`](https://github.com/gohugoio/hugo/commit/7f8ab7468) [@&#8203;bep](https://github.com/bep) [#&#8203;3500](https://github.com/gohugoio/hugo/issues/3500) - Make site.BaseURL and $pager.URL a string [`b6a7568`](https://github.com/gohugoio/hugo/commit/b6a756813) [@&#8203;bep](https://github.com/bep) - commands/new: Remove format flag from new content cmd [`27b22cd`](https://github.com/gohugoio/hugo/commit/27b22cd87) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11462](https://github.com/gohugoio/hugo/issues/11462) - hugolib: Display correct markup identifier in error message [`a2488b1`](https://github.com/gohugoio/hugo/commit/a2488b1c9) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11538](https://github.com/gohugoio/hugo/issues/11538) - livereloadinject: Save some allocations [`8f60c0c`](https://github.com/gohugoio/hugo/commit/8f60c0c1e) [@&#8203;bep](https://github.com/bep) - livereloadinject: Use more robust injection method [`9dc6080`](https://github.com/gohugoio/hugo/commit/9dc608084) [@&#8203;DominoPivot](https://github.com/DominoPivot) - tpl/urls: Return strings from URL functions [`a349aaf`](https://github.com/gohugoio/hugo/commit/a349aafb7) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11511](https://github.com/gohugoio/hugo/issues/11511) - transform/livereloadinject: Add benchmark [`b8fbd4a`](https://github.com/gohugoio/hugo/commit/b8fbd4a57) [@&#8203;bep](https://github.com/bep) - Revert "modules: Throttle the "downloading modules …" log entries" [`28d8446`](https://github.com/gohugoio/hugo/commit/28d844642) [@&#8203;bep](https://github.com/bep) - Revert "modules: Adjust the log throttle logic a little" [`eb5fd31`](https://github.com/gohugoio/hugo/commit/eb5fd3127) [@&#8203;bep](https://github.com/bep) - resources/images: Create padding image filter [`3ed28e4`](https://github.com/gohugoio/hugo/commit/3ed28e4bf) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11599](https://github.com/gohugoio/hugo/issues/11599) - markup/goldmark: Update the CJK extension to allow specifying line break styles [`db14238`](https://github.com/gohugoio/hugo/commit/db14238ba) [@&#8203;henry0312](https://github.com/henry0312) - modules: Adjust the log throttle logic a little [`3f64b5a`](https://github.com/gohugoio/hugo/commit/3f64b5a3d) [@&#8203;bep](https://github.com/bep) - modules: Throttle the "downloading modules …" log entries [`6690409`](https://github.com/gohugoio/hugo/commit/66904097e) [@&#8203;bep](https://github.com/bep) - tpl/collections: Make delimit return a string [`e54139c`](https://github.com/gohugoio/hugo/commit/e54139c85) [@&#8203;bep](https://github.com/bep) [#&#8203;10876](https://github.com/gohugoio/hugo/issues/10876) [#&#8203;11502](https://github.com/gohugoio/hugo/issues/11502) - Revise the deprecation logging [`71fd79a`](https://github.com/gohugoio/hugo/commit/71fd79a3f) [@&#8203;bep](https://github.com/bep) - Remove rest of the now unused emoji code [`c4a530f`](https://github.com/gohugoio/hugo/commit/c4a530f10) [@&#8203;bep](https://github.com/bep) [#&#8203;11598](https://github.com/gohugoio/hugo/issues/11598) - markdown: Pass emoji codes to yuin/goldmark-emoji [`272484f`](https://github.com/gohugoio/hugo/commit/272484f8b) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;7332](https://github.com/gohugoio/hugo/issues/7332) [#&#8203;11587](https://github.com/gohugoio/hugo/issues/11587) [#&#8203;11598](https://github.com/gohugoio/hugo/issues/11598) - watcher/filenotify: Remove redundant duplicated comments [`c23a0c4`](https://github.com/gohugoio/hugo/commit/c23a0c4a0) [@&#8203;alexandear](https://github.com/alexandear) - tpl/debug: Add average and median to timer output [`46bdc03`](https://github.com/gohugoio/hugo/commit/46bdc0388) [@&#8203;bep](https://github.com/bep) - tpl/debug: Add debug.Timer [`5160c7e`](https://github.com/gohugoio/hugo/commit/5160c7efa) [@&#8203;bep](https://github.com/bep) [#&#8203;11580](https://github.com/gohugoio/hugo/issues/11580) - Add some convenient integration test helpers [`fd38171`](https://github.com/gohugoio/hugo/commit/fd3817181) [@&#8203;bep](https://github.com/bep) - hugolib: Deprecate .Site.DisqusShortname [`2eca1b3`](https://github.com/gohugoio/hugo/commit/2eca1b3cc) [@&#8203;jmooring](https://github.com/jmooring) - hugolib: Deprecate .Site.GoogleAnalytics [`a692278`](https://github.com/gohugoio/hugo/commit/a692278bc) [@&#8203;jmooring](https://github.com/jmooring) - tpl/tplimpl: Deprecate .Site.Author usage in RSS template [`d4016dd`](https://github.com/gohugoio/hugo/commit/d4016dd5c) [@&#8203;jmooring](https://github.com/jmooring) - tpl/tplimpl: Deprecate .Site.Social usage with internal templates [`4910312`](https://github.com/gohugoio/hugo/commit/4910312ee) [@&#8203;jmooring](https://github.com/jmooring) - markup/tableofcontents: Return template.HTML from .Fragments.ToHTML [`1b5f78b`](https://github.com/gohugoio/hugo/commit/1b5f78b6b) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11545](https://github.com/gohugoio/hugo/issues/11545) - commands: Update message displayed when running CLI from GUI [`5993afa`](https://github.com/gohugoio/hugo/commit/5993afa4c) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11525](https://github.com/gohugoio/hugo/issues/11525) - common/hugo: Add hugo.IsServer and hugo.IsDevelopment [`d1b4458`](https://github.com/gohugoio/hugo/commit/d1b445853) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11510](https://github.com/gohugoio/hugo/issues/11510) - all: Format files with gofmt [`274852b`](https://github.com/gohugoio/hugo/commit/274852bcf) [@&#8203;alexandear](https://github.com/alexandear) - magefile: Update isGoLatest to check for Go 1.21 [`37a2d5e`](https://github.com/gohugoio/hugo/commit/37a2d5eb4) [@&#8203;abdullah-alaadine](https://github.com/abdullah-alaadine) - resources/integrity: Return string instead of template.HTMLAttr [`4c95389`](https://github.com/gohugoio/hugo/commit/4c95389c2) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11513](https://github.com/gohugoio/hugo/issues/11513) - tpl/lang: Formally deprecate lang.NumFmt [`46da0b7`](https://github.com/gohugoio/hugo/commit/46da0b7aa) [@&#8203;jmooring](https://github.com/jmooring) #### Dependency Updates - build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 [`59bcc09`](https://github.com/gohugoio/hugo/commit/59bcc098c) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 [`e26ba75`](https://github.com/gohugoio/hugo/commit/e26ba752d) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/alecthomas/chroma/v2 from 2.9.1 to 2.10.0 [`bcf07fa`](https://github.com/gohugoio/hugo/commit/bcf07fa63) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/tools from 0.13.0 to 0.14.0 [`e2b2092`](https://github.com/gohugoio/hugo/commit/e2b2092ce) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/tdewolff/minify/v2 from 2.12.9 to 2.20.0 [`f4df7b8`](https://github.com/gohugoio/hugo/commit/f4df7b88b) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 [`3d9bd40`](https://github.com/gohugoio/hugo/commit/3d9bd404e) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.12.0 to 0.13.0 [`5f5e55a`](https://github.com/gohugoio/hugo/commit/5f5e55aa8) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 [`8c61fd2`](https://github.com/gohugoio/hugo/commit/8c61fd254) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.19.3 to 0.19.5 [`d3145e4`](https://github.com/gohugoio/hugo/commit/d3145e4e5) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/spf13/afero from 1.9.5 to 1.10.0 [`743a1da`](https://github.com/gohugoio/hugo/commit/743a1da3e) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/bep/logg from 0.2.0 to 0.3.0 [`123901b`](https://github.com/gohugoio/hugo/commit/123901b74) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - deps: Update github.com/tdewolff/minify/v2 v2.12.7 => v2.12.9 [`d5d0f42`](https://github.com/gohugoio/hugo/commit/d5d0f420d) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11533](https://github.com/gohugoio/hugo/issues/11533) #### Documentation - docs: Regen docshelper [`29b6e13`](https://github.com/gohugoio/hugo/commit/29b6e133a) [@&#8203;bep](https://github.com/bep) - docs: Regenerate docshelper [`d3d4ab4`](https://github.com/gohugoio/hugo/commit/d3d4ab41a) [@&#8203;bep](https://github.com/bep) - Update README.md [`3af8bde`](https://github.com/gohugoio/hugo/commit/3af8bded2) [@&#8203;bep](https://github.com/bep) ### [`v0.119.0`](https://github.com/gohugoio/hugo/releases/tag/v0.119.0) [Compare Source](https://github.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://github.com/golang/go/issues/62196) and [Issue 62197](https://github.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://github.com/gohugoio/hugo/commit/79a17d9e5) [@&#8203;bep](https://github.com/bep) [#&#8203;11450](https://github.com/gohugoio/hugo/issues/11450) - Fix recently broken benchmark [`18ce854`](https://github.com/gohugoio/hugo/commit/18ce85462) [@&#8203;bep](https://github.com/bep) #### Improvements - common: Remove unused constants [`6b65b2f`](https://github.com/gohugoio/hugo/commit/6b65b2fae) [@&#8203;alexandear](https://github.com/alexandear) - Add images.Process filter [`6a246d1`](https://github.com/gohugoio/hugo/commit/6a246d115) [@&#8203;bep](https://github.com/bep) [#&#8203;8439](https://github.com/gohugoio/hugo/issues/8439) - Add $image.Process [`ef0e714`](https://github.com/gohugoio/hugo/commit/ef0e7149d) [@&#8203;bep](https://github.com/bep) [#&#8203;11483](https://github.com/gohugoio/hugo/issues/11483) - google_analytics_async.html: Add deprecation warning [`c32094a`](https://github.com/gohugoio/hugo/commit/c32094ace) [@&#8203;carlmjohnson](https://github.com/carlmjohnson) - Add images.Opacity filter [`f9b3c0f`](https://github.com/gohugoio/hugo/commit/f9b3c0f48) [@&#8203;bep](https://github.com/bep) [#&#8203;11471](https://github.com/gohugoio/hugo/issues/11471) - Upgrade to Go 1.21.1 [`1e9b87f`](https://github.com/gohugoio/hugo/commit/1e9b87f76) [@&#8203;bep](https://github.com/bep) [#&#8203;11474](https://github.com/gohugoio/hugo/issues/11474) [#&#8203;11414](https://github.com/gohugoio/hugo/issues/11414) - create/skeletons: Improve viewport meta tag [`f916315`](https://github.com/gohugoio/hugo/commit/f9163155d) [@&#8203;jmooring](https://github.com/jmooring) - commands/gen: Remove default highlight style [`75c0f88`](https://github.com/gohugoio/hugo/commit/75c0f8828) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11445](https://github.com/gohugoio/hugo/issues/11445) - Adjust baseline benchmarks [`69f5bad`](https://github.com/gohugoio/hugo/commit/69f5bad40) [@&#8203;bep](https://github.com/bep) - commands: Print language code after web server address info [`525bed9`](https://github.com/gohugoio/hugo/commit/525bed991) [@&#8203;ilmari-lauhakangas](https://github.com/ilmari-lauhakangas) #### Dependency Updates - build(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0 [`a262fd4`](https://github.com/gohugoio/hugo/commit/a262fd4dd) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/alecthomas/chroma/v2 from 2.8.0 to 2.9.1 [`f0d3245`](https://github.com/gohugoio/hugo/commit/f0d32455d) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.19.2 to 0.19.3 [`e8bc8e6`](https://github.com/gohugoio/hugo/commit/e8bc8e6d0) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/aws/aws-sdk-go from 1.44.314 to 1.45.14 [`11fcda9`](https://github.com/gohugoio/hugo/commit/11fcda971) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/getkin/kin-openapi from 0.118.0 to 0.120.0 [`f31375d`](https://github.com/gohugoio/hugo/commit/f31375d4c) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.11.0 to 0.12.0 [`6415b59`](https://github.com/gohugoio/hugo/commit/6415b599b) [@&#8203;dependabot](https://github.com/dependabot)\[bot] #### Documentation - docs: Even more about images.Process [`a9d19db`](https://github.com/gohugoio/hugo/commit/a9d19dbdd) [@&#8203;bep](https://github.com/bep) - docs: More about images.Process [`12d7131`](https://github.com/gohugoio/hugo/commit/12d713176) [@&#8203;bep](https://github.com/bep) - docs: Regen docshelper [`1768684`](https://github.com/gohugoio/hugo/commit/1768684d8) [@&#8203;bep](https://github.com/bep) - commands: Update CLI docs with the important -u flag in hugo mod get [`275c0ac`](https://github.com/gohugoio/hugo/commit/275c0acbf) [@&#8203;bep](https://github.com/bep) ### [`v0.118.2`](https://github.com/gohugoio/hugo/releases/tag/v0.118.2) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.118.1...v0.118.2) #### What's Changed - release: Revert to building with Go 1.20 [`df5d76f`](https://github.com/gohugoio/hugo/commit/df5d76fed) [@&#8203;bep](https://github.com/bep) [#&#8203;11414](https://github.com/gohugoio/hugo/issues/11414) ### [`v0.118.1`](https://github.com/gohugoio/hugo/releases/tag/v0.118.1) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.118.0...v0.118.1) **Note:** There still seem to be an issue on [Vercel](https://github.com/gohugoio/hugo/issues/11414#issuecomment-1700749527). *** This release only fixes a `GLIBC_xxx not found` issue with the Linux AMD64 binary when running on older Linux versions, which is the situation when building on Netlify/Vercel etc. [`7e9092e`](https://github.com/gohugoio/hugo/commit/7e9092eee) [@&#8203;bep](https://github.com/bep) [#&#8203;11414](https://github.com/gohugoio/hugo/issues/11414) There's no functional changes in this release. See [v0.118.0](https://github.com/gohugoio/hugo/releases/tag/v0.118.0). ### [`v0.118.0`](https://github.com/gohugoio/hugo/releases/tag/v0.118.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.117.0...v0.118.0) **Note:** Hugo [0.118.2](https://github.com/gohugoio/hugo/releases/tag/v0.118.2) fixes an issue with the Linux binaries when building on Netlify/Vercel/etc. *** Hugo `0.118.0` now builds with [Go 1.21](https://go.dev/blog/go1.21). This version also comes with: - Proper [CJK](https://en.wikipedia.org/wiki/CJK_characters) support in Markdown: ```toml [markup.goldmark] [markup.goldmark.extensions] [markup.goldmark.extensions.cjk] ### Whether to enable CJK support. enable = false ### Whether softline breaks between east asian wide characters should be ignored. eastAsianLineBreaks = false ### Whether a '\' escaped half-space(0x20) should not be rendered. escapedSpace = false ``` - A revamped implementation of `hugo new site` and `hugo new theme`. See [details](https://discourse.gohugo.io/t/creating-new-site-and-theme-skeletons-with-v0-118-0-and-later/46018). #### Bug fixes - Fix RegularPagesRecursive for the home page [`15d3e48`](https://github.com/gohugoio/hugo/commit/15d3e48ce) [@&#8203;bep](https://github.com/bep) [#&#8203;11396](https://github.com/gohugoio/hugo/issues/11396) - Fix .RawContent for empty content pages ([#&#8203;11407](https://github.com/gohugoio/hugo/issues/11407)) [`3a8aad6`](https://github.com/gohugoio/hugo/commit/3a8aad6b1) [@&#8203;bep](https://github.com/bep) [#&#8203;11406](https://github.com/gohugoio/hugo/issues/11406) - common/loggers: Fix typo in option name [`65871d5`](https://github.com/gohugoio/hugo/commit/65871d5cf) [@&#8203;alexandear](https://github.com/alexandear) - Fix it so disable a module does not disable transitive dependency required by others [`dcf425c`](https://github.com/gohugoio/hugo/commit/dcf425c84) [@&#8203;bep](https://github.com/bep) [#&#8203;11376](https://github.com/gohugoio/hugo/issues/11376) #### Improvements - Delay the creation of cache directories until they're used [`94fbab2`](https://github.com/gohugoio/hugo/commit/94fbab2a8) [@&#8203;bep](https://github.com/bep) [#&#8203;11390](https://github.com/gohugoio/hugo/issues/11390) - deploy: Create AWS session for CloudFront invalidation via Go CDK [`c3f273b`](https://github.com/gohugoio/hugo/commit/c3f273b2d) [@&#8203;mattbnz](https://github.com/mattbnz) - markup/goldmark: Add CJK extension [`d7dcc76`](https://github.com/gohugoio/hugo/commit/d7dcc76d2) [@&#8203;henry0312](https://github.com/henry0312) [#&#8203;10472](https://github.com/gohugoio/hugo/issues/10472) - testscripts: Move hugo new tests to where they belong [`d2ae9e1`](https://github.com/gohugoio/hugo/commit/d2ae9e136) [@&#8203;bep](https://github.com/bep) - hugolib: Handle dropped error [`a7b93e6`](https://github.com/gohugoio/hugo/commit/a7b93e656) [@&#8203;alrs](https://github.com/alrs) - Make sure resources directory isn't created in hugo new theme [`ebaa733`](https://github.com/gohugoio/hugo/commit/ebaa733d4) [@&#8203;bep](https://github.com/bep) [#&#8203;11382](https://github.com/gohugoio/hugo/issues/11382) - Go 1.21 Upgrade [`24b1be4`](https://github.com/gohugoio/hugo/commit/24b1be45c) [@&#8203;bep](https://github.com/bep) [#&#8203;11351](https://github.com/gohugoio/hugo/issues/11351) - testscripts: Make mod vendor test stable [`111f02d`](https://github.com/gohugoio/hugo/commit/111f02db2) [@&#8203;bep](https://github.com/bep) - create/skeletons: Move theme's site config to top level [`9a8c84d`](https://github.com/gohugoio/hugo/commit/9a8c84d60) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11380](https://github.com/gohugoio/hugo/issues/11380) - modules: Make new cache directories read/write [`cdf0b3b`](https://github.com/gohugoio/hugo/commit/cdf0b3b7a) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11369](https://github.com/gohugoio/hugo/issues/11369) - deploy: Update InvalidateCloudFront to use Go CDK helper [`d979831`](https://github.com/gohugoio/hugo/commit/d979831db) [@&#8203;alexandear](https://github.com/alexandear) - Avoid escaping HTML chars inside hugo_stats.json [`bcf7421`](https://github.com/gohugoio/hugo/commit/bcf7421ea) [@&#8203;bep](https://github.com/bep) [#&#8203;11371](https://github.com/gohugoio/hugo/issues/11371) - commands/new: Embed site and theme skeletons [`b653853`](https://github.com/gohugoio/hugo/commit/b6538532f) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11358](https://github.com/gohugoio/hugo/issues/11358) - cache: Hide IsResourceDir from the exported config [`a2f6400`](https://github.com/gohugoio/hugo/commit/a2f6400d6) [@&#8203;bep](https://github.com/bep) - commands: Handle floats without decimals in hugo config [`7d74cd0`](https://github.com/gohugoio/hugo/commit/7d74cd0cc) [@&#8203;bep](https://github.com/bep) [#&#8203;11345](https://github.com/gohugoio/hugo/issues/11345) - config: Add a type value for the tags related config entry [`b1b6912`](https://github.com/gohugoio/hugo/commit/b1b691241) [@&#8203;bep](https://github.com/bep) - Try to make test more stable [`641390f`](https://github.com/gohugoio/hugo/commit/641390f8f) [@&#8203;bep](https://github.com/bep) #### Dependency Updates - build(deps): bump google.golang.org/api from 0.134.0 to 0.138.0 [`9bf76fd`](https://github.com/gohugoio/hugo/commit/9bf76fd7e) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/tools from 0.11.1 to 0.12.0 [`b2a02c3`](https://github.com/gohugoio/hugo/commit/b2a02c3c5) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump gocloud.dev from 0.33.0 to 0.34.0 [`6821d6f`](https://github.com/gohugoio/hugo/commit/6821d6f15) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0 [`93c7ad1`](https://github.com/gohugoio/hugo/commit/93c7ad12e) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 [`a19d03b`](https://github.com/gohugoio/hugo/commit/a19d03b0e) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.18.17 to 0.19.2 [`db7bc49`](https://github.com/gohugoio/hugo/commit/db7bc4969) [@&#8203;dependabot](https://github.com/dependabot)\[bot] #### Documentation - docs: Regen docs helper [`e847a98`](https://github.com/gohugoio/hugo/commit/e847a98db) [@&#8203;bep](https://github.com/bep) - Don't use the OS environment when creating config for docs [`45c9bbc`](https://github.com/gohugoio/hugo/commit/45c9bbc6c) [@&#8203;bep](https://github.com/bep) - dockerfile: Update Docker images [`8a08f91`](https://github.com/gohugoio/hugo/commit/8a08f91d5) [@&#8203;michalbiesek](https://github.com/michalbiesek) - docshelper: Improve template lookup order descriptions [`90944aa`](https://github.com/gohugoio/hugo/commit/90944aa26) [@&#8203;jmooring](https://github.com/jmooring) #### Build Setup - misc: Change dart-sass labels in workflows and snapcraft [`2e4bf89`](https://github.com/gohugoio/hugo/commit/2e4bf89ec) [@&#8203;jmooring](https://github.com/jmooring) ### [`v0.117.0`](https://github.com/gohugoio/hugo/releases/tag/v0.117.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.116.1...v0.117.0) This is a release on the small side, but. especially the new `Page.RenderShortcodes` method is so useful, especially for bigger sites, that we decided to get it out sooner rather than later. This method renders all the shortcodes in the content, preserving the surrounding markup (e.g. Markdown) as is. See the [Hugo Documentation](https://gohugo.io/variables/page/#rendershortcodes) for more information. #### Improvements - Add Page.RenderShortcodes [`ade7ec8`](https://github.com/gohugoio/hugo/commit/ade7ec818) [@&#8203;bep](https://github.com/bep) [#&#8203;7297](https://github.com/gohugoio/hugo/issues/7297) - testing: Write test caches to /tmp [`16da1ad`](https://github.com/gohugoio/hugo/commit/16da1ade7) [@&#8203;bep](https://github.com/bep) [#&#8203;11327](https://github.com/gohugoio/hugo/issues/11327) - Add retry in resources.GetRemote for temporary HTTP errors [`a3d42a2`](https://github.com/gohugoio/hugo/commit/a3d42a277) [@&#8203;bep](https://github.com/bep) [#&#8203;11312](https://github.com/gohugoio/hugo/issues/11312) #### Dependency Updates - build(deps): bump golang.org/x/net from 0.13.0 to 0.14.0 [`0de81c6`](https://github.com/gohugoio/hugo/commit/0de81c643) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.10.0 to 0.11.0 [`d4a6c16`](https://github.com/gohugoio/hugo/commit/d4a6c16c1) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - deps: Sync go-i18n with upstream [`2e6191b`](https://github.com/gohugoio/hugo/commit/2e6191b2e) [@&#8203;bep](https://github.com/bep) [#&#8203;11336](https://github.com/gohugoio/hugo/issues/11336) - build(deps): bump gocloud.dev from 0.24.0 to 0.33.0 [`2c20fd5`](https://github.com/gohugoio/hugo/commit/2c20fd557) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/net from 0.11.0 to 0.13.0 [`243736e`](https://github.com/gohugoio/hugo/commit/243736e75) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/marekm4/color-extractor from 1.2.0 to 1.2.1 [`bf891c2`](https://github.com/gohugoio/hugo/commit/bf891c225) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/frankban/quicktest from 1.14.5 to 1.14.6 [`da0df0a`](https://github.com/gohugoio/hugo/commit/da0df0ada) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.9.0 to 0.10.0 [`0885f8e`](https://github.com/gohugoio/hugo/commit/0885f8ec2) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/clbanning/mxj/v2 from 2.5.7 to 2.7.0 [`61be050`](https://github.com/gohugoio/hugo/commit/61be050a9) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/tools from 0.9.3 to 0.11.1 [`65af75f`](https://github.com/gohugoio/hugo/commit/65af75fb0) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump go.uber.org/automaxprocs from 1.5.2 to 1.5.3 [`2d75f74`](https://github.com/gohugoio/hugo/commit/2d75f74b8) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/hairyhenderson/go-codeowners [`2ac3d61`](https://github.com/gohugoio/hugo/commit/2ac3d6160) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 [`9dce45c`](https://github.com/gohugoio/hugo/commit/9dce45c25) [@&#8203;dependabot](https://github.com/dependabot)\[bot] #### Documentation - Update GitHub issue template [`8fa8ce3`](https://github.com/gohugoio/hugo/commit/8fa8ce3e4) [@&#8203;jmooring](https://github.com/jmooring) - Add all config to docshelper.json [`851bf35`](https://github.com/gohugoio/hugo/commit/851bf3515) [@&#8203;bep](https://github.com/bep) [#&#8203;11328](https://github.com/gohugoio/hugo/issues/11328) ### [`v0.116.1`](https://github.com/gohugoio/hugo/releases/tag/v0.116.1) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.116.0...v0.116.1) #### What's Changed - Fix module config watch regression [`30885a6`](https://github.com/gohugoio/hugo/commit/30885a6c5) [@&#8203;bep](https://github.com/bep) [#&#8203;11313](https://github.com/gohugoio/hugo/issues/11313) - deps: Fix Chroma dependency version [`58da855`](https://github.com/gohugoio/hugo/commit/58da8554c) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11311](https://github.com/gohugoio/hugo/issues/11311) ### [`v0.116.0`](https://github.com/gohugoio/hugo/releases/tag/v0.116.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.115.4...v0.116.0) There are two notable changes in this release. For one, we have changed the default location of the `cacheDir` (where Hugo stores all its file caches). Having the cache stored in a `/tmp` folder has had its issues, especially for the module cache and especially on MacOS. The current new default should be better and more stable. See See [Configure CacheDir](https://gohugo.io/getting-started/configuration/#configure-cachedir) for more info. Also in this release: The `where` template func finally supports regular expressions with the new [like](https://gohugo.io/functions/where/#use-where-with-like) operator. #### Note - Deprecate taxonomyTerm [`bec9b80`](https://github.com/gohugoio/hugo/commit/bec9b80d9) [@&#8203;bep](https://github.com/bep) [#&#8203;11256](https://github.com/gohugoio/hugo/issues/11256) - Warn about unknown kinds in disableKinds [`1c97095`](https://github.com/gohugoio/hugo/commit/1c97095ac) [@&#8203;bep](https://github.com/bep) [#&#8203;11256](https://github.com/gohugoio/hugo/issues/11256) - The default value for `cacheDir` is changed to be stored below the directory as defined by Go's [os.UserCacheDir](https://pkg.go.dev/os#UserCacheDir). See [Configure CacheDir](https://gohugo.io/getting-started/configuration/#configure-cachedir) #### Bug fixes - resources: Fix spelling in method name [`be8e2de`](https://github.com/gohugoio/hugo/commit/be8e2de59) [@&#8203;bep](https://github.com/bep) - Fix so temporary images do not get published [`fbb8eb3`](https://github.com/gohugoio/hugo/commit/fbb8eb39e) [@&#8203;bep](https://github.com/bep) [#&#8203;10255](https://github.com/gohugoio/hugo/issues/10255) - readme: Fix link [`87d9bff`](https://github.com/gohugoio/hugo/commit/87d9bffe7) [@&#8203;tfsojon](https://github.com/tfsojon) - tpl/collections: Fix description of apply function [`dc2a544`](https://github.com/gohugoio/hugo/commit/dc2a544fa) [@&#8203;jmooring](https://github.com/jmooring) - Fix multiple languages in HUGO_DISABLELANGUAGES [`7f058b8`](https://github.com/gohugoio/hugo/commit/7f058b8ba) [@&#8203;bep](https://github.com/bep) [#&#8203;11278](https://github.com/gohugoio/hugo/issues/11278) #### Improvements - config: Do not fail on unknown config keys [`c1df5b1`](https://github.com/gohugoio/hugo/commit/c1df5b1b0) [@&#8203;bep](https://github.com/bep) - commands: Update cacheDir description [`d9fdcbe`](https://github.com/gohugoio/hugo/commit/d9fdcbe93) [@&#8203;jmooring](https://github.com/jmooring) - Update where.md [`295d733`](https://github.com/gohugoio/hugo/commit/295d73388) [@&#8203;bep](https://github.com/bep) - Deprecate taxonomyTerm [`bec9b80`](https://github.com/gohugoio/hugo/commit/bec9b80d9) [@&#8203;bep](https://github.com/bep) [#&#8203;11256](https://github.com/gohugoio/hugo/issues/11256) - Warn about unknown kinds in disableKinds [`1c97095`](https://github.com/gohugoio/hugo/commit/1c97095ac) [@&#8203;bep](https://github.com/bep) [#&#8203;11256](https://github.com/gohugoio/hugo/issues/11256) - Move all Kind constants to its own package [`b3cb678`](https://github.com/gohugoio/hugo/commit/b3cb6788b) [@&#8203;bep](https://github.com/bep) [#&#8203;11256](https://github.com/gohugoio/hugo/issues/11256) - Remove unused autogenerated method [`36b5126`](https://github.com/gohugoio/hugo/commit/36b512605) [@&#8203;bep](https://github.com/bep) - tpl/collections: Add BenchmarkWhereOps [`ef6e813`](https://github.com/gohugoio/hugo/commit/ef6e813ca) [@&#8203;bep](https://github.com/bep) - tpl/collections: Add like operator to where function [`f4598a0`](https://github.com/gohugoio/hugo/commit/f4598a098) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11279](https://github.com/gohugoio/hugo/issues/11279) - Use os.UserCacheDir as first fallback if cacheDir is not set [`b3f1055`](https://github.com/gohugoio/hugo/commit/b3f10556f) [@&#8203;bep](https://github.com/bep) [#&#8203;11286](https://github.com/gohugoio/hugo/issues/11286) [#&#8203;11291](https://github.com/gohugoio/hugo/issues/11291) - Add a common regexp cache [`4d7af75`](https://github.com/gohugoio/hugo/commit/4d7af757c) [@&#8203;bep](https://github.com/bep) - commands: Replace deprecated ioutil with os [`2589b12`](https://github.com/gohugoio/hugo/commit/2589b1295) [@&#8203;alexandear](https://github.com/alexandear) #### Dependency Updates - build(deps): bump github.com/evanw/esbuild from 0.18.11 to 0.18.17 [`d7db096`](https://github.com/gohugoio/hugo/commit/d7db096a9) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/rogpeppe/go-internal [`5542f02`](https://github.com/gohugoio/hugo/commit/5542f02fb) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.8.0 to 0.9.0 [`0bc7ed9`](https://github.com/gohugoio/hugo/commit/0bc7ed9a1) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - deps: Upgrade github.com/yuin/goldmark v1.5.4 => v1.5.5 [`739d10e`](https://github.com/gohugoio/hugo/commit/739d10e8b) [@&#8203;jmooring](https://github.com/jmooring) #### Documentation - docs: Regenerate CLI docs [`d297c8e`](https://github.com/gohugoio/hugo/commit/d297c8e1b) [@&#8203;bep](https://github.com/bep) - docs: Update where [`d524778`](https://github.com/gohugoio/hugo/commit/d5247788e) [@&#8203;bep](https://github.com/bep) - docs: Update where function operators [`036e260`](https://github.com/gohugoio/hugo/commit/036e260d8) [@&#8203;jmooring](https://github.com/jmooring) - docs: Rework the cacheDir documentation [`a50356b`](https://github.com/gohugoio/hugo/commit/a50356b9a) [@&#8203;bep](https://github.com/bep) #### Build Setup - snap: Set cache location to $HOME/.cache/hugo_cache [`9163973`](https://github.com/gohugoio/hugo/commit/916397320) [@&#8203;jmooring](https://github.com/jmooring) - snap: Allow access to SSH keys and $HOME/.config/hugo [`575d7f8`](https://github.com/gohugoio/hugo/commit/575d7f806) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11288](https://github.com/gohugoio/hugo/issues/11288) ### [`v0.115.4`](https://github.com/gohugoio/hugo/releases/tag/v0.115.4) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.115.3...v0.115.4) #### Bug fixes - Fix broken handling of legacy taxonomyTerm in disableKinds [`d70b6c7`](https://github.com/gohugoio/hugo/commit/d70b6c7d) [@&#8203;bep](https://github.com/bep) [#&#8203;11257](https://github.com/gohugoio/hugo/issues/11257) - Fix cache busting setup [`6bbec90`](https://github.com/gohugoio/hugo/commit/6bbec900) [@&#8203;bep](https://github.com/bep) [#&#8203;11268](https://github.com/gohugoio/hugo/issues/11268) - common/htime: Fix localization of abbreviated month names [`2f11e67`](https://github.com/gohugoio/hugo/commit/2f11e673) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11267](https://github.com/gohugoio/hugo/issues/11267) - Fix setting config from env with complex (e.g. YAML) strings [`c406fd3`](https://github.com/gohugoio/hugo/commit/c406fd3a) [@&#8203;bep](https://github.com/bep) [#&#8203;11249](https://github.com/gohugoio/hugo/issues/11249) - Fix for data mounts in sub folders [`286821e`](https://github.com/gohugoio/hugo/commit/286821e3) [@&#8203;dvdksn](https://github.com/dvdksn) #### Improvements - commands: Move testscript into its correct place [`d947db3`](https://github.com/gohugoio/hugo/commit/d947db37) [@&#8203;bep](https://github.com/bep) - publisher: Improve class collector for dynamic classes [`d8c94c3`](https://github.com/gohugoio/hugo/commit/d8c94c35) [@&#8203;bep](https://github.com/bep) - commands: Delay server builds after the watcher is set up [`5bd22ba`](https://github.com/gohugoio/hugo/commit/5bd22ba8) [@&#8203;bep](https://github.com/bep) [#&#8203;11264](https://github.com/gohugoio/hugo/issues/11264) - Create hugo_stats.json if it's mounted but does not exists [`7ae62f4`](https://github.com/gohugoio/hugo/commit/7ae62f4a) [@&#8203;bep](https://github.com/bep) [#&#8203;11264](https://github.com/gohugoio/hugo/issues/11264) - Re-instate disableLiveReload as a config option (and not just a flag) [`f1a061e`](https://github.com/gohugoio/hugo/commit/f1a061e9) [@&#8203;bep](https://github.com/bep) [#&#8203;11259](https://github.com/gohugoio/hugo/issues/11259) - Improve error messages for PostCSS etc. [`387c5f6`](https://github.com/gohugoio/hugo/commit/387c5f60) [@&#8203;bep](https://github.com/bep) [#&#8203;9730](https://github.com/gohugoio/hugo/issues/9730) ### [`v0.115.3`](https://github.com/gohugoio/hugo/releases/tag/v0.115.3) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.115.2...v0.115.3) #### What's Changed - Improve behavior of defaultContentLanguageInSubdir when only the default language is enabled [`cc44583`](https://github.com/gohugoio/hugo/commit/cc44583c) [@&#8203;bep](https://github.com/bep) [#&#8203;11229](https://github.com/gohugoio/hugo/issues/11229) - Return error when .Render is invoked without arg [`4da672a`](https://github.com/gohugoio/hugo/commit/4da672af) [@&#8203;bep](https://github.com/bep) [#&#8203;11243](https://github.com/gohugoio/hugo/issues/11243) - js: Pass tsconfig.json to esBuild [`f1886f8`](https://github.com/gohugoio/hugo/commit/f1886f8c) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;11232](https://github.com/gohugoio/hugo/issues/11232) - tpl/collections: Fix WordCount (etc.) regression in Where, Sort, Delimit [`5bec508`](https://github.com/gohugoio/hugo/commit/5bec5083) [@&#8203;bep](https://github.com/bep) [#&#8203;11234](https://github.com/gohugoio/hugo/issues/11234) - config/allconfig: Update timeout description [`f650e4d`](https://github.com/gohugoio/hugo/commit/f650e4d7) [@&#8203;jmooring](https://github.com/jmooring) - docs: Refresh docs.json [`c934a45`](https://github.com/gohugoio/hugo/commit/c934a450) [@&#8203;jmooring](https://github.com/jmooring) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS40IiwidXBkYXRlZEluVmVyIjoiMzcuNzcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
renovator force-pushed renovate/gohugoio-hugo-0.x from ee056bde23 to a58344213f 2023-12-02 02:33:22 +00:00 Compare
renovator force-pushed renovate/gohugoio-hugo-0.x from a58344213f to 5df307000d 2023-12-02 20:20:11 +00:00 Compare
renovator force-pushed renovate/gohugoio-hugo-0.x from 5df307000d to bc01855a1c 2023-12-05 16:02:33 +00:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.120.4 to chore(deps): update dependency gohugoio/hugo to v0.121.0 2023-12-05 16:02:34 +00:00
renovator force-pushed renovate/gohugoio-hugo-0.x from bc01855a1c to f49aad860b 2023-12-07 09:33:19 +00:00 Compare
renovator force-pushed renovate/gohugoio-hugo-0.x from f49aad860b to 3c859c6ee0 2023-12-07 15:33:36 +00:00 Compare
renovator force-pushed renovate/gohugoio-hugo-0.x from 3c859c6ee0 to f28b776494 2023-12-08 09:33:04 +00:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.121.0 to chore(deps): update dependency gohugoio/hugo to v0.121.1 2023-12-08 09:33:06 +00:00
xoxys merged commit be71fccceb into main 2024-01-04 19:50:31 +00:00
xoxys deleted branch renovate/gohugoio-hugo-0.x 2024-01-04 19:50:31 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: container/hugo#119
No description provided.