Skip to content

ci(deps): update dependency hugo to v0.140.2#164

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/hugo-0.140.x
Open

ci(deps): update dependency hugo to v0.140.2#164
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/hugo-0.140.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Feb 2, 2025

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Update Change
hugo minor 0.124.10.140.2

Release Notes

gohugoio/hugo (hugo)

v0.140.2

Compare Source

The timing of this release comes from the security fix in golang.org/x/net's html.Parse function. This is used in two places in Hugo:

  1. Extracting table of contents from Asciidoctor rendered output.
  2. Collecting HTML classes etc. when build stats is enabled

It's a little bit of a stretch to see how this could be exploited in Hugo, but we understand that many want a clean security report. See this issue for details.

What's Changed

v0.140.1

Compare Source

Some bug fixes in the (most likely) last Hugo release of the year. Of some technical interest to some, I can mention that I, @​bep, have reworked hugoreleaser to use YAML (with anchors/aliases) instead of TOML for the release configuration. Have a look at the end result.

What's Changed

v0.140.0

Compare Source

The big new feature in this release is js.Batch – this enables JavaScript bundle groups (e.g. scripts per section) with global code splitting and flexible hooks/runners setup.

Bug fixes

Improvements

Dependency Updates

v0.139.5

Compare Source

This is a release created for technical reasons, see #​13147

It's the same as https://github.com/gohugoio/hugo/releases/tag/v0.139.4 -- go there for release archives.

v0.139.4

Compare Source

This release contains a security fix. See this Security Advisory for details. Note that this is only relevant if you don't trust your content (e.g. Markdown) files.

What's Changed

v0.139.3

Compare Source

What's Changed

v0.139.2

Compare Source

Note that this is the second patch release today. See v0.139.1. We had to do this release to get the Hugo Docs build running.

What's Changed

v0.139.1

Compare Source

What's Changed

v0.139.0

Compare Source

This release is mostly about removing code that has been deprecated for a long time. This has been shown as an ERROR in the build log and failed the build for at least the last 6 minor Hugo versions, in most cases much longer.

But this is also a full dependency refresh, and there are also some new stuff. For one, we added a -O flag to hugo server to open up the site in your browser after start. This is now my (@​bep) shortcut to start the server:

function h() {
  hugo server  -F -O -N -D
}

Note

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.138.0

Compare Source

What's Changed

v0.137.1

Compare Source

What's Changed

v0.137.0

Compare Source

Note that we have no longer build the deploy feature in the standard and extended archives. If you need that, download archives with withdeploy in the filename. See instalation for details. You can read #​12994 for more on the motivation behind this, but for one, it shaves off about 40% of the binary size.

Bug fixes

Improvements

Dependency Updates

  • deps: Upgrade github.com/bep/godartsass/v2 v2.1.0 => v2.2.0 e3304db @​bep
  • deps: Upgrade github.com/bep/lazycache v0.6.0 => v0.7.0 62567d3 @​bep

Documentation

v0.136.5

Compare Source

Fix stuck server error issues cb6e27b @​bep #​11378

v0.136.4

Compare Source

What's Changed

v0.136.3

Compare Source

What's Changed

v0.136.2

Compare Source

What's Changed

v0.136.1

Compare Source

What's Changed

v0.136.0

Compare Source

Note that we have much improved the Dockerfile and image this release. But this also means a slightly different way of setting it up. Improved documentation will come soon, but see 41f69a7 #​12920 #​12885 #​12921.

Bug fixes

Improvements

Dependency Updates

Documentation

v0.135.0

Compare Source

This is a small release, the main motivation was to finally ... drum roll ... get a tagged Hugo Docker image published. Big thanks to @​bmanth60 for the tip that solved this issue.

Improvements

Dependency Updates

Build Setup

v0.134.3

Compare Source

v0.134.2

Compare Source

What's Changed

v0.134.1

Compare Source

What's Changed

v0.134.0

Compare Source

Hugo v0.134.0 brings render hooks for tables, ContentWithoutSummary, scoped content render and Obsidian style callout alerts.

ContentWithoutSummary and scoped content render

This release finally brings a Page.ContentWithoutSummary method. This has been a long sought after method where the use case is obvious: render the summary with a more button that renders the ... content without summary. To enable this we have reimplemented the content summary handling in Hugo. This consolidates the 3 summary types (auto, manual and frontmatter) – they are now all HTML. This is a slightly breaking change (manual was plain text before), but the new behaviour should be much less confusing and easier to handle in the templates. If you want plain text, pipe it into plainify: {{ .Summary | plainify }}.

Before this release there was one instance of .Content for a given page, it was e.g. not possible to render a page's content slightly different (e.g. different heading levels) on the list pages or the home page. This release anables that with a new Page.Markup with an optional scope argument.

In the list template you would do something like this:

{{ range .Pages | first 5 }}
  {{ with .Markup "list" }}
     {{ with .Render }}
       <div>
           <li>{{ .Summary }}</li> 
           <li>{{ .ContentWithoutSummary }}</li> 
           <li>{{ .WordCount }}</li> 
           <li>etc ...</li> 
       </div>
     {{ end }}
  {{ end }}
{{ end }}

You can think of the custom scope list as a cache key: Multiple invocations on the same page with the same scope will give the same return value. You can now pass down some data or configuration to in .Page.Store to the templates that render this markup (shortcodes, render hooks), or you can use the new global hugo.Context.MarkupScope function made for this purpose:

{{ if eq hugo.Context.MarkupScope "list" }}
  {{/* Render some list markup. */}}
{{ else }}
  {{/* default */}}
{{ end }}

Render hooks for tables

This has been a long sought after feature. Now you can have full control over how you render your Markdown tables with table render hooks.

Obsidian style callout alerts

Hugo v0.133.0 added blockquote render hooks with GitHub styled alerts. We have since then gotten some feedback about extended alert syntax in Obsidian, and in Hugo v0.134.0 we now support both.

Bug fixes

Improvements

Dependency Updates

Documentation

v0.133.1

Compare Source

Bug fixes

v0.133.0

Compare Source

What's Changed

v0.132.2

Compare Source

What's Changed

v0.132.1

Compare Source

What's Changed

v0.132.0

Compare Source

Server-side math rendering using KaTeX with Markdown render hooks support, blockquote Markdown render hooks with GitHub style alerts syntax support, and more.

Bug fixes

Improvements


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.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Feb 2, 2025
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 7 times, most recently from fb6533e to a5ce145 Compare February 2, 2025 02:31
@renovate renovate bot assigned DanySK Feb 2, 2025
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 3 times, most recently from 6e020de to 8dd4bf8 Compare February 7, 2025 15:04
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 3 times, most recently from 505a37f to ce03e05 Compare February 19, 2025 22:06
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from ce03e05 to 5e120ba Compare February 22, 2025 21:44
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 2 times, most recently from efd7a8f to 3605734 Compare March 16, 2025 02:10
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 3 times, most recently from 1aa6e86 to 9b67e9a Compare March 31, 2025 23:47
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from 9b67e9a to 2a3a40e Compare May 9, 2025 16:18
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from 2a3a40e to 32b84ee Compare June 1, 2025 09:24
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 5 times, most recently from 8d15a80 to 2ff4628 Compare June 20, 2025 16:08
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from 2ff4628 to 9ac5789 Compare July 3, 2025 16:16
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from 9ac5789 to 7bf5213 Compare July 21, 2025 15:07
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 2 times, most recently from a0a9a74 to 5dbd014 Compare August 12, 2025 00:36
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 4 times, most recently from eea3e01 to 7750eab Compare August 29, 2025 09:28
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from 7750eab to 6dbf0ef Compare September 6, 2025 20:41
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from 6dbf0ef to fc24d59 Compare October 4, 2025 21:10
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from fc24d59 to 6cfe7d4 Compare October 14, 2025 11:15
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 2 times, most recently from e01db66 to 122556d Compare November 4, 2025 23:13
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 3 times, most recently from c8f16e1 to e101274 Compare November 20, 2025 22:09
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from e101274 to e932430 Compare November 24, 2025 15:47
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 2 times, most recently from 1febc84 to 6702cd0 Compare December 3, 2025 11:42
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 3 times, most recently from a217ce6 to 493db01 Compare December 17, 2025 23:35
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from 493db01 to 2d79cc8 Compare January 10, 2026 01:13
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 2 times, most recently from 35f67b8 to a18ae59 Compare January 28, 2026 03:01
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 2 times, most recently from 9438baf to a8a1c0e Compare February 4, 2026 13:48
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch 2 times, most recently from 6ae1541 to 7772659 Compare March 1, 2026 01:50
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from 7772659 to e40180c Compare March 6, 2026 01:32
@renovate renovate bot force-pushed the renovate/hugo-0.140.x branch from e40180c to 66af167 Compare March 17, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant