# Hugo 0.94.0 Released

**URL:** <https://discourse.gohugo.io/t/hugo-0-94-0-released/37584>\
**Category:** Announcements\
**Created:** [March 10, 2022, 1:35pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584 "2022-03-10T13:35:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [March 10, 2022, 1:35pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/1 "2022-03-10T13:35:15Z")

</div>

> **[Release v0.94.0 · gohugoio/hugo](https://github.com/gohugoio/hugo/releases/tag/v0.94.0)**
>
> Up to 20% reduction in build time and memory usage. That is the sales pitch for this release. In reality it depends a little (e.g. on how big and complex your site is), but we have benchmarks and r...

This is a good one, spread the news.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [March 10, 2022, 1:35pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/2 "2022-03-10T13:35:23Z")

</div>

Pinned globally on March 10, 2022, 1:35pm UTC



---

<div class="post-metadata">

**Author:** ![pitifi9191](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@pitifi9191](https://discourse.gohugo.io/u/pitifi9191)\
**Post date:** [March 10, 2022, 2:00pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/3 "2022-03-10T14:00:19Z")

</div>

20% faster can’t wait for the brew release 🤩 to test a news site which previously did around 6 minutes.

special thanks 🙏 to @jmooring for changing the default behaviour of empty space.

---

<div class="post-metadata">

**Author:** ![martignoni](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/martignoni/32/5756_2.png) [@martignoni](https://discourse.gohugo.io/u/martignoni)\
**Post date:** [March 10, 2022, 2:05pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/4 "2022-03-10T14:05:17Z")

</div>

**Hugo 0.94.0 packages**

[Brew](https://github.com/Homebrew/homebrew-core/blob/master/Formula/hugo.rb) - Hugo Brew package for macOS and Linux - **updated** ✅  
[Snap Package](https://snapcraft.io/hugo/) - Hugo Snap (Snapcraft) package for Linux

- traditional release - **updated** ✅
- extended release - **updated** ✅

[Docker/CI Image](https://hub.docker.com/r/cibuilds/hugo/tags) - Hugo Docker image for Continuous Integration - **updated** ✅  
[Docker Image - klakegg/hugo](https://hub.docker.com/r/klakegg/hugo/tags)- Other Hugo Docker image - **not yet updated** ❌  
[Debian (sid)](https://packages.debian.org/hugo) - **not yet updated** ❌ ([Track link](https://tracker.debian.org/pkg/hugo))  
[Ubuntu (hirsute)](https://packages.ubuntu.com/hugo) - **not yet updated** ❌ ([Track link](https://launchpad.net/ubuntu/+source/hugo/+publishinghistory))  
[Fedora Copr](https://copr.fedorainfracloud.org/coprs/daftaupe/hugo/packages/) - Hugo RPM package for Fedora and CentOS - **not yet updated** ❌  
Chocolatey Package - Hugo Chocolatey package for Windows

- [traditional release](https://chocolatey.org/packages/hugo) - **updated** ✅
- [extended release](https://chocolatey.org/packages/hugo-extended) - **updated** ✅

---

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [March 10, 2022, 2:51pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/5 "2022-03-10T14:51:27Z")

</div>

Looking for your feedback. Also waiting for brew to start testing other sites.

---

<div class="post-metadata">

**Author:** ![pitifi9191](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@pitifi9191](https://discourse.gohugo.io/u/pitifi9191)\
**Post date:** [March 10, 2022, 3:37pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/6 "2022-03-10T15:37:48Z")

</div>

wow so here are the results I see

```auto
Start building sites … 
hugo v0.93.3+extended darwin/amd64 BuildDate=unknown

                   | EN  
-------------------+-----
  Pages | 13  
  Paginator pages | 0  
  Non-page files | 1  
  Static files | 38  
  Processed images | 0  
  Aliases | 0  
  Sitemaps | 1  
  Cleaned | 0  

Built in 7902 ms

```

```auto
Start building sites … 
hugo v0.94.0+extended darwin/amd64 BuildDate=unknown

                   | EN  
-------------------+-----
  Pages | 13  
  Paginator pages | 0  
  Non-page files | 1  
  Static files | 38  
  Processed images | 0  
  Aliases | 0  
  Sitemaps | 1  
  Cleaned | 0  

Built in 6818 ms

```

An image heavy Hugo site:

```auto
Start building sites … 
hugo v0.92.2+extended darwin/amd64 BuildDate=unknown

                   | EN | EL  
-------------------+------+-----
  Pages | 17 | 16  
  Paginator pages | 0 | 0  
  Non-page files | 4 | 1  
  Static files | 46 | 46  
  Processed images | 1151 | 24  
  Aliases | 1 | 0  
  Sitemaps | 2 | 1  
  Cleaned | 0 | 0  

Built in 9761 ms

```

```auto
Start building sites … 
hugo v0.94.0+extended darwin/amd64 BuildDate=unknown

                   | EN | EL  
-------------------+------+-----
  Pages | 17 | 16  
  Paginator pages | 0 | 0  
  Non-page files | 4 | 1  
  Static files | 46 | 46  
  Processed images | 1149 | 24  
  Aliases | 1 | 0  
  Sitemaps | 2 | 1  
  Cleaned | 0 | 0  

Built in 6991 ms

```

I can verify the speed increase almost upto 30% on some sites when running the simple Hugo server. amazing work 👏

---

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [March 10, 2022, 4:07pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/7 "2022-03-10T16:07:28Z")

</div>

hugo

There is visible improvement on local deployment on my end as well but whats more reliable is to get this tested in production.

Here is mine on netlify for

> **[Dariusz Więckiewicz](https://dariusz.wieckiewicz.org)**
>
> Wolny świat, wolne myśly, wolne słowa...

> **[Dariusz Więckiewicz (EN)](https://dariusz.wieckiewicz.org/en/)**
>
> Free world, free thoughts, free words...

```auto
7:25:40 PM: hugo v0.93.2-643B5AE9+extended linux/amd64 BuildDate=2022-03-04T12:21:49Z VendorInfo=gohugoio
7:25:57 PM: | PL | EN
7:25:57 PM: -------------------+------+------
7:25:57 PM: Pages | 3192 | 365
7:25:57 PM: Paginator pages | 237 | 19
7:25:57 PM: Non-page files | 2523 | 0
7:25:57 PM: Static files | 12 | 12
7:25:57 PM: Processed images | 0 | 0
7:25:57 PM: Aliases | 1515 | 168
7:25:57 PM: Sitemaps | 2 | 1
7:25:57 PM: Cleaned | 0 | 0
7:25:57 PM: Total in 17047 ms

```

```auto
4:04:45 PM: hugo v0.94.0-63B23660+extended linux/amd64 BuildDate=2022-03-10T09:46:36Z VendorInfo=gohugoio
4:04:49 PM: | PL | EN
4:04:49 PM: -------------------+------+------
4:04:49 PM: Pages | 3192 | 365
4:04:49 PM: Paginator pages | 237 | 19
4:04:49 PM: Non-page files | 2523 | 0
4:04:49 PM: Static files | 12 | 12
4:04:49 PM: Processed images | 0 | 0
4:04:49 PM: Aliases | 1515 | 168
4:04:49 PM: Sitemaps | 2 | 1
4:04:49 PM: Cleaned | 0 | 0
4:04:49 PM: Total in 3984 ms

```

So yeah, you can see the difference.

> **[Andrews Fasteners Limited](https://www.andrewsfasteners.uk)**
>
> UKCA & CE Marked Bolts, Nuts, Washers, Fasteners and Fixings

```auto
11:14:08 AM: $ hugo --gc --minify
11:14:08 AM: Start building sites …
11:14:08 AM: hugo v0.93.2-643B5AE9+extended linux/amd64 BuildDate=2022-03-04T12:21:49Z VendorInfo=gohugoio
11:14:18 AM: | EN
11:14:18 AM: -------------------+-------
11:14:18 AM: Pages | 1926
11:14:18 AM: Paginator pages | 149
11:14:18 AM: Non-page files | 1191
11:14:18 AM: Static files | 11
11:14:18 AM: Processed images | 0
11:14:18 AM: Aliases | 971
11:14:18 AM: Sitemaps | 1
11:14:18 AM: Cleaned | 0
11:14:18 AM: Total in 10156 ms

```

```auto
3:59:44 PM: hugo v0.94.0-63B23660+extended linux/amd64 BuildDate=2022-03-10T09:46:36Z VendorInfo=gohugoio
3:59:46 PM: | EN
3:59:46 PM: -------------------+-------
3:59:46 PM: Pages | 1926
3:59:46 PM: Paginator pages | 149
3:59:46 PM: Non-page files | 1191
3:59:46 PM: Static files | 11
3:59:46 PM: Processed images | 0
3:59:46 PM: Aliases | 971
3:59:46 PM: Sitemaps | 1
3:59:46 PM: Cleaned | 0
3:59:46 PM: Total in 2307 ms

```

> **[Witaj na stronie L.A.R. PARAPLAN](https://www.paraplan.com.pl)**
>
> Loty balonem, widokowe, reklamowe, ekspozycje, na uwięzi, nocne pokazy, eventy, happeningi, sprzedaż balonów, mini balony.

```auto
8:33:30 PM: $ hugo --gc --minify
8:33:30 PM: Start building sites …
8:33:30 PM: hugo v0.93.2-643B5AE9+extended linux/amd64 BuildDate=2022-03-04T12:21:49Z VendorInfo=gohugoio
8:33:37 PM: | PL
8:33:37 PM: -------------------+-------
8:33:37 PM: Pages | 1975
8:33:37 PM: Paginator pages | 234
8:33:37 PM: Non-page files | 1099
8:33:37 PM: Static files | 84
8:33:37 PM: Processed images | 0
8:33:37 PM: Aliases | 818
8:33:37 PM: Sitemaps | 1
8:33:37 PM: Cleaned | 0
8:33:37 PM: Total in 6895 ms

```

```auto
4:02:50 PM: hugo v0.94.0-63B23660+extended linux/amd64 BuildDate=2022-03-10T09:46:36Z VendorInfo=gohugoio
4:02:53 PM: | PL
4:02:53 PM: -------------------+-------
4:02:53 PM: Pages | 1975
4:02:53 PM: Paginator pages | 234
4:02:53 PM: Non-page files | 1099
4:02:53 PM: Static files | 84
4:02:53 PM: Processed images | 0
4:02:53 PM: Aliases | 818
4:02:53 PM: Sitemaps | 1
4:02:53 PM: Cleaned | 0
4:02:53 PM: Total in 2599 ms

```

BTW  
really pleased that `linkifyProtocol` is set to https by default and language in template for alias redirects.

---

<div class="post-metadata">

**Author:** ![pitifi9191](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@pitifi9191](https://discourse.gohugo.io/u/pitifi9191)\
**Post date:** [March 10, 2022, 6:37pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/8 "2022-03-10T18:37:31Z")

</div>

what this is an average of 70% difference almost twice the speed!

---

<div class="post-metadata">

**Author:** ![jgreely](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jgreely/32/6796_2.png) [@jgreely](https://discourse.gohugo.io/u/jgreely)\
**Post date:** [March 10, 2022, 7:42pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/9 "2022-03-10T19:42:30Z")

</div>

Build time dropped from 18.6 seconds to 13.7 🎊, but the diff output compared to 0.93.3 was massive due to the pretty-printing of every meta-refresh page (I have ~3,000 aliases referencing the old MovableType structure of my blog, plus the usual pagination aliases):

```auto
hugo v0.94.0-63B23660 darwin/amd64 BuildDate=2022-03-10T09:46:36Z VendorInfo=gohugoio

                   | EN   
-------------------+-------
  Pages | 5842  
  Paginator pages | 1190  
  Non-page files | 92  
  Static files | 100  
  Processed images | 0  
  Aliases | 2849  
  Sitemaps | 0  
  Cleaned | 0  

Total in 13682 ms

```

The site is functionally identical, but page aliases are now 10 lines of neatly-indented HTML instead of a one-liner with no newline at the end.

-j

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [March 10, 2022, 7:44pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/10 "2022-03-10T19:44:26Z")

</div>

> [@jgreely](#):
>
> The site is functionally identical, but page aliases are now 10 lines of neatly-indented HTML instead of a one-liner with no newline at the end.

Yea, well – I thought a little before merging that PR, but it’s certainly much easier to maintain a neatly-indented template and the minifier has starting to behave lately.

---

<div class="post-metadata">

**Author:** ![tracykev](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@tracykev](https://discourse.gohugo.io/u/tracykev)\
**Post date:** [March 10, 2022, 7:48pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/11 "2022-03-10T19:48:01Z")

</div>

Pretty spiffy!

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/3X/4/5/451ab65d9ade449fe249c21f799faa842f31c441.png)

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [March 10, 2022, 7:58pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/12 "2022-03-10T19:58:11Z")

</div>

> [@jgreely](#):
>
> but the diff output compared to 0.93.3 was massive due to the pretty-printing of every meta-refresh page (I have ~3,000 aliases referencing the old MovableType structure of my blog, plus the usual pagination aliases):
> 
> ```auto
> 
> ```

You can dig up the old template here and copy it into you layouts folder:

> <https://github.com/gohugoio/hugo/blob/a03c631c420a03f9d90699abdf9be7e4fca0ff61/tpl/tplimpl/embedded/templates/alias.html>

---

<div class="post-metadata">

**Author:** ![jgreely](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jgreely/32/6796_2.png) [@jgreely](https://discourse.gohugo.io/u/jgreely)\
**Post date:** [March 10, 2022, 8:21pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/13 "2022-03-10T20:21:32Z")

</div>

> [@bep](#):
>
> You can dig up the old template here and copy it into you layouts folder:
> 
> [{{ .Permalink }}](https://github.com/gohugoio/hugo/blob/a03c631c420a03f9d90699abdf9be7e4fca0ff61/tpl/tplimpl/embedded/templates/alias.html)

Thanks. I’m good with the change, I just called it out because the extra 40,000 lines of diff output made it more difficult to confirm that my site was still building correctly.

-j

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [March 10, 2022, 10:50pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/14 "2022-03-10T22:50:48Z")

</div>

There was an unfortunate upstream regression brought to our attention by @bugsysailor.

If you have this in your site configuration:

```auto
[markup.goldmark.renderer]
unsafe = true

```

And your markdown contains an inline HTML comment such as:

```auto
Thank goodness <!-- no one will ever see this -->.

```

The comment will be visible on the rendered page:

![image](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/3X/a/4/a40229648c6bea6b17178397c5754301656d609d.png)

This was introduced in v0.93.3, and the upstream maintainer of the markdown renderer is now aware of the regression.

---

<div class="post-metadata">

**Author:** ![frankspin89](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/frankspin89/32/3385_2.png) [@frankspin89](https://discourse.gohugo.io/u/frankspin89)\
**Post date:** [March 11, 2022, 8:43am UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/15 "2022-03-11T08:43:14Z")

</div>

Very impressed by the speed upgrades!

```auto
                   | EN
-------------------+------
  Pages | 684
  Paginator pages | 0
  Non-page files | 196
  Static files | 112
  Processed images | 700
  Aliases | 0
  Sitemaps | 0
  Cleaned | 0

Total in 4793 ms

                   | EN   
-------------------+------
  Pages | 684
  Paginator pages | 0
  Non-page files | 196
  Static files | 112
  Processed images | 700
  Aliases | 0
  Sitemaps | 0
  Cleaned | 0

Total in 1308 ms

                   | EN | BE | NL | ES | DE
-------------------+------+------+------+------+-------
  Pages | 268 | 251 | 458 | 222 | 220
  Paginator pages | 4 | 2 | 14 | 2 | 2
  Non-page files | 1055 | 1056 | 1307 | 982 | 1018
  Static files | 70 | 70 | 70 | 70 | 70
  Processed images | 2049 | 1897 | 3355 | 1377 | 1627
  Aliases | 17 | 15 | 21 | 11 | 4
  Sitemaps | 2 | 1 | 1 | 1 | 1
  Cleaned | 0 | 0 | 0 | 0 | 0

Total in 13491 ms

                   | EN | BE | NL | ES | DE
-------------------+------+------+------+------+-------
  Pages | 268 | 251 | 458 | 222 | 220
  Paginator pages | 4 | 2 | 14 | 2 | 2
  Non-page files | 1055 | 1056 | 1307 | 982 | 1018
  Static files | 70 | 70 | 70 | 70 | 70
  Processed images | 1899 | 1867 | 3262 | 1342 | 1628
  Aliases | 17 | 15 | 21 | 11 | 4
  Sitemaps | 2 | 1 | 1 | 1 | 1
  Cleaned | 0 | 0 | 0 | 0 | 0

Total in 7172 ms

```

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [March 11, 2022, 9:27am UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/16 "2022-03-11T09:27:38Z")

</div>

@frankspin89 can I ask you what hardware you ran your tests? I ask because I does not notice that big of an improvement on my MacBook, and I suspect that the nature of the “performance patch” I applied in 0.94.0 does not have that big of an effect on beefier hardware (I have one of the newer MacBook M1 Pro’s with 32 GB of memory).

---

<div class="post-metadata">

**Author:** ![frankspin89](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/frankspin89/32/3385_2.png) [@frankspin89](https://discourse.gohugo.io/u/frankspin89)\
**Post date:** [March 11, 2022, 10:19am UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/17 "2022-03-11T10:19:30Z")

</div>

@bep

- Windows 11 Pro
- AMD Ryzen 5 5600X 6-Core Processor, 3701 Mhz, 6 Core(s), 12 Logical Processor(s)
- ROG STRIX B550-F GAMING (WI-FI)
- Nvidia Gefore rtx 3070
- 64 GB memory

---

<div class="post-metadata">

**Author:** ![bwintx](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bwintx/32/10450_2.png) [@bwintx](https://discourse.gohugo.io/u/bwintx)\
**Post date:** [March 11, 2022, 11:48am UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/18 "2022-03-11T11:48:43Z")

</div>

Looks as if @yuin pushed a fix for this in the goldmark repo. 0.94.1 incoming? 😀

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [March 11, 2022, 1:50pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/19 "2022-03-11T13:50:30Z")

</div>

@frankspin89 that’s some impressive hardware!

@bwintx I think the Hugo Release Team has taken an early weekend.

---

<div class="post-metadata">

**Author:** ![bwintx](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bwintx/32/10450_2.png) [@bwintx](https://discourse.gohugo.io/u/bwintx)\
**Post date:** [March 11, 2022, 1:51pm UTC](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/20 "2022-03-11T13:51:50Z")

</div>

And well-deserved (the early weekend, I mean).

[Next page](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584.md?page=2)
