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

Bump github.com/gohugoio/hugo from 0.119.0 to 0.120.1 #13

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 31, 2023

Bumps github.com/gohugoio/hugo from 0.119.0 to 0.120.1.

Release notes

Sourced from github.com/gohugoio/hugo's releases.

v0.120.1

What's Changed

  • deps: Update github.com/tdewolff/minify/v2 v2.20.0 => v2.20.1 2bedcf3d1 @​jmooring #11633

v0.120.0

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 2eca1b3cc
  • site.GoogleAnalytics is deprecated a692278bc
  • site.Author is deprecated d4016dd5c
  • site.Social is deprecated 4910312ee

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>" }}
</tr></table> 

... (truncated)

Commits
  • 16fb2ca releaser: Bump versions for release of 0.120.1
  • 2bedcf3 deps: Update github.com/tdewolff/minify/v2 v2.20.0 => v2.20.1
  • 935999e releaser: Prepare repository for 0.121.0-DEV
  • 20c3bae releaser: Bump versions for release of 0.120.0
  • 29b6e13 docs: Regen docshelper
  • 7f8ab74 Add Solaris build
  • 59bcc09 build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0
  • e26ba75 build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0
  • bcf07fa build(deps): bump github.com/alecthomas/chroma/v2 from 2.9.1 to 2.10.0
  • b6a7568 Make site.BaseURL and $pager.URL a string
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo) from 0.119.0 to 0.120.1.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml)
- [Commits](gohugoio/hugo@v0.119.0...v0.120.1)

---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the topic: infrastructure Related to project infrastructure label Oct 31, 2023
@per1234 per1234 added the type: enhancement Proposed improvement label Oct 31, 2023
@per1234 per1234 merged commit 681b8a7 into main Oct 31, 2023
51 of 55 checks passed
@per1234 per1234 deleted the dependabot/go_modules/github.com/gohugoio/hugo-0.120.1 branch October 31, 2023 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant