Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubJul 22, 2024

Bumpsgithub.com/gohugoio/hugo from 0.128.2 to 0.129.0.

Release notes

Sourced fromgithub.com/gohugoio/hugo's releases.

v0.129.0

This release brings a rewrite of the logic around browser refreshes when runninghugo 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 inLiveReload ends up as awindow.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 prefixlivereload.

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 newxxHash hashing function that ismuch faster than any of the other hashing functions in Hugo, especially for larger inputs.

Note

We have upgraded the integration with Git used to loadGitInfo to be part of Hugo'sSecurity Policy. We have addedgit 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

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 incompare 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>
@matifalimatifalienabled auto-merge (squash)July 27, 2024 13:45
@matifalimatifali merged commit22143d3 intomainJul 27, 2024
27 of 30 checks passed
@matifalimatifali deleted the dependabot/go_modules/github.com/gohugoio/hugo-0.129.0 branchJuly 27, 2024 13:49
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 27, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@matifali

[8]ページ先頭

©2009-2025 Movatter.jp