All Versions
30
Latest Version
Avg Release Cycle
9 days
Latest Release
8 days ago

Changelog History
Page 1

  • v0.64.1

    February 09, 2020

    🚀 This is a bug-fix release with a couple of important fixes.

  • v0.64.0

    February 04, 2020

    Hugo 0.64.0 is mostly a bugfix-release, but well worth the download. The main reason this release comes so soon after the previous is my (me being @bep) ongoing work on getting solid support for third-party libraries in Hugo Modules. In particular, this release makes the Hugo server's live-reload work with Turbolinks and similar. Also worth mentioning is that hugo mod get -u (without any path) now correctly updates every module imported in config.toml even with Go 1.13.

    This release represents 16 contributions by 2 contributors to the main Hugo code base.
    📚 Many have also been busy writing and fixing the documentation in hugoDocs,
    which has received 6 contributions by 4 contributors. A special thanks to @bep, @peterkappus, @kc0bfv, and @inwardmovement for their work on the documentation site.

    Hugo now has:

    ✨ Enhancements

    Output

    Other

    🛠 Fixes

    Other

  • v0.63.2

    January 27, 2020

    🚀 This is a bug-fix release with a couple of important fixes.

  • v0.63.1

    January 23, 2020

    🚀 This is a bug-fix release with a couple of important fixes.

  • v0.63.0

    January 23, 2020

    Hugo 0.63 is, in general, considerably faster and more memory effective (see the site-building benchmarks below comparing it to v0.62). Not that we are particularly concerned about Hugo's build speed. We leave that to others. But we would hate if it got slower, so we have a comprehensive benchmark suite. And when we needed to simplify the template handling code to solve a concurrency issue, it also became more effective. And as a bonus, we also finally got the base template lookup order that you really, really wanted!

    name old time/op new time/op delta SiteNew/Bundle\_with\_image-16 13.2ms ± 2% 10.7ms ± 0% -19.13% (p=0.029 n=4+4) SiteNew/Bundle\_with\_JSON\_file-16 13.1ms ± 0% 10.8ms ± 0% -17.50% (p=0.029 n=4+4) SiteNew/Tags\_and\_categories-16 47.7ms ± 1% 43.7ms ± 2% -8.43% (p=0.029 n=4+4) SiteNew/Canonify\_URLs-16 52.3ms ± 6% 49.5ms ± 7% ~ (p=0.200 n=4+4) SiteNew/Deep\_content\_tree-16 77.7ms ± 0% 71.6ms ± 1% -7.84% (p=0.029 n=4+4) SiteNew/Many\_HTML\_templates-16 44.0ms ± 2% 37.5ms ± 1% -14.79% (p=0.029 n=4+4) SiteNew/Page\_collections-16 58.4ms ± 1% 52.5ms ± 1% -10.09% (p=0.029 n=4+4) name old alloc/op new alloc/op delta SiteNew/Bundle\_with\_image-16 3.81MB ± 0% 2.22MB ± 0% -41.57% (p=0.029 n=4+4) SiteNew/Bundle\_with\_JSON\_file-16 3.60MB ± 0% 2.01MB ± 0% -44.09% (p=0.029 n=4+4) SiteNew/Tags\_and\_categories-16 19.3MB ± 1% 14.2MB ± 0% -26.52% (p=0.029 n=4+4) SiteNew/Canonify\_URLs-16 70.7MB ± 0% 69.0MB ± 0% -2.30% (p=0.029 n=4+4) SiteNew/Deep\_content\_tree-16 37.0MB ± 0% 31.2MB ± 0% -15.78% (p=0.029 n=4+4) SiteNew/Many\_HTML\_templates-16 17.5MB ± 0% 10.6MB ± 0% -39.68% (p=0.029 n=4+4) SiteNew/Page\_collections-16 25.8MB ± 0% 21.2MB ± 0% -17.80% (p=0.029 n=4+4) name old allocs/op new allocs/op delta SiteNew/Bundle\_with\_image-16 52.3k ± 0% 26.1k ± 0% -50.08% (p=0.029 n=4+4) SiteNew/Bundle\_with\_JSON\_file-16 52.3k ± 0% 26.1k ± 0% -50.06% (p=0.029 n=4+4) SiteNew/Tags\_and\_categories-16 337k ± 1% 272k ± 0% -19.20% (p=0.029 n=4+4) SiteNew/Canonify\_URLs-16 422k ± 0% 395k ± 0% -6.33% (p=0.029 n=4+4) SiteNew/Deep\_content\_tree-16 400k ± 0% 314k ± 0% -21.41% (p=0.029 n=4+4) SiteNew/Many\_HTML\_templates-16 247k ± 0% 143k ± 0% -41.84% (p=0.029 n=4+4) SiteNew/Page\_collections-16 282k ± 0% 207k ± 0% -26.31% (p=0.029 n=4+4)
    

    This release represents 35 contributions by 9 contributors to the main Hugo code base. @bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @hcwong, @flother, and @RemcodM for their ongoing contributions.

    📚 And a big thanks to @digitalcraftsman and @onedrawingperday for their relentless work on keeping the themes site in pristine condition and to @davidsneighbour and @kaushalmodi for all the great work on the documentation site.

    📚 Many have also been busy writing and fixing the documentation in hugoDocs,
    which has received 13 contributions by 10 contributors. A special thanks to @bep, @jeffscottlevine, @davidsneighbour, and @nicfits for their work on the documentation site.

    Hugo now has:

    Notes

    • 👀 .Type on-page now returns an empty string if not set in the front matter or if .Section returns empty. See #6760.
    • 👀 Baseof template (e.g. baseof.html) lookup order is completely revised/expanded. See base template lookup order. We now do template resolution at execution time following the same rules as the template it applies to (e.g. _default/single.html). This is an obvious improvement and your site should work as before.
    • 👍 Shortcode params now supports params with raw string literals (strings surrounded with ``) that supports newlines.
      Note: In a base template (e.g. baseof.html), the first template block must be a define.

    ✨ Enhancements

    Templates

    Output

    • ➕ Add base template lookup variant to docs.json cafb1d53 @bep

    Core

    Other

    🛠 Fixes

    Templates

    Core

    Other

  • v0.62.2

    January 05, 2020

    🚀 The main driving force behind these patch releases in the new year has been getting a good story with portable links between GitHub and Hugo, using the new render hooks introduced in Hugo 0.62.0. And all was mostly well until a Hugo user asked about anchor links. Which is, when you look into it, a slightly sad Markdown story. They have been talking about anchors in Markdown over at the CommonMark forum for the last six years, but it has come to nothing. The current situation is that some Markdown engines support the {#anchorName} attribute syntax (Hugo's Goldmark does, GitHub does not) and for those that support auto-generation of IDs, the implementation often varies. And this makes for poor portability.

    🔧 To improve this, Hugo has now reverse-engineered GitHub's implementation and made that the default strategy for generation or header IDs. We understand that this isn't everyone's cup of tea, so you can configure the behaviour to be one of github, github-ascii (some client-libraries have Unicode issues) or blackfriday (which will match how it behaved before Hugo 0.60).

  • v0.62.1

    January 01, 2020

    🚀 This release is mainly motivated by getting this demo site up and running. It demonstrates truly portable Markdown links and images, whether browsed on GitHub or deployed as a Hugo site.

  • v0.62.0

    December 23, 2019

    From all of us to all of you, a very Merry Christmas -- and Hugo 0.62.0! This version brings Markdown Render Hooks. This gives you full control over how links and images in Markdown are rendered without using any shortcodes. With this, you can get Markdown links that work on both GitHub and Hugo, resize images etc. It is a very long sought after feature, that has been hard to tackle until we got Goldmark, the new Markdown engine, by @yuin. When you read up on this new feature in the documentation, also note the new .RenderString method on Page.

    Adding these render hooks also had the nice side effect of making Hugo faster and more memory effective. We could have just added this feature on top of what we got, getting it to work. But you like Hugo's fast builds, you love instant browser-refreshes on change. So we had to take a step back and redesign how we detect "what changed?" for templates referenced from content files, either directly or indirectly. And by doing that we greatly simplified how we handle all the templates. Which accidentally makes this version the fastest to date. It's not an "every site will be much faster" statement. This depends. Sites with many languages and/or many templates will benefit more from this. We have benchmarks with site-building showing about 15% improvement in build speed and memory efficiency.

    This release represents 25 contributions by 5 contributors to the main Hugo code base. @bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @gavinhoward, @niklasfasching, and @zaitseff for their ongoing contributions. And a big thanks to @digitalcraftsman and @onedrawingperday for their relentless work on keeping the themes site in pristine condition and to @kaushalmodi for his great work on the documentation site.

    Many have also been busy writing and fixing the documentation in hugoDocs, which has received 8 contributions by 5 contributors. A special thanks to @bep, @DirtyF, @pfhawkins, and @bubelov for their work on the documentation site.

    Also a big shoutout and thanks to the very active and helpful moderators on the Hugo Discourse, making it a first class forum for Hugo questions and discussions.

    Hugo now has:

    Notes

    • 👀 Ace and Amber support is now removed from Hugo. See #6609 for more information.
    • 👍 The markdownify template function does not, yet, support render hooks. We recommend you look at the new and more powerful .RenderString method on Page.
    • 🚀 If you have output format specific behaviour in a template used from a content file, you must create a output format specific template, e.g. myshortcode.amp.html. This also applies to the new rendering hooks introduced in this release. This has been the intended behaviour all the time, but a failing test (now fixed) shows that the implementation of this has not been as strict as specified, hence this note.
    • 🖨 The errorf does not return any value anymore. This means that the ERROR will just be printed to the console. We have also added a warnf template func.

    ✨ Enhancements

    Templates

    Core

    • 👌 Improve error and reload handling of hook templates in server mode 8a58ebb3 @bep #6635

    Other

    🛠 Fixes

    Templates

    Core

    Other

  • v0.61.0

    December 11, 2019

    🚀 This is the 40K GitHub Stars Edition. It's mostly a bug fix release, and an important note is the deprecation of Amber and Ace as template engines. See #6609 for more information.

    This release represents 10 contributions by 3 contributors to the main Hugo code base.

    📚 Many have also been busy writing and fixing the documentation in hugoDocs,
    which has received 5 contributions by 4 contributors. A special thanks to @YuriyOborozhnyi, @bep, @Flogex, and @atishay for their work on the documentation site.

    Hugo now has:

    Notes

    ✨ Enhancements

    Templates

    Other

    🛠 Fixes

    Core

    Other

  • v0.60.1

    November 29, 2019

    🚀 This is a bug-fix release with a couple of important fixes.