Hugo

Latest version: v0.127.0

Safety actively analyzes 640549 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 16 of 47

0.94.2

This is a bug-fix release that fixes a bug introduced in the bug fix release yesterday (some HTML comments in Markdown that made the parser panic):

* deps: Update github.com/yuin/goldmark v1.4.9 => v1.4.10 b37183e4 bep 9658

0.94.1

There are 2 fixes in this release. The first is a fix for a regression in Goldmark related to HTML comments in Markdown (see 9650). The other is that we have reverted the `--renderToStatic` feature and flag, as it didn't work on Windows. We didn't find any easy fix so that feature gets pushed to the next release, and then with proper cross-platform tests.

* docs: Regenerate CLI docs 3bc742be bep
* deps: Fix Goldmark regression with HTML comments 1a796d72 bep 9650
* Revert "Allow rendering static files to disk and dynamic to memory in server mode" 64b7b7a8 bep 9647
* Revert "Some minor adjustments to the new static filesystem logic" 5ef8a9f3 bep
* releaser: Prepare repository for 0.95.0-DEV 3bc34666 bep

0.94.0

**Up to 20% reduction in build time and memory usage.** That is the sales pitch for this release. In reality it depends (e.g. on how big and complex your site is), but we have [benchmarks](https://github.com/gohugoio/hugo/commit/4576c82ed462bc9c3934f76181101df1c5a4157e) and real site tests that show impressive improvements. It was quasilyte (see #9386) who tipped us about this potential. He had tested it with the [digitalgov.gov](https://github.com/GSA/digitalgov.gov) website with about 20% speedup.

**Post Release Update:** Hugo users are [reporting tremendous speed boosts](https://discourse.gohugo.io/t/hugo-0-94-0-released/37584/8?u=bep) of more than 50%.

Continuing on the performance theme, satotake has implemented a new **hybrid static filesystem** for Hugo's development server, which is great for sites with lots of static content, as it greatly reduces memory consumption while still keeping the fast render times by writing dynamic content to memory (the definition of static content in Hugo is all files mounted in `/static` and all files in `/content` that's not content files or a member of a content bundle). With this update, there are now 3 filesystem options when starting the server:

1. `hugo server` (default), renders to and serves all files from memory.
2. `hugo server --renderToDisk`, renders to and serves all files from disk.
3. `hugo server --renderStaticToDisk` (the new hybrid mode), renders to and serves static files from disk, dynamic files from memory.

A final note goes to the new `linkifyProtocol` option in the [Goldmark Configuration](https://gohugo.io/getting-started/configuration-markup#goldmark) (see 9639). The `linkify` extension is enabled by default. It turns `www.example.org` and similar into clickable links. But before this release, the default protocol used was `http`. This is in line with the CommonMark spec, but that doesn't make much sense in 2022, so now you get `https` as the default.

This release represents **38 contributions by 4 contributors** to the main Hugo code base.[bep](https://github.com/bep) leads the Hugo development with a significant amount of contributions, but also a big shoutout to [dependabot[bot]](https://github.com/apps/dependabot), [jmooring](https://github.com/jmooring), and [satotake](https://github.com/satotake) for their ongoing contributions.
And thanks to [digitalcraftsman](https://github.com/digitalcraftsman) for his ongoing work on keeping the themes site in pristine condition.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **3 contributions by 2 contributors**.

Hugo now has:

* 57544+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 429+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 397+ [themes](http://themes.gohugo.io/)


Notes

* minifiers: Make keepWhitespace = false default for HTML (note) c97fed08 jmooring 9456
* We now fail with error when double-rendering text in markdownify/RenderString 4e14cf76 bep 9570 8959
* markup/goldmark: Default to https for linkify 5697348e bep 9639

Changes

* docs: Regenerate docshelper a4ac188c bep
* Fail with error when double-rendering text in markdownify/RenderString 4e14cf76 bep 9570 8959
* markup/goldmark: Default to https for linkify 5697348e bep 9639
* Add lang attribute to internal alias template f98e570b jmooring 9586
* minifiers: Make keepWhitespace = false default for HTML (note) c97fed08 jmooring 9456
* markup/goldmark/codeblocks: Fix slice bounds out of range 53a6210d bep 9627
* Cache reflect.MethodByName 4576c82e bep
* releaser: Remove the GitHub link syntax around release contributors ff02d417 bep 9581
* Some minor adjustments to the new static filesystem logic 63bb2a5b bep 9625
* Allow rendering static files to disk and dynamic to memory in server mode 7d8011ed satotake 9625
* build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.9 b9a1be2f dependabot[bot]
* build(deps): bump github.com/evanw/esbuild from 0.14.23 to 0.14.25 09782450 dependabot[bot]
* build(deps): bump github.com/niklasfasching/go-org from 1.6.0 to 1.6.2 ff37df83 dependabot[bot]
* build(deps): bump github.com/getkin/kin-openapi from 0.90.0 to 0.91.0 5857d552 dependabot[bot]
* Remove the decorator from the fs used in ReadDir 0e0d672b bep 9609
* Update stale.yml 19f816f7 bep
* build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8 970f385c dependabot[bot]
* Remove the examples/ folder 76c1248f bep
* markup/goldmark: Escape image alt attribute e46e9ceb jmooring 9594
* tpl/transform: Fix it when template.HTML is passes as option to Highlight 0327da05 bep 9591

0.93.3

The man motivation behind this release is 9609 -- a reported site breakage from a regression in `ReadDir` which with this release is back to how it worked in 0.92.0.

* Remove the decorator from the fs used in ReadDir 0e0d672b [bep](https://github.com/bep) #9609
* build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8 970f385c [dependabot[bot]](https://github.com/apps/dependabot)

0.93.2

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

* tpl/os: Revert readDir in theme behaviour 673cde1e bep 9599
* markup/goldmark: Escape image alt attribute e46e9ceb jmooring 9594

0.93.1

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

* tpl/transform: Fix it when template.HTML is passes as option to Hightlight 0327da05 [bep](https://github.com/bep) #9591
* tpl/partials: Fix partialCached deadlock regression 9b8b6d34 [bep](https://github.com/bep) #9588
* tpl/collections: Fix apply when function have Context as first arg 376704d3 [bep](https://github.com/bep) #9585

Page 16 of 47

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.