Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 30, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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 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 #​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


Configuration

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

🚦 Automerge: Enabled.

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

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


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

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

@renovate renovate bot enabled auto-merge (squash) October 30, 2023 17:20
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from c223a19 to c2f6399 Compare October 30, 2023 18:16
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.120.0 fix(deps): update module github.com/gohugoio/hugo to v0.120.1 Oct 30, 2023
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from c2f6399 to 7a35fb6 Compare October 31, 2023 17:34
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.120.1 fix(deps): update module github.com/gohugoio/hugo to v0.120.2 Oct 31, 2023
Copy link
Contributor

github-actions bot commented Oct 31, 2023

@github-actions github-actions bot temporarily deployed to pull request October 31, 2023 17:36 Inactive
@renovate renovate bot changed the title fix(deps): update module github.com/gohugoio/hugo to v0.120.2 fix(deps): update module github.com/gohugoio/hugo to v0.120.3 Nov 1, 2023
@renovate renovate bot force-pushed the renovate/github.com-gohugoio-hugo-0.x branch from 7a35fb6 to 13aac83 Compare November 1, 2023 21:51
@github-actions github-actions bot temporarily deployed to pull request November 1, 2023 21:52 Inactive
@renovate renovate bot merged commit c86d61b into main Nov 1, 2023
8 checks passed
@renovate renovate bot deleted the renovate/github.com-gohugoio-hugo-0.x branch November 1, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants