Hugo 0.37 Released

Spread the word.

6 Likes

From what I gathered from the discussion at Github, does this mean that we’re getting lexicographic order in YAML front matter map keys?

If yes that’s really amazing. And I’m going to migrate to 0.37 ASAP.

The random sorting of front matter keys was a particularly annoying quirk for me.

Hugo 0.37 removes the zeros from the numbers.

008:
  rec: 'nla-bla'

Does converting to a string mean removing zeros?

Yes.

As to other general questions/troubleshooting. Take it in another thread. This not the “Hugo 0.37 Support thread”.

1 Like

The Snap & 3rd-Party Releases


Snap Package - the Hugo Snap (Snapcraft) package for Linux distributions - updated
Docker/CI Image - a Hugo Docker image for Continuous Integration- updated
Fedora Copr - Hugo RPM packages for Fedora and CentOS - updated
Brew Package - Hugo package for the macOS package manager - updated

Thanks for the Release!
Does anyone one know if Netlify makes these updates available quickly? Is there a way to know, other than just trying a build with the new version and see if it fails?

This page:

Was built with … Hugo 0.37 on Netlify. So the answer is: Super fast.

2 Likes

My best guess is that you can build on Netlify using any version that’s in the Hugo release assets. Netlify probably just uses the HUGO_VERSION environment variable to construct the full GitHub Hugo releases path, and then wgets or curls it.

1 Like

Netlify should be able to use a new Hugo version moments after it’s available as a “Release” on GitHub.

Their build system uses netlify/binrc which pulls directly from GitHub Releases.

1 Like

COPR is updated ! :slight_smile:

1 Like

Just migrated to Hugo 0.37. A big thanks to @vassudanagunta for the alphabetic sorting order of YAML front matter keys. :+1:

2 Likes

YAML stuff was actually a combined effort by @dmgawel, @bep and me :slight_smile:

3 Likes

I deleted resources in a project I just took live, and the PNGs are definitely crisper. Nice job. :slight_smile:

2 Likes