chore(deps): update dependency gohugoio/hugo to v0.152.2 #60

Merged
onlyhavecans merged 1 commit from renovate/gohugoio-hugo-0.x into main 2025-10-25 20:49:41 -07:00
Member

This PR contains the following updates:

Package Update Change
gohugoio/hugo patch v0.152.1 -> v0.152.2

Release Notes

gohugoio/hugo (gohugoio/hugo)

v0.152.2

Compare Source

In v0.152.0 we tightened the source validation for file 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:

[[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:

[[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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gohugoio/hugo](https://github.com/gohugoio/hugo) | patch | `v0.152.1` -> `v0.152.2` | --- ### Release Notes <details> <summary>gohugoio/hugo (gohugoio/hugo)</summary> ### [`v0.152.2`](https://github.com/gohugoio/hugo/releases/tag/v0.152.2) [Compare Source](https://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://github.com/gohugoio/hugo/commit/1c8c21e45) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;14086](https://github.com/gohugoio/hugo/issues/14086) - hugofs: Make node\_modules a "special case" mount [`809ebe0`](https://github.com/gohugoio/hugo/commit/809ebe01f) [@&#8203;bep](https://github.com/bep) [#&#8203;14089](https://github.com/gohugoio/hugo/issues/14089) - github: Fix typo in stale PR message [`08a0679`](https://github.com/gohugoio/hugo/commit/08a0679a8) [@&#8203;jordelver](https://github.com/jordelver) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTguMiIsInVwZGF0ZWRJblZlciI6IjQxLjE1OC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
chore(deps): update dependency gohugoio/hugo to v0.152.2
All checks were successful
Build and deploy Hugo to Netlify / build-and-deploy (pull_request) Successful in 1m21s
4c17f55021
## Netlify Deploy Results **site_id:** 2697be4d-8ffe-444a-b2d7-e7508684e728 **site_name:** goofy-pare-d8f823 **deploy_id:** 68fba3222f47e942436044af **deploy_url:** https://pr-60--goofy-pare-d8f823.netlify.app **logs:** https://app.netlify.com/projects/goofy-pare-d8f823/deploys/68fba3222f47e942436044af **function_logs:** https://app.netlify.com/projects/goofy-pare-d8f823/logs/functions?scope=deploy:68fba3222f47e942436044af **edge_function_logs:** https://app.netlify.com/projects/goofy-pare-d8f823/logs/edge-functions?scope=deployid:68fba3222f47e942436044af
onlyhavecans deleted branch renovate/gohugoio-hugo-0.x 2025-10-25 20:49:42 -07:00
Sign in to join this conversation.
No description provided.