Skip to content

chore(deps): update dependency aqua:gohugoio/hugo to v0.160.1#68

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/aqua-gohugoio-hugo-0.x
Open

chore(deps): update dependency aqua:gohugoio/hugo to v0.160.1#68
renovate[bot] wants to merge 1 commit intomainfrom
renovate/aqua-gohugoio-hugo-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 21, 2026

This PR contains the following updates:

Package Update Change
aqua:gohugoio/hugo minor 0.159.10.160.1

Release Notes

gohugoio/hugo (aqua:gohugoio/hugo)

v0.160.1

Compare Source

What's Changed

v0.160.0

Compare Source

Now you can inject CSS vars, e.g. from the configuration, into your stylesheets when building with css.Build. Also, now all the render hooks has a .Position method, now also more accurate and effective.

Bug fixes

Improvements

Dependency Updates

Documentation

v0.159.2

Compare Source

Note that the security fix below is not a potential threat if you either:

EDIT IN: This release also adds release archives for non-extended-withdeploy builds.

What's Changed


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 21, 2026

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

This update spans three minor releases (v0.159.2, v0.160.0, v0.160.1) with the following key changes:

v0.160.1 (Latest)

  • Bug fixes for edge cases: panic when passthrough elements are used in headings, panic on edit of legacy mapped template names, RenderShortcodes leaking context markers
  • Fix for auto-creation of root sections in multilingual sites
  • Documentation improvements (README link fixes)

v0.160.0

  • New feature: CSS vars injection support via @import "hugo:vars" in css.Build function
  • Improvement: .Position method now available on all render hooks with better accuracy
  • Bug fixes: Position handling improvements, double-escaping of ampersands in link URLs, stray quotes from partial decorator in script context
  • Dependency updates: mage, go-jose, golang.org/x/image

v0.159.2

  • Security fix: XSS vulnerability patched by escaping dangerous URLs in Markdown links and images (only affects sites without custom render hook templates)
  • Bug fix: shared reader issue in Source.ValueAsOpenReadSeekCloser

Breaking Changes: None identified across all three releases.

🎯 Impact Scope Investigation

Hugo Usage in Codebase:

  • Hugo version managed via mise.toml: Currently 0.159.1 → updating to 0.160.1
  • Build command: hugo build --gc --minify --cacheDir (in .github/workflows/hugo.yaml)
  • No custom render hooks found (no files in layouts/_default/_markup/)
  • No CSS build usage detected (no css.Build function calls in templates)
  • No .Position method usage in existing templates
  • No shortcode usage, passthrough elements, or cascade._target patterns found

Template Analysis:

  • layouts/_default/single.html: Uses standard Hugo template functions (.Title, .Description, .Content, .Params, urls.Parse)
  • layouts/_default/list.html: Uses standard pagination and list rendering
  • Custom CSS in assets/css/extended/references.css: Static CSS with CSS variables (not using css.Build)

Content Structure:

  • Japanese tech blog posts with frontmatter (date, title, description, tags, references)
  • No advanced markdown features that would trigger the fixed edge cases

💡 Recommended Actions

No action required beyond merging - this is a safe, backward-compatible update:

  1. Merge the PR - All changes are backward compatible and provide bug fixes + security improvements
  2. No code modifications needed - The codebase doesn't use the new features or encounter the fixed edge cases
  3. Security benefit - v0.159.2 includes an XSS fix (though this site is protected since content files are trusted and controlled)
  4. CI will validate - The existing GitHub Actions workflow will verify the build still works

Optional future enhancements (not required for this update):

  • Consider using the new CSS vars feature (@import "hugo:vars") if you need to inject configuration values into stylesheets
  • If you add custom render hooks in the future, they'll benefit from the improved .Position method

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@renovate renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-0.x branch from 6a7372c to 9290f24 Compare April 21, 2026 12:18
@renovate renovate Bot force-pushed the renovate/aqua-gohugoio-hugo-0.x branch from 9290f24 to 5530fc6 Compare April 24, 2026 01:29
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.

0 participants