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.151.2 to 0.152.2#20495

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

Conversation

@dependabot
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubOct 27, 2025

Bumpsgithub.com/gohugoio/hugo from 0.151.2 to 0.152.2.

Release notes

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

v0.152.2

Inv0.152.0 we tightened the source validation forfile mounts. We always said thatproject mounts can mount with absolute file/directorynames, modules/themes are restricted to relative. Inv0.152.0 we narrowed module/themes mounts to be local, which made the setup in the bug report listed below fail:

[[module.mounts]]source ='../../node_modules/bootstrap'target ='assets/vendor/bootstrap'

One part of this is security. But the construct above isusually very odd (the project uses files in a theme/module, not the other way around) and not very portable. But the example above demonstrates a valid exception, that we now have added support for in a portable way. The above example now works as it did beforev0.152.0, but going forward you can also write:

[[module.mounts]]source ='node_modules/bootstrap'target ='assets/vendor/bootstrap'

We now have thenode_modules as a special case: For themes/modules we first check if the mounted source exists locally, if not we try relative to the project root.

What's Changed

v0.152.1

These fixes are are all related to the YAML library upgrade inv0.152.0.

  • Expand the numeric conversions to template funcs/methods e08278d16@​bep#14079
  • Fix where with uint64 df4f80d54@​bep#14081
  • Fix it so YAML integer types can be used where Go int types are expected d4c78885a@​bep#14079
  • tpl/compare: Fix compare/sort of uint64s 29e2c2fa9@​bep#14078
  • Fix "assignment to entry in nil map" on empty YAML config files 0579afc3c@​bep#14074

v0.152.0

The big new thing and the motivation behind this release is the upgrade to a more modern YAML library in@​goccy 'sgithub.com/goccy/go-yaml. It's been a surprisingly long and winding road to get here.Note that this upgrade comes with some minor breaking changes, most notably that the old YAML 1.1 spec listed a set of strings that, when unquoted, were treated as booleantrue orfalse. So if you're using any of the values in the table below as booleans, you need to adjust your YAML, but I suspect that fixing this very surprising behavior will fix more issues than it introduces. A big new thing with this new YAML library is the support forYAML anchors and aliases which helps to reduce duplication in e.g. your configuration. There are some examples in Hugo'srelease build configuration and in theHugo's CI release setup.

ValuesOld meaningNew meaning
yes,Yes,YES,y,Y,on,On,ONtrue (bool)yes,Yes,YES,y,Y,on,On,ON (string)
no,No,NO,n,N,off,Off,OFFfalse (bool)no,No,NO,n,N,off,Off,OFF (string)

Note

... (truncated)

Commits
  • 6abdaca releaser: Bump versions for release of 0.152.2
  • 1c8c21e deps: Update github.com/tdewolff/minify v2.24.4 => v2.24.5
  • 809ebe0 hugofs: Make node_modules a "special case" mount
  • 08a0679 github: Fix typo in stale PR message
  • 524b986 releaser: Prepare repository for 0.153.0-DEV
  • 5869cbd releaser: Bump versions for release of 0.152.1
  • e08278d Expand the numeric conversions to template funcs/methods
  • df4f80d Fix where with uint64
  • d4c7888 Fix it so YAML integer types can be used where Go int types are expected
  • 29e2c2f tpl/compare: Fix compare/sort of uint64s
  • 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.151.2 to 0.152.2.- [Release notes](https://github.com/gohugoio/hugo/releases)- [Changelog](https://github.com/gohugoio/hugo/blob/master/hugoreleaser.yaml)- [Commits](gohugoio/hugo@v0.151.2...v0.152.2)---updated-dependencies:- dependency-name: github.com/gohugoio/hugo  dependency-version: 0.152.2  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added dependenciesPull requests that update a dependency file goPull requests that update go code labelsOct 27, 2025
@github-actionsgithub-actionsbotenabled auto-merge (squash)October 27, 2025 11:58
@github-actionsgithub-actionsbot merged commit277b2d2 intomainOct 27, 2025
34 checks passed
@github-actionsgithub-actionsbot deleted the dependabot/go_modules/github.com/gohugoio/hugo-0.152.2 branchOctober 27, 2025 12:09
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

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

Assignees

No one assigned

Labels

dependenciesPull requests that update a dependency filegoPull requests that update go code

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant


[8]ページ先頭

©2009-2025 Movatter.jp