Skip to content

Upgrade Hugo to 0.163.1 - #2649

Merged
chalin merged 9 commits into
docsy:mainfrom
chalin:chalin-m24-hugo-0.163.x-2026-0612
Jun 12, 2026
Merged

chalin merged 9 commits into
docsy:mainfrom
chalin:chalin-m24-hugo-0.163.x-2026-0612

Conversation

@chalin

@chalin chalin commented Jun 12, 2026 •

Copy link
Copy Markdown
Collaborator
  • Contributes to Upgrade to Hugo from v0.157.0 to v0.163.2 #2581
  • Upgrades the project's Hugo build from 0.160.1 to 0.163.1 (0.163.1 carries security fixes over 0.163.0):
    • Updates root config.hugo_version and docsy.dev hugo-extended pins.
    • Leaves the theme's minimum supported Hugo version at 0.158.0 - nothing in 0.159 through 0.163 is required by the theme.
  • Migrates docsy.dev off the global imaging.quality config (deprecated in Hugo 0.163.0), then streamlines: drops quality/anchor settings that match Hugo's defaults (jpeg/webp quality 75, anchor Smart), keeping only the genuine override resampleFilter: CatmullRom. Generated images verified byte-identical before/after.
  • Regenerates md-output goldens: Hugo 0.161 through 0.163 changed resized-image cache keys (*_hu_<hash> filenames); verified the churn is independent of the imaging config migration and content is otherwise byte-identical.
  • Adds a lean changelog entry and refreshes the refcache.

Verification: baseline build at 0.163.0 showed exactly one deprecation notice (imaging.quality, as predicted), zero after migration; full npm run test green, including the mono-site and md-output suites. Risk surfaces from the 0.161 through 0.163 range checked empirically: PostCSS under the Node permission sandbox, npm-workspace/symlink handling, and resources.GetRemote under the stricter URL parsing - all clean.

@chalin chalin mentioned this pull request Jun 12, 2026
7 of 8 tasks
chalin added 3 commits June 12, 2026 10:08
- Hugo 0.163 bundles a newer Chroma that adds the OperatorReserved token class; CI's ci:prepare regenerates the styles and its diff check flagged the drift.
- [email protected] published (jakejarvis/hugo-extended#245 merged); 0.163.1 carries security fixes over 0.163.0.
- Updates changelog accordingly.
@chalin chalin changed the title Upgrade project Hugo build to 0.163.x Upgrade project Hugo build to 0.163.1 Jun 12, 2026
@chalin
chalin marked this pull request as ready for review June 12, 2026 15:01
- jpeg.quality 75, webp.quality 75, and anchor Smart are Hugo's defaults (verified in resources/images/config.go); keeps only the real override, resampleFilter CatmullRom.
- Regenerates md-output goldens: the _hu_ cache key hashes the resolved options spec, so it changes even though effective behavior is identical.
@chalin
chalin merged commit f22a352 into docsy:main Jun 12, 2026
15 checks passed
@chalin
chalin deleted the chalin-m24-hugo-0.163.x-2026-0612 branch June 12, 2026 16:20
@chalin chalin changed the title Upgrade project Hugo build to 0.163.1 Upgrade Hugo to 0.163.1 Jun 12, 2026
@chalin chalin added this to the 0.16.0 milestone Jun 26, 2026
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