]>
git.maquefel.me Git - brevno-suite/hugo/log
Joe Mooring [Sat, 9 Mar 2024 19:21:46 +0000 (11:21 -0800)]
hugolib: Deprecate .Site.MultiLingual in favor of hugo.IsMultiLingual
Closes #12224
Joe Mooring [Sat, 9 Mar 2024 16:47:53 +0000 (08:47 -0800)]
snap: Transition to from core20 to core22
Closes #12219
hugoreleaser [Thu, 7 Mar 2024 13:28:40 +0000 (13:28 +0000)]
releaser: Prepare repository for 0.124.0-DEV
[ci skip]
hugoreleaser [Thu, 7 Mar 2024 13:14:42 +0000 (13:14 +0000)]
releaser: Bump versions for release of 0.123.8
[ci skip]
Jonas Zeiger [Tue, 5 Dec 2023 23:29:03 +0000 (00:29 +0100)]
markup/goldmark: TOC: render strikethrough, emojis
Configure the TOC (TableOfContents, toc.go) goldmark renderer to always
enable the Strikethrough and Emoji extensions. This allows handling
ast.KindStrikethrough and ast.KindEmoji AST nodes when rendering the TOC.
Fixes #7169
Fixes #11783
Fixes #12022
razonyang [Thu, 29 Feb 2024 15:58:57 +0000 (23:58 +0800)]
Add hugo.IsMultiHost
Andreas Deininger [Wed, 21 Feb 2024 19:18:38 +0000 (20:18 +0100)]
docs: Fix hyphens and grammar in synopsis of command 'hugo server'
Joe Mooring [Wed, 6 Mar 2024 16:15:39 +0000 (08:15 -0800)]
resources/images: Retain newlines with text overlays
Closes #12206
Bjørn Erik Pedersen [Thu, 7 Mar 2024 08:07:12 +0000 (09:07 +0100)]
Don't auto-create empty sections for nested taxonomies
Fixes #12188
Bjørn Erik Pedersen [Thu, 7 Mar 2024 08:00:44 +0000 (09:00 +0100)]
Fix resource name in resources.ByType
Fixes #12190
Bjørn Erik Pedersen [Thu, 7 Mar 2024 07:55:19 +0000 (08:55 +0100)]
Fix global resource isn't published when using an uncommon code construct
Fixes #12190
Bjørn Erik Pedersen [Thu, 7 Mar 2024 07:34:00 +0000 (08:34 +0100)]
Fix section page resource not published if resource filename partially matches content file name
Fixes #12198
Bjørn Erik Pedersen [Thu, 7 Mar 2024 07:25:34 +0000 (08:25 +0100)]
Fix taxonomy kind template lookup issue
Fixes #12193
Joe Mooring [Wed, 6 Mar 2024 00:06:50 +0000 (16:06 -0800)]
tpl/tplimpl: Honor markdown attributes in embedded image render hook
Fixes #12203
hugoreleaser [Fri, 1 Mar 2024 16:30:33 +0000 (16:30 +0000)]
releaser: Prepare repository for 0.124.0-DEV
[ci skip]
hugoreleaser [Fri, 1 Mar 2024 16:16:06 +0000 (16:16 +0000)]
releaser: Bump versions for release of 0.123.7
[ci skip]
Bjørn Erik Pedersen [Fri, 1 Mar 2024 13:42:56 +0000 (14:42 +0100)]
hugofs: Fix vertical mount merge issue
Fixes #12175
Bjørn Erik Pedersen [Thu, 29 Feb 2024 18:05:23 +0000 (19:05 +0100)]
Fix and add integration test for the Bootstrap SCSS module for both Dart Sass and Libsass
This fixes the reverse filesystem lookup (absolute filename to path relative to the composite filesystem).
The old logic had some assumptions about the locality of the actual files that didn't work in more complex scenarios.
This commit now also adds the popular Bootstrap SCSS Hugo module to the CI build (both for libsass and dartsass transpiler), so we can hopefully avoid similar future breakage.
Fixes #12178
Bjørn Erik Pedersen [Fri, 1 Mar 2024 10:47:16 +0000 (11:47 +0100)]
Fix resources.GetMatch, resources.Match, and resources.ByType to they don't normalize permalinks
Fixes #12182
Bjørn Erik Pedersen [Fri, 1 Mar 2024 10:37:53 +0000 (11:37 +0100)]
Make sure that sitemaps gets generated even if there is a content bundle with the same path
Fixes #12183
Joe Mooring [Thu, 29 Feb 2024 19:18:35 +0000 (11:18 -0800)]
resources/page: Make Taxonomy.Get and Taxonomy.Count case-insensitive
Closes #12177
hugoreleaser [Wed, 28 Feb 2024 18:29:40 +0000 (18:29 +0000)]
releaser: Bump versions for release of 0.123.6
[ci skip]
Bjørn Erik Pedersen [Wed, 28 Feb 2024 17:33:42 +0000 (18:33 +0100)]
Fix panic when cascading headless from site config to section that does not have an _index.md file
Fixes #12172
Bjørn Erik Pedersen [Wed, 28 Feb 2024 16:58:27 +0000 (17:58 +0100)]
Fix assets vs data issue
And possibly some other related file mount issues.
Fixes #12133
Bjørn Erik Pedersen [Wed, 28 Feb 2024 16:28:44 +0000 (17:28 +0100)]
Fix draft for non-default content when content in default language does not exist
Fixes #12132
hugoreleaser [Wed, 28 Feb 2024 16:01:41 +0000 (16:01 +0000)]
releaser: Prepare repository for 0.124.0-DEV
[ci skip]
hugoreleaser [Wed, 28 Feb 2024 15:47:09 +0000 (15:47 +0000)]
releaser: Bump versions for release of 0.123.5
[ci skip]
Bjørn Erik Pedersen [Wed, 28 Feb 2024 10:39:10 +0000 (11:39 +0100)]
Fix .Page.Pages with similary named sections
Fixes #12169
Bjørn Erik Pedersen [Wed, 28 Feb 2024 08:12:41 +0000 (09:12 +0100)]
Fix single mount rename panic
Fixes #12141
Bjørn Erik Pedersen [Tue, 27 Feb 2024 08:15:47 +0000 (09:15 +0100)]
Fix multihost processed image not copied to non-default content languages
Fixes #12163
dependabot[bot] [Tue, 27 Feb 2024 08:13:54 +0000 (08:13 +0000)]
build(deps): bump github.com/bep/overlayfs from 0.9.1 to 0.9.2
Bumps [github.com/bep/overlayfs](https://github.com/bep/overlayfs) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/bep/overlayfs/releases)
- [Commits](https://github.com/bep/overlayfs/compare/v0.9.1...v0.9.2)
---
updated-dependencies:
- dependency-name: github.com/bep/overlayfs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
hugoreleaser [Mon, 26 Feb 2024 16:46:48 +0000 (16:46 +0000)]
releaser: Prepare repository for 0.124.0-DEV
[ci skip]
hugoreleaser [Mon, 26 Feb 2024 16:33:05 +0000 (16:33 +0000)]
releaser: Bump versions for release of 0.123.4
[ci skip]
Bjørn Erik Pedersen [Mon, 26 Feb 2024 15:13:05 +0000 (16:13 +0100)]
Fix cascade-pattern-with-extension for cascade in site config
Also clean up the log handling in the integration tester, most notably lost logs during the config loading.
Fixes #12151
dependabot[bot] [Mon, 26 Feb 2024 08:47:33 +0000 (08:47 +0000)]
build(deps): bump github.com/spf13/fsync from 0.10.0 to 0.10.1
Bumps [github.com/spf13/fsync](https://github.com/spf13/fsync) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/spf13/fsync/releases)
- [Commits](https://github.com/spf13/fsync/compare/v0.10.0...v0.10.1)
---
updated-dependencies:
- dependency-name: github.com/spf13/fsync
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Bjørn Erik Pedersen [Sun, 25 Feb 2024 14:43:52 +0000 (15:43 +0100)]
Fix term template lookup when its backed by a content file
Closes #12146
Bjørn Erik Pedersen [Sun, 25 Feb 2024 09:24:46 +0000 (10:24 +0100)]
resource: Revert the normalization of Resource.Name
Which means that .Name now returns the same as it did in 0.122.0.
Closes #12142
Bjørn Erik Pedersen [Sat, 24 Feb 2024 15:52:41 +0000 (16:52 +0100)]
Fix panic for disableKinds page for content resources
Fixes #12144
Bjørn Erik Pedersen [Sat, 24 Feb 2024 10:51:16 +0000 (11:51 +0100)]
tocss: Fix the import resolving from absolute to relative assets paths
Fixes #12137
Bjørn Erik Pedersen [Sat, 24 Feb 2024 14:17:15 +0000 (15:17 +0100)]
Maek Resoyrce.Key as (mostly) internal
Joe Mooring [Fri, 23 Feb 2024 20:40:15 +0000 (12:40 -0800)]
config/allconfig: Fix typo
Closes #12134
hugoreleaser [Fri, 23 Feb 2024 17:22:38 +0000 (17:22 +0000)]
releaser: Prepare repository for 0.124.0-DEV
[ci skip]
hugoreleaser [Fri, 23 Feb 2024 17:09:20 +0000 (17:09 +0000)]
releaser: Bump versions for release of 0.123.3
[ci skip]
Bjørn Erik Pedersen [Fri, 23 Feb 2024 16:56:29 +0000 (17:56 +0100)]
cache/dynacache: Reset ticker in case one cache eviction takes some time
Updates #12129
Bjørn Erik Pedersen [Fri, 23 Feb 2024 16:44:32 +0000 (17:44 +0100)]
Revert "cache/dynacache: Prevent multiple concurrent resizes"
This reverts commit
564bae06f6513cbca80bd54411f9a66ec2115995 .
Thinking about it, the above doesn't make any sense/having any effect.
Bjørn Erik Pedersen [Fri, 23 Feb 2024 16:23:37 +0000 (17:23 +0100)]
cache/dynacache: Prevent multiple concurrent resizes
Updates #12129
Bjørn Erik Pedersen [Fri, 23 Feb 2024 14:01:19 +0000 (15:01 +0100)]
Speed up GetPage
```
name old time/op new time/op delta
GetPage-10 413ns ± 0% 287ns ± 1% -30.47% (p=0.029 n=4+4)
GetPageRegular/From_root-10 757ns ± 1% 706ns ± 1% -6.75% (p=0.029 n=4+4)
GetPageRegular/Page_relative-10 838ns ± 1% 786ns ± 1% -6.16% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
GetPage-10 312B ± 0% 24B ± 0% -92.31% (p=0.029 n=4+4)
GetPageRegular/From_root-10 328B ± 0% 200B ± 0% -39.02% (p=0.029 n=4+4)
GetPageRegular/Page_relative-10 360B ± 0% 232B ± 0% -35.56% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
GetPage-10 8.00 ± 0% 2.00 ± 0% -75.00% (p=0.029 n=4+4)
GetPageRegular/From_root-10 7.00 ± 0% 5.00 ± 0% -28.57% (p=0.029 n=4+4)
GetPageRegular/Page_relative-10 9.00 ± 0% 7.00 ± 0% -22.22% (p=0.029 n=4+4)
```
Bjørn Erik Pedersen [Fri, 23 Feb 2024 08:37:05 +0000 (09:37 +0100)]
hugolib: Fix a .Page.GetPage from bundle case
Fixes #12120
Bjørn Erik Pedersen [Fri, 23 Feb 2024 09:30:11 +0000 (10:30 +0100)]
resources: Skip the image golden tests when running locally
See #12119
Benjamin Altpeter [Thu, 22 Feb 2024 16:58:22 +0000 (17:58 +0100)]
js: Support JSX and JSXImportSourceOptions
Fixes #12118
Joe Mooring [Thu, 22 Feb 2024 19:51:22 +0000 (11:51 -0800)]
hugolib: Add capitalizeListTitles config option
Whether to capitalize automatic page titles, applicable to section,
taxonomy, and term pages. Default is true.
Closes #9793
Closes #12115
hugoreleaser [Thu, 22 Feb 2024 15:41:43 +0000 (15:41 +0000)]
releaser: Prepare repository for 0.124.0-DEV
[ci skip]
hugoreleaser [Thu, 22 Feb 2024 15:27:15 +0000 (15:27 +0000)]
releaser: Bump versions for release of 0.123.2
[ci skip]
Bjørn Erik Pedersen [Thu, 22 Feb 2024 14:06:42 +0000 (15:06 +0100)]
Fix it so not all bundled resources are removed when one translation is drafted
Fixes #12105
Razon Yang [Thu, 22 Feb 2024 15:00:03 +0000 (23:00 +0800)]
commands/mod: Ignore invalid module path
Bjørn Erik Pedersen [Wed, 21 Feb 2024 19:16:02 +0000 (20:16 +0100)]
Fix regression on handling of overlapping file mounts
But note that the overlay file system is set up horizontally (project -> module1 -> module2), so I would not recommend too complex overlapping mount setups within the same module.
But this worked in v0.122.0, so we should fix it.
Fixes #12103
Bjørn Erik Pedersen [Wed, 21 Feb 2024 18:06:46 +0000 (19:06 +0100)]
Sitemap should not use list.xml
Fixes #12101
Bjørn Erik Pedersen [Wed, 21 Feb 2024 16:04:32 +0000 (17:04 +0100)]
Fix rebuild when adding a bundle with space in name
Fixes #12092
Bjørn Erik Pedersen [Wed, 21 Feb 2024 15:25:19 +0000 (16:25 +0100)]
Fix relative import issue in libsass/dart sass
Fixes #12094
Bjørn Erik Pedersen [Wed, 21 Feb 2024 14:42:00 +0000 (15:42 +0100)]
Fix relref regression with trailing slash
Fixes #12096
hugoreleaser [Wed, 21 Feb 2024 08:30:57 +0000 (08:30 +0000)]
releaser: Prepare repository for 0.124.0-DEV
[ci skip]
hugoreleaser [Wed, 21 Feb 2024 08:17:45 +0000 (08:17 +0000)]
releaser: Bump versions for release of 0.123.1
[ci skip]
Joe Mooring [Wed, 21 Feb 2024 01:57:51 +0000 (17:57 -0800)]
tpl/tplimpl: Resolve fragments in link render hook
Fixes #12084
Bjørn Erik Pedersen [Tue, 20 Feb 2024 16:31:26 +0000 (17:31 +0100)]
Fix rebuilding of pages without default content language
Fixes #12082
Bjørn Erik Pedersen [Tue, 20 Feb 2024 13:46:03 +0000 (14:46 +0100)]
Fix dart sass import regression
Fixes #12072
Bjørn Erik Pedersen [Tue, 20 Feb 2024 15:08:18 +0000 (16:08 +0100)]
Fall back to original name in Resources.GetMatch/Match
Same as we do in .Get.
Fixes #12076
Bjørn Erik Pedersen [Tue, 20 Feb 2024 09:02:42 +0000 (10:02 +0100)]
Fix robots.txt using the built-in template regression
Fixes #12071
Bjørn Erik Pedersen [Mon, 19 Feb 2024 17:59:28 +0000 (18:59 +0100)]
Bjørn Erik Pedersen [Mon, 19 Feb 2024 17:59:28 +0000 (18:59 +0100)]
Squashed 'docs/' changes from
a9584e3d1 ..
8c46b304a
8c46b304a Correct description of build options > render > link
f57932df1 Fix front matter example
a7e5fea73 Clarify pagination restriction
3a7e665db Fix typos
f60845249 List translation keys reserved by nicksnyder/go-i18n
94f2a3608 Fix typo
2da1198ac Update FNV32a.md: new-in 0.98.0
d9a4c66ae Fix typo data-templates.md
0d3c2e2c3 Update partials.md
d7e9a0878 Update partials.md
git-subtree-dir: docs
git-subtree-split:
8c46b304a0679d4e2b6c923ed0363efdfdcf48c1
hugoreleaser [Mon, 19 Feb 2024 17:28:48 +0000 (17:28 +0000)]
releaser: Bump versions for release of 0.123.0
[ci skip]
dependabot[bot] [Mon, 19 Feb 2024 15:45:36 +0000 (15:45 +0000)]
build(deps): bump github.com/tdewolff/minify/v2 from 2.20.16 to 2.20.17
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.16 to 2.20.17.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.20.16...v2.20.17)
---
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>
dependabot[bot] [Mon, 19 Feb 2024 15:44:08 +0000 (15:44 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.20.0 to 0.20.1
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.20.0 to 0.20.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.20.0...v0.20.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>
Bjørn Erik Pedersen [Mon, 19 Feb 2024 10:32:28 +0000 (11:32 +0100)]
Handle rebuilds when resources passed to transform.Unmarshal etc. changes
Fixes #12065
Bjørn Erik Pedersen [Sun, 18 Feb 2024 14:57:37 +0000 (15:57 +0100)]
Fix handling of build options for term pages
Fixes #12058
Bjørn Erik Pedersen [Sun, 18 Feb 2024 12:20:15 +0000 (13:20 +0100)]
docs: Regen docshelper
Bjørn Erik Pedersen [Sun, 18 Feb 2024 10:33:09 +0000 (11:33 +0100)]
Fix sample logic when adding content files in server
The partial rebuilds works by calaulating a baseline from a change set.
For new content, this doesn't work, so to avoid rebuilding everything, we first
try to collect a sample of surrounding identities (e.g. content files in the same section).
This commit fixes a flaw in that logic that in some (many...) cases would return a too small sample set.
Fixes #12054
Christian Oliff [Sun, 18 Feb 2024 11:16:30 +0000 (20:16 +0900)]
all: Fix typos and some URLs
dependabot[bot] [Sat, 17 Feb 2024 10:17:35 +0000 (10:17 +0000)]
build(deps): bump golang.org/x/tools from 0.17.0 to 0.18.0
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.17.0...v0.18.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 [Sat, 17 Feb 2024 14:17:13 +0000 (15:17 +0100)]
Fix handling of draft term pages
By just removing the term page and all of its page entries.
Fixes #12055
Bjørn Erik Pedersen [Sat, 17 Feb 2024 12:32:15 +0000 (13:32 +0100)]
releaser: Fix archive homepage and description
Fixes #12053
Bjørn Erik Pedersen [Sat, 17 Feb 2024 11:32:25 +0000 (12:32 +0100)]
commands: Fix --clock with the list command
Fixes #11888
Bjørn Erik Pedersen [Sat, 17 Feb 2024 11:00:40 +0000 (12:00 +0100)]
Don't use the same value in .Data.Term.Title as in .Title
Fixes #12041
Bjørn Erik Pedersen [Sat, 17 Feb 2024 10:09:09 +0000 (11:09 +0100)]
Fix server panic on i18n file change
Fixes #12048
dependabot[bot] [Thu, 8 Feb 2024 08:11:12 +0000 (08:11 +0000)]
build(deps): bump golang.org/x/net from 0.20.0 to 0.21.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.21.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>
Bjørn Erik Pedersen [Fri, 16 Feb 2024 13:24:35 +0000 (14:24 +0100)]
Fix rebuild regression on non-default content language edits
Fixes #12043
Fabian Kammel [Fri, 16 Feb 2024 17:24:25 +0000 (18:24 +0100)]
Let standard library handle charset parameter to MIME types
Fixes #10734
Bjørn Erik Pedersen [Fri, 16 Feb 2024 12:41:59 +0000 (13:41 +0100)]
Fix i18n rebuild regression
Fixes #12039
Bjørn Erik Pedersen [Fri, 9 Feb 2024 11:52:36 +0000 (13:52 +0200)]
Fix rebuild with resources.Concat
Fixes #12017
Joe Mooring [Wed, 7 Feb 2024 23:42:27 +0000 (15:42 -0800)]
Add images.Dither filter
Closes #8598
Christian Oliff [Sun, 11 Feb 2024 11:51:33 +0000 (20:51 +0900)]
all: Fix typos
Rosano [Sat, 10 Feb 2024 19:28:03 +0000 (14:28 -0500)]
resources/page: Fix typo
Joe Mooring [Sat, 10 Feb 2024 17:07:06 +0000 (09:07 -0800)]
markup/goldmark: Update TOC test
- Change copyright date
- Change name of site configuration file
- Reference issue numbers in failing tests
Bjørn Erik Pedersen [Fri, 9 Feb 2024 13:18:13 +0000 (15:18 +0200)]
Fix taxonomy term with backing file regression
Fixes #12020
Joe Mooring [Fri, 9 Feb 2024 19:45:47 +0000 (11:45 -0800)]
markup/goldmark: Improve TOC tests
Bjørn Erik Pedersen [Thu, 8 Feb 2024 07:44:28 +0000 (08:44 +0100)]
Move the duplicate page/resource filter
Move the removal of duplicate content and resource files after we have determined if we're inside a leaf bundle or not.
Note that these would eventually have been filtered out as duplicates when inserting them into the document store, but doing it here will preserve a consistent ordering.
Fixes #12013
Bjørn Erik Pedersen [Wed, 7 Feb 2024 09:30:32 +0000 (10:30 +0100)]
Make HTML behave exactly like other content formats (note)
Fixes #11999
Bjørn Erik Pedersen [Wed, 7 Feb 2024 19:49:52 +0000 (20:49 +0100)]
docs: Regen CLI docs
Bjørn Erik Pedersen [Wed, 7 Feb 2024 19:48:25 +0000 (20:48 +0100)]
docs: Regenerate docshelper
Bjørn Erik Pedersen [Wed, 7 Feb 2024 19:46:41 +0000 (20:46 +0100)]
Squashed 'docs/' changes from
5c085a37b ..
a9584e3d1
a9584e3d1 ci: bump GitHub workflow actions to latest versions
f37ee374d Fix methods related to time.After
a49214057 Correct heading render hook example
4b696f936 Update README.md
b5a6e4039 Clean up the contributing section
a5d79ed19 Fixed typo: instea → instead
6150a60e3 Remove the "local file templates" page
9395743dc Update/vendor theme
33d8c10cc Remove output format "name" parameter
7200ad97d Add security section to resources.GetRemote page
3f1e056b2 Remove erroneous front matter field
07c9a7e42 Add alpha index to glossary
6619c8aa0 Fix Page.Params example
145a92359 Simplify string concat example in math.Add
42488bb09 Add string concat example to math.Add
eb20521a2 Fix flash of unstyled content with mathematical markup
74603bebe Fix typo in 'typesetting'
git-subtree-dir: docs
git-subtree-split:
a9584e3d146c4a194d937a4dc8a37cde5ba1c618
Bjørn Erik Pedersen [Wed, 7 Feb 2024 19:46:41 +0000 (20:46 +0100)]