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

ci(deps): update gohugoio/hugo action to v0.134.3 #34

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 24, 2023

This PR contains the following updates:

Package Type Update Change
gohugoio/hugo action minor v0.118.2 -> v0.134.3

Release Notes

gohugoio/hugo (gohugoio/hugo)

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

Dependency Updates

Documentation

Build Setup

v0.131.0

Compare Source

Note that if you use Hugo's image processing, your processed images will get new (shorter!) file names when you build your site with this release. We have upgraded a third party hashing library to fix some rare but potential hash collisions, and since this would change some of the image hashes, we thought we might as well do some other related changes: We now use xxHash to create the image file hashes (very fast!) and we have removed the verbose processing information, making the filenames much shorter.

This release is also a full dependency refresh and it comes with one notable and very useful new feature. It is now possible to use permalinks tokens in the front matter url. See the documentation for more info. Thanks to @​n1xx1 for the implementation.

Note

Bug fixes

Improvements

Dependency Updates

v0.130.0

Compare Source

What's Changed

v0.129.0

Compare Source

This release brings a rewrite of the logic around browser refreshes when running hugo server. We have seen some situations where asset changes (e.g. image/CSS/JS) has not been refreshed reliably in all browsers, even with the developer console open and the cache disabled. We suspect this comes from a recent browser bug (typically: Works fine in Safari, does not refresh in Chrome). The strategy we've been using when a change triggers multiple changes (e.g. both HTML and CSS) is to do one "browser force refresh", which in LiveReload ends up as a window.location.reload(). With this release we:

  1. Are more specific about what we refresh, but fall back to "force refresh" for bigger change sets.
  2. INFO log exactly what we do in these situations with the prefix livereload.

Start the server with:

hugo server --logLevel info

And you should see how Hugo handles browser updates when you change content/templates etc.

A related tip; start the server with

hugo server --logLevel info -N

Hugo will navigate to the content file you're changing and log it in the console.

Also new in this release a new xxHash hashing function that is much faster than any of the other hashing functions in Hugo, especially for larger inputs.

Note

We have upgraded the integration with Git used to load GitInfo to be part of Hugo's Security Policy. We have added git to the default whitelist, but if you have a custom security policy, you may have to update that.

Bug fixes

Improvements

Dependency Updates

v0.128.2

Compare Source

What's Changed

v0.128.1

Compare Source

What's Changed

v0.128.0

Compare Source

This release brings TailwindCSS v4 (alpha) support. For more info about the TailwindCSS 4 integration, see this repo. Also notable is the new templates.Defer template func and the dramatically improved performance of $page.GetTerms for bigger sites.

Bug fixes

Improvements

Dependency Updates

Build Setup

Documentation

v0.127.0

Compare Source

This release brings proper HTTP caching and live reloading of remote resources fetched with resources.GetRemote, especially useful when used with content adapters.

Note that this isn't enabled out of the box, so if you need this, you need to add some configuration. The demo below is configured as:

[httpcache]
[httpcache.cache]
[httpcache.cache.for]
includes = ['https://sheets.googleapis.com/**']
[[httpcache.polls]]
low  = '1s'
high = '30s'
[httpcache.polls.for]
includes = ['https://sheets.googleapis.com/**']
hugodemo__v0127.mp4

What's Changed

v0.126.3

Compare Source

v0.126.2

Compare Source

Bug fixes

Improvements

v0.126.1

Compare Source

What's Changed

v0.126.0

Compare Source

This release brings, drum roll, a long-awaited Hugo feature that has had many names. At one point we named it pages from data. You can read all about it in the documentation where it's titled Content Adapters.

Also worth mentioning are the new Extras Goldmark Extensions, which allows you to enable Markdown syntax for inserted text, mark text, subscript and superscript. A big thanks to @​bowman2001 for the implementation.

Improvements

Dependency Updates

Documentation

Build Setup

v0.125.7

Compare Source

Note that this release is only relevant if you use Hugo's openapi3.Unmarshal template function.

What's Changed

  • deps: Downgrade github.com/getkin/kin-openapi v0.124.0 => v0.123.0 3c6260f @​bep

v0.125.6

Compare Source

What's Changed

v0.125.5

Compare Source

What's Changed

v0.125.4

Compare Source

What Changed

v0.125.3

Compare Source

This release fixes a security issue reported by @​ejona86 (see #​12411) that could allow XSS injection from Markdown content files if one of the internal link or image render hook templates added in Hugo 0.123.0 are enabled. You typically control and trust the content files, but according to Hugo's security model, we state that "template and configuration authors (you) are trusted, but the data you send in is not."

v0.125.2

Compare Source

What's Changed

v0.125.1

Compare Source

What's Changed

v0.125.0

Compare Source

Some of the notable new features in this release:


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 force-pushed the renovate/gohugoio-hugo-0.x branch 6 times, most recently from f67ed54 to e215986 Compare October 25, 2023 20:52
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.119.0 ci(deps): update gohugoio/hugo action to v0.120.0 Oct 30, 2023
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from e215986 to 1ef0ad2 Compare October 30, 2023 16:29
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.120.0 ci(deps): update gohugoio/hugo action to v0.120.1 Oct 30, 2023
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 1ef0ad2 to 7be2fb5 Compare October 30, 2023 20:20
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.120.1 ci(deps): update gohugoio/hugo action to v0.120.2 Oct 31, 2023
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 7be2fb5 to 870fe09 Compare October 31, 2023 16:53
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.120.2 ci(deps): update gohugoio/hugo action to v0.120.3 Nov 1, 2023
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 870fe09 to 13c6088 Compare November 1, 2023 19:58
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.120.3 ci(deps): update gohugoio/hugo action to v0.120.4 Nov 8, 2023
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 13c6088 to 7e9ea20 Compare November 8, 2023 13:47
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.120.4 ci(deps): update gohugoio/hugo action to v0.121.0 Dec 5, 2023
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch 2 times, most recently from 6a9b580 to 698aa65 Compare December 8, 2023 09:37
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.121.0 ci(deps): update gohugoio/hugo action to v0.121.1 Dec 8, 2023
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 698aa65 to 0c25503 Compare January 5, 2024 12:49
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.121.1 ci(deps): update gohugoio/hugo action to v0.121.2 Jan 5, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 0c25503 to e401c23 Compare January 26, 2024 20:16
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.121.2 ci(deps): update gohugoio/hugo action to v0.122.0 Jan 26, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from e401c23 to 3fcd74f Compare February 19, 2024 19:26
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.122.0 ci(deps): update gohugoio/hugo action to v0.123.0 Feb 19, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch 2 times, most recently from 6a2424d to 4588f53 Compare February 21, 2024 10:24
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.123.0 ci(deps): update gohugoio/hugo action to v0.123.1 Feb 21, 2024
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.127.0 ci(deps): update gohugoio/hugo action to v0.128.0 Jun 25, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 5ba893a to ffb6d03 Compare July 2, 2024 10:29
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.128.0 ci(deps): update gohugoio/hugo action to v0.128.1 Jul 2, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from ffb6d03 to 8cf072a Compare July 4, 2024 09:27
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.128.1 ci(deps): update gohugoio/hugo action to v0.128.2 Jul 4, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 8cf072a to 30dcd1a Compare July 17, 2024 14:21
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.128.2 ci(deps): update gohugoio/hugo action to v0.129.0 Jul 17, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 30dcd1a to adf5c34 Compare July 29, 2024 16:05
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.129.0 ci(deps): update gohugoio/hugo action to v0.130.0 Jul 29, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from adf5c34 to c1cbca4 Compare August 2, 2024 09:58
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.130.0 ci(deps): update gohugoio/hugo action to v0.131.0 Aug 2, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from c1cbca4 to 7bec172 Compare August 12, 2024 16:33
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.131.0 ci(deps): update gohugoio/hugo action to v0.132.0 Aug 12, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 7bec172 to 3135fe4 Compare August 13, 2024 11:51
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.132.0 ci(deps): update gohugoio/hugo action to v0.132.1 Aug 13, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 3135fe4 to a98ce6c Compare August 14, 2024 20:01
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.132.1 ci(deps): update gohugoio/hugo action to v0.132.2 Aug 14, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from a98ce6c to 4a7db38 Compare August 17, 2024 22:27
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.132.2 ci(deps): update gohugoio/hugo action to v0.133.0 Aug 17, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 4a7db38 to a75c0ed Compare August 26, 2024 14:31
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.133.0 ci(deps): update gohugoio/hugo action to v0.133.1 Aug 26, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from a75c0ed to fe7a509 Compare September 3, 2024 10:58
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.133.1 ci(deps): update gohugoio/hugo action to v0.134.0 Sep 3, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from fe7a509 to 3ebb04d Compare September 5, 2024 11:22
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.134.0 ci(deps): update gohugoio/hugo action to v0.134.1 Sep 5, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 3ebb04d to 44ed440 Compare September 10, 2024 14:58
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.134.1 ci(deps): update gohugoio/hugo action to v0.134.2 Sep 10, 2024
@renovate renovate bot force-pushed the renovate/gohugoio-hugo-0.x branch from 44ed440 to 95fe913 Compare September 19, 2024 19:40
@renovate renovate bot changed the title ci(deps): update gohugoio/hugo action to v0.134.2 ci(deps): update gohugoio/hugo action to v0.134.3 Sep 19, 2024
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.

0 participants