Skip to content

Releases: gohugoio/hugo

v0.117.0

07 Aug 13:04
@bep bep
Compare
Choose a tag to compare

This is a release on the small side, but. especially the new Page.RenderShortcodes method is so useful, especially for bigger sites, that we decided to get it out sooner rather than later. This method renders all the shortcodes in the content, preserving the surrounding markup (e.g. Markdown) as is. See the Hugo Documentation for more information.

Improvements

Dependency Updates

Documentation

v0.116.1

01 Aug 07:39
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.116.0

31 Jul 10:50
@bep bep
Compare
Choose a tag to compare

There are two notable changes in this release. For one, we have changed the default location of the cacheDir (where Hugo stores all its file caches). Having the cache stored in a /tmp folder has had its issues, especially for the module cache and especially on MacOS. The current new default should be better and more stable. See See Configure CacheDir for more info.

Also in this release: The where template func finally supports regular expressions with the new like operator.

Note

Bug fixes

Improvements

Dependency Updates

Documentation

Build Setup

v0.115.4

20 Jul 07:19
@bep bep
Compare
Choose a tag to compare

Bug fixes

Improvements

v0.115.3

13 Jul 16:43
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.115.2

08 Jul 17:37
@bep bep
Compare
Choose a tag to compare

Bug fixes

Improvements

Build Setup

v0.115.1

03 Jul 18:20
@bep bep
Compare
Choose a tag to compare

Bug fixes

Improvements

Dependency Updates

  • build(deps): bump github.com/evanw/esbuild from 0.18.10 to 0.18.11 da98724 @dependabot[bot]
  • build(deps): bump github.com/alecthomas/chroma/v2 from 2.7.0 to 2.8.0 4d470bb @dependabot[bot]

Documentation

Build Setup

v0.115.0

29 Jun 16:09
@bep bep
Compare
Choose a tag to compare

The notable new feature in this release is that you can now have permalink configuration also for section and taxonomy pages. Thanks to @Mai-Lapyst for the implementation. See the documentation for more information.

Bug fixes

Improvements

Dependency Updates

  • build(deps): bump github.com/evanw/esbuild from 0.18.5 to 0.18.10 9b313ce @dependabot[bot]
  • build(deps): bump github.com/niklasfasching/go-org from 1.6.6 to 1.7.0 92f55f1 @dependabot[bot]

Documentation

Build Setup

v0.114.1

23 Jun 11:16
@bep bep
Compare
Choose a tag to compare

Bug fixes

Improvements

Dependency Updates

Build Setup

v0.114.0

19 Jun 17:14
@bep bep
Compare
Choose a tag to compare

The main new thing in this release is that we now support both major versions of the Dart Sass Embedded protocol, which means that you now can use the regular Dart Sass binary. We measured the new protocol to be faster with high concurrency:

name                             old time/op    new time/op    delta
Transpiler/SCSS-10                  114µs ± 0%     145µs ± 1%  +26.40%  (p=0.029 n=4+4)
Transpiler/Start_and_Execute-10    25.6ms ± 2%    26.0ms ± 3%     ~     (p=0.486 n=4+4)
Transpiler/SCSS_Parallel-10        89.0µs ± 2%    44.4µs ± 3%  -50.12%  (p=0.029 n=4+4)

name                             old alloc/op   new alloc/op   delta
Transpiler/SCSS-10                 1.33kB ± 1%    1.33kB ± 0%     ~     (p=1.000 n=4+4)
Transpiler/Start_and_Execute-10    22.4kB ± 1%    22.4kB ± 1%     ~     (p=0.886 n=4+4)
Transpiler/SCSS_Parallel-10        1.34kB ± 3%    1.33kB ± 1%     ~     (p=1.000 n=4+4)

name                             old allocs/op  new allocs/op  delta
Transpiler/SCSS-10                   18.0 ± 0%      18.0 ± 0%     ~     (all equal)
Transpiler/Start_and_Execute-10       144 ± 1%       150 ± 0%   +4.16%  (p=0.029 n=4+4)
Transpiler/SCSS_Parallel-10          18.0 ± 0%      18.0 ± 0%     ~     (all equal)

We have also moved to a new log library and added some new math functions and also revised the existing set to work better with a mix of scalars and slices.

Notes

  • We have removed the flags --log, --verboseLog, added the new flag --logLevel and deprecated --verbose and --debug See #11088
  • This release contains a security fix in the upstream Go HTML template library disallowing JavaScript inside backticks by default. See golang/go#59234 If you really need this and are sure this isn't a security risk in your case, you can revert to the old behaviour:
[security]
[security.gotemplates]
allowActionJSTmpl = true

Bug fixes

Improvements

Dependency Updates

  • Revert "build(deps): bump gocloud.dev from 0.24.0 to 0.29.0" 59300fa @bep
  • Revert "deps: Update github.com/tdewolff/minify/v2 v2.12.5 => v2.12.6" 49dd53a @bep #11132
  • build(deps): bump github.com/evanw/esbuild from 0.18.3 to 0.18.4 8a04d47 @dependabot[bot]
  • build(deps): bump github.com/evanw/esbuild from 0.18.2 to 0.18.3 aaf2e96 @dependabot[bot]
  • build(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 0f989d5 @dependabot[bot]
  • build(deps): bump google.golang.org/api from 0.123.0 to 0.127.0 732dcb8 @dependabot[bot]
  • build(deps): bump golang.org/x/tools from 0.9.1 to 0.9.3 944859f @dependabot[bot]
  • build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.11 to 2.2.12 bb9377b @dependabot[bot]
  • build(deps): bump github.com/getkin/kin-openapi from 0.117.0 to 0.118.0 e88f1b8 @dependabot[bot]
  • build(deps): bump golang.org/x/net from 0.10.0 to 0.11.0 516f0cb @dependabot[bot]
  • build(deps): bump gocloud.dev from 0.24.0 to 0.29.0 7bed16c @dependabot[bot]
  • build(deps): bump golang.org/x/image from 0.7.0 to 0.8.0 e08cfc8 @dependabot[bot]
  • build(deps): bump github.com/magefile/mage from 1.14.0 to 1.15.0 4895195 @dependabot[bot]
  • build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.8 91c0b0f @dependabot[bot]
  • build(deps): bump github.com/evanw/esbuild from 0.17.19 to 0.18.2 baef235 @dependabot[bot]
  • build(deps): bump go.uber.org/atomic from 1.10.0 to 1.11.0 254c2b3 @dependabot[bot]
  • build(deps): bump github.com/hairyhenderson/go-codeowners 84f71ba @dependabot[bot]
  • build(deps): bump github.com/frankban/quicktest from 1.14.4 to 1.14.5 82adc97 @dependabot[bot]
  • build(deps): bump github.com/mattn/go-isatty from 0.0.17 to 0.0.19 60533fd @dependabot[bot]
  • build(deps): bump github.com/spf13/afero from 1.9.3 to 1.9.5 261143b @dependabot[bot]

Documentation

Build Setup