Skip to content

chore: bump github.com/gohugoio/hugo from 0.128.2 to 0.129.0 #13966

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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 22, 2024

Bumps github.com/gohugoio/hugo from 0.128.2 to 0.129.0.

Release notes

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

v0.129.0

This release brings a rewrite of the logic around browser refreshes when running hugo server. We have seen some situations where asset changes (e.g. image/CSS/JS) has not been refreshed reliably in all browsers, even with the developer console open and the cache disabled. We suspect this comes from a recent browser bug (typically: Works fine in Safari, does not refresh in Chrome). The strategy we've been using when a change triggers multiple changes (e.g. both HTML and CSS) is to do one "browser force refresh", which in LiveReload ends up as a window.location.reload(). With this release we:

  1. Are more specific about what we refresh, but fall back to "force refresh" for bigger change sets.
  2. INFO log exactly what we do in these situations with the prefix livereload.

Start the server with:

hugo server --logLevel info

And you should see how Hugo handles browser updates when you change content/templates etc.

A related tip; start the server with

hugo server --logLevel info -N

Hugo will navigate to the content file you're changing and log it in the console.

Also new in this release a new xxHash hashing function that is much faster than any of the other hashing functions in Hugo, especially for larger inputs.

Note

We have upgraded the integration with Git used to load GitInfo to be part of Hugo's Security Policy. We have added git to the default whitelist, but if you have a custom security policy, you may have to update that.

Bug fixes

  • commands: Fix --navigateToChanged server behavior when editing headless content cc2d19e19 @​bep #12648
  • commands: Fix hugo mod get -u ./... 251a23ef7 @​bep #12625

Improvements

  • tpl: Use xxHash instead of MD5 to hash the deferred templates 4d8bfa7f1 @​bep
  • Throw error if resources.PostProcess is used in a deferred template f0ed91cab @​bep #12655
  • commands: Simplify the browser live reload logic 094f74675 @​bep #12643
  • Use xxHash for the change detector fb8909d5b @​bep #12643
  • source: Expose GitInfo Body 0ee2610d7 @​PeskyPotato #10905
  • Add hash.XxHash 644d55475 @​bep #12635

Dependency Updates

  • deps: Upgrade github.com/bep/gitmap v1.4.0 => v1.6.0 (note) 7be037750 @​bep #8627
  • deps: Go mod tidy 439f07eac @​bep
  • deps: Upgraded github.com/tdewolff/minify/v2 v2.20.20 => v2.20.36 ce5a2ce00 @​bep
  • deps: Upgrade to golang.org/x/image v0.18.0 0f42d975e @​bep

... (truncated)

Commits
  • e85be29 releaser: Bump versions for release of 0.129.0
  • 4d8bfa7 tpl: Use xxHash instead of MD5 to hash the deferred templates
  • f0ed91c Throw error if resources.PostProcess is used in a deferred template
  • 7be0377 deps: Upgrade github.com/bep/gitmap v1.4.0 => v1.6.0 (note)
  • 439f07e deps: Go mod tidy
  • ce5a2ce deps: Upgraded github.com/tdewolff/minify/v2 v2.20.20 => v2.20.36
  • 0f42d97 deps: Upgrade to golang.org/x/image v0.18.0
  • cc2d19e commands: Fix --navigateToChanged server behavior when editing headless content
  • 094f746 commands: Simplify the browser live reload logic
  • fb8909d Use xxHash for the change detector
  • 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.128.2 to 0.129.0.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.toml)
- [Commits](gohugoio/hugo@v0.128.2...v0.129.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@matifali matifali enabled auto-merge (squash) July 27, 2024 13:45
@matifali matifali merged commit 22143d3 into main Jul 27, 2024
27 of 30 checks passed
@matifali matifali deleted the dependabot/go_modules/github.com/gohugoio/hugo-0.129.0 branch July 27, 2024 13:49
@github-actions github-actions bot locked and limited conversation to collaborators Jul 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant