Skip to content

Releases: gohugoio/hugo

v0.31

20 Nov 10:31
@bep bep
Compare
Choose a tag to compare

Hugo 0.31 is the Language Multihost Edition!

eSoliaThe Multihost feature is sponsored by eSolia, @rickcogley's company.

Multihost means that you can have a baseURL per language, for example, https://no.example.com and https://en.example.com. This is seamlessly integrated, and the built-in web server with live reload and navigateToChanged etc. just works. A related enhancement in this release is the support for as many static dirs as you need, with intelligent language overrides, forming a big union file system. Add to that several other language related fixes and enhancements, it is safe to say that this is the version you want for multilingual Hugo sites!

This release represents 44 contributions by 7 contributors to the main Hugo code base.
@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @kaushalmodi, @natefinch, and @betaveros for their ongoing contributions.
And as always a big thanks to @digitalcraftsman for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 13 contributions by 9 contributors. A special thanks to @oncletom, @kaushalmodi, @XhmikosR, and @digitalcraftsman for their work on the documentation site.

Hugo now has:

Notes

  • For mapping of translated content, Hugo now considers the full path of the content file, which makes it possible with translation of duplicate content filenames such as index.md. A specific translation key can be specified with the new translationKey front matter variable. See #2699.

Enhancements

Language related

Templates

Core

Other

Fixes

Templates

  • Make sure only one instance of a cached partial is rendered #4086

Other


Automated with GoReleaser
Built with go version go1.9.2 linux/amd64

v0.30.2

19 Oct 12:29
@bep bep
Compare
Choose a tag to compare

This release fixes Fast Render mode with sub-path in baseURL 31641033 @bep #3981.


Automated with GoReleaser
Built with go version go1.9.1 linux/amd64

v0.30.1

19 Oct 05:46
@bep bep
Compare
Choose a tag to compare

This is a bug-fix release with two important fixes.

Hugo now has:


Automated with GoReleaser
Built with go version go1.9.1 linux/amd64

v0.30

16 Oct 08:43
@bep bep
Compare
Choose a tag to compare

Hugo 0.30 is the Race Car Edition. Hugo is already very very fast, but much wants more. So we added Fast Render Mode. It is hard to explain, so start the Hugo development server with hugo server and start editing. Live reloads just got so much faster! The "how and what" is discussed at length in other places, but the short version is that we now re-render only the parts of the site that you are working on.

The second performance-related feature is a follow-up to the Template Metrics added in Hugo 0.29. Now, if you add the flag --templateMetricsHints, we will calculate a score for how your partials can be cached (with the partialCached template func).

This release also more or less makes the really fast Chroma highlighter a complete alternative to Pygments. Most noteable is the new table linenos support (7c30e2cb @bep #3915), which makes copy-and-paste code blocks much easier.

This release represents 31 contributions by 10 contributors to the main Hugo code base.
@bep leads the Hugo development with a significant amount of contribution, but also a big shoutout to @moorereason, @digitalcraftsman, and @bmon for their ongoing contributions.
And as always a big thanks to @digitalcraftsman for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 26 contributions by 15 contributors. A special thanks to @bep, @digitalcraftsman, @moorereason, and @kaushalmodi for their work on the documentation site.

Hugo now has:

Notes

  • Running hugo server will now run with the new "Fast Render Mode" default on. To turn it off, run hugo server --disableFastRender or set disableFastRender=true in your site config.
  • There have been several fixes and enhancements in the Chroma highlighter. One is that it now creates Pygments compatible CSS classes, which means that you may want to re-generate the stylesheet. See the Syntax Highlighting Doc.

Enhancements

Performance

Templates

Other

Fixes

v0.29

26 Sep 19:25
@bep bep
Compare
Choose a tag to compare

Hugo 0.29 brings Template Metrics by @moorereason. Hugo is very fast, but it is still possible to write ineffective templates. Now these should be easy to identify. Just run:

hugo --templateMetrics

Now, that was the tasty carrot. The real reason this release comes so fast after the last one is to change the default value for the new noHTTPCache flag, which gives away too much performance to make sense as a default value.

Hugo now has:

Notes

Enhancements

Templates

Other


Automated with GoReleaser
Built with go version go1.9 linux/amd64

v0.28

25 Sep 08:02
@bep bep
Compare
Choose a tag to compare

Hugo 0.28 brings blistering fast and native syntax highlighting from Chroma (fb33d828 @bep #3888). A big thank you to Alec Thomas for taking on this massive task of porting the popular python highlighter Pygments to Go.

See the Updated Documentation for more information about how this works.

Worth mentioning is also the liveReloadPort flag on hugo server, which makes it possible to do "live reloads" behind a HTTPS proxy, which makes for very cool remote customer demos.

One example would be a Hugo server running behind a ngrok tunnel:

ngrok http 1313

Then start the Hugo server with:

hugo server -b https://youridhere.ngrok.io --appendPort=false --liveReloadPort=443 --navigateToChanged

The navigateToChanged flag is slightly unrelated, but it is super cool ...

This release represents 15 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 9 contributions by 7 contributors. A special thanks to @bep, @i-give-up, @muhajirframe, and @icannotfly for their work on the documentation site.

Hugo now has:

Notes

  • Hugo now uses Chroma as new default syntax highlighter. This should in most cases work out-of-the box or with very little adjustments. But if you want to continue to use Pygments, set pygmentsUseClassic=true in your site config.
  • We now add a set of "no cache" headers to the responses for hugo server, which makes the most sense in most development scenarios. Run with hugo server --noHTTPCache=false to get the old behaviour.

Enhancements

Templates

Other


Automated with GoReleaser
Built with go version go1.9 linux/amd64

v0.27.1

13 Sep 11:15
@bep bep
Compare
Choose a tag to compare

This fixes a regression introduced in Go 1.9 which lead to HTML in shortcodes in multi output Hugo sites being wrongly escaped in some cases.


Automated with GoReleaser
Built with go version go1.9 linux/amd64

v0.27

11 Sep 05:42
@bep bep
Compare
Choose a tag to compare

Hugo 0.27comes with fast and flexible Related Content (3b4f17bb @bep #98). To add this to your site, put something like this in your single page template:

{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h3>See Also</h3>
<ul>
	{{ range . }}
	<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
	{{ end }}
</ul>
{{ end }}

The above translates to list the five regular pages mostly related to the current page. See the Related Content Documentation for details and configuration options.

This release represents 37 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 @moorereason, @yihui, and @oneleaftea for their ongoing contributions.

And as always a big thanks to @digitalcraftsman for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 44 contributions by 30 contributors. A special thanks to @bep, @sdomino, @gotgenes, and @digitalcraftsman for their work on the documentation site.

Hugo now has:

Notes

  • We now only strip p tag in markdownify if there is only one paragraph. This allows blocks of paragraphs to be "markdownified" 33ae10b6 @bep #3040

Enhancements

Templates

Output

  • Improve the base template (aka baseof.html) identification 0019ce00 @bep

Core

Other

Fixes

Output


Automated with GoReleaser
Built with go version go1.9 linux/amd64

v0.26

07 Aug 07:32
@bep bep
Compare
Choose a tag to compare

Hugo 0.26 is the Language Style Edition.

This release brings a choice of AP Style or Chicago Style Title Case (8fb594bf #989). You can also now configure Blackfriday to render « French Guillemets » (cb9dfc26 #3725). To enable French Guillemets, put this in your site config.toml:

[blackfriday]
angledQuotes = true
smartypantsQuotesNBSP = true

Oh, and this release also fixes it so you should see no ugly long crashes no more when you step wrong in your templates (794ea21e).

Hugo 0.26 represents 46 contributions by 11 contributors to the main Hugo code base.

@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @anthonyfok, @jorinvo, and @digitalcraftsman for their ongoing contributions. And as always a big thanks to @digitalcraftsman for his relentless work on keeping the documentation and the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 838 contributions by 30 contributors. A special thanks to @rdwatters, @bep, @digitalcraftsman, and @budparr for their work on the documentation site.

This may look like a Waiting Sausage, a barbecue term used in Norway for that sausage you eat while waiting for the steak to get ready. And it is: We're working on bigger and even more interesting changes behind the scenes. Stay tuned!

Hugo now has:

Notes

  • sourceRelativeLinks has been deprecated for a while and has now been removed. 9891c0fb @bep #3766
  • The title template function and taxonomy page titles now default to following the AP Stylebook for title casing. To override this default to use the old behavior, set titleCaseStyle to Go in your site configuration. 8fb594bf @bep #989

Enhancements

Templates

Core

Other

Fixes

Templates

Other


Automated with GoReleaser
Built with go version go1.8.3 darwin/amd64

v0.25.1

10 Jul 07:07
@bep bep
Compare
Choose a tag to compare

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

Hugo now has:

Fixes

  • Fix union when the first slice is empty dbbc5c48 @bep #3686
  • Navigate to changed on CREATE When working with content from IntelliJ IDE, like WebStorm, every file save is followed by two events: "RENAME" and then "CREATE". 7bcc1ce6 @miltador
  • Final (!) fix for issue with escaped JSON front matter 7f82b41a @bep #3682
  • Fix issue with escaped JSON front matter 84db6c74 @bep #3682

Automated with GoReleaser
Built with go version go1.8.3 darwin/amd64