]>
git.maquefel.me Git - brevno-suite/hugo/log
Patrice Chalin [Wed, 22 Jan 2025 13:57:24 +0000 (08:57 -0500)]
markup/goldmark: Fix typo in func comment
hugoreleaser [Wed, 22 Jan 2025 12:35:08 +0000 (12:35 +0000)]
releaser: Prepare repository for 0.143.0-DEV
[ci skip]
hugoreleaser [Wed, 22 Jan 2025 12:20:52 +0000 (12:20 +0000)]
releaser: Bump versions for release of 0.142.0
[ci skip]
Bjørn Erik Pedersen [Tue, 21 Jan 2025 09:57:06 +0000 (10:57 +0100)]
Fix render hook's PlainText with typographer extension enabled
Fixes #13286
Fixes #13292
Bjørn Erik Pedersen [Tue, 21 Jan 2025 18:24:51 +0000 (19:24 +0100)]
Improve assert
Bjørn Erik Pedersen [Tue, 21 Jan 2025 18:19:20 +0000 (19:19 +0100)]
Improve assertions
Bjørn Erik Pedersen [Tue, 21 Jan 2025 17:52:58 +0000 (18:52 +0100)]
Also handle inline HTML comments
Bjørn Erik Pedersen [Tue, 21 Jan 2025 09:33:27 +0000 (10:33 +0100)]
Do not warn on potentially unsafe HTML comments when unsafe=false
We will still not render these comments, so from a safety perspective this is the same, but HTML comments are very common also inside Markdown and too useful to throw away.
Updates #13278
W. Michael Petullo [Tue, 21 Jan 2025 01:34:39 +0000 (19:34 -0600)]
Fix build with Go 1.24
Go 1.24 provides stricter checking that forbids passing a variable as
a format string to Printf-family functions with no other arguments. Remove
instances of this. See also:
https://tip.golang.org/doc/go1.24#vet
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Joe Mooring [Sun, 19 Jan 2025 15:00:49 +0000 (07:00 -0800)]
tpl/tplimpl: Fix context in shortcode error messages
Fixes #13279
Bjørn Erik Pedersen [Thu, 16 Jan 2025 18:15:30 +0000 (19:15 +0100)]
resources: Fix 2 image file cache key issues
* Always include the content hash in the cache key for unprocessed images.
* Always include the image config hash in the cache key.
This is also a major cleanup/simplification of the implementation in this area.
Note that this, unfortunately, forces new hashes/filenames for generated images.
Fixes #13273
Fixes #13272
Nicolas Friedli [Fri, 17 Jan 2025 18:06:54 +0000 (19:06 +0100)]
tpl: Add loading attribute to qr shortcode
hugoreleaser [Thu, 16 Jan 2025 13:26:52 +0000 (13:26 +0000)]
releaser: Prepare repository for 0.142.0-DEV
[ci skip]
hugoreleaser [Thu, 16 Jan 2025 13:11:18 +0000 (13:11 +0000)]
releaser: Bump versions for release of 0.141.0
[ci skip]
Bjørn Erik Pedersen [Thu, 16 Jan 2025 09:53:53 +0000 (10:53 +0100)]
tpl/tplimpl: Simplify some test assertions
Jack Baldry [Thu, 16 Jan 2025 09:58:18 +0000 (09:58 +0000)]
common/paths: Fix docstring
Bjørn Erik Pedersen [Thu, 16 Jan 2025 09:35:07 +0000 (10:35 +0100)]
Bjørn Erik Pedersen [Thu, 16 Jan 2025 09:35:07 +0000 (10:35 +0100)]
Squashed 'docs/' changes from
f0f4bcb24 ..
4429eeeea
4429eeeea Update image render hooks examples to conform with Commonmark
5391dddea Add class attribute to heading render hook examples
git-subtree-dir: docs
git-subtree-split:
4429eeeea84bfa4b9e636deaab5c9620ccf776a6
Bjørn Erik Pedersen [Thu, 16 Jan 2025 09:34:52 +0000 (10:34 +0100)]
docs: Regen CLI docs
Joe Mooring [Sun, 5 Jan 2025 13:31:58 +0000 (05:31 -0800)]
tpl/tplimpl: Deprecate twitter shortcode in favor of x shortcode
Closes #13214
Bjørn Erik Pedersen [Wed, 15 Jan 2025 21:31:52 +0000 (22:31 +0100)]
commands: Fix spelling in comment
Bjørn Erik Pedersen [Wed, 15 Jan 2025 21:24:10 +0000 (22:24 +0100)]
commands: Set up the glboal logger early
Fixes #13265
Bjørn Erik Pedersen [Wed, 15 Jan 2025 20:00:15 +0000 (21:00 +0100)]
commands: Add --printZero to the config command
Will include zero config values (e.g. "", 0, false) in the output and will be more verbose, but useful if you cant to discover all available config options.
Bjørn Erik Pedersen [Wed, 15 Jan 2025 14:45:13 +0000 (15:45 +0100)]
For render hooks, only fallback to HTML (or the defaultOutputFormat) template
Closes #13242
Bjørn Erik Pedersen [Sun, 12 Jan 2025 15:58:11 +0000 (17:58 +0200)]
tpl/collections: Use MapRange/SetIterKey/SetIterValue for Where, Sort and Merge
Some relevant benchmarks:
Where with maps:
```
cpu: Apple M1 Pro
│ master.bench │ fix-mapkeys.bench │
│ sec/op │ sec/op vs base │
WhereMap-10 79.26µ ± 1% 26.58µ ± 1% -66.46% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ B/op │ B/op vs base │
WhereMap-10 56685.0 ± 0% 111.0 ± 1% -99.80% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ allocs/op │ allocs/op vs base │
WhereMap-10 2003.000 ± 0% 4.000 ± 0% -99.80% (p=0.002 n=6)
```
Merge:
```
│ master.bench │ fix-mapkeys.bench │
│ sec/op │ sec/op vs base │
Merge-10 3.285µ ± 0% 2.268µ ± 1% -30.96% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ B/op │ B/op vs base │
Merge-10 3.079Ki ± 0% 1.891Ki ± 0% -38.58% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ allocs/op │ allocs/op vs base │
Merge-10 64.00 ± 0% 26.00 ± 0% -59.38% (p=0.002 n=6)
```
Sort:
```
cpu: Apple M1 Pro
│ master.bench │ fix-mapkeys.bench │
│ sec/op │ sec/op vs base │
SortMap-10 1008.0n ± 1% 915.5n ± 0% -9.18% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ B/op │ B/op vs base │
SortMap-10 640.0 ± 0% 512.0 ± 0% -20.00% (p=0.002 n=6)
│ master.bench │ fix-mapkeys.bench │
│ allocs/op │ allocs/op vs base │
SortMap-10 16.00 ± 0% 15.00 ± 0% -6.25% (p=0.002 n=6)
```
Bjørn Erik Pedersen [Mon, 13 Jan 2025 13:17:15 +0000 (15:17 +0200)]
deps: Upgrade github.com/gohugoio/hashstructure from 0.1.0 to 0.3.0
Faster hashing of maps:
```
│ stash.bench │ deps-hashstructv030.bench │
│ sec/op │ sec/op vs base │
HashMap-10 198.9µ ± ∞ ¹ 142.6µ ± ∞ ¹ -28.31% (p=0.029 n=4)
¹ need >= 6 samples for confidence interval at level 0.95
│ stash.bench │ deps-hashstructv030.bench │
│ B/op │ B/op vs base │
HashMap-10 92.38Ki ± ∞ ¹ 37.14Ki ± ∞ ¹ -59.80% (p=0.029 n=4)
¹ need >= 6 samples for confidence interval at level 0.95
│ stash.bench │ deps-hashstructv030.bench │
│ allocs/op │ allocs/op vs base │
HashMap-10 6.747k ± ∞ ¹ 4.748k ± ∞ ¹ -29.63% (p=0.029 n=4)
```
Bjørn Erik Pedersen [Mon, 13 Jan 2025 10:57:48 +0000 (12:57 +0200)]
tpl/collections: Add BenchmarkWhereMap
Bjørn Erik Pedersen [Mon, 13 Jan 2025 08:38:12 +0000 (10:38 +0200)]
tpl/collections: Add BenchmarkSortMap
Bjørn Erik Pedersen [Mon, 13 Jan 2025 08:32:41 +0000 (10:32 +0200)]
tpl/collections: Add Merge benchmark
Bjørn Erik Pedersen [Sat, 11 Jan 2025 12:10:30 +0000 (14:10 +0200)]
resources/images: Refactor golden image tests to locate them closer to the implementation
Bjørn Erik Pedersen [Fri, 10 Jan 2025 07:54:30 +0000 (09:54 +0200)]
resources/images: Add some mask tests
Closes #13244
Markus Kienast [Fri, 10 Jan 2025 07:43:51 +0000 (09:43 +0200)]
resources/images: Add images.Mask
See #13244
Joe Mooring [Fri, 10 Jan 2025 07:36:10 +0000 (23:36 -0800)]
tpl/tplimpl: Use plain text for image render hook alt attribute
Co-authored-by: Heracles <email@heracl.es>
Bjørn Erik Pedersen [Thu, 9 Jan 2025 07:17:40 +0000 (08:17 +0100)]
Adjust error handling in ToMath vs try (note)
Closes #13239
Bjørn Erik Pedersen [Wed, 8 Jan 2025 21:03:41 +0000 (22:03 +0100)]
resources/images: Add some golden tests for images.QR
Bjørn Erik Pedersen [Thu, 9 Jan 2025 05:01:58 +0000 (06:01 +0100)]
Fix branch resource overlapping bundle path
Fixes #13228
Bjørn Erik Pedersen [Thu, 9 Jan 2025 03:09:25 +0000 (04:09 +0100)]
templates: Fix handling of multiple defers in the same template
Fixes #13236
Joe Mooring [Wed, 8 Jan 2025 18:10:18 +0000 (10:10 -0800)]
tpl/images: Change signature of images.QR to images.QR TEXT OPTIONS
Closes #13230
Bjørn Erik Pedersen [Wed, 8 Jan 2025 16:37:21 +0000 (17:37 +0100)]
resources/images: Add some golden tests for images.Text
Julius Künzel [Mon, 6 Jan 2025 19:31:18 +0000 (20:31 +0100)]
images.Text: Add "alignx" option for horizontal alignment
Add an "alignx" option to the images.Text to control whether the value of the "x" option is the left border of the text (current behaviour), the center of each line or the right border.
Fixes #10849
Bjørn Erik Pedersen [Tue, 7 Jan 2025 16:42:04 +0000 (17:42 +0100)]
images: Rework the golden tests
Bjørn Erik Pedersen [Tue, 7 Jan 2025 08:13:16 +0000 (09:13 +0100)]
Fix NPX issue with TailwindCSS v4
This allows the `tailwindcss` CLI binary to live in the `PATH` for NPM-less projects.
Fixes #13221
dependabot[bot] [Tue, 7 Jan 2025 08:27:07 +0000 (08:27 +0000)]
build(deps): bump golang.org/x/tools from 0.28.0 to 0.29.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.28.0...v0.29.0)
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Tue, 7 Jan 2025 08:27:10 +0000 (08:27 +0000)]
build(deps): bump golang.org/x/net from 0.33.0 to 0.34.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.34.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>
Joe Mooring [Mon, 6 Jan 2025 20:50:40 +0000 (12:50 -0800)]
snap: Always package latest stable version of Go
Bjørn Erik Pedersen [Mon, 6 Jan 2025 17:12:20 +0000 (18:12 +0100)]
docs: Regen CLI docs
Bjørn Erik Pedersen [Mon, 6 Jan 2025 17:11:07 +0000 (18:11 +0100)]
Bjørn Erik Pedersen [Mon, 6 Jan 2025 17:09:20 +0000 (18:09 +0100)]
Squashed 'docs/' changes from
8390a4a3a ..
f0f4bcb24
f0f4bcb24 Update Batch.md
15a8b1de6 Update Batch.md
eb841ce66 Update theme
751097f24 Use CI_PAGES_URL in GitLab Pages workflow
8584a0581 Fix typos
b030a7149 Update configuration.md
f7ec2ee9c Revert "Update shortcode.md"
f8188f1c8 Update shortcode.md
083fc39c6 Update shortcode.md
d4bdfb96b Update Filter.md
ef00649db Document wrapperClass highlighting option
e227dc422 Hugo 0.140.2
b95d28444 Fix description of the the hugo server command
41ca381b0 Fix documentation of Fragments
73a6cd966 Update theme
2573fd120 netlify: Hugo 0.140.1
90b19ec0d Merge branch 'tempv0.140.1'
ad2e9aeec Update gocloud and docs for S3-Compatible Endpoints
34b30bad2 Remove indentation from include shortcode examples
97b4ef544 Update related.md
7234e0189 Update related.md
32cc191f6 Clarify Name and Title menu entry methods
bce733c63 Update theme
2f1843d10 Use .Page.GetPage in examples of an include shortcode
9e1c85bbd Revert "Document PAGE.String"
bb30e7c08 Document PAGE.String
2d151d77f Fix link
fbe2d442f Miscellaneous updates for v0.140.0
4d3195223 Update JS docs vs Hugo v0.140
8c190aabc netlify: Hugo 0.140.0
826005ffe Merge branch 'tempv0.140.0'
107289a2c Update theme (again)
9884425f9 Update theme
ff0a358d3 Update Go tool version in hugo.work
c9b23cf6d tpl/tplimpl: Update details shortcode
f29f19aff tpl/tplimpl: Add details shortcode
git-subtree-dir: docs
git-subtree-split:
f0f4bcb243776d0552396d12758bd38cda779b62
Bjørn Erik Pedersen [Mon, 6 Jan 2025 15:59:22 +0000 (16:59 +0100)]
create: Respect --noBuildLock in hugo new
dependabot[bot] [Mon, 23 Dec 2024 08:48:21 +0000 (08:48 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.24.0 to 0.24.2
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.24.0 to 0.24.2.
- [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.24.0...v0.24.2)
---
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>
Bjørn Erik Pedersen [Mon, 6 Jan 2025 11:15:52 +0000 (12:15 +0100)]
tpl/images: Format the QR hashes as hex
Slightly shorter, and it looks more like a ... hash.
dependabot[bot] [Mon, 6 Jan 2025 08:05:20 +0000 (08:05 +0000)]
build(deps): bump github.com/alecthomas/chroma/v2 from 2.14.0 to 2.15.0
Bumps [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.14.0...v2.15.0)
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Sun, 5 Jan 2025 14:43:18 +0000 (15:43 +0100)]
resources: Replace error handling in GetRemote with try (note)
Closes #13216
Joe Mooring [Tue, 31 Dec 2024 22:43:35 +0000 (17:43 -0500)]
tpl/images: Add images.QR function
Closes #13205
Bjørn Erik Pedersen [Tue, 19 Apr 2022 14:56:49 +0000 (16:56 +0200)]
Add try
Updates #9737
Bjørn Erik Pedersen [Fri, 3 Jan 2025 17:36:44 +0000 (18:36 +0100)]
resources: Add FromOpts for more effective resource creation
E.g. when the targetPath already contains a hash or if the resource content is expensive to create.
Bjørn Erik Pedersen [Wed, 1 Jan 2025 12:48:18 +0000 (13:48 +0100)]
Fix server refresh on 404 template changes
Fixes #13209
Joe Mooring [Tue, 31 Dec 2024 13:35:22 +0000 (08:35 -0500)]
markup/highlight: Remove noHl option
Closes #9885
hugoreleaser [Mon, 30 Dec 2024 15:16:00 +0000 (15:16 +0000)]
releaser: Prepare repository for 0.141.0-DEV
[ci skip]
hugoreleaser [Mon, 30 Dec 2024 15:01:53 +0000 (15:01 +0000)]
releaser: Bump versions for release of 0.140.2
[ci skip]
Diwas Rimal [Sat, 28 Dec 2024 17:09:04 +0000 (22:54 +0545)]
Print cli usage of `hugo gen chromastyles` alongside css
dependabot[bot] [Thu, 19 Dec 2024 08:33:49 +0000 (08:33 +0000)]
build(deps): bump golang.org/x/net from 0.32.0 to 0.33.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.32.0...v0.33.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>
Joe Mooring [Sun, 29 Dec 2024 21:44:13 +0000 (16:44 -0500)]
config/allconfig: Fix slice of language configs
Fixes #13201
Joe Mooring [Sun, 29 Dec 2024 19:30:58 +0000 (14:30 -0500)]
config/allconfig: Throw error when output format is not defined
Fixes #13199
Bjørn Erik Pedersen [Thu, 26 Dec 2024 12:47:10 +0000 (13:47 +0100)]
Fix same resource file published more than once
This may still happen, though, in low memory situations or very big sites, but I'm not sure it's worth spending time on fixing that. Writing the same file more than once isn't harmful, the negative effect is the false path warning.
We may find a way to detect that situation if this becomes a real problem.
Fixes #13164
Bjørn Erik Pedersen [Wed, 25 Dec 2024 17:20:16 +0000 (18:20 +0100)]
markup/highlight: Add wrapperClass option
The need comes from Tailwind's typography plugin. There's currently no way to turn that off outside of the markup, see https://github.com/tailwindlabs/tailwindcss-typography/pull/363
Bjørn Erik Pedersen [Mon, 23 Dec 2024 17:57:19 +0000 (18:57 +0100)]
Update README.md
hugoreleaser [Mon, 23 Dec 2024 16:40:37 +0000 (16:40 +0000)]
releaser: Prepare repository for 0.141.0-DEV
[ci skip]
hugoreleaser [Mon, 23 Dec 2024 16:26:35 +0000 (16:26 +0000)]
releaser: Bump versions for release of 0.140.1
[ci skip]
Chris Moultrie [Tue, 17 Dec 2024 17:12:29 +0000 (12:12 -0500)]
Update gocloud and docs for S3-Compatible Endpoints
Bjørn Erik Pedersen [Sun, 22 Dec 2024 19:46:19 +0000 (20:46 +0100)]
js/esbuild: Don't try to resolve packages in /assets marked as external
Fixes #13183
Bjørn Erik Pedersen [Sun, 22 Dec 2024 16:59:03 +0000 (17:59 +0100)]
Fix union, complement, symdiff, and intersect for transient resources
Fixes #13181
Bjørn Erik Pedersen [Sun, 22 Dec 2024 15:55:52 +0000 (16:55 +0100)]
release: Add withdeploy deb extended archives
Also refactor and get the config up to date for new version of Hugoreleaser.
Closes #13166
Joe Mooring [Thu, 19 Dec 2024 16:44:11 +0000 (08:44 -0800)]
common/loggers: Write PrintTimerIfDelayed output to stdErr
Closes #13171
dependabot[bot] [Thu, 19 Dec 2024 08:33:53 +0000 (08:33 +0000)]
build(deps): bump github.com/spf13/cast from 1.7.0 to 1.7.1
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/spf13/cast/releases)
- [Commits](https://github.com/spf13/cast/compare/v1.7.0...v1.7.1)
---
updated-dependencies:
- dependency-name: github.com/spf13/cast
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Joe Mooring [Wed, 18 Dec 2024 19:41:47 +0000 (11:41 -0800)]
hugolib: Fix fallbacks for menu entry Name and Title
Closes #13161
hugoreleaser [Tue, 17 Dec 2024 14:37:51 +0000 (14:37 +0000)]
releaser: Prepare repository for 0.141.0-DEV
[ci skip]
hugoreleaser [Tue, 17 Dec 2024 14:20:55 +0000 (14:20 +0000)]
releaser: Bump versions for release of 0.140.0
[ci skip]
Bjørn Erik Pedersen [Tue, 17 Dec 2024 13:35:13 +0000 (14:35 +0100)]
js/esbuild: Add missing es2024 target
Bjørn Erik Pedersen [Fri, 13 Dec 2024 12:57:23 +0000 (13:57 +0100)]
Fix panic on server rebuilds when using both base templates and template.Defer
Fixes #12963
Bjørn Erik Pedersen [Mon, 16 Dec 2024 07:34:17 +0000 (08:34 +0100)]
js: Fix js.Batch for multihost setups
Note that this is an unreleased feature.
Fixes #13151
Joe Mooring [Mon, 16 Dec 2024 01:21:05 +0000 (17:21 -0800)]
parser/pageparser: Fix Org Mode summary delimiter assignment
Closes #13152
Bjørn Erik Pedersen [Sun, 15 Dec 2024 09:52:53 +0000 (10:52 +0100)]
Fix a rebuild on resource rename case
Bjørn Erik Pedersen [Sat, 14 Dec 2024 10:56:00 +0000 (11:56 +0100)]
js/esbuild: Add runners after scripts
Bjørn Erik Pedersen [Fri, 13 Dec 2024 17:04:44 +0000 (18:04 +0100)]
js/esbuild: Batch: Avoid nil Instances slice
Ranging over a nil slice in Go works great, but is a hassle onced passed to JS.
Joe Mooring [Fri, 13 Dec 2024 18:50:17 +0000 (10:50 -0800)]
tpl/tplimpl: Fix title attribute in details shortcode
Joe Mooring [Fri, 13 Dec 2024 12:08:25 +0000 (04:08 -0800)]
tpl/tplimpl: Update youtube shortcode
Pass a map instead of a slice to the collections.Querify function.
Joe Mooring [Fri, 13 Dec 2024 11:25:10 +0000 (03:25 -0800)]
tpl/tplimpl: Update details shortcode
- Remove localization of default summary value
- Add title attribute
- Reformat to be consistent with other embedded templates
- Simplify and improve integration test
- Update documentation
Joe Mooring [Wed, 11 Dec 2024 21:10:15 +0000 (13:10 -0800)]
tpl/collections: Allow querify to accept a map argument
Closes #13131
Bjørn Erik Pedersen [Fri, 13 Dec 2024 10:00:04 +0000 (11:00 +0100)]
js/esbuild: Build groups in order of their ID
We already do this for scripts e.g. inside a group.
This makes sure that group A's entry points gets added before B's, which can be an important property, see https://github.com/evanw/esbuild/issues/399#issuecomment-
1458680887
racehd [Sun, 1 Dec 2024 15:30:34 +0000 (10:30 -0500)]
tpl/tplimpl: Add details shortcode
- Add new shortcode to render details HTML element.
- Implement integration tests to check: default state, custom summary, open state, attribute sanitization, allowed attributes, and localization of default summary text.
- Update docs to include details shortcode.
Closes # 13090
Bjørn Erik Pedersen [Fri, 13 Dec 2024 08:23:09 +0000 (09:23 +0100)]
Write all logging (INFO, WARN, ERROR) to stderr
The old setup tried to log >= warning to stderr, the rest to stdout.
However, that logic was flawed, so warnings ended up in stdout, which makes `hugo list all` etc. hard to reason about from scripts.
This commit fixes this by making all logging (info, warn, error) log to stderr and let stdout be reserved for program output.
Fixes #13074
Bjørn Erik Pedersen [Thu, 12 Dec 2024 21:09:59 +0000 (22:09 +0100)]
js/esbuild: Add platform option
Closes #13136
Bjørn Erik Pedersen [Thu, 12 Dec 2024 14:42:17 +0000 (15:42 +0100)]
Add config option disableDefaultLanguageRedirect
Fixes #13133
Bjørn Erik Pedersen [Tue, 10 Dec 2024 15:22:08 +0000 (16:22 +0100)]
Add js.Batch
Fixes #12626
Closes #7499
Closes #9978
Closes #12879
Closes #13113
Fixes #13116
dependabot[bot] [Thu, 12 Dec 2024 08:27:00 +0000 (08:27 +0000)]
build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.30.0...v0.31.0)
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Thu, 12 Dec 2024 09:38:55 +0000 (10:38 +0100)]
Upgrade to Go 1.23.4
Closes #13130
dependabot[bot] [Tue, 10 Dec 2024 08:51:24 +0000 (08:51 +0000)]
build(deps): bump golang.org/x/tools from 0.27.0 to 0.28.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.27.0...v0.28.0)
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Wed, 11 Dec 2024 12:14:49 +0000 (13:14 +0100)]
Remove some old and unused shell scripts
dependabot[bot] [Wed, 11 Dec 2024 08:26:45 +0000 (08:26 +0000)]
build(deps): bump github.com/hairyhenderson/go-codeowners
Bumps [github.com/hairyhenderson/go-codeowners](https://github.com/hairyhenderson/go-codeowners) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/hairyhenderson/go-codeowners/releases)
- [Changelog](https://github.com/hairyhenderson/go-codeowners/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hairyhenderson/go-codeowners/compare/v0.6.1...v0.7.0)
---
updated-dependencies:
- dependency-name: github.com/hairyhenderson/go-codeowners
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>