chore(deps): update dependency gohugoio/hugo to v0.95.0 #39

Merged
xoxys merged 1 commits from renovate/gohugoio-hugo-0.x into main 2022-03-25 11:11:18 +01:00
Member

This PR contains the following updates:

Package Update Change
gohugoio/hugo minor v0.93.3 -> v0.95.0

Release Notes

gohugoio/hugo

v0.95.0

Compare Source

Even faster, continue and break support, short-circuit of the built-in and/or-operators. This release upgrades to Go 1.18 which was released yesterday. This has made Hugo even faster. How much faster will depend on your site etc., but we have benchmarks that show significant improvements. But the main reason we're exited about this is the improvements in Go templates:

There are two new keywords, break and continue. These behaves like you would expect coming from other programming languages:

{{ range $i, $p := site.RegularPages }}
  {{ if gt $i 2 }}
    {{/* Break out of range, we only want to print the first 3 pages. */}}
    {{ break }}
  {{ end }}
  {{ $p.Title }}
{{ end }}
{{ range $i, $p := site.RegularPages }}
  {{ if eq $i 2 }}
    {{/* Skip the 3rd page. */}}
    {{ continue }}
  {{ end }}
  {{ $p.Title }}
{{ end }}

Also, the two built-in operators/function and and or now short-circuits, also in line with how && and || behave in other programming languages. This is useful in situations where the right side may have side effects (may be nil, is slow to execute etc.):

{{ if and .File (eq .File.Extension "html") }}
{{ end }}

Hugo now has:

Notes

  • Hugo now only builds with Go versions >= 1.18. Note that you do not need Go installed to run Hugo, and for Hugo Modules, any recent Go version can be used.

Changes

v0.94.2

Compare Source

This is a bug-fix release that fixes a bug introduced in the bug fix release yesterday (some HTML comments in Markdown that made the parser panic):

v0.94.1

Compare Source

There are 2 fixes in this release. The first is a fix for a regression in Goldmark related to HTML comments in Markdown (see #​9650). The other is that we have reverted the --renderToStatic feature and flag, as it didn't work on Windows. We didn't find any easy fix so that feature gets pushed to the next release, and then with proper cross-platform tests.

v0.94.0

Compare Source

Up to 20% reduction in build time and memory usage. That is the sales pitch for this release. In reality it depends (e.g. on how big and complex your site is), but we have benchmarks and real site tests that show impressive improvements. It was @​quasilyte (see #​9386) who tipped us about this potential. He had tested it with the digitalgov.gov website with about 20% speedup.

Post Release Update: Hugo users are reporting tremendous speed boosts of more than 50%.

Continuing on the performance theme, @​satotake has implemented a new hybrid static filesystem for Hugo's development server, which is great for sites with lots of static content, as it greatly reduces memory consumption while still keeping the fast render times by writing dynamic content to memory (the definition of static content in Hugo is all files mounted in /static and all files in /content that's not content files or a member of a content bundle). With this update, there are now 3 filesystem options when starting the server:

  1. hugo server (default), renders to and serves all files from memory.
  2. hugo server --renderToDisk, renders to and serves all files from disk.
  3. hugo server --renderStaticToDisk (the new hybrid mode), renders to and serves static files from disk, dynamic files from memory.

A final note goes to the new linkifyProtocol option in the Goldmark Configuration (see #​9639). The linkify extension is enabled by default. It turns www.example.org and similar into clickable links. But before this release, the default protocol used was http. This is in line with the CommonMark spec, but that doesn't make much sense in 2022, so now you get https as the default.

This release represents 38 contributions by 4 contributors to the main Hugo code base.@​bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @​dependabot[bot], @​jmooring, and @​satotake for their ongoing contributions.
And thanks to @​digitalcraftsman for his ongoing work on keeping the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 3 contributions by 2 contributors.

Hugo now has:

Notes

Changes


Configuration

📅 Schedule: 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, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gohugoio/hugo](https://github.com/gohugoio/hugo) | minor | `v0.93.3` -> `v0.95.0` | --- ### Release Notes <details> <summary>gohugoio/hugo</summary> ### [`v0.95.0`](https://github.com/gohugoio/hugo/releases/v0.95.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.94.2...v0.95.0) **Even faster, continue and break support, short-circuit of the built-in and/or-operators.** This release upgrades to Go 1.18 which was released yesterday. This has made Hugo even faster. How much faster will depend on your site etc., but we have [benchmarks](https://github.com/gohugoio/hugo/commit/9d6495d774233941b6e895e52870092fb1ca0134) that show significant improvements. But the main reason we're exited about this is the improvements in Go templates: There are two new keywords, [`break` and `continue`](https://github.com/golang/go/issues/20531). These behaves like you would expect coming from other programming languages: ```htmlbars {{ range $i, $p := site.RegularPages }} {{ if gt $i 2 }} {{/* Break out of range, we only want to print the first 3 pages. */}} {{ break }} {{ end }} {{ $p.Title }} {{ end }} ``` ```htmlbars {{ range $i, $p := site.RegularPages }} {{ if eq $i 2 }} {{/* Skip the 3rd page. */}} {{ continue }} {{ end }} {{ $p.Title }} {{ end }} ``` Also, the two built-in operators/function `and` and `or` now [short-circuits](https://github.com/golang/go/issues/31103), also in line with how `&&` and `||` behave in other programming languages. This is useful in situations where the right side may have side effects (may be `nil`, is slow to execute etc.): ```htmlbars {{ if and .File (eq .File.Extension "html") }} {{ end }} ``` Hugo now has: - 57648+ [stars](https://github.com/gohugoio/hugo/stargazers) - 429+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) - 397+ [themes](http://themes.gohugo.io/) #### Notes - Hugo now only builds with Go versions >= 1.18. Note that you do not need Go installed to run Hugo, and for Hugo Modules, any recent Go version can be used. #### Changes - readme: Add note about Go 1.18 [`5930173`](https://github.com/gohugoio/hugo/commit/5930173c) [@&#8203;bep](https://github.com/bep) - tpl: Pull in Go 1.18 patch that fixes the "no space in {{ continue }} and {{ break }}" bug [`3476b53`](https://github.com/gohugoio/hugo/commit/3476b533) [@&#8203;bep](https://github.com/bep) - readme: Add a contribution note [`e792d27`](https://github.com/gohugoio/hugo/commit/e792d270) [@&#8203;bep](https://github.com/bep) - github: Make it build with Go 1.18 [`9d6495d`](https://github.com/gohugoio/hugo/commit/9d6495d7) [@&#8203;bep](https://github.com/bep) - tpl: Adjustments and an integration test for Go 1.18 [`42cc5f8`](https://github.com/gohugoio/hugo/commit/42cc5f88) [@&#8203;bep](https://github.com/bep) [#&#8203;9677](https://github.com/gohugoio/hugo/issues/9677) - Remove Go 1.17 support [`a6488e7`](https://github.com/gohugoio/hugo/commit/a6488e7b) [@&#8203;bep](https://github.com/bep) [#&#8203;9677](https://github.com/gohugoio/hugo/issues/9677) - tpl: Sync go_templates for Go 1.18 [`65a78ca`](https://github.com/gohugoio/hugo/commit/65a78cae) [@&#8203;bep](https://github.com/bep) [#&#8203;9677](https://github.com/gohugoio/hugo/issues/9677) - build: Bump to Go 1.18 [`4d6d1d0`](https://github.com/gohugoio/hugo/commit/4d6d1d08) [@&#8203;bep](https://github.com/bep) [#&#8203;9677](https://github.com/gohugoio/hugo/issues/9677) - dartsass: Improve error message when no read access [`b60e1bb`](https://github.com/gohugoio/hugo/commit/b60e1bbd) [@&#8203;bep](https://github.com/bep) [#&#8203;9662](https://github.com/gohugoio/hugo/issues/9662) - Fix and refactor typos [`61cf3c9`](https://github.com/gohugoio/hugo/commit/61cf3c9f) [@&#8203;CathrinePaulsen](https://github.com/CathrinePaulsen) - Improve server startup/shutdown [`31fbc08`](https://github.com/gohugoio/hugo/commit/31fbc081) [@&#8203;bep](https://github.com/bep) [#&#8203;9671](https://github.com/gohugoio/hugo/issues/9671) - commands: Improve server tests [`cebd886`](https://github.com/gohugoio/hugo/commit/cebd886a) [@&#8203;bep](https://github.com/bep) [#&#8203;9647](https://github.com/gohugoio/hugo/issues/9647) ### [`v0.94.2`](https://github.com/gohugoio/hugo/releases/v0.94.2) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.94.1...v0.94.2) This is a bug-fix release that fixes a bug introduced in the bug fix release yesterday (some HTML comments in Markdown that made the parser panic): - deps: Update github.com/yuin/goldmark v1.4.9 => v1.4.10 [`b37183e`](https://github.com/gohugoio/hugo/commit/b37183e4) [@&#8203;bep](https://github.com/bep) [#&#8203;9658](https://github.com/gohugoio/hugo/issues/9658) ### [`v0.94.1`](https://github.com/gohugoio/hugo/releases/v0.94.1) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.94.0...v0.94.1) There are 2 fixes in this release. The first is a fix for a regression in Goldmark related to HTML comments in Markdown (see [#&#8203;9650](https://github.com/gohugoio/hugo/issues/9650)). The other is that we have reverted the `--renderToStatic` feature and flag, as it didn't work on Windows. We didn't find any easy fix so that feature gets pushed to the next release, and then with proper cross-platform tests. - docs: Regenerate CLI docs [`3bc742b`](https://github.com/gohugoio/hugo/commit/3bc742be) [@&#8203;bep](https://github.com/bep) - deps: Fix Goldmark regression with HTML comments [`1a796d7`](https://github.com/gohugoio/hugo/commit/1a796d72) [@&#8203;bep](https://github.com/bep) [#&#8203;9650](https://github.com/gohugoio/hugo/issues/9650) - Revert "Allow rendering static files to disk and dynamic to memory in server mode" [`64b7b7a`](https://github.com/gohugoio/hugo/commit/64b7b7a8) [@&#8203;bep](https://github.com/bep) [#&#8203;9647](https://github.com/gohugoio/hugo/issues/9647) - Revert "Some minor adjustments to the new static filesystem logic" [`5ef8a9f`](https://github.com/gohugoio/hugo/commit/5ef8a9f3) [@&#8203;bep](https://github.com/bep) - releaser: Prepare repository for 0.95.0-DEV [`3bc3466`](https://github.com/gohugoio/hugo/commit/3bc34666) [@&#8203;bep](https://github.com/bep) ### [`v0.94.0`](https://github.com/gohugoio/hugo/releases/v0.94.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.93.3...v0.94.0) **Up to 20% reduction in build time and memory usage.** That is the sales pitch for this release. In reality it depends (e.g. on how big and complex your site is), but we have [benchmarks](https://github.com/gohugoio/hugo/commit/4576c82ed462bc9c3934f76181101df1c5a4157e) and real site tests that show impressive improvements. It was [@&#8203;quasilyte](https://github.com/quasilyte) (see [#&#8203;9386](https://github.com/gohugoio/hugo/issues/9386)) who tipped us about this potential. He had tested it with the [digitalgov.gov](https://github.com/GSA/digitalgov.gov) website with about 20% speedup. **Post Release Update:** Hugo users are [reporting tremendous speed boosts](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/8?u=bep) of more than 50%. Continuing on the performance theme, [@&#8203;satotake](https://github.com/satotake) has implemented a new **hybrid static filesystem** for Hugo's development server, which is great for sites with lots of static content, as it greatly reduces memory consumption while still keeping the fast render times by writing dynamic content to memory (the definition of static content in Hugo is all files mounted in `/static` and all files in `/content` that's not content files or a member of a content bundle). With this update, there are now 3 filesystem options when starting the server: 1. `hugo server` (default), renders to and serves all files from memory. 2. `hugo server --renderToDisk`, renders to and serves all files from disk. 3. `hugo server --renderStaticToDisk` (the new hybrid mode), renders to and serves static files from disk, dynamic files from memory. A final note goes to the new `linkifyProtocol` option in the [Goldmark Configuration](https://gohugo.io/getting-started/configuration-markup#goldmark) (see [#&#8203;9639](https://github.com/gohugoio/hugo/issues/9639)). The `linkify` extension is enabled by default. It turns `www.example.org` and similar into clickable links. But before this release, the default protocol used was `http`. This is in line with the CommonMark spec, but that doesn't make much sense in 2022, so now you get `https` as the default. This release represents **38 contributions by 4 contributors** to the main Hugo code base.[@&#8203;bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [@&#8203;dependabot\[bot\]](https://github.com/apps/dependabot), [@&#8203;jmooring](https://github.com/jmooring), and [@&#8203;satotake](https://github.com/satotake) for their ongoing contributions. And thanks to [@&#8203;digitalcraftsman](https://github.com/digitalcraftsman) for his ongoing work on keeping the themes site in pristine condition. Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), which has received **3 contributions by 2 contributors**. Hugo now has: - 57544+ [stars](https://github.com/gohugoio/hugo/stargazers) - 429+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) - 397+ [themes](http://themes.gohugo.io/) #### Notes - minifiers: Make keepWhitespace = false default for HTML (note) [`c97fed0`](https://github.com/gohugoio/hugo/commit/c97fed08) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;9456](https://github.com/gohugoio/hugo/issues/9456) - We now fail with error when double-rendering text in markdownify/RenderString [`4e14cf7`](https://github.com/gohugoio/hugo/commit/4e14cf76) [@&#8203;bep](https://github.com/bep) [#&#8203;9570](https://github.com/gohugoio/hugo/issues/9570) [#&#8203;8959](https://github.com/gohugoio/hugo/issues/8959) - markup/goldmark: Default to https for linkify [`5697348`](https://github.com/gohugoio/hugo/commit/5697348e) [@&#8203;bep](https://github.com/bep) [#&#8203;9639](https://github.com/gohugoio/hugo/issues/9639) #### Changes - docs: Regenerate docshelper [`a4ac188`](https://github.com/gohugoio/hugo/commit/a4ac188c) [@&#8203;bep](https://github.com/bep) - Fail with error when double-rendering text in markdownify/RenderString [`4e14cf7`](https://github.com/gohugoio/hugo/commit/4e14cf76) [@&#8203;bep](https://github.com/bep) [#&#8203;9570](https://github.com/gohugoio/hugo/issues/9570) [#&#8203;8959](https://github.com/gohugoio/hugo/issues/8959) - markup/goldmark: Default to https for linkify [`5697348`](https://github.com/gohugoio/hugo/commit/5697348e) [@&#8203;bep](https://github.com/bep) [#&#8203;9639](https://github.com/gohugoio/hugo/issues/9639) - Add lang attribute to internal alias template [`f98e570`](https://github.com/gohugoio/hugo/commit/f98e570b) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;9586](https://github.com/gohugoio/hugo/issues/9586) - minifiers: Make keepWhitespace = false default for HTML (note) [`c97fed0`](https://github.com/gohugoio/hugo/commit/c97fed08) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;9456](https://github.com/gohugoio/hugo/issues/9456) - markup/goldmark/codeblocks: Fix slice bounds out of range [`53a6210`](https://github.com/gohugoio/hugo/commit/53a6210d) [@&#8203;bep](https://github.com/bep) [#&#8203;9627](https://github.com/gohugoio/hugo/issues/9627) - Cache reflect.MethodByName [`4576c82`](https://github.com/gohugoio/hugo/commit/4576c82e) [@&#8203;bep](https://github.com/bep) - releaser: Remove the GitHub link syntax around release contributors [`ff02d41`](https://github.com/gohugoio/hugo/commit/ff02d417) [@&#8203;bep](https://github.com/bep) [#&#8203;9581](https://github.com/gohugoio/hugo/issues/9581) - Some minor adjustments to the new static filesystem logic [`63bb2a5`](https://github.com/gohugoio/hugo/commit/63bb2a5b) [@&#8203;bep](https://github.com/bep) [#&#8203;9625](https://github.com/gohugoio/hugo/issues/9625) - Allow rendering static files to disk and dynamic to memory in server mode [`7d8011e`](https://github.com/gohugoio/hugo/commit/7d8011ed) [@&#8203;satotake](https://github.com/satotake) [#&#8203;9625](https://github.com/gohugoio/hugo/issues/9625) - build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.9 [`b9a1be2`](https://github.com/gohugoio/hugo/commit/b9a1be2f) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/evanw/esbuild from 0.14.23 to 0.14.25 [`0978245`](https://github.com/gohugoio/hugo/commit/09782450) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/niklasfasching/go-org from 1.6.0 to 1.6.2 [`ff37df8`](https://github.com/gohugoio/hugo/commit/ff37df83) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/getkin/kin-openapi from 0.90.0 to 0.91.0 [`5857d55`](https://github.com/gohugoio/hugo/commit/5857d552) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - Remove the decorator from the fs used in ReadDir [`0e0d672`](https://github.com/gohugoio/hugo/commit/0e0d672b) [@&#8203;bep](https://github.com/bep) [#&#8203;9609](https://github.com/gohugoio/hugo/issues/9609) - Update stale.yml [`19f816f`](https://github.com/gohugoio/hugo/commit/19f816f7) [@&#8203;bep](https://github.com/bep) - build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8 [`970f385`](https://github.com/gohugoio/hugo/commit/970f385c) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - Remove the examples/ folder [`76c1248`](https://github.com/gohugoio/hugo/commit/76c1248f) [@&#8203;bep](https://github.com/bep) - markup/goldmark: Escape image alt attribute [`e46e9ce`](https://github.com/gohugoio/hugo/commit/e46e9ceb) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;9594](https://github.com/gohugoio/hugo/issues/9594) - tpl/transform: Fix it when template.HTML is passes as option to Highlight [`0327da0`](https://github.com/gohugoio/hugo/commit/0327da05) [@&#8203;bep](https://github.com/bep) [#&#8203;9591](https://github.com/gohugoio/hugo/issues/9591) </details> --- ### Configuration 📅 **Schedule**: 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, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.94.0 to chore(deps): update dependency gohugoio/hugo to v0.94.1 2022-03-11 16:02:55 +01:00
renovator force-pushed renovate/gohugoio-hugo-0.x from 9718f51612 to 9c4c2fe81b 2022-03-11 16:02:56 +01:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.94.1 to chore(deps): update dependency gohugoio/hugo to v0.94.2 2022-03-12 14:02:32 +01:00
renovator force-pushed renovate/gohugoio-hugo-0.x from 9c4c2fe81b to c30947e3b9 2022-03-12 14:02:33 +01:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.94.2 to chore(deps): update dependency gohugoio/hugo to v0.95.0 2022-03-16 17:02:14 +01:00
renovator force-pushed renovate/gohugoio-hugo-0.x from c30947e3b9 to b134aa4a37 2022-03-16 17:02:14 +01:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.95.0 to chore(deps): update dependency gohugoio/hugo to v0.94.2 2022-03-17 12:04:05 +01:00
renovator force-pushed renovate/gohugoio-hugo-0.x from b134aa4a37 to 783631695e 2022-03-17 12:04:05 +01:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.94.2 to chore(deps): update dependency gohugoio/hugo to v0.95.0 2022-03-17 13:02:55 +01:00
renovator force-pushed renovate/gohugoio-hugo-0.x from 783631695e to f6bbec8035 2022-03-17 13:02:56 +01:00 Compare
xoxys merged commit 000f9947ee into main 2022-03-25 11:11:18 +01:00
xoxys deleted branch renovate/gohugoio-hugo-0.x 2022-03-25 11:11:18 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: container/hugo#39
No description provided.