All Versions
94
Latest Version
Avg Release Cycle
8 days
Latest Release
97 days ago

Changelog History
Page 2

  • v0.160.0 Changes

    April 04, 2026

    πŸ’… 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

    • βœ… all: Replace NewIntegrationTestBuilder with Test/TestE/TestRunning 481baa0 @bep
    • πŸ— tpl/css: Support @import "hugo:vars" for CSS custom properties in css.Build 5d09b5e @bep #14699
    • πŸ‘Œ Improve and extend .Position handling in Goldmark render hooks 303e443 @bep #14663
    • βœ… markup/goldmark: Clean up test 638262c @bep

    ⚑️ Dependency Updates

    • πŸ— build(deps): bump github.com/magefile/mage from 1.16.1 to 1.17.1 bf6e35a @dependabot[bot]
    • πŸ— build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 0eda24e @dependabot[bot]
    • πŸ— build(deps): bump golang.org/x/image from 0.37.0 to 0.38.0 beb57a6 @dependabot[bot]

    πŸ“š Documentation

    • readme: Revise edition descriptions and installation instructions 9f1f1be @jmooring
  • v0.159.2 Changes

    April 01, 2026

    πŸ”’ 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

    • πŸ›  Fix potential content XSS by escaping dangerous URLs in Markdown links and images 479fe6c @bep
    • πŸ‘€ resources/page: Fix shared reader in Source.ValueAsOpenReadSeekCloser df520e3 @jmooring #14684
  • v0.159.1 Changes

    March 26, 2026

    πŸ“š The regression fixed in this release isn't new, but it's so subtle that we thought we'd release this sooner rather than later. For some time now, the minifier we use have stripped namespaced attributes in SVGs, which broke dynamic constructs using e.g. AlpineJS' x-bind: namespace (library used by Hugo's documentation site).

    0️⃣ To fix this, the upstream library has hadded a keepNamespaces slice option. It was not possible to find a default that would make all happy, so we opted for an option that at least would make AlpineJS sites work out of the box:

    [minify.tdewolff.svg]keepNamespaces= ['','x-bind']
    

    What's Changed

  • v0.159.0 Changes

    March 23, 2026

    Note

    • βœ… Replace deprecated site.Data with hugo.Data in tests a8fca59 @bep
    • βœ… Replace deprecated excludeFiles and includeFiles with files in tests 182b104 @bep
    • βœ… Replace deprecated :filename with :contentbasename in the permalinks test eb11c3d @bep

    πŸ› Bug fixes

    πŸ‘Œ Improvements

    ⚑️ Dependency Updates

    • πŸ— build(deps): bump github.com/olekukonko/tablewriter from 1.1.3 to 1.1.4 (#14641) 3ff9b7f @dependabot[bot]
    • πŸ— build(deps): bump github.com/yuin/goldmark from 1.7.16 to 1.7.17 be93ccd @dependabot[bot]
    • πŸ— build(deps): bump github.com/magefile/mage from 1.15.0 to 1.16.1 2669bca @dependabot[bot]
    • πŸ— build(deps): bump golang.org/x/image from 0.36.0 to 0.37.0 753d447 @dependabot[bot]
    • πŸ— build(deps): bump google.golang.org/grpc from 1.78.0 to 1.79.3 4f39d72 @dependabot[bot]

    πŸ“š Documentation

    • πŸ“„ docs: Update docs.yaml d2043cf @bep
    • ⚑️ commands: Update docs linke to Node.js docs 4f3c398 @bep
  • v0.158.0 Changes

    March 16, 2026

    πŸš€ This release adds css.Build, native and very fast bundling/transformation/minifying of CSS resources. Also see the new strings.ReplacePairs, a very fast option if you need to do many string replacements.

    Notes

    πŸ—„ Deprecations

    πŸš€ The methods and config options are deprecated and will be removed in a future Hugo release.

    πŸ‘€ Also see this article

    πŸ”§ Language configuration

    • languageCode β†’ Use locale instead.
    • languages.<lang>.languageCode β†’ Use languages.<lang>.locale instead.
    • languages.<lang>.languageName β†’ Use languages.<lang>.label instead.
    • languages.<lang>.languageDirection β†’ Use languages.<lang>.direction instead.

    Language methods

    • .Site.LanguageCode β†’ Use .Site.Language.Locale instead.
    • .Language.LanguageCode β†’ Use .Language.Locale instead.
    • .Language.LanguageName β†’ Use .Language.Label instead.
    • .Language.LanguageDirection β†’ Use .Language.Direction instead.

    πŸ› Bug fixes

    πŸ‘Œ Improvements

    ⚑️ Dependency Updates

    • ⬆️ deps: Upgrade github.com/evanw/esbuild v0.27.3 => v0.27.4 0e46a97 @bep
    • πŸ— build(deps): bump github.com/getkin/kin-openapi from 0.133.0 to 0.134.0 c27d9e8 @dependabot[bot]
    • πŸ— build(deps): bump golang.org/x/tools from 0.42.0 to 0.43.0 098eac5 @dependabot[bot]
    • πŸ— build(deps): bump gocloud.dev from 0.44.0 to 0.45.0 87f8de8 @dependabot[bot]
    • πŸ— build(deps): bump golang.org/x/sync from 0.19.0 to 0.20.0 67ef6c6 @dependabot[bot]
    • πŸ— build(deps): bump golang.org/x/net from 0.50.0 to 0.51.0 (#14569) b29c2f7 @dependabot[bot]
    • πŸ— build(deps): bump github.com/tdewolff/minify/v2 from 2.24.9 to 2.24.10 (#14585) e91d191 @dependabot[bot]
    • πŸ— build(deps): bump github.com/bep/imagemeta from 0.15.0 to 0.17.0 (#14584) a8a54bd @dependabot[bot]
  • v0.157.0 Changes

    February 25, 2026

    πŸ‘€ The notable new feature is GitInfo support for Hugo Modules. See this repo for a runnable demo where multiple versions of the same content is mounted into different versions.

    πŸ› Bug fixes

    • πŸ›  Fix menu pageRef resolution in multidimensional setups 3dff7c8 @bep #14566
    • πŸ“„ docs: Regen and fix the imaging docshelper output 8e28668 @bep #14562
    • hugolib: Fix automatic section pages not replaced by sites.complements a18bec1 @bep #14540

    πŸ‘Œ Improvements

    • πŸ– Handle GitInfo for modules where Origin is not set when running go list d98cd4a @bep #14564
    • πŸ’… commands: Update link to highlighting style examples 6805997 @jmooring #14556
    • βž• Add AVIF, HEIF and HEIC partial support (only metadata for now) 49bfb10 @bep #14549
    • 0️⃣ resources/images: Adjust WebP processing defaults b7203bb @jmooring
    • βž• Add Page.GitInfo support for content from Git modules dfece5b @bep #14431 #5533
    • βž• Add per-request timeout option to resources.GetRemote 2d691c7 @vanbroup
    • ⚑️ Update AI Watchdog action version in workflow b96d58a @bep
    • config: Skip taxonomy entries with empty keys or values 65b4287 @bep #14550
    • βž• Add guideline for brevity in code and comments cc338a9 @bep
    • modules: Include JSON error info from go mod download in error messages 3850881 @bep #14543

    ⚑️ Dependency Updates

    • πŸ— build(deps): bump github.com/tdewolff/minify/v2 from 2.24.8 to 2.24.9 9869e71 @dependabot[bot]
    • πŸ— build(deps): bump github.com/bep/imagemeta from 0.14.0 to 0.15.0 8f47fe8 @dependabot[bot]
  • v0.156.0 Changes

    February 18, 2026

    πŸš€ This release brings significant speedups of collections.Where and collections.Sort – but this is mostly a "spring cleaning" release, to make the API cleaner and simpler to understand/document.

    πŸ—„ Deprecated

    • πŸ—„ Site.AllPages is Deprecated
    • πŸ— Site.BuildDrafts is Deprecated
    • πŸ—„ Site.Languages is Deprecated
    • πŸ—„ Site.Data is deprecated, use hugo.Data
    • πŸ—„ Page.Sites and Site.Sites is Deprecated, use hugo.Sites

    πŸ‘€ See this topic for more info.

    βœ‚ Removed

    πŸ—„ These have all been deprecated at least since v0.136.0 and any usage have been logged as an error for a long time:

    Template functions

    • data.GetCSV / getCSV (use resources.GetRemote)
    • data.GetJSON / getJSON (use resources.GetRemote)
    • crypto.FNV32a (use hash.FNV32a)
    • resources.Babel (use js.Babel)
    • resources.PostCSS (use css.PostCSS)
    • resources.ToCSS (use css.Sass)

    Page methods:

    • .Page.NextPage (use .Page.Next)
    • .Page.PrevPage (use .Page.Prev)

    Paginator:

    • .Paginator.PageSize (use .Paginator.PagerSize)

    Site methods:

    • .Site.LastChange (use .Site.Lastmod)
    • .Site.Author (use .Site.Params.Author)
    • .Site.Authors (use .Site.Params.Authors)
    • .Site.Social (use .Site.Params.Social)
    • .Site.IsMultiLingual (use hugo.IsMultilingual)
    • 0️⃣ .Sites.First (use .Sites.Default)

    Site config:

    • paginate (use pagination.pagerSize)
    • paginatePath (use pagination.path)

    File caches:

    • getjson cache
    • getcsv cache

    Notes

    πŸ› Bug fixes

    πŸ‘Œ Improvements

    ⚑️ Dependency Updates

    • πŸ— build(deps): bump google.golang.org/api from 0.255.0 to 0.267.0 d8ec0ee @dependabot[bot]
    • πŸ— build(deps): bump github.com/bep/textandbinarywriter 21be4af @dependabot[bot]
    • πŸ— build(deps): bump github.com/bep/simplecobra from 0.6.1 to 0.7.0 e549016 @dependabot[bot]
    • πŸ— build(deps): bump github.com/bep/tmc from 0.5.1 to 0.6.0 a392906 @dependabot[bot]
    • πŸ— build(deps): bump github.com/gohugoio/hugo-goldmark-extensions/extras 86786c9 @dependabot[bot]
    • πŸ— build(deps): bump github.com/gohugoio/hugo-goldmark-extensions/passthrough 7a7308a @dependabot[bot]
    • πŸ— build(deps): bump golang.org/x/tools from 0.41.0 to 0.42.0 2d1d731 @dependabot[bot]
    • πŸ— build(deps): bump github.com/bep/helpers from 0.6.0 to 0.7.0 b26fbf8 @dependabot[bot]
    • πŸ— build(deps): bump golang.org/x/image from 0.35.0 to 0.36.0 7358309 @dependabot[bot]

    πŸ— Build Setup

    πŸ“š Documentation

  • v0.155.3 Changes

    February 08, 2026

    What's Changed

    • 0️⃣ hugolib: Don't render default site redirect for non-primary isHTML output formats 6ac7d08 @bep #14482
    • 🌲 server: Fix stuck server global error logging 24eb84f @bep #14469
    • πŸ— build(deps): bump github.com/evanw/esbuild from 0.27.2 to 0.27.3 95a3678 @dependabot[bot]
    • πŸ’» server: Fix panic when the server browser error handler tried to use a config in a state of flux 9045797 @bep #14470
  • v0.155.2 Changes

    February 02, 2026

    Note that the bug fix below is for the two new dimensions introduced in v0.153.0 (version and role), multiple languages worked fine. Also, changes to the first version and role also worked, which had me head-scratching for a while. Oh, well, enjoy.

  • v0.155.1 Changes

    January 30, 2026

    What's Changed