Skip to content

Commit 801f256

Browse files
chore(deps): update module go:github.com/gohugoio/hugo to v0.152.2 (#1647)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.152.1` -> `v0.152.2` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgohugoio%2fhugo/v0.152.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgohugoio%2fhugo/v0.152.1/v0.152.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>gohugoio/hugo (go:github.com/gohugoio/hugo)</summary> ### [`v0.152.2`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.152.2) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.152.1...v0.152.2) In `v0.152.0` we tightened the source validation for [file mounts](https://gohugo.io/configuration/module/#mounts). We always said that *project mounts can mount with absolute file/directorynames, modules/themes are restricted to relative*. In `v0.152.0` we narrowed module/themes mounts to be local, which made the setup in the bug report listed below fail: ```toml [[module.mounts]] source = '../../node_modules/bootstrap' target = 'assets/vendor/bootstrap' ``` One part of this is security. But the construct above is *usually* very odd (the project uses files in a theme/module, not the other way around) and not very portable. But the example above demonstrates a valid exception, that we now have added support for in a portable way. The above example now works as it did before `v0.152.0`, but going forward you can also write: ```toml [[module.mounts]] source = 'node_modules/bootstrap' target = 'assets/vendor/bootstrap' ``` We now have the `node_modules` as a special case: For themes/modules we first check if the mounted source exists locally, if not we try relative to the project root. #### What's Changed - deps: Update github.com/tdewolff/minify v2.24.4 => v2.24.5 [`1c8c21e`](https://redirect.github.com/gohugoio/hugo/commit/1c8c21e45) [@&#8203;jmooring](https://redirect.github.com/jmooring) [#&#8203;14086](https://redirect.github.com/gohugoio/hugo/issues/14086) - hugofs: Make node\_modules a "special case" mount [`809ebe0`](https://redirect.github.com/gohugoio/hugo/commit/809ebe01f) [@&#8203;bep](https://redirect.github.com/bep) [#&#8203;14089](https://redirect.github.com/gohugoio/hugo/issues/14089) - github: Fix typo in stale PR message [`08a0679`](https://redirect.github.com/gohugoio/hugo/commit/08a0679a8) [@&#8203;jordelver](https://redirect.github.com/jordelver) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/prometheus/client_java). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent e0b9d44 commit 801f256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tools]
2-
"go:github.com/gohugoio/hugo" = "v0.152.1"
2+
"go:github.com/gohugoio/hugo" = "v0.152.2"
33
"go:github.com/grafana/oats" = "0.4.1"
44
java = "temurin-25.0.0+36.0.LTS"
55
lychee = "0.21.0"

0 commit comments

Comments
 (0)