Bjørn Erik Pedersen
dd3f2731e0
Remove Star History from README
...
Removed Star History section from README.
Closes #15190
2026-08-10 23:08:30 +02:00
Bjørn Erik Pedersen
f772998fa3
Fix resource transformation chaining after content access
...
When a transformed resource had been initialized (e.g. via .Data, .Content
or .RelPermalink) before chaining another transformation, the new chain
would run on the transformed output instead of the original source,
re-running all transformations on their own output.
Fixes #15189
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-08-10 18:10:06 +02:00
Bjørn Erik Pedersen
8a55df7af2
Remove tailwindcss from the default security.exec.allow list (note)
...
Fixes #15178
Closes #15171
2026-08-10 15:59:57 +02:00
Bjørn Erik Pedersen
52c9bd7908
circleci: Upgrade to Go 1.26.5
2026-08-09 21:38:57 +02:00
Bjørn Erik Pedersen
44da086082
Add Data.Artifacts to css.Build and js.Build
...
Artifacts are the additional output files published as part of the build:
source maps and files emitted by ESBuild's file loader (e.g. fonts). Each
artifact provides Permalink, RelPermalink and MediaType, so e.g. font
preload links can be constructed in templates.
Also add media type definitions for source maps (application/source-map),
font/woff and font/woff2.
Fixes #15173
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-08 19:51:42 +02:00
Bjørn Erik Pedersen
2ffaf1fc1e
Fix server static file detection for deleted files/directories in the static syncer
...
Related to #15174
2026-08-08 18:08:03 +02:00
Bjørn Erik Pedersen
a808f6e40d
Fix server errors when deleting static files or directories
...
Fixes #15174
2026-08-08 18:08:03 +02:00
dependabot[bot]
94f3908ec6
build(deps): bump github.com/getkin/kin-openapi from 0.145.0 to 0.146.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.145.0 to 0.146.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.145.0...v0.146.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-version: 0.146.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-07 11:31:51 +02:00
dependabot[bot]
75fcc7524a
build(deps): bump github.com/rogpeppe/go-internal from 1.15.0 to 1.16.0
...
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/rogpeppe/go-internal/releases )
- [Commits](https://github.com/rogpeppe/go-internal/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/rogpeppe/go-internal
dependency-version: 1.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-07 11:31:37 +02:00
Bjørn Erik Pedersen
33d1f2c853
css: Add classDark and classLight options to css.ChromaStyles and gen chromastyles
...
Closes #15167
2026-08-05 16:04:48 +02:00
Bjørn Erik Pedersen
64da6d7c62
markup/highlight: Re-emit token colors dropped by Chroma's minifier
...
Chroma drops token rules whose color equals the style's default foreground
(e.g. .nx in github-dark). In a paired light/dark setup the other sheet's
explicit rule then leaks in, since an explicit declaration beats inheritance
from .chroma. Apply the chromaCSSOverrides custom CSS unconditionally so
these rules survive in modeSelector sheets too.
Updates #15161
2026-08-04 16:10:27 +02:00
Bjørn Erik Pedersen
70db201ed4
Add importContext option to css.Build, js.Build, css.Sass and css.TailwindCSS
...
This allows @import statements to be resolved in a set of user provided resources (e.g. from resources.FromString or css.ChromaStyles) before the assets filesystem.
The option also applies to css.PostCSS via the shared import inlining, and css.Sass requires the dartsass transpiler. The import context is part of the transformation cache key.
Fixes #15103
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-08-03 21:20:06 +02:00
Bjørn Erik Pedersen
8a468df065
Remove some old deprecations
2026-07-29 20:48:47 +02:00
dependabot[bot]
b5fa03d3aa
build(deps): bump github.com/mattn/go-isatty from 0.0.22 to 0.0.24
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.22 to 0.0.24.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.22...v0.0.24 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-version: 0.0.24
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-29 18:42:01 +02:00
dependabot[bot]
9da472dd3b
build(deps): bump github.com/yuin/goldmark from 1.8.4 to 1.8.5
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.8.4 to 1.8.5.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.8.4...v1.8.5 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.8.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-29 18:41:48 +02:00
Bjørn Erik Pedersen
615e45d6e8
Add css.ChromaStyles
...
Move the stylesheet generation from the gen chromastyles command into
markup/highlight and share it with the new template function.
Fixes #15112
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-29 18:41:31 +02:00
dependabot[bot]
635532a20f
build(deps): bump golang.org/x/tools from 0.47.0 to 0.48.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.47.0 to 0.48.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.47.0...v0.48.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.48.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-29 11:52:08 +02:00
Shantanav Mukherjee
a243a6154c
check.sh: Handle staticcheck not installed/in PATH
2026-07-28 12:31:02 +02:00
dependabot[bot]
9c71f600bf
build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.13 to 2.2.14
...
Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji ) from 2.2.13 to 2.2.14.
- [Release notes](https://github.com/kyokomi/emoji/releases )
- [Commits](https://github.com/kyokomi/emoji/compare/v2.2.13...v2.2.14 )
---
updated-dependencies:
- dependency-name: github.com/kyokomi/emoji/v2
dependency-version: 2.2.14
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-28 12:29:19 +02:00
dependabot[bot]
420527fc6b
build(deps): bump github.com/getkin/kin-openapi from 0.144.0 to 0.145.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.144.0 to 0.145.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.144.0...v0.145.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-version: 0.145.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-28 12:28:40 +02:00
dependabot[bot]
7fe786e3b0
build(deps): bump golang.org/x/image from 0.43.0 to 0.44.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.43.0 to 0.44.0.
- [Commits](https://github.com/golang/image/compare/v0.43.0...v0.44.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.44.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-27 17:44:56 +02:00
dependabot[bot]
03b244fc0b
build(deps): bump github.com/bep/imagemeta from 0.17.2 to 0.17.3
...
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta ) from 0.17.2 to 0.17.3.
- [Release notes](https://github.com/bep/imagemeta/releases )
- [Commits](https://github.com/bep/imagemeta/compare/v0.17.2...v0.17.3 )
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
dependency-version: 0.17.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-27 17:44:44 +02:00
dependabot[bot]
961181334f
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.13 to 2.24.14
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.24.13 to 2.24.14.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.24.13...v2.24.14 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.24.14
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-27 17:44:32 +02:00
dependabot[bot]
e35b7f049d
build(deps): bump github.com/yuin/goldmark from 1.8.2 to 1.8.4
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.8.2 to 1.8.4.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.8.2...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.8.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-27 17:44:14 +02:00
Bjørn Erik Pedersen
7d90277a28
warpc: Improve AVIF error message on memory allocation failure
...
See https://discourse.gohugo.io/t/avif-conversion-fails-for-jpg-files-with-embedded-colour-profiles-when-not-resizing/57392/4
2026-07-27 17:44:01 +02:00
dependabot[bot]
0796fa7ace
build(deps): bump golang.org/x/net from 0.56.0 to 0.57.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.56.0 to 0.57.0.
- [Commits](https://github.com/golang/net/compare/v0.56.0...v0.57.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.57.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-26 17:03:18 +02:00
Bjørn Erik Pedersen
6bf15241a1
Fix panic on server atomic save edits on MacOS
...
An atomic save (write temp file, rename into place) unlinks the inode the
watcher holds, so kqueue reports Remove for a file that's still on disk.
That took the delete branch and wiped the entire taxonomy subtree; the
following assemble then panicked in createMissingTaxonomies, where the
shifting tree.Get hit a not yet assembled *pageMetaSource.
Treat Remove of a path that still exists as an update, and use the
non-shifting GetRaw when checking for the auto created taxonomy node.
Fixes #15130
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-26 14:00:32 +02:00
Bjørn Erik Pedersen
861ede6d10
cache/filecache: Don't prune used cache entries with mixed-case dir names
...
On case-insensitive filesystems, entries created before we started lowercasing
the content paths in v0.123 are the same file as today's lowercased cache key,
and were removed on every hugo --gc.
Fixes #15101
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-07-26 11:40:27 +02:00
Bjørn Erik Pedersen
f228c87d41
Drop symlinks in parent directories
...
Lstat only refrains from following the last element of a path, so a symlink
in an intermediate directory was still resolved, and reads could escape the
mount via e.g. resources.Get "symlinkdir/secret.txt".
Walk the directories up to the mount root and reject any that is a symlink.
Follow-up to cf9c8f93c and f8b5fa09a .
2026-07-25 18:17:06 +02:00
dependabot[bot]
1b701b72ca
build(deps): bump golang.org/x/text from 0.38.0 to 0.40.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.38.0 to 0.40.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.38.0...v0.40.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-25 18:14:11 +02:00
dependabot[bot]
a32d70b712
build(deps): bump github.com/getkin/kin-openapi from 0.140.0 to 0.144.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.140.0 to 0.144.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.140.0...v0.144.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-version: 0.144.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-25 18:13:45 +02:00
dependabot[bot]
948cfb98f9
build(deps): bump google.golang.org/grpc from 1.80.0 to 1.82.1
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.80.0 to 1.82.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.80.0...v1.82.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.82.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-25 18:12:39 +02:00
dependabot[bot]
8930802ef2
build(deps): bump golang.org/x/mod from 0.37.0 to 0.38.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/mod/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-25 16:45:18 +02:00
Bjørn Erik Pedersen
7df45f615a
Delete .gemini
2026-07-25 11:30:55 +02:00
Joe Mooring
f961093ea9
markup/asciidocext: Fix TOC parsing for asciidoctor-html5s
...
Closes #15121
Co-authored-by: mike.szewil <szewil_michael@bah.com >
2026-07-22 19:32:19 +02:00
Joe Mooring
89b8c32200
common/hugo: Include non-go dependencies in go env output
...
Closes #15116
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-13 10:58:38 +02:00
Joe Mooring
984358f047
snap: Fix snap home environment
...
Closes #15114
2026-07-13 10:57:03 +02:00
Joe Mooring
d1f191c58d
Update README.md
...
- Remove Go Report Card badge (services has been sunset)
- Updated dependencies section
2026-07-13 10:56:09 +02:00
hugoreleaser
a198116669
releaser: Prepare repository for 0.165.0-DEV
...
[ci skip]
2026-07-06 17:47:51 +00:00
hugoreleaser
ce2470e701
releaser: Bump versions for release of 0.164.0
...
[ci skip]
v0.164.0
2026-07-06 16:39:30 +00:00
dependabot[bot]
921db7b52c
build(deps): bump github.com/JohannesKaufmann/html-to-markdown/v2
...
Bumps [github.com/JohannesKaufmann/html-to-markdown/v2](https://github.com/JohannesKaufmann/html-to-markdown ) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/JohannesKaufmann/html-to-markdown/releases )
- [Commits](https://github.com/JohannesKaufmann/html-to-markdown/compare/v2.5.1...v2.5.2 )
---
updated-dependencies:
- dependency-name: github.com/JohannesKaufmann/html-to-markdown/v2
dependency-version: 2.5.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-06 15:21:13 +02:00
dependabot[bot]
786ce71e59
build(deps): bump golang.org/x/tools from 0.45.0 to 0.47.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.45.0 to 0.47.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.45.0...v0.47.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.47.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-06 13:34:38 +02:00
dependabot[bot]
5ad2846161
build(deps): bump golang.org/x/image from 0.42.0 to 0.43.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.42.0 to 0.43.0.
- [Commits](https://github.com/golang/image/compare/v0.42.0...v0.43.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-version: 0.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-06 13:33:50 +02:00
dependabot[bot]
36ad9f583a
build(deps): bump golang.org/x/net from 0.55.0 to 0.56.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.55.0 to 0.56.0.
- [Commits](https://github.com/golang/net/compare/v0.55.0...v0.56.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.56.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-06 11:50:17 +02:00
dependabot[bot]
7c0a0bc979
build(deps): bump github.com/pelletier/go-toml/v2 from 2.4.2 to 2.4.3
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.4.2...v2.4.3 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-version: 2.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-06 11:49:16 +02:00
Bjørn Erik Pedersen
d83ce27ae0
tpl/tplimpl: Support sub paths in layouts passed to .Render
...
E.g. {{ .Render "foo/mylayout" }} matches mylayout templates in
<dir>/foo for every dir from the page's layout path up to the layouts root.
Closes #15056
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-07-05 20:14:32 +02:00
Bjørn Erik Pedersen
5a5f4a5495
all: Rewrite deprecated constructs in tests
2026-07-04 23:10:26 +02:00
Bjørn Erik Pedersen
c6acc246ab
Add markup.rst.syntaxHighlight option
...
Fixes #5349
2026-07-04 22:27:29 +02:00
Bjørn Erik Pedersen
29ed932513
tpl/resources: Deprecate resources.PostProcess in favour of templates.Defer
...
Fixes #15086
2026-07-04 21:28:31 +02:00
Bjørn Erik Pedersen
7b4ddd1863
contributing: Add a note about co-authoring attributions when borrowing test cases
2026-07-04 18:10:03 +02:00