]>
git.maquefel.me Git - brevno-suite/hugo/log
Bjørn Erik Pedersen [Wed, 23 Aug 2023 10:39:24 +0000 (12:39 +0200)]
Fix it so disable a module does not disable transitive dependency required by others
The motivation behind the original implementation was probably to show disabled modules when running `hugo mod graph`.
Fixes #11376
Joe Mooring [Wed, 23 Aug 2023 13:33:37 +0000 (06:33 -0700)]
create/skeletons: Move theme's site config to top level
Closes #11380
dependabot[bot] [Thu, 17 Aug 2023 08:19:16 +0000 (08:19 +0000)]
build(deps): bump github.com/yuin/goldmark from 1.5.5 to 1.5.6
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.5.5 to 1.5.6.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.5.5...v1.5.6)
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Joe Mooring [Tue, 22 Aug 2023 06:47:02 +0000 (23:47 -0700)]
modules: Make new cache directories read/write
Leave newly-created directories in the module cache read-write instead
of making them read-only.
Closes #11369
Oleksandr Redko [Mon, 21 Aug 2023 13:09:15 +0000 (16:09 +0300)]
deploy: Update InvalidateCloudFront to use Go CDK helper
Bjørn Erik Pedersen [Mon, 21 Aug 2023 08:48:28 +0000 (10:48 +0200)]
Avoid escaping HTML chars inside hugo_stats.json
Fixes #11371
Joe Mooring [Wed, 16 Aug 2023 22:07:01 +0000 (15:07 -0700)]
commands/new: Embed site and theme skeletons
The skeletons are used when creating new sites and themes with the CLI.
Closes #11358
Joe Mooring [Sun, 13 Aug 2023 16:29:04 +0000 (09:29 -0700)]
docshelper: Improve template lookup order descriptions
- Always include example for "with layout/type set"
- Use lowercase for "set to" examples (lookup is case sensitive)
- Consistent use of taxonomy and term
Fixes gohugoio/hugoDocs#1734
dependabot[bot] [Mon, 14 Aug 2023 08:32:44 +0000 (08:32 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.18.17 to 0.19.2
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.18.17 to 0.19.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.18.17...v0.19.2)
---
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>
Bjørn Erik Pedersen [Wed, 9 Aug 2023 21:47:39 +0000 (23:47 +0200)]
cache: Hide IsResourceDir from the exported config
Bjørn Erik Pedersen [Mon, 7 Aug 2023 17:56:02 +0000 (19:56 +0200)]
commands: Handle floats without decimals in hugo config
Updates #11345
Bjørn Erik Pedersen [Mon, 7 Aug 2023 16:56:30 +0000 (18:56 +0200)]
docs: Replace docs.json with docs.yaml
Updates #11345
Bjørn Erik Pedersen [Mon, 7 Aug 2023 16:01:46 +0000 (18:01 +0200)]
config: Add a type value for the tags related config entry
Which doesn't have any practical difference, but it looks cleaner in the generated docs.
dependabot[bot] [Mon, 7 Aug 2023 10:19:26 +0000 (10:19 +0000)]
build(deps): bump golang.org/x/net from 0.13.0 to 0.14.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.14.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 [Mon, 7 Aug 2023 08:52:52 +0000 (10:52 +0200)]
Add all config to docshelper.json
Also consolidate so the mediaTypes and outputFormats are listed once only.
Fixes #11328
dependabot[bot] [Mon, 7 Aug 2023 09:00:54 +0000 (09:00 +0000)]
build(deps): bump golang.org/x/image from 0.10.0 to 0.11.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/image/compare/v0.10.0...v0.11.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>
Bjørn Erik Pedersen [Mon, 7 Aug 2023 08:38:12 +0000 (10:38 +0200)]
Bjørn Erik Pedersen [Mon, 7 Aug 2023 08:35:12 +0000 (10:35 +0200)]
Squashed 'docs/' changes from
c43daf45f ..
a7e1e9be8
a7e1e9be8 Clarify front matter date fields
69df4fc22 Clarify how to determine if .Inner is populated
9046bf424 Document strings.ContainsNonSpace
8dbe5df90 Fix indentation and broken image
48ad4124e Typo: functions/after.md
d4c01b57b Link to detailed descriptions of canonfiyURLs and relativeURLs
4d9597302 Explain behaviour when appending to a slice containing other slices
69e24e44e Standardize right arrow usage
01b378726 Remove references to Google's Universal Analytics and the async template
d415bae24 Use shared file to describe regex syntax
e75dee6b8 snap: How to enable or revoke access to SSH keys
feed2d1c0 Remove hasPrefix and hasSuffix in favor of namespaced versions
3c6d2cfe5 security: Use default execution settings
461b5fcaf netlify: Hugo 0.116.1
95fac27a5 configuration: correct cacheDir description
cd9f1f929 configuration: Fix broken link
605394de4 netlify: Upgrade to Hugo 0.116.0
baf2a0f7b Merge branch 'tempv0.116.0'
ee51a9323 Update requirements for building from source
40189956d Editor tools: Remove duplicate sentence
fb0ff2621 docs: Regenerate CLI docs
e8a5665c4 Update where.md
7bc5cf15d Update hosting instructions
018a04314 docs: Update where
d33ae91cf docs: Update where function operators
9a108a664 docs: Rework the cacheDir documentation
git-subtree-dir: docs
git-subtree-split:
a7e1e9be851b95e636ab5360e5151156b4f89044
Bjørn Erik Pedersen [Sat, 5 Aug 2023 09:40:18 +0000 (11:40 +0200)]
Try to make test more stable
Bjørn Erik Pedersen [Sat, 5 Aug 2023 08:55:48 +0000 (10:55 +0200)]
deps: Sync go-i18n with upstream
Closes #11336
Bjørn Erik Pedersen [Fri, 4 Aug 2023 16:46:47 +0000 (18:46 +0200)]
Return original error on resources.GetRemote retry timeouts
See #11327
Bjørn Erik Pedersen [Fri, 4 Aug 2023 09:41:59 +0000 (11:41 +0200)]
testing: Write test caches to /tmp
Fixes #11327
Bjørn Erik Pedersen [Thu, 3 Aug 2023 15:52:17 +0000 (17:52 +0200)]
Add retry in resources.GetRemote for temporary HTTP errors
Fixes #11312
dependabot[bot] [Fri, 4 Aug 2023 10:39:20 +0000 (10:39 +0000)]
build(deps): bump gocloud.dev from 0.24.0 to 0.33.0
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.24.0 to 0.33.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.24.0...v0.33.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>
dependabot[bot] [Fri, 4 Aug 2023 10:39:39 +0000 (10:39 +0000)]
build(deps): bump golang.org/x/net from 0.11.0 to 0.13.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.11.0 to 0.13.0.
- [Commits](https://github.com/golang/net/compare/v0.11.0...v0.13.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>
dependabot[bot] [Fri, 4 Aug 2023 08:18:49 +0000 (08:18 +0000)]
build(deps): bump github.com/marekm4/color-extractor from 1.2.0 to 1.2.1
Bumps [github.com/marekm4/color-extractor](https://github.com/marekm4/color-extractor) from 1.2.0 to 1.2.1.
- [Commits](https://github.com/marekm4/color-extractor/compare/v1.2.0...v1.2.1)
---
updated-dependencies:
- dependency-name: github.com/marekm4/color-extractor
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Fri, 4 Aug 2023 08:18:37 +0000 (08:18 +0000)]
build(deps): bump github.com/frankban/quicktest from 1.14.5 to 1.14.6
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.14.5 to 1.14.6.
- [Commits](https://github.com/frankban/quicktest/compare/v1.14.5...v1.14.6)
---
updated-dependencies:
- dependency-name: github.com/frankban/quicktest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Fri, 4 Aug 2023 08:18:27 +0000 (08:18 +0000)]
build(deps): bump golang.org/x/image from 0.9.0 to 0.10.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/image/compare/v0.9.0...v0.10.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>
dependabot[bot] [Mon, 31 Jul 2023 08:21:47 +0000 (08:21 +0000)]
build(deps): bump github.com/clbanning/mxj/v2 from 2.5.7 to 2.7.0
Bumps [github.com/clbanning/mxj/v2](https://github.com/clbanning/mxj) from 2.5.7 to 2.7.0.
- [Release notes](https://github.com/clbanning/mxj/releases)
- [Commits](https://github.com/clbanning/mxj/compare/2.5.7...v2.7)
---
updated-dependencies:
- dependency-name: github.com/clbanning/mxj/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Tue, 1 Aug 2023 08:23:45 +0000 (08:23 +0000)]
build(deps): bump golang.org/x/tools from 0.9.3 to 0.11.1
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.9.3 to 0.11.1.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.9.3...v0.11.1)
---
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, 1 Aug 2023 08:21:27 +0000 (08:21 +0000)]
build(deps): bump go.uber.org/automaxprocs from 1.5.2 to 1.5.3
Bumps [go.uber.org/automaxprocs](https://github.com/uber-go/automaxprocs) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/uber-go/automaxprocs/releases)
- [Changelog](https://github.com/uber-go/automaxprocs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/automaxprocs/compare/v1.5.2...v1.5.3)
---
updated-dependencies:
- dependency-name: go.uber.org/automaxprocs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 3 Aug 2023 08:07:37 +0000 (08:07 +0000)]
build(deps): bump github.com/hairyhenderson/go-codeowners
Bumps [github.com/hairyhenderson/go-codeowners](https://github.com/hairyhenderson/go-codeowners) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/hairyhenderson/go-codeowners/releases)
- [Commits](https://github.com/hairyhenderson/go-codeowners/compare/v0.3.0...v0.4.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>
Bjørn Erik Pedersen [Tue, 1 Aug 2023 16:12:36 +0000 (18:12 +0200)]
Add Page.RenderShortcodes
A layouts/shortcodes/include.html shortcode may look like this:
```html
{{ $p := site.GetPage (.Get 0) }}
{{ $p.RenderShortcodes }}
```
Fixes #7297
Joe Mooring [Wed, 2 Aug 2023 14:32:16 +0000 (07:32 -0700)]
Update GitHub issue template
dependabot[bot] [Tue, 1 Aug 2023 08:21:13 +0000 (08:21 +0000)]
build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.0.8 to 2.0.9.
- [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.0.8...v2.0.9)
---
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>
hugoreleaser [Tue, 1 Aug 2023 07:36:32 +0000 (07:36 +0000)]
releaser: Prepare repository for 0.117.0-DEV
[ci skip]
hugoreleaser [Tue, 1 Aug 2023 07:24:54 +0000 (07:24 +0000)]
releaser: Bump versions for release of 0.116.1
[ci skip]
Bjørn Erik Pedersen [Mon, 31 Jul 2023 17:18:36 +0000 (19:18 +0200)]
Fix module config watch regression
Fixes #11313
Joe Mooring [Mon, 31 Jul 2023 17:06:51 +0000 (10:06 -0700)]
deps: Fix Chroma dependency version
Fixes #11311
hugoreleaser [Mon, 31 Jul 2023 10:40:27 +0000 (10:40 +0000)]
releaser: Prepare repository for 0.117.0-DEV
[ci skip]
hugoreleaser [Mon, 31 Jul 2023 10:28:28 +0000 (10:28 +0000)]
releaser: Bump versions for release of 0.116.0
[ci skip]
dependabot[bot] [Mon, 31 Jul 2023 08:22:23 +0000 (08:22 +0000)]
build(deps): bump github.com/evanw/esbuild from 0.18.11 to 0.18.17
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.18.11 to 0.18.17.
- [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.18.11...v0.18.17)
---
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, 31 Jul 2023 09:20:37 +0000 (11:20 +0200)]
config: Do not fail on unknown config keys
Make it a warning.
One such example I found in an old site is `blackfriday`. These should be fixed/removed, but it's not important enough
to fail the build.
Bjørn Erik Pedersen [Sun, 30 Jul 2023 19:12:33 +0000 (21:12 +0200)]
resources: Fix spelling in method name
Bjørn Erik Pedersen [Sun, 30 Jul 2023 16:54:08 +0000 (18:54 +0200)]
docs: Regenerate CLI docs
Bjørn Erik Pedersen [Sun, 30 Jul 2023 09:26:29 +0000 (11:26 +0200)]
Fix so temporary images do not get published
Fixes #10255
Sojon [Sun, 30 Jul 2023 09:06:31 +0000 (15:06 +0600)]
readme: Fix link
Joe Mooring [Sat, 29 Jul 2023 18:30:52 +0000 (11:30 -0700)]
commands: Update cacheDir description
Bjørn Erik Pedersen [Sat, 29 Jul 2023 20:06:22 +0000 (22:06 +0200)]
Update where.md
Bjørn Erik Pedersen [Sat, 29 Jul 2023 17:27:30 +0000 (19:27 +0200)]
docs: Update where
Go doesn't use the RE2 (C++) library, it's a pure Go implementation.
Joe Mooring [Sat, 29 Jul 2023 12:45:30 +0000 (05:45 -0700)]
docs: Update where function operators
Related to #11281
Bjørn Erik Pedersen [Sat, 29 Jul 2023 09:59:37 +0000 (11:59 +0200)]
docs: Rework the cacheDir documentation
Bjørn Erik Pedersen [Sat, 29 Jul 2023 09:17:28 +0000 (11:17 +0200)]
Bjørn Erik Pedersen [Sat, 29 Jul 2023 09:15:54 +0000 (11:15 +0200)]
Squashed 'docs/' changes from
85befbb4d ..
c43daf45f
c43daf45f Update build-options.md
3ebbfedd4 Build options: Improve readability
5091bf6a0 Improve safeHTMLAttr explanation
b64cbce2e Fix description of collections.Apply
6ea264b9c netlify: Hugo 0.115.4
b42e7c542 Revert "config: Remove disableLiveReload"
35ce2290e Remove excess spaces in configuration docs
2edf761de Update listed titleCaseStyle default value
887f6fb97 config: Remove disableLiveReload
c9f49fb26 Fix typo
37d8569ac Remove tools associated with Atom
871d11b72 Fix URL in postprocess docs
bbb17d29f Update GitLab workflow
bc53ea5ce Use sentence-style capitalization for headings
7ca578786 netlify: Hugo 0.115.3
c5e010bd0 Merge branch 'tempv0.115.3'
c885604bf Remove starter kits page
4c0fe269e Update mention of Netlify CMS to Decap CMS
05067175c Consistently use file name instead of filename
763dd6404 Improve multilingual config example and descriptions
e5aa61ec5 Use lowercase when referring to front matter (#2132)
7ba3d0c72 docs: Refresh docs.json
de8bddedf Update description of timeout configuration value
e1245d9f8 netify: Hugo 0.115.2
153a36bdf Merge branch 'tempv0.115.2'
707cec754 Fix typo in figure example in shortcodes.md
128cbe1e5 Improve taxonomy template examples
4e743ec36 Improve highlight function example
f96fa6805 transpile sass: Fixes typo
e4a8a21f7 Compile Sass to CSS, not SCSS
c1538bd00 docs: Regenerate CLI docs
bd4e33436 Add titleCaseStyle none and firstupper
6ff93d478 Update quick-start.md
5c6653cb1 Update build config examples and explanation
1458d9a43 Remove the `url` parameter
6a1e92044 netlify: Hugo 0.115.1
a9d5d6f2f Merge branch 'tempv0.115.1'
4c4882384 docs: Regen docs helper
d1aa1c1f5 Add link to PowerShell vs Windows PowerShell documentation
6e3b70c21 Fix link to Git installation instructions
4f8a9ca38 Clarify resources.Copy arguments
ee86dd121 Update theme
dc7c305cf Update theme
60c23920b Clarify caching for resources.FromString (#2120)
5bf2fef6d netlify: Hugo 0.115.0
46bde87c5 Merge branch 'tempv0.115.0'
42cc48c16 Specify target path caching for resources.ExecuteAsTemplate (#2027)
a54bf4cd0 Correct the sample code of mermaid (#2119)
8c49b06fc docs: Update permalinks documentation
a4818d99b Page bundles: link to info about single vs. list page templates (#2116)
3fc7744d7 snap: Document removable media access
dbd08f58a Update theme
df5b88633 netlify: Hugo 0.114.1
6b859834a Fix typo
9ec92cf68 Improve Dart Sass example for Netlify
2d294ece9 Add Dart Sass installation and usage documentation
4c6b77d6c Fix placement of curly braces
897812a50 Update template-debugging.md to include a jsonify example
22bca519b Update GitHub Pages hosting instructions (#2109)
a964d93ce Document math functions new in v0.114.0 (#2108)
9f4cb040e netlify: Hugo 0.114.0
55b4d9221 Merge branch 'tempv0.114.0'
93c4dcf93 docs: Regen docshelper
96f03c77f docs: Regen CLI docs
8e22a228a Clarify resource media type variables (#2106)
2652da8d4 Update transform.Unmarshal.md (#2105)
92657177a Update theme
4601c1d65 Update theme
a216f3145 Merge commit '
3c1deaf201a35de08d23cc58f8f03682cace3349 '
eed8794f5 cache: Set default cache path based on $USER
git-subtree-dir: docs
git-subtree-split:
c43daf45fdc36c254f4274a0815ea62d4d8c37e0
Bjørn Erik Pedersen [Fri, 28 Jul 2023 10:18:59 +0000 (12:18 +0200)]
Deprecate taxonomyTerm
In favour of 'taxonomy'
Closes #11256
Bjørn Erik Pedersen [Fri, 28 Jul 2023 10:04:03 +0000 (12:04 +0200)]
Warn about unknown kinds in disableKinds
See #11256
Bjørn Erik Pedersen [Fri, 28 Jul 2023 08:53:47 +0000 (10:53 +0200)]
Move all Kind constants to its own package
See #11256
dependabot[bot] [Fri, 28 Jul 2023 12:50:56 +0000 (14:50 +0200)]
build(deps): bump github.com/rogpeppe/go-internal
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal) from 1.10.1-0.
20230508101108 -
a4f6fabd84c5 to 1.11.0.
- [Release notes](https://github.com/rogpeppe/go-internal/releases)
- [Commits](https://github.com/rogpeppe/go-internal/commits/v1.11.0)
---
updated-dependencies:
- dependency-name: github.com/rogpeppe/go-internal
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dependabot[bot] [Thu, 6 Jul 2023 08:03:10 +0000 (08:03 +0000)]
build(deps): bump golang.org/x/image from 0.8.0 to 0.9.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/image/compare/v0.8.0...v0.9.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>
Bjørn Erik Pedersen [Fri, 28 Jul 2023 08:31:12 +0000 (10:31 +0200)]
Remove unused autogenerated method
Oleksandr Redko [Fri, 28 Jul 2023 08:23:20 +0000 (11:23 +0300)]
commands: Replace deprecated ioutil with os
Bjørn Erik Pedersen [Fri, 28 Jul 2023 08:06:16 +0000 (10:06 +0200)]
tpl/collections: Add BenchmarkWhereOps
```
BenchmarkWhereOps/eq-10 8702 120410 ns/op 52280 B/op 2515 allocs/op
BenchmarkWhereOps/ne-10 9829 120759 ns/op 52280 B/op 2515 allocs/op
BenchmarkWhereOps/like-10 6754 176377 ns/op 52917 B/op 2515 allocs/op
```
Joe Mooring [Thu, 22 Dec 2022 22:17:19 +0000 (14:17 -0800)]
tpl/collections: Add like operator to where function
Closes #11279
Joe Mooring [Thu, 20 Jul 2023 19:29:25 +0000 (12:29 -0700)]
tpl/collections: Fix description of apply function
The collections.Apply template function cannot be used with maps.
Joe Mooring [Thu, 27 Jul 2023 19:43:52 +0000 (12:43 -0700)]
snap: Set cache location to $HOME/.cache/hugo_cache
Bjørn Erik Pedersen [Thu, 27 Jul 2023 18:59:47 +0000 (20:59 +0200)]
Use os.UserCacheDir as first fallback if cacheDir is not set
We will now try
1. cacheDir (or, commonly set in environment as `HUGO_CACHEDIR`)
2. if on Netlify we use `/opt/build/cache/hugo_cache/`
3. os.UserCacheDir
4. A temp dir
Storing the cache, especially the module cache, in a temporary idea has had lots of hard to debug issues, especially on MacOS,
which this commit tries to fix.
This should also make it easier to locate the Hugo cache:
>UserCacheDir returns the default root directory to use for user-specific cached data. Users should create their own
application-specific subdirectory within this one and use that.
>
>On Unix systems, it returns $XDG_CACHE_HOME as specified by
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html if non-empty, else $HOME/.cache. On Darwin, it
returns $HOME/Library/Caches. On Windows, it returns %LocalAppData%. On Plan 9, it returns $home/lib/cache.
>
>If the location cannot be determined (for example, $HOME is not defined), then it will return an error.
Fixes #11286
Fixes #11291
Bjørn Erik Pedersen [Thu, 27 Jul 2023 17:20:48 +0000 (19:20 +0200)]
Add a common regexp cache
```
BenchmarkGetOrCompileRegexp-10
73959368 13.71 ns/op 0 B/op 0 allocs/op
BenchmarkCompileRegexp-10
3143529 380.1 ns/op 872 B/op 10 allocs/op
```
Bjørn Erik Pedersen [Thu, 27 Jul 2023 11:00:01 +0000 (13:00 +0200)]
Fix multiple languages in HUGO_DISABLELANGUAGES
Fixes #11278
Joe Mooring [Thu, 27 Jul 2023 05:15:21 +0000 (22:15 -0700)]
snap: Allow access to SSH keys and $HOME/.config/hugo
Closes #11288
Joe Mooring [Mon, 24 Jul 2023 00:33:54 +0000 (17:33 -0700)]
deps: Upgrade github.com/yuin/goldmark v1.5.4 => v1.5.5
hugoreleaser [Thu, 20 Jul 2023 07:02:18 +0000 (07:02 +0000)]
releaser: Prepare repository for 0.116.0-DEV
[ci skip]
hugoreleaser [Thu, 20 Jul 2023 06:49:57 +0000 (06:49 +0000)]
releaser: Bump versions for release of 0.115.4
[ci skip]
Bjørn Erik Pedersen [Wed, 19 Jul 2023 17:10:34 +0000 (19:10 +0200)]
Fix broken handling of legacy taxonomyTerm in disableKinds
Fixes #11257
Bjørn Erik Pedersen [Wed, 19 Jul 2023 17:54:36 +0000 (19:54 +0200)]
commands: Move testscript into its correct place
Bjørn Erik Pedersen [Wed, 19 Jul 2023 15:32:19 +0000 (17:32 +0200)]
publisher: Improve class collector for dynamic classes
E.g.
* AlpinesJS' :class="isTrue 'class1' : 'class2'"
* And dynamic classes with colon in them, e.g. `hover:bg-white`
Bjørn Erik Pedersen [Wed, 19 Jul 2023 13:37:17 +0000 (15:37 +0200)]
Fix cache busting setup
By correctly capturing the target variable when compiling the cache buster.
Fixes #11268
Bjørn Erik Pedersen [Wed, 19 Jul 2023 10:20:13 +0000 (12:20 +0200)]
commands: Delay server builds after the watcher is set up
See #11264
Bjørn Erik Pedersen [Wed, 19 Jul 2023 08:28:56 +0000 (10:28 +0200)]
Create hugo_stats.json if it's mounted but does not exists
A common pattern for Tailwind 3 is to mount that file to get it on the server watch list.
A common pattern is also to add hugo_stats.json to .gitignore.
This has meant that the first time you start the server (no hugo_stats.json), it just doesn't work as expected.
Fixes #11264
Bjørn Erik Pedersen [Wed, 19 Jul 2023 07:23:48 +0000 (09:23 +0200)]
Re-instate disableLiveReload as a config option (and not just a flag)
Closes #11259
Joe Mooring [Wed, 19 Jul 2023 15:31:59 +0000 (08:31 -0700)]
common/htime: Fix localization of abbreviated month names
Fixes #11267
Bjørn Erik Pedersen [Mon, 17 Jul 2023 17:15:48 +0000 (19:15 +0200)]
Improve error messages for PostCSS etc.
Fixes #9730
Bjørn Erik Pedersen [Sun, 16 Jul 2023 08:42:13 +0000 (10:42 +0200)]
Fix setting config from env with complex (e.g. YAML) strings
So you can do
```
HUGO_OUTPUTS="home: [rss]" hugo
```
And similar.
Fixes #11249
David Karlsson [Sat, 15 Jul 2023 09:13:08 +0000 (11:13 +0200)]
Fix for data mounts in sub folders
Before this change, data files from Hugo modules were always mounted at the
root of the `data` directory. The File and FileMetaInfo structs for modules
are different from 'native' data directories.
This changes how the keyParts for data files are generated so that data
from modules or native directories are treated the same.
hugoreleaser [Thu, 13 Jul 2023 16:23:50 +0000 (16:23 +0000)]
releaser: Prepare repository for 0.116.0-DEV
[ci skip]
hugoreleaser [Thu, 13 Jul 2023 16:11:34 +0000 (16:11 +0000)]
releaser: Bump versions for release of 0.115.3
[ci skip]
Bjørn Erik Pedersen [Thu, 13 Jul 2023 13:42:30 +0000 (15:42 +0200)]
Improve behavior of defaultContentLanguageInSubdir when only the default language is enabled
1 .Create sitemapindex in root of publishDir (will contain link to sitemap.xml in defaultContentLanguage site)
2. Create index.html in root of publishDir (will redirect to defaultContentLanguage site)
Fixes #11229
Bjørn Erik Pedersen [Thu, 13 Jul 2023 13:01:41 +0000 (15:01 +0200)]
Return error when .Render is invoked without arg
Fixes #11243
Joe Mooring [Tue, 11 Jul 2023 20:01:52 +0000 (13:01 -0700)]
js: Pass tsconfig.json to esBuild
Note that esBuild only inspects/honors certain fields.
See https://esbuild.github.io/content-types/#tsconfig-json.
Fixes #11232
Bjørn Erik Pedersen [Tue, 11 Jul 2023 07:48:57 +0000 (09:48 +0200)]
tpl/collections: Fix WordCount (etc.) regression in Where, Sort, Delimit
Fixes #11234
Joe Mooring [Sat, 8 Jul 2023 20:58:11 +0000 (13:58 -0700)]
config/allconfig: Update timeout description
Joe Mooring [Sat, 8 Jul 2023 20:52:24 +0000 (13:52 -0700)]
docs: Refresh docs.json
hugoreleaser [Sat, 8 Jul 2023 17:19:03 +0000 (17:19 +0000)]
releaser: Prepare repository for 0.116.0-DEV
[ci skip]
hugoreleaser [Sat, 8 Jul 2023 17:06:56 +0000 (17:06 +0000)]
releaser: Bump versions for release of 0.115.2
[ci skip]
Joe Mooring [Sat, 8 Jul 2023 15:36:42 +0000 (08:36 -0700)]
snap: Allow access to AWS, Azure, and GCS config/credentials
Fixes #11122
Joe Mooring [Tue, 4 Jul 2023 16:52:25 +0000 (09:52 -0700)]
snap: Update metadata and security.exec.osEnv
See #11217
Bjørn Erik Pedersen [Sat, 8 Jul 2023 14:29:47 +0000 (16:29 +0200)]
Make imageConfig work with modules
Fixes #11205
Bjørn Erik Pedersen [Sat, 8 Jul 2023 14:16:06 +0000 (16:16 +0200)]
Restore language.disabled config
Fixes #11219
Bjørn Erik Pedersen [Sat, 8 Jul 2023 10:25:53 +0000 (12:25 +0200)]
Fix hugo mod vendor for modules with hugo.toml
Fixes #11221
Bjørn Erik Pedersen [Sat, 8 Jul 2023 09:55:52 +0000 (11:55 +0200)]
Fix static content files multilingual root regression
Fixes #11223
Bjørn Erik Pedersen [Fri, 7 Jul 2023 16:41:10 +0000 (18:41 +0200)]
Fix defaultContentLanguageInSubdir with only 1 language
Fixes #10064