Update dependency gohugoio/hugo to v0.94.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
gohugoio/hugo | ironbank-github | minor |
v0.93.3 -> v0.94.0
|
gohugoio/hugo | minor |
v0.93.3 -> v0.94.0
|
Release Notes
gohugoio/hugo
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 a little (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.
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:
- `hugo server´ (default), renders to and serves all files from memory.
-
hugo server --renderToDisk
, renders to and serves all files from disk. -
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 it doesn't make much sense in 2021, 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:
- 57544+ stars
- 429+ contributors
- 397+ themes
Notes
- minifiers: Make keepWhitespace = false default for HTML (note)
c97fed0
@jmooring #9456
Changes
- docs: Regenerate docshelper
a4ac188
@bep - Fail with error when double-rendering text in markdownify/RenderString
4e14cf7
@bep #9570 #8959 - markup/goldmark: Default to https for linkify
5697348
@bep #9639 - Add lang attribute to internal alias template
f98e570
@jmooring #9586 - minifiers: Make keepWhitespace = false default for HTML (note)
c97fed0
@jmooring #9456 - markup/goldmark/codeblocks: Fix slice bounds out of range
53a6210
@bep #9627 - Cache reflect.MethodByName
4576c82
@bep - releaser: Remove the GitHub link syntax around release contributors
ff02d41
@bep #9581 - Some minor adjustments to the new static filesystem logic
63bb2a5
@bep #9625 - Allow rendering static files to disk and dynamic to memory in server mode
7d8011e
@satotake #9625 - build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.9
b9a1be2
@dependabot[bot] - build(deps): bump github.com/evanw/esbuild from 0.14.23 to 0.14.25
0978245
@dependabot[bot] - build(deps): bump github.com/niklasfasching/go-org from 1.6.0 to 1.6.2
ff37df8
@dependabot[bot] - build(deps): bump github.com/getkin/kin-openapi from 0.90.0 to 0.91.0
5857d55
@dependabot[bot] - Remove the decorator from the fs used in ReadDir
0e0d672
@bep #9609 - Update stale.yml
19f816f
@bep - build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8
970f385
@dependabot[bot] - Remove the examples/ folder
76c1248
@bep - markup/goldmark: Escape image alt attribute
e46e9ce
@jmooring #9594 - tpl/transform: Fix it when template.HTML is passes as option to Highlight
0327da0
@bep #9591
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.