What gohugoio/hugo shipped
Written by FoxPlug from the repository's own releases; not affiliated with Hugo. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/gohugoio/hugo; Hugo did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Week of November 16, 2026
What shipped
- Released v0.170.1 to fix a performance regression in partial template return keyword handling introduced in v0.166.0. Release
- Fixed partial return sentinel errors to avoid unnecessary file context wrapping that caused performance issues. Pull request #15605
- Fixed inconsistent goat diagram rendering in non-HTML output formats by preferring templates with matching language. Pull request #15617
- Added fgColor and bgColor options to images.QR and the qr shortcode to support custom foreground and background colors. Pull request #15601
- Improved error messages for missing executables and hugo deploy to provide clearer guidance. Pull request #15608
- Renamed ErrFeatureNotAvailable to ErrExecNotFound to better reflect the actual error condition. Pull request #15618
- Added validation for the images.Opacity argument to catch invalid inputs early. Pull request #15613
- Fixed useResourceCacheWhen fallback when PostCSS is not found. Pull request #15610
- Cleaned up vimeo shortcode comments and argument logic without changing rendered output. Pull request #15602
Why it matters
This week's releases address a performance regression in partial template handling that could impact larger sites, alongside fixes for diagram rendering consistency and QR code generation flexibility. These updates ensure better performance, clearer error messages, and improved functionality for users working with templates and image resources.
Changelog entry
- V0.170.1 released with performance regression fix for partial template return keyword Release
- Fixed partial return sentinel errors avoiding unnecessary file context wrapping Pull request #15605
- Fixed inconsistent goat rendering in non-HTML output formats by preferring matching language templates Pull request #15617
- Added fgColor and bgColor options to images.QR and qr shortcode for custom colors Pull request #15601
- Improved error messages for missing executables and hugo deploy Pull request #15608
- Renamed ErrFeatureNotAvailable to ErrExecNotFound Pull request #15618
- Added validation for images.Opacity argument Pull request #15613
- Fixed useResourceCacheWhen fallback when PostCSS is not found Pull request #15610
- Cleaned up vimeo shortcode comments and argument logic Pull request #15602
Hugo v0.170.1 is out, fixing a performance regression in partial template returns. If you use {{ return }} in partials, this release is recommended.
Hugo v0.170.1 addresses a performance regression in partial template return keyword handling that affected larger sites since v0.166.0. This release also brings improved error messages for missing executables, fixes to goat diagram rendering in non-HTML formats, and new color customization options for QR code generation.
Week of November 9, 2026
What shipped
- Hugo v0.170.0 was released, removing the extended edition and its LibSass support so there is now only one Hugo binary. Release
- Command-line flags now override OS environment variables, giving the precedence order of default, configuration file, environment variable, then flag. Pull request #15558
- Static sync now skips the content check for files with the same size and modification time as the destination, speeding up full static syncs for large unchanged files. Pull request #15573
- Passthrough content is now escaped when no render-passthrough hook is set, so delimited content no longer emits raw HTML with unsafe rendering disabled. Pull request #15504
- Files mounted as both static and assets now trigger asset rebuilds in the server watcher instead of only being copied as static files. Pull request #15567
- Time values now keep their location through round-tripping, preserving named zones instead of replacing them with an unnamed zone, the system zone, or UTC. Pull request #15566
- Resource match globs now preserve directory casing, so case-sensitive file systems find matches like resources.Match with capitalized path segments. Pull request #15559
- Sorting collections no longer fails when some items lack the sort key; missing keys sort as the zero value of the other side's concrete type. Pull request #15557
- The eq, ne, in and uniq template functions now compare time.Time values by instant. Pull request #15578
- Miscellaneous fixes restrict vendor module paths to the _vendor directory and escape the highlight wrapperClass. Pull request #15564
Why it matters
This week brings a single Hugo binary as the extended edition is retired, which simplifies installation for everyone. It also fixes several correctness issues that affect real sites: passthrough content escaping, time zone preservation, case-sensitive resource matching, and flag precedence over environment variables.
Changelog entry
- Release: v0.170.0, removing the extended edition and LibSass support Release
- Config: command-line flags now override OS environment variables Pull request #15558
- Skip content check for static files with the same size and modification time Pull request #15573
- Markup/goldmark: escape passthrough content when no render hook is set Pull request #15504
- Commands: rebuild assets also mounted as static Pull request #15567
- Common/htime: preserve location of time.Time values Pull request #15566
- Hugofs: preserve directory casing in resource matches Pull request #15559
- Tpl/collections: fix sort when some items lack the sort key Pull request #15557
- Tpl: compare time.Time values by instant in eq, ne, in and uniq Pull request #15578
- Misc fixes: restrict vendor module paths to the _vendor directory and escape highlight wrapperClass Pull request #15564
- Hugolib: keep npm installs in their test directory Pull request #15569
- Tests: address deprecation errors Pull request #15587
Hugo v0.170.0 is out: the extended edition is gone and there is now only one Hugo binary. Also this week: flags override environment variables, faster static syncs, escaped passthrough content, and fixes for time zones and resource matching.
Hugo v0.170.0 ships this week with a single binary: the extended edition and its LibSass support are retired, so there is no separate CGO build to choose. Alongside the release, command-line flags now take precedence over OS environment variables, and static syncs skip the content check for files unchanged in size and modification time. Passthrough content is escaped when no render hook is set, time values keep their named zones, resource matches preserve directory casing on case-sensitive file systems, and sorting no longer fails when some items lack the sort key.
Week of November 2, 2026
What shipped
- Resources.GetRemote now resolves the media type of remote resources such as extensionless RSS feeds from Hugo's media types, so plain hugo builds no longer fail with a media type resolution error and render a blank page. Pull request #15539
- Transform.Unmarshal output like map[string]string from CSV rows no longer panics during collections merge, because only interface values are unwrapped in deep merges. Pull request #15535
- The Concat template function now accepts a slice of any values containing resources. Pull request #15547
- Custom render hook layouts such as render-link.contact.html keep their layout identifier, layout compatibility is required in markup fallback matching, and shortcode output format fallback now prefers a template from another output format. Pull request #15543
- Shortcode layout lookup in non-default output formats is fixed. Pull request #15537
- Project translations no longer lose to module translations in the i18n handling. Pull request #15529
- AVIF encoding no longer crashes at encoderSpeed 6 and lower, the server recovers from broken WASM instances, and WASM binaries keep function names with a set WebP stack size. Pull request #15534
- Dependency upgrades include github.com/bep/imagemeta v1.1.1 and the passthrough Goldmark extension v0.6.0. Pull request #15545
- CI now uses upgraded setup-ruby and Ruby, fixing failures on ubuntu-26.04 runners. Pull request #15530
Why it matters
This week fixes several template and resource problems that could break builds silently, including remote RSS feeds failing under plain hugo and map merging panicking on CSV data. Render hook and shortcode layout lookup issues in non-default output formats are also addressed, along with AVIF encoding crashes.
Changelog entry
- Resources: Resolve remote media type from Hugo's media types. Pull request #15539
- Tpl/collections: Fix merge of maps with concrete element types. Pull request #15535
- Tpl/resources: Accept []any of resources in Concat. Pull request #15547
- Fix misc layout lookup issues in render hooks and shortcodes. Pull request #15543
- Tpl/tplimpl: Fix shortcode layout lookup in non-default output formats. Pull request #15537
- Langs/i18n: Fix project translations losing to module translations. Pull request #15529
- Misc AVIF and WebP fixes: encoderSpeed crash, WASM instance recovery, function names and WebP stack size. Pull request #15534
- Deps: Upgrade imagemeta to v1.1.1 and passthrough extension to v0.6.0. Pull request #15545
- Ci: Upgrade setup-ruby and Ruby. Pull request #15530
This week: resources.GetRemote resolves media types for extensionless feeds, collections merge no longer panics on map[string]string, render hook layouts keep their identifiers, shortcode lookup in non-default output formats is fixed, and AVIF encoding no longer crashes at low en
This week's changes for Hugo users: resources.GetRemote now resolves the media type of remote resources like extensionless RSS feeds, so plain hugo builds no longer fail on them. Collections merge no longer panics when deep merging maps with concrete element types such as map[string]string from CSV rows. Render hooks keep custom layout identifiers, shortcode layout lookup in non-default output formats is fixed, and project translations no longer lose to module translations. AVIF encoding no longer crashes at encoderSpeed 6 and lower.
Week of October 26, 2026
What shipped
- Removed the extended build and its archives from the release configuration. Pull request #15507
- Removed libsass; setting transpiler to libsass in css.Sass now returns an error and Dart Sass is the default. Pull request #15503
- Published version v0.169.0, a release built with Go 1.27.3. Release
- Fixed template change detection when a file is saved via temp file and rename. Pull request #15494
- Redirected reserved front matter fields such as.Params.title and.Params.summary to Page methods and logged them as deprecated. Pull request #15461
- Rewrote tpl/strings truncate using the hhtml scanner so HTML comments and tags are handled better. Pull request #15516
- Updated the README. Pull request #15520
Why it matters
This week removes libsass and the extended build, simplifying the release and changing how css.Sass resolves its transpiler. It also publishes v0.169.0 and improves template rebuilds and HTML truncation for people building sites. Reserved front matter lookups now redirect with deprecation warnings, so existing templates should be checked.
Changelog entry
- Remove libsass and the extended build tag; transpiler libsass in css.Sass returns an error and Dart Sass is the default Pull request #15503
- Remove the extended build and its archives from the release Pull request #15507
- Release v0.169.0 Release
- Fix template change detection when saving via a temp file and rename Pull request #15494
- Redirect reserved front matter fields such as.Params.title to Page methods and deprecate them Pull request #15461
- Rewrite tpl/strings truncate using the hhtml scanner Pull request #15516
- Update README.md Pull request #15520
This week: libsass and the extended build are gone, Dart Sass is the default transpiler, and v0.169.0 is out built with Go 1.27.3. Template rebuilds now detect temp-file saves, truncate handles HTML better, and.Params.title style lookups now redirect with a deprecation notice.
This week's changes: libsass support is removed, so setting transpiler to libsass in css.Sass now returns an error and Dart Sass is the default. The extended build and its archives are also removed from the release configuration. Version v0.169.0 is published, built with Go 1.27.3. Template change detection now works when editors save via a temp file and rename. The truncate function was rewritten on the hhtml scanner for better HTML handling, and reserved front matter fields like.Params.title and.Params.summary now redirect to the corresponding Page methods and are logged as deprecated.
Week of October 19, 2026
What shipped
- Front matter menu entries now HTML escape their pre and post values unless text/html is allowed in security.allowContent, with a warning when escaping happens. Pull request #15471
- Auto heading IDs and.PlainText in render hooks now include all child text nodes of nested inline elements, so link text that starts with a bracket gets the correct ID. Pull request #15480
- Processed image Key() is now stable between cold and warm caches, so images.Overlay and images.Mask no longer differ across builds. Pull request #15468
- Urls.JoinPath no longer panics when passed an empty slice. Pull request #15474
- Js.Build now handles extensionless imports of modules disabled via the browser field in package.json. Pull request #15483
- StripHTML (plainify) uses a single-pass tag scanner and fixes corner cases such as tags inside textarea and other RCDATA elements. Pull request #15464
- Emojify and plainify now return template.HTML when given template.HTML input, otherwise a string. Pull request #15463
- Site.Key now works correctly in cases such as partialCached. Pull request #15469
- Emojify returns a string. Pull request #15454
- Windows CI moved caches and temp directories to the workspace drive, disabled the setup-go cache there, and simplified test runs. Pull request #15465
Why it matters
This week brought several correctness fixes that affect published sites: escaped menu pre and post values, correct auto heading IDs for nested link text, and image keys that stay the same across builds. It also removed a panic in urls.JoinPath and fixed js.Build for extensionless imports of browser-disabled modules. Template users get a sturdier plainify and type-preserving emojify and plainify.
Changelog entry
- Navigation: escape pre and post in front matter menu entries unless HTML is trusted in security.allowContent Pull request #15471
- Markup/goldmark: fix auto heading ID when link text starts with a bracket by including all nested text nodes Pull request #15480
- Resources: make processed image key stable across builds for images.Overlay and images.Mask Pull request #15468
- Urls: fix JoinPath panic with an empty slice Pull request #15474
- Js: fix js.Build with browser-disabled extensionless requires Pull request #15483
- Tpl: make StripHTML (plainify) more robust and faster with a single-pass tag scanner Pull request #15464
- Tpl/transform: make emojify and plainify preserve template.HTML input type Pull request #15463
- Fix Site.Key used in partialCached and similar cases Pull request #15469
- Make emojify return a string Pull request #15454
- Ci: fix Windows disk space issues and simplify test runs Pull request #15465
This week: menu pre/post values are now escaped unless HTML is trusted in content, auto heading IDs include full link text, processed image keys stay stable across builds, urls.JoinPath no longer panics on an empty slice, and js.Build handles extensionless imports of browser-disa
Changes this week in the repository: front matter menu entries now HTML escape their pre and post values unless text/html is allowed in security.allowContent, and a warning is shown when escaping happens. Auto heading IDs and.PlainText in render hooks now include all child text of nested inline elements, which fixes IDs for link text starting with a bracket. Processed image Key() is now stable between cold and warm caches, so images.Overlay and images.Mask match across builds. urls.JoinPath no longer panics on an empty slice, js.Build handles extensionless imports of browser-disabled modules, and Site.Key works in cases such as partialCached. StripHTML (plainify) now uses a single-pass tag scanner with corner cases fixed, and emojify and plainify preserve template.HTML input.
Week of October 12, 2026
What shipped
- Hugo v0.168.0 was released, adding the imaging.firstFrameOnly option and a matching processing flag so animated images can be limited to their first frame. Release
- Added imaging.firstFrameOnly along with animation performance improvements, and processing now fails early with an informative error when decoding all frames would exceed the WASM memory limit. Pull request #15437
- Added a charset option to js.Build and css.Build. Pull request #15436
- Fixed a build hang that could occur after too many page render errors. Pull request #15450
- Fixed a nil pointer panic in hugo gen docshelper in tpl/cast. Pull request #15445
- Check.sh now skips staticcheck unless the full flag is set. Pull request #15455
- Miscellaneous wasm changes were merged. Pull request #15438
Why it matters
This week's release adds control over animated image processing and clearer failures when frames exceed the WASM memory limit, along with charset options for js.Build and css.Build. It also fixes a build hang after repeated page render errors and a panic in hugo gen docshelper, which makes builds and doc generation more reliable.
Changelog entry
- Release v0.168.0 with imaging.firstFrameOnly and animation improvements. Release
- Imaging: add firstFrameOnly option and processing flag; decode one frame when target format lacks animation; fail early past the WASM memory limit. Pull request #15437
- Js, css: add charset option to js.Build and css.Build. Pull request #15436
- Hugolib: fix build hang after too many page render errors. Pull request #15450
- Tpl/cast: fix nil pointer panic in hugo gen docshelper. Pull request #15445
- Skip staticcheck in check.sh unless --full is set. Pull request #15455
- Misc wasm changes. Pull request #15438
Hugo v0.168.0 is out: imaging.firstFrameOnly and a matching processing flag let you decode only the first frame of animated images, with early errors when all frames exceed the WASM memory limit. Also: charset option for js.Build and css.Build, and fixes for a render-error build
Hugo v0.168.0 is released. It adds the imaging.firstFrameOnly configuration option and a matching processing flag to decode and encode only the first frame of animated images. Hugo also decodes only the first frame when the target format does not support animation, and fails early with an informative error when processing all frames would exceed the WASM memory limit. Also in this week: a charset option for js.Build and css.Build, a fix for a build hang after too many page render errors, a fix for a nil pointer panic in hugo gen docshelper, and check.sh now skipping staticcheck unless --full is set.
Week of October 5, 2026
What shipped
- Language now has Translate and Format methods, so templates can call site.Language.Translate and range over site.Languages to translate into each language. Pull request #15423
- ImageResource.FrameCount reports the number of frames in an image resource. Pull request #15432
- Rebuilds no longer skip a page when the same file resolves to both the assets and content components, such as content mounted into assets. Pull request #15417
- The project now builds with Go 1.27.2. Pull request #15429
- Module replacements defined in themes are now ignored. Pull request #15426
- The Hugo generator meta tag is now injected as the last item of the head section instead of the first. Pull request #15412
- Terminal program status reporting now covers working, done, idle and error, including the first line of the error message on failure, alongside the existing progress reporting. Pull request #15428
- The PAGE.IsNode warning in jsonify is fixed. Pull request #15421
Why it matters
This week adds translation helpers to the Language object, making it possible to translate strings for any language in a site and to loop over all languages. Image resources expose their frame count, and a rebuild bug is fixed for sites where a file serves as both content and an asset. Module replacements in themes are ignored and the generator tag moved to the end of the head.
Changelog entry
- Add Translate and Format methods to Language Pull request #15423
- Add ImageResource.FrameCount Pull request #15432
- Hugolib: fix rebuild when content is also mounted as assets Pull request #15417
- Upgrade to Go 1.27.2 Pull request #15429
- Modules: ignore module.replacements defined in themes Pull request #15426
- Transform/metainject: inject Hugo generator tag last in head Pull request #15412
- Add basic support for OSC 7501 program status Pull request #15428
- Fix PAGE.IsNode warning in jsonify Pull request #15421
This week: Language.Translate and Format methods, ImageResource.FrameCount, fixed rebuilds when content is also mounted as assets, module replacements in themes ignored, generator tag injected last in head, and Go 1.27.2.
This week in Hugo: the Language object gains Translate and Format methods so templates can translate strings into any language in site.Languages. Image resources now expose FrameCount. A rebuild bug is fixed for sites where a file resolves to both the assets and content components. Module replacements defined in themes are ignored. The Hugo generator meta tag is now injected last in the head section. The project builds with Go 1.27.2.
Week of September 28, 2026
What shipped
- V0.167.0 released with relative partial references, slug support for branch pages, and security hardening fixes. Release
- ESBuild and Sass import fallbacks confined to allowed read paths for improved security. Pull request #15399
- Snap package base updated to core26 (Ubuntu 26.04 LTS). Pull request #15406
- Test coverage extended to 386 architecture on Linux. Pull request #15404
- Tests now run on GOARCH 386. Pull request #15409
Why it matters
V0.167.0 introduces relative partial references for easier self-contained partial organization and security improvements that restrict import paths. The addition of 386 architecture testing ensures broader platform compatibility.
Changelog entry
- Add relative partial references: partial names starting with./ or../ resolve relative to the calling partial's directory Release
- Add slug support for branch pages Release
- Confine ESBuild's fallback resolver to allowed read paths Pull request #15399
- Confine Sass import fallbacks to allowed read paths Pull request #15399
- Update Snap package base to core26 (Ubuntu 26.04 LTS) Pull request #15406
- Add 386 architecture testing on Linux Pull request #15404
Hugo v0.167.0 is out. Relative partial references, slug support for branch pages, and security hardening fixes included.
Hugo v0.167.0 ships with relative partial references—partials can now be resolved relative to their calling location using./ or../ prefixes. Also in this release: slug support for branch pages and security hardening that confines import fallbacks to allowed read paths.
Week of September 21, 2026
What shipped
- Hugo can now build without requiring a config file. Pull request #15394
- Section, taxonomy, and term pages now support slug configuration. Pull request #15383
- Partials can now use relative paths starting with./ or../ to reference other partials in the same directory structure. Pull request #15376
- New build.cleanDestinationDir config with keepFiles and keepDirs glob patterns to control what gets preserved during clean builds. Pull request #15377
- Appending empty slices to typed slices now preserves the destination type instead of widening to []any. Pull request #15392
- Smart crop image processing now works correctly with rotated images. Pull request #15371
- Number comparisons in set operations and where filters now use exact comparison instead of float64 conversion, fixing precision issues for large integers. Pull request #15363
- BOM trimming has been expanded and consolidated across more contexts. Pull request #15364
- User-defined table render hooks are now preferred over embedded hooks. Pull request #15391
- Symlinked mount roots are now allowed in the main project. Pull request #15368
Why it matters
This week adds significant workflow improvements: building without config files and relative partial paths make project setup more flexible. New slug support and cleaner build configuration give developers better control over site generation. Critical fixes for number precision and image processing ensure correctness in data handling and asset generation.
Changelog entry
- Allow building without a config file Pull request #15394
- Add slug support for section, taxonomy and term pages Pull request #15383
- Support relative partial paths from within partials Pull request #15376
- Add build.cleanDestinationDir config with keepFiles and keepDirs patterns Pull request #15377
- Preserve slice type when appending an empty slice Pull request #15392
- Fix smart crop with image rotation Pull request #15371
- Use exact number comparison in set operations and where filters Pull request #15363
- Expand and consolidate BOM trimming Pull request #15364
- Prefer user table render hook over embedded Pull request #15391
- Change default baseUrl to https://example.org/ Pull request #15384
- Escape heading IDs in table of contents HTML, drop symlinks in virtual ancestor dirs, cache symlink checks Pull request #15370
- Allow symlinked mount roots in the main project Pull request #15368
Hugo now supports building without a config file, relative partial paths, slugs for section/taxonomy/term pages, and improved build cleanup configuration with glob patterns.
This week's Hugo updates focus on flexibility and correctness. Build without config files, use relative paths in partials, add slugs to taxonomy pages, and control what gets cleaned during builds with glob patterns. Number comparisons are now exact instead of float64-based, fixing precision issues for large integers. Smart crop works correctly with rotated images.