Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/gohugoio/hugo v0.151.2 -> v0.152.0 age confidence

Release Notes

gohugoio/hugo (github.com/gohugoio/hugo)

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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

@claude
Copy link

claude bot commented Oct 21, 2025

Claude finished @renovate[bot]'s task —— View job


PR Review: Hugo v0.152.0 Update ✅

Todo List:

  • Examine changed files (go.mod, go.sum)
  • Review Hugo configuration files for YAML boolean issues
  • Check content front matter for affected values
  • Assess breaking changes impact
  • Provide final review feedback

Review Summary

✅ SAFE TO MERGE - This Hugo update poses minimal risk to the major.io blog.

Key Findings:

1. YAML Breaking Changes - No Impact

The major breaking change in Hugo v0.152.0 involves YAML boolean handling, but this site is unaffected:

  • All Hugo configuration files use TOML format (config/_default/*.toml)
  • Content front matter uses YAML, but only contains proper boolean values (true/false)
  • No usage of the problematic YAML 1.1 values like yes, no, on, off found

2. Configuration Analysis

  • ✅ No YAML configuration files (only TOML)
  • ✅ Content front matter uses standard boolean values
  • ✅ GitHub Actions workflow uses standard YAML with no affected values

3. Benefits of Update

  • Enhanced YAML library with better performance
  • Support for YAML anchors and aliases (useful for future config improvements)
  • Various bug fixes and improvements

Files Changed:

  • go.mod:6 - Hugo version bump to v0.152.0 ✅
  • go.sum:10 - Updated checksum for new version ✅

Recommendation:

APPROVE - This is a routine dependency update with no breaking changes for this codebase.

@renovate renovate bot merged commit efe316b into main Oct 22, 2025
1 check passed
@renovate renovate bot deleted the renovate/github.com-gohugoio-hugo-0.x branch October 22, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant