Bjørn Erik Pedersen
bd1657c360
Build without the deploy feature by default
...
Build tags setup changed to:
* !nodeploy => withdeploy
* nodeploy => !withdeploy
Also move the deploy feature out into its own release archives.
See #12994 for the primary motivation for this change. But this also greatly reduces the number of dependencies in Hugo when you don't need this feature and cuts the binary size greatly.
Fixes #12994
2024-10-30 10:45:40 +01:00
Bjørn Erik Pedersen
62567d3820
deps: Upgrade github.com/bep/lazycache v0.6.0 => v0.7.0
2024-10-27 12:43:36 +01:00
Bjørn Erik Pedersen
e10915f80a
dynacache: Fix potential deadlocks on panics in GetOrCreate
2024-10-26 18:27:10 +02:00
hugoreleaser
ec3890affe
releaser: Prepare repository for 0.137.0-DEV
...
[ci skip]
2024-10-24 12:41:02 +00:00
hugoreleaser
46cccb021b
releaser: Bump versions for release of 0.136.5
...
[ci skip]
2024-10-24 12:26:27 +00:00
Bjørn Erik Pedersen
cb6e27b32a
hugolib/commands: Fix stuck server error issues
...
Fixes #11378
2024-10-24 13:34:11 +02:00
Joe Mooring
5bbe95f9c5
tpl/transform: Revert unmarshal whitespace removal
...
Fixes #12977
2024-10-22 09:42:40 +02:00
hugoreleaser
31d19b505d
releaser: Prepare repository for 0.137.0-DEV
...
[ci skip]
2024-10-21 13:46:41 +00:00
hugoreleaser
bfa2fd683e
releaser: Bump versions for release of 0.136.3
...
[ci skip]
2024-10-21 13:31:54 +00:00
David Karlsson
88d598a049
docker: Fix permission issues in Dockerfile
...
Closes #12971
Closes #12970
2024-10-21 15:28:36 +02:00
Bjørn Erik Pedersen
352be5ba87
Make sure that HugoSites is always closed when done
...
Including all the integration tests.
2024-10-20 13:04:58 +02:00
Joe Mooring
d37606d2c2
tpl/strings: Add TrimSpace function
...
Closes #12962
2024-10-19 21:10:00 +02:00
Bjørn Erik Pedersen
f5e54d9c7d
common/herrors: Fix the deferred error message cleaner regexp
...
Make it less gready.
2024-10-19 10:00:01 +02:00
Bjørn Erik Pedersen
42f37b4e98
tpl/transform: Don't fail on "no data to transform"
...
Fixes #12964
2024-10-18 10:30:36 +02:00
hugoreleaser
e971b7d866
releaser: Prepare repository for 0.137.0-DEV
...
[ci skip]
2024-10-17 14:44:10 +00:00
hugoreleaser
ad985550a4
releaser: Bump versions for release of 0.136.2
...
[ci skip]
2024-10-17 14:30:05 +00:00
David Karlsson
b5852d0e68
docker: Fix Dart Sass ARM64 arch mismatch, /cache permissions
...
Also improve the final build step.
Closes #12956
Closes #12957
Closes #12960
2024-10-17 15:42:41 +02:00
hugoreleaser
b5801d8b6a
releaser: Prepare repository for 0.137.0-DEV
...
[ci skip]
2024-10-16 16:18:44 +00:00
hugoreleaser
64d1865c1e
releaser: Bump versions for release of 0.136.1
...
[ci skip]
2024-10-16 16:05:18 +00:00
Bjørn Erik Pedersen
e4ad0c5271
Never sanitize when url set in front matter
...
Fixes #12954
2024-10-16 18:01:11 +02:00
Bjørn Erik Pedersen
a2f666b586
Remove erroneously permalink validation
...
Fixes #12948
2024-10-16 10:14:48 +02:00
Joe Mooring
b1b3bbcdbd
create/skeletons: Add delimiters to archetype front matter
...
Fixes #12945
2024-10-15 21:37:26 +02:00
hugoreleaser
1cfe9741b9
releaser: Prepare repository for 0.137.0-DEV
...
[ci skip]
2024-10-15 13:31:16 +00:00
hugoreleaser
2939270a3b
releaser: Bump versions for release of 0.136.0
...
[ci skip]
2024-10-15 13:17:24 +00:00
Bjørn Erik Pedersen
5db27b19c1
circleci: Use default docker image
2024-10-15 15:15:12 +02:00
Bjørn Erik Pedersen
b7d62d76c5
docs: Regen CLI docs
2024-10-15 10:30:35 +02:00
Bjørn Erik Pedersen
6e1c5b61b3
resources/page: Adjust the permalinks colon implementation a little
...
Mostly to get back to an attribute regexp that's reasonably simle to read/understand.
Updates #12918
2024-10-15 10:28:00 +02:00
n1xx1
e7d0757f95
resources/page: Allow colons in permalinks to be escaped
...
Updates #12918
2024-10-15 10:28:00 +02:00
Rohan Hasabe
6b5e117a12
commands: Use consistent style when describing subcommands
...
Closes #12897
Change-Id: Ib27a4a7b540d45243e6252db769d4b9fb7447718
Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
2024-10-15 08:51:53 +02:00
dependabot[bot]
4985be1a4a
build(deps): bump github.com/tetratelabs/wazero from 1.8.0 to 1.8.1
...
Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/tetratelabs/wazero/releases )
- [Commits](https://github.com/tetratelabs/wazero/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/tetratelabs/wazero
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 15:54:41 +02:00
dependabot[bot]
db653a8485
build(deps): bump golang.org/x/image from 0.20.0 to 0.21.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/image/compare/v0.20.0...v0.21.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-10-14 14:53:06 +02:00
dependabot[bot]
05bbd2c515
build(deps): bump github.com/yuin/goldmark-emoji from 1.0.3 to 1.0.4
...
Bumps [github.com/yuin/goldmark-emoji](https://github.com/yuin/goldmark-emoji ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/yuin/goldmark-emoji/releases )
- [Commits](https://github.com/yuin/goldmark-emoji/compare/v1.0.3...v1.0.4 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark-emoji
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 14:52:12 +02:00
Bjørn Erik Pedersen
21366e0411
config: Imrove uglyurls section test
...
Updates #12926
2024-10-14 10:03:44 +02:00
Akkuman
ea633dd809
config: Fix uglyurls map parse
...
Fixes #12926
2024-10-14 10:03:44 +02:00
Joe Mooring
57151a5e91
create/skeletons: Honor --format flag when creating default archetype
...
Closes #12666
2024-10-14 09:54:29 +02:00
Julia Evans
5bb22b6b4e
hugolib: Make .Site.Author deprecation warning clearer
...
Fixes #12269
2024-10-14 09:16:11 +02:00
Bjørn Erik Pedersen
41f69a7255
Upgrade to latest Go version + Some Docker image improvements (note)
...
* Rename /site to /project
* Add ldflags
* Add go and node to the default image
* Add Dart Sass to the default image
* Build the extended version by default
* Add "npm i" install support with custom entry script override
* Adjust cache logic to speed up CGO rebuilds
Closes #12920
See #12885
2024-10-13 20:01:37 +02:00
David Karlsson
4a79956276
ci: Build multi-platform image with cross-compilation
...
The previous build workflow used emulation to build the Docker image,
which results in a somewhat complicated push-by-digest and merge
workflow to create a multi-platform image.
This commit changes the Docker build to use cross-compilation instead,
resulting in a faster and more straightforward build.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-13 20:01:37 +02:00
Patrice Chalin
039845804f
tpl/tplimpl: Trim descriptions rather than just chomp
2024-10-12 22:41:42 +02:00
dependabot[bot]
9b635522e2
build(deps): bump golang.org/x/tools from 0.23.0 to 0.26.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.23.0 to 0.26.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.23.0...v0.26.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>
2024-10-11 15:41:03 +02:00
dependabot[bot]
3223a65c9b
build(deps): bump github.com/rogpeppe/go-internal from 1.12.0 to 1.13.1
...
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal ) from 1.12.0 to 1.13.1.
- [Release notes](https://github.com/rogpeppe/go-internal/releases )
- [Commits](https://github.com/rogpeppe/go-internal/compare/v1.12.0...v1.13.1 )
---
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>
2024-10-11 15:39:22 +02:00
dependabot[bot]
bc6fc47727
build(deps): bump github.com/evanw/esbuild from 0.23.1 to 0.24.0
...
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild ) from 0.23.1 to 0.24.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.23.1...v0.24.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-10-11 15:36:02 +02:00
dependabot[bot]
ffb41d1111
build(deps): bump github.com/hairyhenderson/go-codeowners
...
Bumps [github.com/hairyhenderson/go-codeowners](https://github.com/hairyhenderson/go-codeowners ) from 0.5.0 to 0.6.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.5.0...v0.6.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>
2024-10-09 10:34:59 +02:00
Joe Mooring
5b0b663ec3
tailwind: Pin Tailwind 4 test to alpha 26 or later
2024-10-06 22:15:17 +02:00
Joe Mooring
3f68309148
resources/page: Treat null dates as zero dates
...
Closes #12906
2024-10-06 20:35:25 +02:00
Joe Mooring
ab03588db9
resources/page: Improve front matter date validation
...
Improve the error message and treat empty strings as zero dates.
Closes #12898
2024-10-05 15:29:57 +02:00
Bjørn Erik Pedersen
0450d69fc6
commands: Add "hugo build" as an alias for "hugo"
...
Closes #11391
2024-09-30 10:36:29 +02:00
Joe Mooring
1158e63072
markup/goldmark: Change default cell alignment in table render hook
...
Change the default table cell alignment from "left" to an empty string.
Closes #12886
2024-09-30 08:44:14 +02:00
Joe Mooring
d1ba52f3c3
tests: Address deprecation warnings and errors
2024-09-29 10:49:26 +02:00
hugoreleaser
d0dca65625
releaser: Prepare repository for 0.136.0-DEV
...
[ci skip]
2024-09-27 13:32:22 +00:00