Bjørn Erik Pedersen
5f42e63c08
Add transform.HTMLToMarkdown
...
Fixes #13946
2025-10-01 18:11:00 +02:00
Bjørn Erik Pedersen
ec463c0977
Report OSC 9;4 progress when building
...
As supported by the Ghostty terminal and others.
2025-10-01 14:27:23 +02:00
dependabot[bot]
4d2743e4c8
build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.38.1 to 1.39.2
...
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2 ) from 1.38.1 to 1.39.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.38.1...v1.39.2 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
dependency-version: 1.39.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 21:13:50 +02:00
dependabot[bot]
c20f70d9a3
build(deps): bump golang.org/x/tools from 0.36.0 to 0.37.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 21:11:37 +02:00
dependabot[bot]
1b556216a8
build(deps): bump github.com/spf13/afero from 1.14.0 to 1.15.0
...
Bumps [github.com/spf13/afero](https://github.com/spf13/afero ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/spf13/afero/releases )
- [Commits](https://github.com/spf13/afero/compare/v1.14.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/afero
dependency-version: 1.15.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 21:11:14 +02:00
dependabot[bot]
106c8e6de6
build(deps): bump github.com/tdewolff/minify/v2 from 2.24.2 to 2.24.3
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.24.2 to 2.24.3.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.24.2...v2.24.3 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-version: 2.24.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 21:10:54 +02:00
Bjørn Erik Pedersen
03b33ecb5e
Fix file caching for 404 responses in resources.GetRemote
...
Fixes #14019
2025-09-30 20:43:05 +02:00
dependabot[bot]
9928122eb8
build(deps): bump github.com/evanw/esbuild from 0.25.9 to 0.25.10
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.9 to 0.25.10.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.9...v0.25.10 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-30 17:43:39 +02:00
Dr. Tobias Quathamer
105d3bc32f
tpl: Workaround s390x precision of Atan and Tan
...
On s390x, math.Atan(1) and math.Tan(1) give values that slightly differ
from other architectures, causing TestTemplateFuncsExamples to fail.
The golang math package states in the overview:
"This package does not guarantee bit-identical results across architectures."
2025-09-29 17:09:29 +02:00
Bjørn Erik Pedersen
3e46ba5ce2
cache/httpcache: Add respectCacheControlNoStoreInResponse and respectCacheControlNoStoreInRequest options
...
This cache is used by `resources.GetRemote`.
Default values are:
* respectCacheControlNoStoreInResponse: false
* respectCacheControlNoStoreInRequest: true
This is a slightly breaking change, but the current behaviour is confusing, as:
* Many servers set the `no-store` header without much consideration, see https://developer.chrome.com/docs/web-platform/bfcache-ccns for more context
* We almost always want to cache the `resources.GetRemote` to disk.
Fixes #13990
2025-09-29 17:06:50 +02:00
Bjørn Erik Pedersen
4d1303512b
common/hreflect: Speed up IsTrutfulValue
...
By caching the calculation of whether a type implements `IsZero`:
```
IsTruthFulVAlue-10 467.95n ± ∞ ¹ 79.13n ± ∞ ¹ -83.09% (p=0.029 n=4)
```
2025-09-29 17:06:50 +02:00
dependabot[bot]
9943c1bef0
build(deps): bump golang.org/x/text from 0.28.0 to 0.29.0
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-version: 0.29.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-29 15:09:06 +02:00
dependabot[bot]
766757310a
build(deps): bump github.com/olekukonko/tablewriter from 1.0.9 to 1.1.0
...
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter ) from 1.0.9 to 1.1.0.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v1.0.9...v1.1.0 )
---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
dependency-version: 1.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-29 15:08:34 +02:00
dependabot[bot]
d71c07cf3c
build(deps): bump github.com/spf13/cast from 1.9.2 to 1.10.0
...
Bumps [github.com/spf13/cast](https://github.com/spf13/cast ) from 1.9.2 to 1.10.0.
- [Release notes](https://github.com/spf13/cast/releases )
- [Commits](https://github.com/spf13/cast/compare/v1.9.2...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-version: 1.10.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-29 15:07:36 +02:00
Joe Mooring
b462980ac2
markup/goldmark: Enhance footnote extension with backlinkHTML option
...
This commit introduces a new option, backlinkHTML, to the Goldmark
footnote extension. This allows users to the set custom text for
footnote backlink anchors.
Closes #11434
2025-09-29 12:21:17 +02:00
Joe Mooring
47678d8cbd
markup/goldmark: Enhance footnote extension with auto-prefixing option
...
This commit introduces a new option, enableAutoIDPrefix, to the Goldmark
footnote extension. When enabled, it prepends a unique prefix to
footnote IDs, preventing clashes when multiple documents are rendered
together. This prefix is unique to each logical path, which means that
the prefix is not unique across content dimensions such as language.
This change also refactors the extension's configuration from a boolean
to a struct.
Closes #8045
2025-09-27 18:16:42 +02:00
hugoreleaser
18b9b6488b
releaser: Prepare repository for 0.151.0-DEV
...
[ci skip]
2025-09-25 10:45:05 +00:00
hugoreleaser
ce44a8e835
releaser: Bump versions for release of 0.150.1
...
[ci skip]
v0.150.1
2025-09-25 10:26:04 +00:00
Joe Mooring
64f40731f1
hugolib: Change duplicate content path warning to an info log
...
Improves #13993
2025-09-20 20:13:08 +02:00
Joe Mooring
1140314be1
hugolib: Restore integration test
...
Closes #13991
2025-09-18 18:02:13 +02:00
Joe Mooring
404fd9e512
commands: Map --minify CLI flag to the correct configuration key
...
Closes #13988
2025-09-18 16:50:47 +02:00
Max Kapur
b1b0cdee3a
snap: Add desktop plug
2025-09-18 06:22:39 -07:00
Max Kapur
3eea082903
test(deps): Update setup-ruby action to v1.257.0
2025-09-17 09:30:21 -07:00
hugoreleaser
0f18cbe990
releaser: Prepare repository for 0.151.0-DEV
...
[ci skip]
2025-09-08 13:16:24 +00:00
hugoreleaser
3f5473b7d4
releaser: Bump versions for release of 0.150.0
...
[ci skip]
v0.150.0
2025-09-08 13:01:12 +00:00
dependabot[bot]
d1f6a1dc59
build(deps): bump golang.org/x/mod from 0.27.0 to 0.28.0
...
Bumps [golang.org/x/mod](https://github.com/golang/mod ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/mod/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-version: 0.28.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-08 11:23:39 +02:00
Bjørn Erik Pedersen
747cf4ad65
modules: Add support for direct version module imports in hugo.toml
...
Fixes #13964
2025-09-07 22:47:25 +02:00
Joe Mooring
d8774d7fc3
resources/page: Fix truncated summary logic
...
Fixes #13967
Fixes #13968
2025-09-07 11:07:41 +02:00
Joe Mooring
3b8947d821
config/security: Add PROGRAMDATA to the osenv allowlist
2025-09-06 18:11:38 +02:00
hugoreleaser
321a66ef19
releaser: Prepare repository for 0.150.0-DEV
...
[ci skip]
2025-09-04 14:18:57 +00:00
hugoreleaser
57a784e027
releaser: Bump versions for release of 0.149.1
...
[ci skip]
v0.149.1
2025-09-04 14:04:46 +00:00
Lukáš Zapletal
25c0f2408a
Remove noindex meta tag from alias.html
...
Google does not behave as expected when an alias is used. It does not index the client-side alias page, but on top of that it also does not index the original page.
Google does not require noindex to be present and since alias pages do not have any content, it makes little sense to provide it. Therefore, this patch removes the line completely.
https://developers.google.com/search/docs/crawling-indexing/301-redirects
2025-09-04 15:58:23 +02:00
Bjørn Erik Pedersen
4f2d2b2cc4
Fix nilpointer on ToC heading
...
Fixes #11843
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
2025-09-04 14:01:51 +02:00
Bjørn Erik Pedersen
b8eb45c9df
tpl/collections: Require collections.D args to be ints
...
Fixes #13952
Co-authored-by: Joe Mooring <joe.mooring@veriphor.com >
2025-09-04 14:01:51 +02:00
Bjørn Erik Pedersen
1d90afff1b
Upgrade to Go 1.25.1
...
Fixes #13960
2025-09-04 11:11:29 +02:00
PikachuTW
e751afa9bd
Fix config env handling for some slice options
...
Fixes #13950
2025-09-04 10:49:14 +02:00
Joe Mooring
a09b8a60eb
minifiers: Update deprecation handling
...
1. With minify.tdewolff.css and minify.tdewolff.svg, check
for "decimals" instead of "decimal"
2. Add deprecation messages for:
- minify.tdewolff.css.decimals
- minify.tdewolff.svg.decimals
- minify.tdewolff.html.keepconditionalcomments
- config root minify (bool)
- config root minifyoutput (bool)
3. Deprecate minify.tdewolff.css.keepcss2 in favor
of minify.tdewolff.css.version
4. Refactor minify configuration tests
Closes #11893
Closes #13947
Closes #13948
2025-09-03 10:56:32 +02:00
Bjørn Erik Pedersen
0071b47b8b
Update README.md
2025-09-01 17:11:08 +02:00
hugoreleaser
70d62993ee
releaser: Prepare repository for 0.150.0-DEV
...
[ci skip]
2025-08-27 15:51:44 +00:00
hugoreleaser
66240338f1
releaser: Bump versions for release of 0.149.0
...
[ci skip]
v0.149.0
2025-08-27 15:37:16 +00:00
Bjørn Erik Pedersen
84b5123912
tpl/collections: Add an integration test for collections.D
...
Also
* improve the handling if invalid input
* add a sanity check for number of elements asked for in D (1000000).
2025-08-27 17:25:05 +02:00
Joe Mooring
2912415955
misc: Update Go version to 1.24.0 in README
...
Update Go version requirements for building Hugo.
2025-08-27 16:46:38 +02:00
Justus Perlwitz
bb4e66cd7c
create: Fix new content command with future dates
...
Fixes #12599
2025-08-27 09:33:17 +02:00
dependabot[bot]
45ec2f88bb
build(deps): bump github.com/getkin/kin-openapi from 0.132.0 to 0.133.0
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.132.0 to 0.133.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.132.0...v0.133.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-version: 0.133.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-27 09:31:02 +02:00
Bjørn Erik Pedersen
1ba80874e4
tpl/collections: Add collections.D using Vitter's Method D for sequential random sampling
2025-08-26 20:37:08 +02:00
dependabot[bot]
84dd495f2b
build(deps): bump google.golang.org/api from 0.247.0 to 0.248.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.247.0 to 0.248.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.247.0...v0.248.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.248.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-26 09:54:26 +02:00
dependabot[bot]
327bbc613f
build(deps): bump github.com/evanw/esbuild from 0.25.6 to 0.25.9
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.25.6 to 0.25.9.
- [Release notes](https://github.com/evanw/esbuild/releases )
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md )
- [Commits](https://github.com/evanw/esbuild/compare/v0.25.6...v0.25.9 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-version: 0.25.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-26 09:54:07 +02:00
dependabot[bot]
2447138f1d
build(deps): bump gocloud.dev from 0.40.0 to 0.43.0
...
Bumps [gocloud.dev](https://github.com/google/go-cloud ) from 0.40.0 to 0.43.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.40.0...v0.43.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev
dependency-version: 0.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-25 20:47:05 +02:00
Bjørn Erik Pedersen
61ec7a20a5
commands: Deprecate --omitEmpty on chromastyles command
...
It's no longer needed -- empty classes are now always omitted.
See See https://github.com/alecthomas/chroma/commit/5b2a4c5a26c503c79bc86ba3c4ae5b330028bd3d
2025-08-25 18:24:07 +02:00
Bjørn Erik Pedersen
c289fcaaaa
commands: Add --omitClassComments to the chromastyles command
2025-08-25 18:24:07 +02:00