]>
git.maquefel.me Git - brevno-suite/hugo/log
Alexandre Vaz [Mon, 23 Mar 2026 16:49:13 +0000 (13:49 -0300)]
commands: Preserve non-content files in convert output
When running `hugo convert` with `--output`, copy the content tree first so non-content bundle resources are kept in the destination, then overwrite converted content files.
Also avoid recursive self-copy when the output path points inside the content tree by skipping output directories during copy.
Fixes #4621
Bjørn Erik Pedersen [Mon, 23 Mar 2026 15:00:50 +0000 (16:00 +0100)]
npm: Use workspaces to simplify `hugo mod npm pack`
Rewrite `hugo mod npm pack` to use npm workspaces. Module deps are now
written to packages/hugoautogen/package.json and the root package.json
gets a "workspaces" reference. A hugo_packagemeta.json sidecar stores a
hash of all input package files so regular commands can warn when npm
deps are out of sync.
Other changes:
- Workspace glob patterns (*, **, {a,b}) are resolved via gobwas/glob.
- Workspaces defined in package.hugo.json are supported.
- package.hugo.json is only recognised at module roots, not in workspaces.
- When package.hugo.json exists, package.json is not mounted or vendored.
- packages/hugoautogen is not mounted or vendored from dependencies.
- Add usePackageJSON import option (auto/always/never) to control whether
a module's npm deps are included. "auto" checks for Hugo config files
or package.hugo.json.
- The staleness check is skipped when running `hugo mod npm pack` itself.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
dependabot[bot] [Sat, 21 Mar 2026 20:19:50 +0000 (21:19 +0100)]
build(deps): bump github.com/olekukonko/tablewriter from 1.1.3 to 1.1.4 (#14641)
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/olekukonko/tablewriter/releases)
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.1.3...v1.1.4)
---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
dependency-version: 1.1.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Tay [Sat, 21 Mar 2026 20:17:12 +0000 (13:17 -0700)]
commands: Close cpu profile file when StartCPUProfile fails
Bjørn Erik Pedersen [Sat, 21 Mar 2026 18:09:14 +0000 (19:09 +0100)]
Replace deprecated site.Data with hugo.Data in tests
This also fixes a subtle server reload issue when changing files inside /data and using the recently added hugo.Data method.
Bjørn Erik Pedersen [Sat, 21 Mar 2026 10:23:11 +0000 (11:23 +0100)]
Replace deprecated excludeFiles and includeFiles with files in tests
dependabot[bot] [Fri, 20 Mar 2026 08:23:03 +0000 (08:23 +0000)]
build(deps): bump github.com/yuin/goldmark from 1.7.16 to 1.7.17
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.16 to 1.7.17.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.16...v1.7.17)
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.7.17
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 19 Mar 2026 15:37:25 +0000 (15:37 +0000)]
build(deps): bump github.com/magefile/mage from 1.15.0 to 1.16.1
Bumps [github.com/magefile/mage](https://github.com/magefile/mage) from 1.15.0 to 1.16.1.
- [Release notes](https://github.com/magefile/mage/releases)
- [Commits](https://github.com/magefile/mage/compare/v1.15.0...v1.16.1)
---
updated-dependencies:
- dependency-name: github.com/magefile/mage
dependency-version: 1.16.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 19 Mar 2026 15:37:38 +0000 (15:37 +0000)]
build(deps): bump golang.org/x/image from 0.36.0 to 0.37.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.36.0 to 0.37.0.
- [Commits](https://github.com/golang/image/compare/v0.36.0...v0.37.0)
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 19 Mar 2026 15:40:15 +0000 (15:40 +0000)]
build(deps): bump google.golang.org/grpc from 1.78.0 to 1.79.3
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.78.0 to 1.79.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.78.0...v1.79.3)
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.79.3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Joe Mooring [Thu, 19 Mar 2026 17:35:06 +0000 (10:35 -0700)]
tpl/tplimpl: Fix Vimeo shortcode test
Closes #14649
Bjørn Erik Pedersen [Thu, 19 Mar 2026 16:28:20 +0000 (17:28 +0100)]
Remove the AI Watchdog workflow for now
It's failing with a 404 that I don't know how to fix (or don't have the time to investigate). It works fine when run locally.
Bjørn Erik Pedersen [Thu, 19 Mar 2026 16:02:16 +0000 (17:02 +0100)]
Remove 'bep' from PR user logins skip list
To test it and see why it fails.
Bjørn Erik Pedersen [Thu, 19 Mar 2026 12:52:36 +0000 (13:52 +0100)]
tpl/tplimpl: Comment out the Vimeo simple shortcode tests
See #14649
Bjørn Erik Pedersen [Tue, 17 Mar 2026 15:17:47 +0000 (16:17 +0100)]
Replace deprecated :filename with :contentbasename in the permalinks test
hugoreleaser [Mon, 16 Mar 2026 17:56:18 +0000 (17:56 +0000)]
releaser: Prepare repository for 0.159.0-DEV
[ci skip]
hugoreleaser [Mon, 16 Mar 2026 17:42:04 +0000 (17:42 +0000)]
releaser: Bump versions for release of 0.158.0
[ci skip]
Bjørn Erik Pedersen [Mon, 16 Mar 2026 15:44:08 +0000 (16:44 +0100)]
deps: Upgrade github.com/evanw/esbuild v0.27.3 => v0.27.4
dependabot[bot] [Mon, 16 Mar 2026 08:29:06 +0000 (08:29 +0000)]
build(deps): bump github.com/getkin/kin-openapi from 0.133.0 to 0.134.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.133.0 to 0.134.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.133.0...v0.134.0)
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-version: 0.134.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Mon, 16 Mar 2026 08:28:49 +0000 (08:28 +0000)]
build(deps): bump golang.org/x/tools from 0.42.0 to 0.43.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.42.0...v0.43.0)
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Sun, 15 Mar 2026 10:38:18 +0000 (11:38 +0100)]
resources: Re-publish on transformation cache hit
When a resource transformation result was served from cache (same
options as a previous build), the output file was not re-written to
disk. This caused incorrect output when toggling transformation
options (e.g. minify) back to a previously seen value in server mode.
Fixes #14629
Joe Mooring [Sun, 15 Mar 2026 13:42:17 +0000 (06:42 -0700)]
create/skeletons: Use css.Build in theme skeleton
Closes #14626
Bjørn Erik Pedersen [Sun, 15 Mar 2026 10:04:07 +0000 (11:04 +0100)]
tpl/css: Add a test case for rebuilds on CSS options changes
Joe Mooring [Sun, 15 Mar 2026 04:25:40 +0000 (21:25 -0700)]
hugolib: Allow regular pages to cascade to self
Closes #14627
dependabot[bot] [Sun, 8 Mar 2026 20:44:55 +0000 (20:44 +0000)]
build(deps): bump gocloud.dev from 0.44.0 to 0.45.0
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.44.0...v0.45.0)
---
updated-dependencies:
- dependency-name: gocloud.dev
dependency-version: 0.45.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Mon, 9 Mar 2026 08:34:54 +0000 (08:34 +0000)]
build(deps): bump golang.org/x/sync from 0.19.0 to 0.20.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/sync/compare/v0.19.0...v0.20.0)
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.20.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Sat, 14 Mar 2026 10:35:33 +0000 (11:35 +0100)]
tpl/css: Allow the user to override single loader entries
Fixes #14623
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com>
Bjørn Erik Pedersen [Fri, 13 Mar 2026 15:30:06 +0000 (16:30 +0100)]
tpl/css: Fix external source maps
Fixes #14620
Bjørn Erik Pedersen [Fri, 13 Mar 2026 12:14:40 +0000 (13:14 +0100)]
tpl/css: Make default loader resolution for CSS @import and url() always behave the same
Before this commit, we did dynamic loader resolution for CSS bundling for resources resolved by Hugo while any fallback to ESBuild would fall back to a (potentially) empty loaders config.
This revises the logic to always use a static list (see below) if `loaders` is not set. This should be easier do document and less confusing for the end user.
````
".png", ".jpg", ".jpeg", ".gif", ".svg", ".webp", ".avif",
".woff", ".woff2", ".ttf", ".eot", ".otf"
````
Fixes #14619
Joe Mooring [Fri, 13 Mar 2026 01:31:12 +0000 (18:31 -0700)]
hugolib: Fix server no watch
Closes #14615
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Joe Mooring [Fri, 13 Mar 2026 01:51:55 +0000 (18:51 -0700)]
internal/js: Add default mainFields for CSS builds
Closes #14614
Bjørn Erik Pedersen [Mon, 9 Mar 2026 10:16:36 +0000 (11:16 +0100)]
Add css.Build
Fixes #14609
Fixes #14613
Bjørn Erik Pedersen [Wed, 11 Mar 2026 11:36:13 +0000 (12:36 +0100)]
Upgrade to to Go 1.26.1 (#14597) (note)
This fixes a security issue: https://www.cve.org/CVERecord?id=CVE-2026-27142
Closes #14595
Bjørn Erik Pedersen [Tue, 10 Mar 2026 09:15:37 +0000 (10:15 +0100)]
resources: Fix context canceled on GetRemote with per-request timeout
The per-request timeout context was cancelled via defer in the getRes
closure, before io.ReadAll(res.Body) in the outer scope could read
the response body. Fix this by returning the cancel function from
getRes so each caller manages its own cancel lifecycle.
Fixes #14611
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bjørn Erik Pedersen [Sun, 8 Mar 2026 20:52:07 +0000 (21:52 +0100)]
resources: Use full path for Exif etc. decoding error/warning messages
Fixes #12693
Bjørn Erik Pedersen [Thu, 5 Mar 2026 11:39:43 +0000 (12:39 +0100)]
Move to new locales library and upgrade CLDR from v36.1 to v48.1
* I had all kinds of issues upgrading CLDR on the old library, so I decided to start fresh in github.com/bep/golocales
* It shaves off about 3 MB of the binary, and package init cost is zero compared to the old localescompressed (5000x faster).
* We will probably move to the `text/**` packages at this point, but this will have to do for now.
Bjørn Erik Pedersen [Sun, 8 Mar 2026 12:38:38 +0000 (13:38 +0100)]
tpl/tplimpl: Prefer early suffixes when media type matches
Fixes #13877
Close #14601
Co-Authored-By: Joe Mooring <joe.mooring@veriphor.com>
Joe Mooring [Fri, 6 Mar 2026 20:02:10 +0000 (12:02 -0800)]
tpl/strings: Add strings.ReplacePairs function
Closes #14594
Bjørn Erik Pedersen [Sat, 7 Mar 2026 15:37:47 +0000 (16:37 +0100)]
all: Run go fix ./...
Bjørn Erik Pedersen [Sat, 7 Mar 2026 10:39:31 +0000 (11:39 +0100)]
internal/warpc: Fix SIGSEGV in Close() when dispatcher fails to start
Only set started=true when Start() succeeds, so Close() doesn't
attempt to close a nil dispatcher.
Fixes #14536
Bjørn Erik Pedersen [Sat, 7 Mar 2026 11:48:15 +0000 (12:48 +0100)]
github: Remove pull_request_template.md
* Main reason is that it slows down my own `gh` workflow (I also frequently accidentally select that template).
* We also don't have a large volume of PRs from new contributors, so the template isn't as necessary.
Bjørn Erik Pedersen [Fri, 6 Mar 2026 11:18:19 +0000 (12:18 +0100)]
testing: Make commands tests pass in Go 1.26.1
Joe Mooring [Sat, 28 Feb 2026 09:36:28 +0000 (01:36 -0800)]
refactor: Deprecate language configuration and template methods
Configuration:
- languageCode -> locale (either in root or per-language)
- languageName -> label
- languageDirection -> direction
Methods:
- .Language.LanguageCode -> .Language.Locale
- .Language.LanguageName -> .Language.Label
- .Language.LanguageDirection -> .Language.Direction
- .Site.LanguageCode -> .Site.Language.Locale
Example configuration:
[languages.en]
direction = 'ltr'
label = 'English'
locale = 'en-US'
weight = 1
Closes #14269
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Bjørn Erik Pedersen [Mon, 2 Mar 2026 09:51:18 +0000 (10:51 +0100)]
Replace Exif with Meta in tests
dependabot[bot] [Mon, 2 Mar 2026 12:01:37 +0000 (13:01 +0100)]
build(deps): bump golang.org/x/net from 0.50.0 to 0.51.0 (#14569)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.50.0 to 0.51.0.
- [Commits](https://github.com/golang/net/compare/v0.50.0...v0.51.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.51.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Mar 2026 11:57:29 +0000 (12:57 +0100)]
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.9 to 2.24.10 (#14585)
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.24.9 to 2.24.10.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.24.9...v2.24.10)
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.24.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Mon, 2 Mar 2026 11:57:10 +0000 (12:57 +0100)]
build(deps): bump github.com/bep/imagemeta from 0.15.0 to 0.17.0 (#14584)
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta) from 0.15.0 to 0.17.0.
- [Release notes](https://github.com/bep/imagemeta/releases)
- [Commits](https://github.com/bep/imagemeta/compare/v0.15.0...v0.17.0)
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
dependency-version: 0.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bjørn Erik Pedersen [Fri, 27 Feb 2026 09:21:12 +0000 (10:21 +0100)]
Fix index out of range panic in fileEventsContentPaths
The nested loop had dirs as the outer loop and others as the inner loop
with a single counter, causing n to exceed len(others) when multiple
dirs existed. Swap the loop order so each file in others is checked
against all dirs exactly once.
Fixes #14573
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Joe Mooring [Thu, 26 Feb 2026 19:08:08 +0000 (11:08 -0800)]
resources: Improve getImageOps error message
Closes #14571
Bjørn Erik Pedersen [Thu, 26 Feb 2026 10:11:54 +0000 (11:11 +0100)]
resources/images: Add IsImageResourceWithMeta etc. tests for bmp and gif
Closes #14568
hugoreleaser [Wed, 25 Feb 2026 16:57:59 +0000 (16:57 +0000)]
releaser: Prepare repository for 0.158.0-DEV
[ci skip]
hugoreleaser [Wed, 25 Feb 2026 16:38:33 +0000 (16:38 +0000)]
releaser: Bump versions for release of 0.157.0
[ci skip]
Bjørn Erik Pedersen [Wed, 25 Feb 2026 16:35:20 +0000 (17:35 +0100)]
Fix menu pageRef resolution in multidimensional setups
Fixes #14566
Bjørn Erik Pedersen [Wed, 25 Feb 2026 13:26:50 +0000 (14:26 +0100)]
Handle GitInfo for modules where Origin is not set when running go list
This is an upstream bug, but this workaround seem to work fine.
Fixes #14564
Joe Mooring [Tue, 24 Feb 2026 05:27:05 +0000 (21:27 -0800)]
commands: Update link to highlighting style examples
Closes #14556
Bjørn Erik Pedersen [Wed, 25 Feb 2026 09:39:07 +0000 (10:39 +0100)]
docs: Regen and fix the imaging docshelper output
Fixes #14562
Bjørn Erik Pedersen [Wed, 25 Feb 2026 09:29:05 +0000 (10:29 +0100)]
Bjørn Erik Pedersen [Tue, 24 Feb 2026 20:38:42 +0000 (21:38 +0100)]
Squashed 'docs/' changes from
42914c50e ..
80dd7b067
80dd7b067 theme: Fix border class in render-codeblock template
0d3fde6c9 content: Fix typo
23a4adb29 content: More site => project changes
9243e9f6b content: Rename site configuration to project configuration (phase 2)
330aa2249 content: Miscellaneous edits
25ce893be content: Clarify sort order with PAGE.Rotate
b398506dc content: Various dimension improvements
c54573d13 content: Use singular form in method section descriptions
d9a95fe54 content: Improve description of PAGE.Rotate
154f30600 content: Fix link
c71bd2776 content: Address Markdown linting error
72c88e68e content: Improve pages related to content dimensions
b85afa645 content: Fix formatting
7aaca8947 content: More site-to-project changes
8e1579030 content: Update quick start guide
f7ba1fde2 content: Make new-in into a note
8b9d51584 theme: Address TailwindCSS warnings
3a4c2a25c theme: Address Hugo v0.156.0 deprecations
4f1a2bd7b content: Improve glossary entries
21bcd23a6 content: Update glossary entry
c72ef1116 content: Update quick start guide
c0737ffab content: Add typography plugin to TailwindCSS example
80bcb868e content: Remove Site.AllPages from examples
2b9ba5831 content: Replace Page.Sites and Site.Sites with hugo.Sites
2cdcc2556 content: Remove outdated badges
5a4beb530 content: Replace Site.Data with hugo.Data
de4651b5d content: Update glossary entry
2302825a7 content: Add hugo.Data and note other deprecations
bac5da4b5 content: Add hugo.Sites and update the other Sites methods
0f7d99153 content: Add Site.IsDefault
f888f33bb content: Update glossary entries
65311c2de content: Include the "build" subcommand where appropriate
4991320d2 content: Standard shell language code in info strings
b16d9f162 theme: Style todo lists
f121450c6 content: Update version references
5a81dd8c2 content: Update CLI documentation
f3ae0ce86 content: Rename site configuration to project configuration (phase 1)
9c8327119 content: Miscellaneous edits
fbff91e22 Update HUGO_VERSION to 0.156.0
2ec625ae8 content: Restore snap installation instructions
fc8c246b8 content: Clarify module initialization
git-subtree-dir: docs
git-subtree-split:
80dd7b067c31c28b13c51f3ac4636890509a4bb7
Bjørn Erik Pedersen [Tue, 24 Feb 2026 18:45:12 +0000 (19:45 +0100)]
Add AVIF, HEIF and HEIC partial support (only metadata for now)
* Add AVIF, HEIF and HEIC partial support
* Add them as media types.
* Support reading metadata (Width, Height, Exif, etc.) from these formats.
* Add a new template function IsImageResourceMeta to check if a resource supports image metadata operations, which will return true for AVIF, HEIF and HEIC resources even if they don't support full image operations yet.
Fixes #14549
Joe Mooring [Tue, 24 Feb 2026 04:02:07 +0000 (20:02 -0800)]
resources/images: Adjust WebP processing defaults
defaultWebpUseSharpYuv: true => false
defaultWebpMethod: 4 => 2
Bjørn Erik Pedersen [Mon, 23 Feb 2026 16:43:17 +0000 (17:43 +0100)]
Add Page.GitInfo support for content from Git modules
Use blobless git clone (--filter=blob:none --no-checkout) to fetch
commit history for content from Git modules, then map it using the
existing gitmap library. Cloned repos are cached in the modulegitinfo file cache.
Closes #14431
Fixes #5533
Paul van Brouwershaven [Mon, 23 Feb 2026 15:38:13 +0000 (16:38 +0100)]
Add per-request timeout option to `resources.GetRemote`
Bjørn Erik Pedersen [Mon, 23 Feb 2026 14:05:07 +0000 (15:05 +0100)]
Update AI Watchdog action version in workflow
dependabot[bot] [Mon, 23 Feb 2026 08:39:27 +0000 (08:39 +0000)]
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.8 to 2.24.9
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.24.8 to 2.24.9.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.24.8...v2.24.9)
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.24.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Mon, 23 Feb 2026 08:39:47 +0000 (08:39 +0000)]
build(deps): bump github.com/bep/imagemeta from 0.14.0 to 0.15.0
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/bep/imagemeta/releases)
- [Commits](https://github.com/bep/imagemeta/compare/v0.14.0...v0.15.0)
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
dependency-version: 0.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Mon, 23 Feb 2026 10:03:38 +0000 (11:03 +0100)]
config: Skip taxonomy entries with empty keys or values
When non-taxonomy keys (e.g. disableKinds = []) are placed after
[taxonomies] in TOML, they become part of the taxonomies table.
An empty-valued entry creates a phantom taxonomy with an empty
pluralTreeKey, causing .Ancestors to loop indefinitely.
Fixes #14550
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bjørn Erik Pedersen [Sat, 21 Feb 2026 17:53:41 +0000 (18:53 +0100)]
Add guideline for brevity in code and comments
Added a guideline emphasizing brevity in code, comments, and commit messages.
Bjørn Erik Pedersen [Sat, 21 Feb 2026 15:04:32 +0000 (16:04 +0100)]
modules: Include JSON error info from go mod download in error messages
Fixes #14543
Bjørn Erik Pedersen [Fri, 20 Feb 2026 17:47:25 +0000 (18:47 +0100)]
hugolib: Fix automatic section pages not replaced by sites.complements
When a home page or section page in language A is backed by a file and
language B has no content file for that section, the automatic page for
language B was not replaced by the complement from language A. This
happened because:
1. The content node shifter returned auto pages (not backed by files) as
exact matches without trying complement fallback.
2. findContentNodeForSiteVector immediately returned auto pages as exact
matches without considering file-backed complements.
3. getPagesInSection used Get (no fallback) for IncludeSelf, preventing
complement resolution for home/section pages.
Fix by preferring file-backed complement pages over auto pages in the
shift and lookup mechanisms, and using fallback for self-inclusion.
Fixes #14540
Co-Authored-By: Joe Mooring <joe.mooring@veriphor.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
hugoreleaser [Wed, 18 Feb 2026 16:58:30 +0000 (16:58 +0000)]
releaser: Prepare repository for 0.157.0-DEV
[ci skip]
hugoreleaser [Wed, 18 Feb 2026 16:39:55 +0000 (16:39 +0000)]
releaser: Bump versions for release of 0.156.0
[ci skip]
Bjørn Erik Pedersen [Wed, 18 Feb 2026 10:15:47 +0000 (11:15 +0100)]
hugolib: Move site.Data to hugo.Data, deprecate Site.AllPages/BuildDrafts/Languages
This moves Site.Data to the hugo namespace as hugo.Data, following the
same pattern used for hugo.Sites. Also deprecate Site.AllPages,
Site.BuildDrafts, and Site.Languages.
Closes #14521
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dependabot[bot] [Wed, 18 Feb 2026 08:22:59 +0000 (08:22 +0000)]
build(deps): bump google.golang.org/api from 0.255.0 to 0.267.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.255.0 to 0.267.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.255.0...v0.267.0)
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.267.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Joe Mooring [Tue, 17 Feb 2026 18:36:25 +0000 (10:36 -0800)]
hugolib: Add Page.Sites to Site.Sites deprecation notice
Closes #14532
Bjørn Erik Pedersen [Tue, 17 Feb 2026 12:03:10 +0000 (13:03 +0100)]
hugolib: Simplify sites collection
Bjørn Erik Pedersen [Tue, 17 Feb 2026 11:45:15 +0000 (12:45 +0100)]
hugolib: Adjust hugo.Sites.Default
Fixes #14531
Bjørn Erik Pedersen [Mon, 16 Feb 2026 19:09:37 +0000 (20:09 +0100)]
Move common/hugo/HugoInfo to resources/page
* This break the circular dependency between hugolib and resources/page, and allow HugoInfo to use the proper Page ans Site interfaces.
* It's a little misplaced, but it makes everything easier to maintain and test, so that's well worth it.
Bjørn Erik Pedersen [Sun, 15 Feb 2026 23:09:17 +0000 (00:09 +0100)]
commands: Fix --panicOnWarning flag having no effect with module version warnings
The --panicOnWarning flag was not wired into the root command's logger,
so warnings emitted during config loading (such as module version
incompatibility warnings) would not trigger a panic.
Bind the panicOnWarning flag to the rootCommand struct and set the
PanicOnWarningHook on the logger created in createLogger.
Fixes #14524
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Joe Mooring [Fri, 13 Feb 2026 23:47:18 +0000 (15:47 -0800)]
hugolib: Add hugo.Sites and .Site.IsDefault(), modify .Site.Sites
Changes:
- Add hugo.Sites to return all sites for all dimensions
- Modify .Site.Sites to return all sites for all dimensions
- Deprecate .Site.Sites in favor of hugo.Sites
- Add .Site.IsDefault() to report whether the current site is the
default site across all dimensions
- Consolidate tests
Closes #14479
Closes #14481
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
dependabot[bot] [Mon, 16 Feb 2026 09:56:59 +0000 (09:56 +0000)]
build(deps): bump github.com/bep/textandbinarywriter
Bumps [github.com/bep/textandbinarywriter](https://github.com/bep/textandbinarywriter) from 0.0.0-
20251212174530 -
cd9f0732f60f to 0.1.0.
- [Release notes](https://github.com/bep/textandbinarywriter/releases)
- [Commits](https://github.com/bep/textandbinarywriter/commits/v0.1.0)
---
updated-dependencies:
- dependency-name: github.com/bep/textandbinarywriter
dependency-version: 0.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
khayyam [Mon, 16 Feb 2026 16:32:45 +0000 (11:32 -0500)]
paths: Fix handling of _ as a path name
Fixes #14344
Bjørn Erik Pedersen [Sun, 15 Feb 2026 22:24:51 +0000 (23:24 +0100)]
output: Remove unused method
Closes #14522
dependabot[bot] [Mon, 16 Feb 2026 08:32:55 +0000 (08:32 +0000)]
build(deps): bump github.com/bep/simplecobra from 0.6.1 to 0.7.0
Bumps [github.com/bep/simplecobra](https://github.com/bep/simplecobra) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/bep/simplecobra/releases)
- [Commits](https://github.com/bep/simplecobra/compare/v0.6.1...v0.7.0)
---
updated-dependencies:
- dependency-name: github.com/bep/simplecobra
dependency-version: 0.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Mon, 16 Feb 2026 08:32:46 +0000 (08:32 +0000)]
build(deps): bump github.com/bep/tmc from 0.5.1 to 0.6.0
Bumps [github.com/bep/tmc](https://github.com/bep/tmc) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/bep/tmc/releases)
- [Commits](https://github.com/bep/tmc/compare/v0.5.1...v0.6.0)
---
updated-dependencies:
- dependency-name: github.com/bep/tmc
dependency-version: 0.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Joe Mooring [Sat, 14 Feb 2026 18:48:12 +0000 (10:48 -0800)]
snap: Stop building for ppc64el and s390x
Closes #14519
Joe Mooring [Sat, 14 Feb 2026 16:51:38 +0000 (08:51 -0800)]
docs: Fix lineNos default value in docs.yaml
Bjørn Erik Pedersen [Sat, 14 Feb 2026 17:01:30 +0000 (18:01 +0100)]
hugolib: Fix term title when taxonomy name contains spaces
The pluralTreeKey is normalized (spaces become hyphens), but the
unnormalized path preserves spaces. Use the plural name directly
for prefix trimming on the unnormalized path.
Fixes #13422
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bjørn Erik Pedersen [Sat, 14 Feb 2026 17:21:47 +0000 (18:21 +0100)]
Update AI assistance guidelines in CONTRIBUTING.md
Clarified expectations for AI contributions from non-maintainers.
Bjørn Erik Pedersen [Sat, 14 Feb 2026 15:33:15 +0000 (16:33 +0100)]
tpl/collections: Speed up where and sort performance
```bash
goos: darwin
goarch: arm64
pkg: github.com/gohugoio/hugo/tpl/collections
cpu: Apple M1 Pro
│ master.bench │ fix-whereperfalloc.bench │
│ sec/op │ sec/op vs base │
WhereOps/eq-10 139.62µ ± 3% 66.04µ ± 2% -52.70% (p=0.002 n=6)
WhereOps/ne-10 139.54µ ± 1% 65.68µ ± 2% -52.93% (p=0.002 n=6)
WhereOps/like-10 179.8µ ± 3% 106.7µ ± 1% -40.66% (p=0.002 n=6)
WhereSliceOfStructPointersWithMethod-10 350.7µ ± 1% 252.2µ ± 2% -28.09% (p=0.002 n=6)
WhereAndSortPages/Where-10 120.93µ ± 1% 81.69µ ± 1% -32.45% (p=0.002 n=6)
WhereAndSortPages/Sort-10 1.608m ± 1% 1.165m ± 1% -27.52% (p=0.002 n=6)
geomean 117.2µ 149.4µ -40.03% ¹
│ master.bench │ fix-whereperfalloc.bench │
│ B/op │ B/op vs base │
WhereOps/eq-10 52.18Ki ± 0% 36.62Ki ± 0% -29.82% (p=0.002 n=6)
WhereOps/ne-10 52.18Ki ± 0% 36.62Ki ± 0% -29.82% (p=0.002 n=6)
WhereOps/like-10 52.20Ki ± 0% 36.63Ki ± 0% -29.83% (p=0.002 n=6)
WhereSliceOfStructPointersWithMethod-10 64.52Ki ± 0% 64.59Ki ± 0% +0.12% (p=0.002 n=6)
WhereAndSortPages/Where-10 21.05Ki ± 0% 21.11Ki ± 0% +0.30% (p=0.002 n=6)
WhereAndSortPages/Sort-10 591.15Ki ± 0% 51.82Ki ± 0% -91.23% (p=0.002 n=6)
geomean 7.690Ki 38.91Ki -44.13% ¹
│ master.bench │ fix-whereperfalloc.bench │
│ allocs/op │ allocs/op vs base │
WhereOps/eq-10 2.515k ± 0% 1.517k ± 0% -39.68% (p=0.002 n=6)
WhereOps/ne-10 2.515k ± 0% 1.517k ± 0% -39.68% (p=0.002 n=6)
WhereOps/like-10 2.515k ± 0% 1.517k ± 0% -39.68% (p=0.002 n=6)
WhereSliceOfStructPointersWithMethod-10 4.503k ± 0% 4.504k ± 0% +0.02% (p=0.002 n=6)
WhereAndSortPages/Where-10 1.029k ± 0% 1.030k ± 0% +0.10% (p=0.002 n=6)
WhereAndSortPages/Sort-10 20.736k ± 0% 1.012k ± 0% -95.12% (p=0.002 n=6)
geomean 358.5 1.594k -53.04% ¹
```
Bjørn Erik Pedersen [Sat, 14 Feb 2026 11:05:21 +0000 (12:05 +0100)]
tpl/internal: Replace deprecated parser.ParseDir and doc.New
Replace parser.ParseDir (deprecated since Go 1.25) with manual
file iteration using parser.ParseFile, and replace doc.New with
doc.NewFromFiles.
Fixes #14513
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bjørn Erik Pedersen [Sat, 14 Feb 2026 11:15:58 +0000 (12:15 +0100)]
docs: Regenerate docs.yaml
Mostly so I can test #14513
Bjørn Erik Pedersen [Sat, 14 Feb 2026 11:14:33 +0000 (12:14 +0100)]
Merge commit '
8f3c066d23f431fb2c53d97ea489e4c28b42bd82 '
# Conflicts:
# docs/data/docs.yaml
Bjørn Erik Pedersen [Sat, 14 Feb 2026 11:13:44 +0000 (12:13 +0100)]
Squashed 'docs/' changes from
1ad3c75ad ..
42914c50e
42914c50e content: Correct module mount example
d7b80be5f content: Add a "vendor" glossary entry
e1bd65866 content: Miscellaneous edits
deb1c4b1c content: Fix formatting
7ff740aae content: Update capitalizeListTitles documentation
a9f40164f content: Remove data namespace from functions
b3386a13a content: Remove expired content
e21f66fa5 content: Clean up deprecated service configurations
39ab42192 content: Change default value of respectDoNotTrack to true
067cbb771 Update partial-decorators.md
b419af329 content: Minor edits to collections functions
b12dd9366 content: Improve documentation for partial decorators
573b8610f content: Improve descriptions and signatures for collections functions
81befbae8 content: Update version references
684dbcedb Update HUGO_VERSION to 0.155.3
198e5f1df misc: Update README.md
4d20bbc04 content: Correct and improve glob patterns documentation
39d369ddc content: Update disablePathToLower documentation
be2da46e9 content: Miscellaneous edits to configuration documentation
19a580828 content: Add Commentix to the list of commercial commenting systems
d350725cd theme: Pin npm dependencies and adjust Netlify build commands
9b33bb5fa content: Define canonical output format and default site
84b72792e content: Document glob pattern matching logic
1839dd114 content: Create glob pattern quick reference
30f8f9ca0 content: Revise multi-dimensional content model description
b7e36e479 content: Fix formatting
b1722ac6b content: Indicate data types returned by the or function
1bbe3a566 content: Fix typo
b7e1ac7bb content: Improve example of _redirects rendering
37c71ef80 content: Improve and/or descriptions
0226c14ed content: Updates for v0.155.0
301fa208b content: Change GitHub Pages workflow to support dot files
5d07a679c Update HUGO_VERSION to 0.155.2
adb8e8b2c theme: Pin turbo
9206cb64b Update netlify.toml
84e712633 content: Refine ToMath admonition and provide example
a099af3cd content: Warn about conditional KaTeX CSS on list pages
c3ca7ac4c misc: Address build warnings
80a9139f4 Update HUGO_VERSION to 0.155.0
b096f6279 content: Restore homebrew on linux instructions
05132aa29 content: Hide snap installation instructions
d0e448a14 content: Refactor pages related to image processing
d141bc04f content: Clarify default site redirect description
1d6a0bed5 content: Adjust paragraph order
fa53534cb content: Clarify usage of quote characters in templates
1d62aa670 content: Miscellaneous edits
579c0678b content: Fix description of disableDefaultLanguageRedirect
cd12583ee Update all.md
37b01c320 Update HUGO_VERSION to 0.154.5
66053b6df content: Update version references
3f6fb8737 content: Refresh deployment dependencies to latest versions
c2915ee98 theme: Add a mobile menu variant
6457c3f59 Remove trailing whitespace from content/en/configuration/all.md
46c4d117a config: Mention disableDefaultDimensionRedirect
338500de0 Regen docs helper
98b9d25f3 Updates for 0.154.4 release
8306956e2 Update HUGO_VERSION to 0.154.4
af3f62992 Update HUGO_VERSION to 0.154.3
d06de65bd content: Fix typo
0d841a59e content: Fix typo
ed6fa87cf content: Fix typo
dcf80dbea content: Describe Markdown attribute access in render hook templates
70d3513f1 content: Update version references
7e581c529 Update netlify.toml
c6a706943 content: Remove expired pages
e64ee7d54 misc: Update workflows
bbec5a198 Update HUGO_VERSION to 0.154.1
e8717cb72 content: Fix formatting of glossary entry
0da233817 Add a link to templates.Inner from the partial decorator glossary entry
d55f7ad5e Update Inner.md
b674dfd48 Some more about templates.Inner
ef354e664 Remove some old new-in markers
7d1e407fd content: Misc updates for v0.154.0
43589a017 Update HUGO_VERSION to 0.154.0
46f832b9b content: Change shortcode usage note to an admonition
71ea41250 Adjust sponstors.toml
a5dc99838 Update netlify.toml
c3edd4d5b Update netlify.toml
c1d306d6b Add Zoomment to comments management options
cb222be99 Update HUGO_VERSION to 0.153.3
92ee87b4f content: Update CI/CD and version references
170bf3693 content: Note disabled extended check in v0.153.2 and later
34b5ef8b3 Update HUGO_VERSION to 0.153.2
c3c42b171 content: Add Dart Sass installation to SourceHut CI workflow
1768cc2f5 content: Fix links
63ba04562 theme: Modernize sans-serif font stack for cross-platform consistency
287da5c1c content: Update edition comparison and guidance
44b5010ca content: Update min version required for quick start
ec4f60cb7 content: Update version references
fafa69e7c Update HUGO_VERSION to 0.153.1
37bedd7d3 content: Fix formatting
ed9056088 content: Miscellaneous edits
fa4d61004 content: Miscellaneous post-release updates for v0.153.0
b99f47449 Misc v0.153.0 related edits
018c3e969 Regen docs.yml
be80ec4c7 content: Document new dimensions
ba397d5aa content: Miscellaneous updates for v0.153.0
59ca8fa3f Update HUGO_VERSION to 0.153.0
git-subtree-dir: docs
git-subtree-split:
42914c50ee338b00d0b1cda2c3af8066cd9ad65c
Joe Mooring [Fri, 13 Feb 2026 01:42:27 +0000 (17:42 -0800)]
commands: Skip chmod for files without owner-write permission
Closes #14507
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
dependabot[bot] [Fri, 13 Feb 2026 11:43:47 +0000 (11:43 +0000)]
build(deps): bump github.com/gohugoio/hugo-goldmark-extensions/extras
Bumps [github.com/gohugoio/hugo-goldmark-extensions/extras](https://github.com/gohugoio/hugo-goldmark-extensions) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/gohugoio/hugo-goldmark-extensions/releases)
- [Commits](https://github.com/gohugoio/hugo-goldmark-extensions/compare/extras/v0.5.0...extras/v0.6.0)
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo-goldmark-extensions/extras
dependency-version: 0.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Fri, 13 Feb 2026 08:22:37 +0000 (08:22 +0000)]
build(deps): bump github.com/gohugoio/hugo-goldmark-extensions/passthrough
Bumps [github.com/gohugoio/hugo-goldmark-extensions/passthrough](https://github.com/gohugoio/hugo-goldmark-extensions) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/gohugoio/hugo-goldmark-extensions/releases)
- [Commits](https://github.com/gohugoio/hugo-goldmark-extensions/compare/passthrough/v0.3.1...extras/v0.4.0)
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo-goldmark-extensions/passthrough
dependency-version: 0.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Fri, 13 Feb 2026 08:53:10 +0000 (09:53 +0100)]
tpl/collections: Add some more benchmarks for where and sort
Joe Mooring [Thu, 12 Feb 2026 19:52:56 +0000 (11:52 -0800)]
all: Change site to project where appropriate
Closes #14504
Joe Mooring [Wed, 11 Feb 2026 19:20:09 +0000 (11:20 -0800)]
docker: Add full tar and openssh-client to support GitHub Actions
Closes #14502
Joe Mooring [Wed, 23 Apr 2025 02:42:04 +0000 (19:42 -0700)]
markup/highlight: Allow lineNos to be true, false, "inline", or "table"
Closes #13481