Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency hugo to v0.140.1 #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 26, 2024

This PR contains the following updates:

Package Update Change
hugo minor 0.133.0 -> 0.140.1

Release Notes

gohugoio/hugo (hugo)

v0.140.1

Compare Source

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 https://github.com/gohugoio/hugo/issues/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


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 was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented Aug 26, 2024

Deploy Preview for ffddorf-exto failed.

Name Link
🔨 Latest commit 54a859c
🔍 Latest deploy log https://app.netlify.com/sites/ffddorf-exto/deploys/6769a5bdbc95a40008f1a8d7

@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 22f467d to 5d5c148 Compare September 3, 2024 13:17
@renovate renovate bot changed the title Update dependency hugo to v0.133.1 Update dependency hugo to v0.134.0 Sep 3, 2024
@renovate renovate bot changed the title Update dependency hugo to v0.134.0 Update dependency hugo to v0.134.1 Sep 5, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 5d5c148 to 2d71be8 Compare September 5, 2024 12:06
@renovate renovate bot changed the title Update dependency hugo to v0.134.1 Update dependency hugo to v0.134.2 Sep 10, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 2d71be8 to 0cef5c8 Compare September 10, 2024 15:29
@renovate renovate bot changed the title Update dependency hugo to v0.134.2 Update dependency hugo to v0.134.3 Sep 19, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 0cef5c8 to f05373b Compare September 19, 2024 16:33
@renovate renovate bot changed the title Update dependency hugo to v0.134.3 Update dependency hugo to v0.135.0 Sep 27, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from f05373b to db0829c Compare September 27, 2024 16:39
@renovate renovate bot changed the title Update dependency hugo to v0.135.0 Update dependency hugo to v0.136.0 Oct 15, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch 2 times, most recently from 8860a54 to 578761b Compare October 16, 2024 20:01
@renovate renovate bot changed the title Update dependency hugo to v0.136.0 Update dependency hugo to v0.136.1 Oct 16, 2024
@renovate renovate bot changed the title Update dependency hugo to v0.136.1 Update dependency hugo to v0.136.2 Oct 17, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch 2 times, most recently from b839f5b to 4b7dcb7 Compare October 21, 2024 15:13
@renovate renovate bot changed the title Update dependency hugo to v0.136.2 Update dependency hugo to v0.136.3 Oct 21, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 4b7dcb7 to 97939e9 Compare October 22, 2024 09:32
@renovate renovate bot changed the title Update dependency hugo to v0.136.3 Update dependency hugo to v0.136.4 Oct 22, 2024
@renovate renovate bot changed the title Update dependency hugo to v0.136.4 Update dependency hugo to v0.136.5 Oct 24, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 97939e9 to 601bf4a Compare October 24, 2024 14:05
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 601bf4a to f245238 Compare November 4, 2024 19:07
@renovate renovate bot changed the title Update dependency hugo to v0.136.5 Update dependency hugo to v0.137.0 Nov 4, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from f245238 to 80a71ce Compare November 5, 2024 14:50
@renovate renovate bot changed the title Update dependency hugo to v0.137.0 Update dependency hugo to v0.137.1 Nov 5, 2024
@renovate renovate bot changed the title Update dependency hugo to v0.137.1 Update dependency hugo to v0.138.0 Nov 6, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 80a71ce to bf237f2 Compare November 6, 2024 13:23
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from bf237f2 to 6ad7fbf Compare November 18, 2024 17:18
@renovate renovate bot changed the title Update dependency hugo to v0.138.0 Update dependency hugo to v0.139.0 Nov 18, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 6ad7fbf to 1ffd727 Compare November 23, 2024 15:52
@renovate renovate bot changed the title Update dependency hugo to v0.139.0 Update dependency hugo to v0.139.1 Nov 23, 2024
@renovate renovate bot changed the title Update dependency hugo to v0.139.1 Update dependency hugo to v0.139.2 Nov 23, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch 2 times, most recently from 4f4e7ed to 7f912b1 Compare November 29, 2024 19:04
@renovate renovate bot changed the title Update dependency hugo to v0.139.2 Update dependency hugo to v0.139.3 Nov 29, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 7f912b1 to 121e017 Compare December 9, 2024 20:04
@renovate renovate bot changed the title Update dependency hugo to v0.139.3 Update dependency hugo to v0.139.4 Dec 9, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 121e017 to 95678f2 Compare December 14, 2024 21:36
@renovate renovate bot changed the title Update dependency hugo to v0.139.4 Update dependency hugo to v0.139.5 Dec 14, 2024
@renovate renovate bot changed the title Update dependency hugo to v0.139.5 Update dependency hugo to v0.140.0 Dec 17, 2024
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from 95678f2 to ff4a71b Compare December 17, 2024 18:00
@renovate renovate bot force-pushed the renovate/hugo-0.x branch from ff4a71b to 54a859c Compare December 23, 2024 18:02
@renovate renovate bot changed the title Update dependency hugo to v0.140.0 Update dependency hugo to v0.140.1 Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants