Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 16, 2025

This PR contains the following updates:

Package Update Change OpenSSF
gohugoio/hugo minor 0.151.0 -> 0.152.2 OpenSSF Scorecard

Release Notes

gohugoio/hugo (gohugoio/hugo)

v0.152.2

Compare Source

In v0.152.0 we tightened the source validation for file mounts. We always said that project mounts can mount with absolute file/directorynames, modules/themes are restricted to relative. In v0.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 is usually 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 before v0.152.0, but going forward you can also write:

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

We now have the node_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

Compare Source

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

v0.152.0

Compare Source

The big new thing and the motivation behind this release is the upgrade to a more modern YAML library in @​goccy 's github.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 boolean true or false. 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 for YAML anchors and aliases which helps to reduce duplication in e.g. your configuration. There are some examples in Hugo's release build configuration and in the Hugo's CI release setup.

Values Old meaning New meaning
yes, Yes, YES, y, Y, on, On, ON true (bool) yes, Yes, YES, y, Y, on, On, ON (string)
no, No, NO, n, N, off, Off, OFF false (bool) no, No, NO, n, N, off, Off, OFF (string)

Note

Improvements

Dependency Updates

Build Setup

v0.151.2

Compare Source

What's Changed

v0.151.1

Compare Source

This release is mostly motivated by some upstream security fixes:

I, @​bep, have inspected the above issues, and none of them seem to be relevant for Hugo, but we understand that many want to have a clean security report.

Bug fixes
Improvements
Dependency Updates

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 16, 2025

Deploying crs-documentation with  Cloudflare Pages  Cloudflare Pages

Latest commit: 14b7f6c
Status: ✅  Deploy successful!
Preview URL: https://008613aa.documentation-km5.pages.dev
Branch Preview URL: https://renovate-all-minor-patch.documentation-km5.pages.dev

View logs

@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.151.1 in .github/workflows/test.yml chore(deps): update dependency gohugoio/hugo to v0.151.2 in .github/workflows/test.yml Oct 16, 2025
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 3d076be to 0439312 Compare October 22, 2025 11:01
@renovate renovate bot added minor and removed patch labels Oct 22, 2025
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.151.2 in .github/workflows/test.yml chore(deps): update dependency gohugoio/hugo to v0.152.0 in .github/workflows/test.yml Oct 22, 2025
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 0439312 to 0794200 Compare October 22, 2025 23:13
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.152.0 in .github/workflows/test.yml chore(deps): update dependency gohugoio/hugo to v0.152.1 in .github/workflows/test.yml Oct 22, 2025
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 0794200 to 14b7f6c Compare October 24, 2025 19:39
@renovate renovate bot changed the title chore(deps): update dependency gohugoio/hugo to v0.152.1 in .github/workflows/test.yml chore(deps): update dependency gohugoio/hugo to v0.152.2 in .github/workflows/test.yml Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants