Khayyam Saleem
1e690c0f23
deps: Upgrade github.com/gobuffalo/flect v1.0.2 => v1.0.3
...
Closes #12827
2024-09-21 19:10:34 +02:00
Bjørn Erik Pedersen
2b5c335e93
deps: Upgrade github.com/bep/golibsass v1.1.1 => v1.2.0
...
Fixes #12649
2024-08-28 17:02:19 +02:00
dependabot[bot]
12a28ef773
build(deps): bump github.com/evanw/esbuild from 0.23.0 to 0.23.1
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.23.0 to 0.23.1.
- [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.23.0...v0.23.1 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-28 13:05:57 +02:00
dependabot[bot]
4ded32d077
build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3
...
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml ) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pelletier/go-toml/releases )
- [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml )
- [Commits](https://github.com/pelletier/go-toml/compare/v2.2.2...v2.2.3 )
---
updated-dependencies:
- dependency-name: github.com/pelletier/go-toml/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-28 13:05:42 +02:00
Bjørn Erik Pedersen
e1becf1dfe
deps: Upgraded github.com/bep/imagemeta v0.8.0 => v0.8.1
...
Closes #12793
2024-08-24 18:52:03 +02:00
dependabot[bot]
53c0ddfcb4
build(deps): bump gocloud.dev from 0.38.0 to 0.39.0
...
Bumps [gocloud.dev](https://github.com/google/go-cloud ) from 0.38.0 to 0.39.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-15 12:14:59 +02:00
Bjørn Erik Pedersen
133eeafeb4
deps: Upgrade github.com/tetratelabs/wazero v1.7.4-0.20240805170331-2b12e189eeec => v1.8.0
2024-08-15 12:14:49 +02:00
Bjørn Erik Pedersen
2168c5b125
Upgrade to Go 1.23
...
Fixes #12763
2024-08-15 10:18:19 +02:00
Bjørn Erik Pedersen
5d84f64759
deps: Upgrade github.com/bep/imagemeta v0.7.6 => v0.8.0
...
Fixes #12741
2024-08-10 14:00:43 +02:00
Bjørn Erik Pedersen
33c0938cd5
Add build time math rendering
...
While very useful on its own (and combined with the passthrough render hooks), this also serves as a proof of concept of using WASI (WebAssembly System Interface) modules in Hugo.
This will be marked _experimental_ in the documentation. Not because it will be removed or changed in a dramatic way, but we need to think a little more how to best set up/configure similar services, define where these WASM files gets stored, maybe we can allow user provided WASM files plugins via Hugo Modules mounts etc.
See these issues for more context:
* https://github.com/gohugoio/hugo/issues/12736
* https://github.com/gohugoio/hugo/issues/12737
See #11927
2024-08-09 17:18:37 +02:00
Bjørn Erik Pedersen
c6227f1d85
Add render hooks for inline and block passthrough snippets
...
Fixes #11927
2024-08-07 18:28:23 +02:00
dependabot[bot]
1781b18427
build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 12:26:01 +02:00
dependabot[bot]
d6d9dddff3
build(deps): bump golang.org/x/image from 0.18.0 to 0.19.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/image/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 11:14:31 +02:00
Bjørn Erik Pedersen
10891f305e
tpl/cast: Improve float
...
Make it support the new upstream rational number type in Exif.
See #12718
2024-08-06 22:26:43 +02:00
dependabot[bot]
8f8d12ab2f
build(deps): bump github.com/bep/imagemeta from 0.7.5 to 0.7.6 ( #12720 )
...
Bumps [github.com/bep/imagemeta](https://github.com/bep/imagemeta ) from 0.7.5 to 0.7.6.
- [Release notes](https://github.com/bep/imagemeta/releases )
- [Commits](https://github.com/bep/imagemeta/compare/v0.7.5...v0.7.6 )
---
updated-dependencies:
- dependency-name: github.com/bep/imagemeta
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>
Closes #12718
2024-08-06 12:05:52 +02:00
dependabot[bot]
be643580dd
build(deps): bump github.com/bep/godartsass/v2 from 2.0.0 to 2.1.0
...
Bumps [github.com/bep/godartsass/v2](https://github.com/bep/godartsass ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/bep/godartsass/releases )
- [Commits](https://github.com/bep/godartsass/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: github.com/bep/godartsass/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-02 00:36:13 +02:00
dependabot[bot]
20e4dd2ee3
build(deps): bump google.golang.org/api from 0.152.0 to 0.189.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.152.0 to 0.189.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.152.0...v0.189.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 19:57:38 +02:00
dependabot[bot]
f41149979a
build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 16:34:22 +02:00
dependabot[bot]
47fee839f6
build(deps): bump gocloud.dev from 0.36.0 to 0.38.0
...
Bumps [gocloud.dev](https://github.com/google/go-cloud ) from 0.36.0 to 0.38.0.
- [Release notes](https://github.com/google/go-cloud/releases )
- [Commits](https://github.com/google/go-cloud/compare/v0.36.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: gocloud.dev
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 16:33:35 +02:00
dependabot[bot]
99665ef227
build(deps): bump github.com/gorilla/websocket from 1.5.1 to 1.5.3
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.1...v1.5.3 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 16:32:47 +02:00
dependabot[bot]
eb2eeee687
build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.12 to 2.2.13
...
Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji ) from 2.2.12 to 2.2.13.
- [Release notes](https://github.com/kyokomi/emoji/releases )
- [Commits](https://github.com/kyokomi/emoji/compare/v2.2.12...v2.2.13 )
---
updated-dependencies:
- dependency-name: github.com/kyokomi/emoji/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 16:31:38 +02:00
Bjørn Erik Pedersen
bea5a46de4
deps: Upgrade github.com/hairyhenderson/go-codeowners v0.4.0 => v0.5.0
2024-08-01 14:46:54 +02:00
dependabot[bot]
f1a7f3d01a
build(deps): bump github.com/fatih/color from 1.16.0 to 1.17.0
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 14:46:13 +02:00
dependabot[bot]
08243be1d2
build(deps): bump github.com/evanw/esbuild from 0.21.4 to 0.23.0
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.21.4 to 0.23.0.
- [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.21.4...v0.23.0 )
---
updated-dependencies:
- dependency-name: github.com/evanw/esbuild
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 13:43:28 +02:00
dependabot[bot]
0490a8a162
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.36 to 2.20.37
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.20.36 to 2.20.37.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.20.36...v2.20.37 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-01 13:14:38 +02:00
Bjørn Erik Pedersen
d795cacd71
Revert "deps: Set toolchain go1.21.0 in go.mod"
...
This reverts commit 78c9a18b0c
.
2024-08-01 13:04:29 +02:00
Bjørn Erik Pedersen
92573012e8
Bump to go 1.21 in go.mod
2024-08-01 12:07:27 +02:00
Bjørn Erik Pedersen
78c9a18b0c
deps: Set toolchain go1.21.0 in go.mod
...
To hopefully resolve dependabot issues.
2024-07-31 19:47:41 +02:00
Bjørn Erik Pedersen
79aa2ab618
deps: Upgrade golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d => v0.23.0
...
Main motivation is to try to get dependabot running again.
2024-07-31 18:52:13 +02:00
Bjørn Erik Pedersen
c9d7577cb4
deps: Replace github.com/mitchellh/hashstructure/v2 with github.com/gohugoio/hashstructure
...
The old repo is archived and no longer maintained.
See #11644
2024-07-31 16:44:06 +02:00
Bjørn Erik Pedersen
78db8aebca
identity: Upgrade to github.com/mitchellh/hashstructure/v2 v2.0.2
...
```
name old time/op new time/op delta
HashString/n28-10 131ns ± 7% 133ns ±19% ~ (p=0.343 n=4+4)
HashString/n112-10 237ns ± 5% 241ns ± 3% ~ (p=0.229 n=4+4)
HashString/n448-10 688ns ± 3% 687ns ± 1% ~ (p=0.886 n=4+4)
HashString/n1792-10 2.51µs ± 3% 2.56µs ± 3% ~ (p=0.200 n=4+4)
HashString/n7168-10 10.1µs ± 2% 10.0µs ± 4% ~ (p=0.686 n=4+4)
name old alloc/op new alloc/op delta
HashString/n28-10 80.0B ± 0% 80.0B ± 0% ~ (all equal)
HashString/n112-10 160B ± 0% 160B ± 0% ~ (all equal)
HashString/n448-10 496B ± 0% 496B ± 0% ~ (all equal)
HashString/n1792-10 1.84kB ± 0% 1.84kB ± 0% ~ (all equal)
HashString/n7168-10 8.24kB ± 0% 8.24kB ± 0% ~ (all equal)
name old allocs/op new allocs/op delta
HashString/n28-10 4.00 ± 0% 4.00 ± 0% ~ (all equal)
HashString/n112-10 4.00 ± 0% 4.00 ± 0% ~ (all equal)
HashString/n448-10 4.00 ± 0% 4.00 ± 0% ~ (all equal)
HashString/n1792-10 4.00 ± 0% 4.00 ± 0% ~ (all equal)
HashString/n7168-10 4.00 ± 0% 4.00 ± 0% ~ (all equal)
```
Closes #11644
2024-07-31 16:44:06 +02:00
Bjørn Erik Pedersen
9989404d97
deps: Upgrade github.com/bep/imagemeta v0.7.4 => v0.7.5
2024-07-31 15:35:18 +02:00
Bjørn Erik Pedersen
b81ba2a0f0
deps: Upgrade github.com/aws/aws-sdk-go-v2 v1.26.1 => v1.30.3
2024-07-31 14:22:20 +02:00
Bjørn Erik Pedersen
afdd87db59
deps: Upgrade to github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0
2024-07-31 12:53:27 +02:00
Bjørn Erik Pedersen
0e00561620
deps: Upgrade github.com/bep/imagemeta v0.7.3 => v0.7.4
2024-07-23 20:46:05 +02:00
Bjørn Erik Pedersen
71842140d0
deps: Upgrade github.com/bep/imagemeta v0.7.1 => v0.7.3
2024-07-21 21:44:48 +02:00
Bjørn Erik Pedersen
3240511153
deps: Upgraded github.com/bep/imagemeta v0.7.0 => v0.7.1
...
Fixes #12669
2024-07-20 17:28:47 +02:00
Bjørn Erik Pedersen
72ff937e11
Switch EXIF library
...
Closes #10855
Closes #8586
Closes #8996
2024-07-20 15:56:10 +02:00
Bjørn Erik Pedersen
7be0377505
deps: Upgrade github.com/bep/gitmap v1.4.0 => v1.6.0 (note)
...
Closes #8627
2024-07-17 10:54:28 +02:00
Bjørn Erik Pedersen
ce5a2ce001
deps: Upgraded github.com/tdewolff/minify/v2 v2.20.20 => v2.20.36
2024-07-08 23:53:23 +02:00
Bjørn Erik Pedersen
0f42d975e0
deps: Upgrade to golang.org/x/image v0.18.0
2024-07-08 23:53:23 +02:00
PeskyPotato
0ee2610d7c
source: Expose GitInfo Body
...
Updated bep/gitmap to v1.4.0, to get commit message's Body.
Added Body to GitInfo struct. Docs upated with commit body example.
Fixes #10905
2024-07-06 16:28:11 +02:00
Bjørn Erik Pedersen
644d55475d
Add hash.XxHash
...
Also move the non crypto hash funcs into this new package.
This is much faster than e.g. MD5, especially for larger inputs:
```
BenchmarkXxHash/xxHash_43-10 9917955 112.2 ns/op 56 B/op 4 allocs/op
BenchmarkXxHash/mdb5_43-10 6017239 204.1 ns/op 96 B/op 3 allocs/op
BenchmarkXxHash/fnv32a_43-10 14407333 82.30 ns/op 16 B/op 1 allocs/op
BenchmarkXxHash/xxHash_4300-10 2916892 409.7 ns/op 56 B/op 4 allocs/op
BenchmarkXxHash/mdb5_4300-10 159748 7491 ns/op 4912 B/op 3 allocs/op
BenchmarkXxHash/fnv32a_4300-10 218210 5510 ns/op 16 B/op 1 allocs/op
```
Fixes #12635
2024-07-06 14:08:15 +02:00
Joe Mooring
79da24a0eb
deps: Upgrade github.com/yuin/goldmark v1.7.2 => v1.7.4
2024-06-25 18:04:45 +02:00
Joe Mooring
b187c0658e
deps: Upgrade github.com/yuin/goldmark-emoji v1.0.2 => v1.0.3
2024-06-24 15:51:02 +02:00
Joe Mooring
8efc75b73f
markup/goldmark: Add the Hugo Goldmark Extras "delete" extension
...
With Goldmark v1.7.1 and earlier, the Goldmark "strikethrough" extension was
triggered by wrapping text within a pair of double-tilde characters. With
Goldmark v1.7.2 and later, to provide full GFM compatibility, the Goldmark
"strikethrough" extension is triggered by wrapping text within a pair of
single- or double-tilde characters.
This change created a conflict with the Hugo Goldmark Extras "subscript"
extension.
When enabling the Hugo Goldmark Extras "subscript" extension, if you
want to render subscript and strikethrough text concurrently, you must:
1. Disable the Goldmark "strikethrough" extension
2. Enable the Hugo Goldmark Extras "delete" extension
Closes #12597
2024-06-18 18:56:20 +02:00
Joe Mooring
8cf94aea73
deps: Upgrade github.com/alecthomas/chroma v2.13.0 => v2.14.0
...
Closes #12580
2024-06-08 20:25:42 +02:00
Bjørn Erik Pedersen
b57306d61b
deps: Upgrade github.com/evanw/esbuild v0.20.2 => v0.21.4
...
See #12575
2024-06-08 11:40:19 +02:00
Bjørn Erik Pedersen
be47830a87
deps: Upgrade github.com/gohugoio/httpcache v0.6.0 => v0.7.0
...
This was somehow missed when merging #12523
2024-06-04 18:32:02 +02:00
Bjørn Erik Pedersen
447108fed2
Add a HTTP cache for remote resources.
...
Fixes #12502
Closes #11891
2024-06-04 16:07:39 +02:00