chore(deps): update module go:github.com/gohugoio/hugo to v0.154.0#1759
Merged
renovate[bot] merged 1 commit intomainfrom Dec 31, 2025
Merged
chore(deps): update module go:github.com/gohugoio/hugo to v0.154.0#1759renovate[bot] merged 1 commit intomainfrom
renovate[bot] merged 1 commit intomainfrom
Conversation
sibasispadhi
pushed a commit
to sibasispadhi/client_java
that referenced
this pull request
Jan 7, 2026
…rometheus#1759) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [go:github.com/gohugoio/hugo](https://redirect.github.com/gohugoio/hugo) | `v0.153.5` → `v0.154.0` |  |  | --- > [!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.154.0`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.154.0) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.153.5...v0.154.0) Hugo `v0.154.0` is the **14th release** this year (not counting patch releases) and introduces [partial decorators](https://gohugo.io/quick-reference/glossary/#partial-decorator), or “partials with a twist.” This is a very powerful construct that I, [@​bep](https://redirect.github.com/bep), have always wanted to have in Hugo, but I never could wrap my head around how to implement it. Until now. A small and not very useful example: ```handlebars {{ with partial "b.html" "World" }}Hello {{ . }}{{ end }} {{ define "_partials/b.html" }}<b>{{ inner . }}</b>{{ end }} ``` The above renders to: ```handlebars <b>Hello World</b> ``` - The new `inner` keyword can be used zero or more times in a partial template, typically with different data (e.g. pages in a range), and its presence signals a reversal of the execution -- the callee becomes the caller. - Decorators can be deeply nested, see [this PR](https://redirect.github.com/gohugoio/hugoDocs/pull/3330) for an example. This release also brings some new utility funcs in the [reflect](https://gohugo.io/functions/reflect/) package to identify the core types in Hugo. For example, to identify an [processable image](https://gohugo.io/quick-reference/glossary/#processable-image) hasn't been trivial, now it is: ```handlebars {{ $obj := . }} {{ if reflect.IsResource $obj }} {{ if reflect.IsImageResource $obj }} // It has width/height and we can process it. {{ else }} // Just link to it. {{ end }} {{ end }} ``` #### Bug fixes - tpl/collections: Fix apply to work with built-in funcs like len [`5c7fad2`](https://redirect.github.com/gohugoio/hugo/commit/5c7fad23) [@​bep](https://redirect.github.com/bep) [#​13418](https://redirect.github.com/gohugoio/hugo/issues/13418) - Revert "resources/page: Fix slugorcontentbasename for section pages" [`bf1d20d`](https://redirect.github.com/gohugoio/hugo/commit/bf1d20d7) [@​bep](https://redirect.github.com/bep) [#​14104](https://redirect.github.com/gohugoio/hugo/issues/14104) [#​14325](https://redirect.github.com/gohugoio/hugo/issues/14325) #### Improvements - helpers: Limit verbose watch output for better readability [`d3b5d47`](https://redirect.github.com/gohugoio/hugo/commit/d3b5d47a) [@​majiayu000](https://redirect.github.com/majiayu000) [#​14277](https://redirect.github.com/gohugoio/hugo/issues/14277) - tpl/reflect: Make the IsImageResource implementation less technical [`86cd183`](https://redirect.github.com/gohugoio/hugo/commit/86cd1838) [@​bep](https://redirect.github.com/bep) - internal/warpc: Increase WebP memory limit to 384 MiB [`871da33`](https://redirect.github.com/gohugoio/hugo/commit/871da337) [@​jmooring](https://redirect.github.com/jmooring) [#​14309](https://redirect.github.com/gohugoio/hugo/issues/14309) - Update tpl/reflect/reflect.go [`1deec99`](https://redirect.github.com/gohugoio/hugo/commit/1deec99b) [@​bep](https://redirect.github.com/bep) - Add reflect.Is{Page,Site,Resource,ImageResource} [`b7bb557`](https://redirect.github.com/gohugoio/hugo/commit/b7bb557c) [@​bep](https://redirect.github.com/bep) [#​14307](https://redirect.github.com/gohugoio/hugo/issues/14307) - Allow partials to work as decorators [`7c19c19`](https://redirect.github.com/gohugoio/hugo/commit/7c19c196) [@​bep](https://redirect.github.com/bep) [#​13193](https://redirect.github.com/gohugoio/hugo/issues/13193) #### Dependency Updates - build(deps): bump github.com/tetratelabs/wazero from 1.10.1 to 1.11.0 [`2637aa1`](https://redirect.github.com/gohugoio/hugo/commit/2637aa15) [@​dependabot](https://redirect.github.com/dependabot)\[bot] </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:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Sibasis <sibasis.padhi@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.153.5→v0.154.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
gohugoio/hugo (go:github.com/gohugoio/hugo)
v0.154.0Compare Source
Hugo
v0.154.0is the 14th release this year (not counting patch releases) and introduces partial decorators, or “partials with a twist.” This is a very powerful construct that I, @bep, have always wanted to have in Hugo, but I never could wrap my head around how to implement it. Until now.A small and not very useful example:
The above renders to:
innerkeyword can be used zero or more times in a partial template, typically with different data (e.g. pages in a range), and its presence signals a reversal of the execution -- the callee becomes the caller.This release also brings some new utility funcs in the reflect package to identify the core types in Hugo. For example, to identify an processable image hasn't been trivial, now it is:
Bug fixes
5c7fad2@bep #13418bf1d20d@bep #14104 #14325Improvements
d3b5d47@majiayu000 #1427786cd183@bep871da33@jmooring #143091deec99@bepb7bb557@bep #143077c19c19@bep #13193Dependency Updates
2637aa1@dependabot[bot]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.
This PR was generated by Mend Renovate. View the repository job log.