Skip to content

Releases: gohugoio/hugo

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

Documentation

Build Setup

v0.113.0

05 Jun 15:22
@bep bep
Compare
Choose a tag to compare

This release adds TLS/HTTPS support to hugo server (see cf38c73 and #11064 for details) entirely backed by mkcert. We still default to http which is recommended and good enough for 99% of the Hugo use, but there are some situations where you really need it.

We have added a new sub command and some new flags to hugo server to enable this:

# Installs a local CA in the system root store. You only need to do this once.
hugo server trust

#  Generates locally-trusted certificates (if not already created) and starts the server with TLS/HTTPS enabled.
hugo server --tlsAuto

Note that we just delegate to mkcert using its default settings, so all of their documentation is relevant.

Also note that this is currently only supported for Linux, MacOS and Windows. And if you install on Linux using Snap, you will currently get an access denied error when running hugo server trust. A workaround for that, or if you need to use some of mkcert's advanced options, is to use mkcert directly to install the local CA:

go install filippo.io/mkcert@latest
mkcert -install

You can then start the server with hugo server --tlsAuto.

If you have obtained the TLS certificate and key file by other means, you can use the --tlsCertFile and --tlsKeyFile flags. When --tlsAuto or --tlsCertFile and --tlsKeyFile is set and no --baseURL is provided as a flag, the server is started with TLS and https as the protocol.

v0.112.7

02 Jun 07:39
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.112.6

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

v0.112.5

29 May 07:42
@bep bep
Compare
Choose a tag to compare

What's Changed

v0.112.4

28 May 13:25
@bep bep
Compare
Choose a tag to compare

Documentation

v0.112.3

24 May 14:54
@bep bep
Compare
Choose a tag to compare

What's Changed

  • Fix regression when loading config -e is empty or HUGO_ENV or HUGO_ENVIRONMENT is set 231374a @bep #11013