Hugo

Latest version: v0.127.0

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

Scan your dependencies

Page 25 of 47

0.74.1

This is a bug-fix release with one important fix.

* Fix baseof block regression [c91dbe4c](https://github.com/gohugoio/hugo/commit/c91dbe4ce9c30623ba6e686fd17efae935aa0cc5) [bep](https://github.com/bep) [#7478](https://github.com/gohugoio/hugo/issues/7478)

0.74.0

**Note:** The documentation site isn't updated with all of the main new things below. We will get to it soon.

This release comes with native JavaScript bundling (and minifier), with [import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) support (from `node_modules` etc.), tree shaking, scope hoisting for ES6 modules, transpilation of JSX and newer JS syntax down to ES6, JavaScript/JSX and TypeScript/TSX support. And it's _very fast_. [Benchmarks](https://github.com/evanw/esbuild#benchmarks) rates it **at least 100x faster** than the other JavaScript bundlers included. This new feature is backed by the very impressive [ESBuild](https://github.com/evanw/esbuild) project by [evanw](https://github.com/evanw). Many thanks to [remko](https://github.com/remko) for the integration work.

A very simple example building a TypeScript file:

go-html-template
{{ $js := resources.Get "js/main.ts" | js.Build }}

This release also comes with Open API 3-support. This makes it much easier to create "Swagger styled" API-documentation. The below will unmarshal your YAML file into [this object graph](https://godoc.org/github.com/getkin/kin-openapi/openapi3#Swagger):

go-html-template
{{ $api := resources.Get "api/openapi.yaml" | openapi3.Unmarshal }}


Hugo's Asciidoc integration has also gotten a face lift. A big shoutout to [muenchhausen](https://github.com/muenchhausen) and [bwklein](https://github.com/bwklein) for their work on this.

And finally, [partials](https://gohugo.io/templates/partials/) can now be defined inline -- and that is way more useful than it sounds.


This release represents **23 contributions by 9 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 [niklasfasching](https://github.com/niklasfasching), [bwklein](https://github.com/bwklein), and [muenchhausen](https://github.com/muenchhausen) for their ongoing contributions.

And a big thanks to [digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the themes site in pristine condition and to [davidsneighbour](https://github.com/davidsneighbour), [coliff](https://github.com/coliff) and [kaushalmodi](https://github.com/kaushalmodi) for all the great work on the documentation site.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **8 contributions by 7 contributors**. A special thanks to [OmarEmaraDev](https://github.com/OmarEmaraDev), [regisphilibert](https://github.com/regisphilibert), [coliff](https://github.com/coliff), and [jessicahuynh](https://github.com/jessicahuynh) for their work on the documentation site.


Hugo now has:

* 45377+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 438+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 331+ [themes](http://themes.gohugo.io/)

Enhancements

Templates

* Add strings.Count [028b3567](https://github.com/gohugoio/hugo/commit/028b356787426dbc190ce9868fbc9a6400c2996e) [bep](https://github.com/bep) [#7453](https://github.com/gohugoio/hugo/issues/7453)
* Add debug.Dump [defd7106](https://github.com/gohugoio/hugo/commit/defd7106bf79a502418ec373bdb82742b16f777f) [bep](https://github.com/bep) [#3957](https://github.com/gohugoio/hugo/issues/3957)

Output

* Add proper Media Type handling in js.Build [9df98ec4](https://github.com/gohugoio/hugo/commit/9df98ec49ca9fa326125ccfee626b6e46c6ab14b) [bep](https://github.com/bep) [#732](https://github.com/gohugoio/hugo/issues/732)

Core

* Add missing zero check on file [ccfaeb67](https://github.com/gohugoio/hugo/commit/ccfaeb678b312535928af3451324a54f2c7cb199) [bep](https://github.com/bep)

Other

* Regenerate docs helper [25e3da33](https://github.com/gohugoio/hugo/commit/25e3da3343b5cd4bbcd11fa76b382fb089971840) [bep](https://github.com/bep)
* Add js.Build asset bundling [2fc33807](https://github.com/gohugoio/hugo/commit/2fc33807077cd25bf91f2298bf1a8ace126881a7) [remko](https://github.com/remko) [#7321](https://github.com/gohugoio/hugo/issues/7321)
* Add openapi3.Unmarshal [12a65e76](https://github.com/gohugoio/hugo/commit/12a65e76df9470d9563b91a22969ddb41b7c19aa) [bep](https://github.com/bep) [#7442](https://github.com/gohugoio/hugo/issues/7442)[#7443](https://github.com/gohugoio/hugo/issues/7443)
* Remove trailing hyphen from auto heading ID [58c0f5e6](https://github.com/gohugoio/hugo/commit/58c0f5e6171cbf8e3ed8d73ac95a7b85168c5b2f) [jmooring](https://github.com/jmooring) [#6798](https://github.com/gohugoio/hugo/issues/6798)
* Ensure that non-trivial default flag values are passed through. [a1c3e3c1](https://github.com/gohugoio/hugo/commit/a1c3e3c1f32bcbc3b3aa6921bdee98a9f795a2da) [vangent](https://github.com/vangent)
* Update formats.md doc for new allowed extensions. [e9f87c4e](https://github.com/gohugoio/hugo/commit/e9f87c4e3feee937d05504763935805fec26213c) [bwklein](https://github.com/bwklein)
* Update config.go to add two Asciidoctor extensions [beb6c03b](https://github.com/gohugoio/hugo/commit/beb6c03bc8f476b753e5f3e3bc7a4a2e3f8ad355) [bwklein](https://github.com/bwklein)
* Add support for inline partials [4a3efea7](https://github.com/gohugoio/hugo/commit/4a3efea7efe59cd3de7d0eb352836ab395a2b6b3) [bep](https://github.com/bep) [#7444](https://github.com/gohugoio/hugo/issues/7444)
* Add support for native Org dates in frontmatter [c66dc6c7](https://github.com/gohugoio/hugo/commit/c66dc6c74fa3bbe308ccaade8c76071b49908129) [sometimesfood](https://github.com/sometimesfood)
* Update go-org to v1.3.0 [127d5feb](https://github.com/gohugoio/hugo/commit/127d5feb32b466c4a0035e81f86684920dd88cfe) [niklasfasching](https://github.com/niklasfasching)
* Update go-org to v1.2.0 [2d42ba91](https://github.com/gohugoio/hugo/commit/2d42ba912ba945230aa0be23c3c8256cba40ce99) [niklasfasching](https://github.com/niklasfasching)
* Update bug_report.md [5b7b5dea](https://github.com/gohugoio/hugo/commit/5b7b5dea1fe3494995c6a9c3368087abf47cdc12) [bep](https://github.com/bep)
* Remove some unused code [057b1377](https://github.com/gohugoio/hugo/commit/057b1377c5f4d0d80ee299293db06384a475ad19) [bep](https://github.com/bep)
* Add an option to print memory usage at intervals [48dbb593](https://github.com/gohugoio/hugo/commit/48dbb593f7cc0dceb55d232ac198e82f3df1c964) [bep](https://github.com/bep)
* Rework external asciidoctor integration [f0266e2e](https://github.com/gohugoio/hugo/commit/f0266e2ef3487bc57dd05402002fc816e3b40195) [muenchhausen](https://github.com/muenchhausen)
* Enable the embedded template test when race detector is off [77aa385b](https://github.com/gohugoio/hugo/commit/77aa385b84dbc1805ff7e34dafeadb181905c689) [bep](https://github.com/bep) [#5926](https://github.com/gohugoio/hugo/issues/5926)
* Merge branch 'release-0.73.0' [545a1c1c](https://github.com/gohugoio/hugo/commit/545a1c1cedc93d091050bae07c02fc2435ad2d20) [bep](https://github.com/bep)
* Updated installation instruction about Sass/SCSS support [0b579db8](https://github.com/gohugoio/hugo/commit/0b579db80fba1bde7dab07ea92d622dd6214dcfb) [mateusz-szczyrzyca](https://github.com/mateusz-szczyrzyca)

Fixes

Other

* Fix server reload when non-HTML shortcode changes [42e150fb](https://github.com/gohugoio/hugo/commit/42e150fbfac736bd49bc7e50cb8cdf9f81386f59) [bep](https://github.com/bep) [#7448](https://github.com/gohugoio/hugo/issues/7448)

0.73.0

Again, a release on the small side. Some new features -- one example is that we now support hook templates per section/type, see [7349](https://github.com/gohugoio/hugo/issues/7349) -- and some important bug fixes.

But the most important part of this release is that we have now finally cleaned up the terms used for the taxonomy page kinds. This has made the taxonomy feature in Hugo harder to understand than it needed to be. The old/new values for these are `taxonomy` => `term` and `taxonomyTerm` => `taxonomy`. We have taken great care to avoid site breakage. See [6911](https://github.com/gohugoio/hugo/issues/6911) for more information.

This release represents **21 contributions by 9 contributors** to the main Hugo code base.bjorn.erik.pedersen leads the Hugo development with a significant amount of contributions, but also a big shoutout to helfper, moorereason, and onedrawingperday for their ongoing contributions.
And a big thanks to [digitalcraftsman](https://github.com/digitalcraftsman) for his relentless work on keeping the themes site in pristine condition and to [davidsneighbour](https://github.com/davidsneighbour), [coliff](https://github.com/coliff) and [kaushalmodi](https://github.com/kaushalmodi) for all the great work on the documentation site.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **30 contributions by 14 contributors**. A special thanks to christianoliff, bjorn.erik.pedersen, patrick, and hello for their work on the documentation site.


Hugo now has:


* 326+ [themes](http://themes.gohugo.io/)

Notes

* Rename taxonomy kinds from `taxonomy` to `term`, `taxonomyTerm` to `taxonomy` [6911](https://github.com/gohugoio/hugo/issues/6911)

Enhancements

Templates

* tpl/crypto: Add hmac

Other

* Remove some old release notes
* Create robots.txt in the domain root directory [5160](https://github.com/gohugoio/hugo/issues/5160)[#4193](https://github.com/gohugoio/hugo/issues/4193)
* Make GroupByParamDate work with string params [3983](https://github.com/gohugoio/hugo/issues/3983)
* Add GroupByLastmod [7408](https://github.com/gohugoio/hugo/issues/7408)
* Rename taxonomy kinds from taxonomy to term, taxonomyTerm to taxonomy [6911](https://github.com/gohugoio/hugo/issues/6911)[#7395](https://github.com/gohugoio/hugo/issues/7395)
* Add genDocsHelper mage target
* Regenerate templates
* Beautify HTML generated by pagination template [7199](https://github.com/gohugoio/hugo/issues/7199)
* Add a nested data dir test
* Use os.PathError in RootMappingFs.doLstat
* Remove credit (7347)
* Allow hook template per section/type [7349](https://github.com/gohugoio/hugo/issues/7349)

Fixes

Templates

* Fix bad rounding in NumFmt [7116](https://github.com/gohugoio/hugo/issues/7116)

Other

* Fix aliases with path in baseURL
* Fix server data race/nil pointer in withMaps [7392](https://github.com/gohugoio/hugo/issues/7392)
* Fix order of GetTerms [7213](https://github.com/gohugoio/hugo/issues/7213)
* Fix aliases with uglyURLs
* Fix crash for closing shortcode with no .Inner set [6857](https://github.com/gohugoio/hugo/issues/6857)[#7330](https://github.com/gohugoio/hugo/issues/7330)
* Fix aliases with relativeURLs
* Fix URL rewrites vs fast render server mode [7357](https://github.com/gohugoio/hugo/issues/7357)

0.72.0

This is a rather small release, its probably main motivation being the fixes in Goldmark's [Typographer extension](https://github.com/gohugoio/hugo/commit/432885c499849efb29d3e50196f377fe0e908333).

This release also adds [redirect and URL rewrite support](https://gohugo.io/getting-started/configuration/#configure-server) to the development server, with mostly Netlify-compatible configuration syntax. This is especially useful if you're building a [SPA](https://en.wikipedia.org/wiki/Single-page_application) with client-side routing.


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

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **9 contributions by 6 contributors**. A special thanks to [faraixyz](https://github.com/faraixyz), [bep](https://github.com/bep), [coliff](https://github.com/coliff), and [Leon0824](https://github.com/Leon0824) for their work on the documentation site.


Hugo now has:

* 44383+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 437+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 327+ [themes](http://themes.gohugo.io/)

Enhancements

Other

* Add Scratch.Values [2919a6a5](https://github.com/gohugoio/hugo/commit/2919a6a503f7b369154d6eb787023a1fe58a9ad4) [bep](https://github.com/bep) [#7335](https://github.com/gohugoio/hugo/issues/7335)
* Update Goldmark to improve Typographer [432885c4](https://github.com/gohugoio/hugo/commit/432885c499849efb29d3e50196f377fe0e908333) [bep](https://github.com/bep) [#7289](https://github.com/gohugoio/hugo/issues/7289)
* Add redirect support to the server [6a3e8974](https://github.com/gohugoio/hugo/commit/6a3e89743ccad58097a6dd203a63448946a2304d) [bep](https://github.com/bep) [#7323](https://github.com/gohugoio/hugo/issues/7323)

Fixes

Other

* Fix tag collector for nested table elements [c950c86b](https://github.com/gohugoio/hugo/commit/c950c86b4e5fb93f787ec78ca823bded9ef9fa3a) [bep](https://github.com/bep) [#7318](https://github.com/gohugoio/hugo/issues/7318)
* Fix build error: my previous commits did not fix it [91520249](https://github.com/gohugoio/hugo/commit/915202494b140882d594e0542153531f6afada02) [anthonyfok](https://github.com/anthonyfok)

0.71.1

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

* Add some more date test cases [81f56332](https://github.com/gohugoio/hugo/commit/81f5633245bf123fbe7ad78eec51ae7b4e6c177a) [bep](https://github.com/bep) [#7310](https://github.com/gohugoio/hugo/issues/7310)
* Fix RenderString vs render hooks [9698b0da](https://github.com/gohugoio/hugo/commit/9698b0dab11f52d52145e85ff71311d2f103cb4e) [bep](https://github.com/bep) [#7265](https://github.com/gohugoio/hugo/issues/7265)
* Prevent WARNINGs in RenderString [32344fe3](https://github.com/gohugoio/hugo/commit/32344fe3db862584e3f926d63bdf33b7fa7d22f7) [bep](https://github.com/bep)
* Fix IsAncestor/IsDescendant for taxonomies [4d7fa9f1](https://github.com/gohugoio/hugo/commit/4d7fa9f114c62ae2ec12257203ed21b0e4d69a04) [bep](https://github.com/bep) [#7305](https://github.com/gohugoio/hugo/issues/7305)
* Fix GetPage on section/bundle name overlaps [a985efce](https://github.com/gohugoio/hugo/commit/a985efcecf44afe1d252690ec0a00cf077974f44) [bep](https://github.com/bep) [#7301](https://github.com/gohugoio/hugo/issues/7301)
* Fix Go template script escaping [6c3c6686](https://github.com/gohugoio/hugo/commit/6c3c6686f5d3c7155e2d455b07ac8ab70f42cb88) [bep](https://github.com/bep) [#6695](https://github.com/gohugoio/hugo/issues/6695)
* Add a test helper [c34bf485](https://github.com/gohugoio/hugo/commit/c34bf48560c91c8a2fa106867af7b08a569609b5) [bep](https://github.com/bep)

0.71.0

Hugo 0.71 brings Markdown render hooks for headings, and more.

This release represents **12 contributions by 7 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 [anthonyfok](https://github.com/anthonyfok), [apexskier](https://github.com/apexskier), and [johnweldon](https://github.com/johnweldon) for their ongoing contributions.
And a big thanks to [digitalcraftsman](https://github.com/digitalcraftsman) and [onedrawingperday](https://github.com/onedrawingperday) for their relentless work on keeping the themes site in pristine condition and to [davidsneighbour](https://github.com/davidsneighbour) and [kaushalmodi](https://github.com/kaushalmodi) for all the great work on the documentation site.

Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs),
which has received **8 contributions by 7 contributors**. A special thanks to [bep](https://github.com/bep), [mikeee](https://github.com/mikeee), [h-enk](https://github.com/h-enk), and [tjamet](https://github.com/tjamet) for their work on the documentation site.


Hugo now has:

* 44043+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 437+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 322+ [themes](http://themes.gohugo.io/)

Enhancements

Other

* Use WARN log level also for the early initialization [518d1496](https://github.com/gohugoio/hugo/commit/518d149646c13fb49c296a63e61a048f5e672179) [bep](https://github.com/bep) [#7285](https://github.com/gohugoio/hugo/issues/7285)
* Update to Go 1.14.3 and Go 1.13.11 [3cc41523](https://github.com/gohugoio/hugo/commit/3cc41523bef802d1942f3d31018547a18cc55923) [bep](https://github.com/bep)
* Improve error message when no Babel installed [2fd0a5a6](https://github.com/gohugoio/hugo/commit/2fd0a5a6781456e88745b370d12aaf5351a020ff) [bep](https://github.com/bep)
* Add test for headings render hook [6e051c05](https://github.com/gohugoio/hugo/commit/6e051c053e2b5b8419f357ed8acd177440266d07) [apexskier](https://github.com/apexskier)
* Add render template hooks for headings [423b8f2f](https://github.com/gohugoio/hugo/commit/423b8f2fb834139cf31514b14b1c1bf28e43b384) [elihunter173](https://github.com/elihunter173) [#6713](https://github.com/gohugoio/hugo/issues/6713)
* Add math.Pow [99193449](https://github.com/gohugoio/hugo/commit/991934497e88dcd4134a369a213bb5072c51c139) [jmooring](https://github.com/jmooring) [#7266](https://github.com/gohugoio/hugo/issues/7266)
* Do not suppress .well-known/ directory [558c0930](https://github.com/gohugoio/hugo/commit/558c09305e2be16953238c6c0e828f62b950e4f5) [johnweldon](https://github.com/johnweldon) [#6691](https://github.com/gohugoio/hugo/issues/6691)
* Quote "babel/cli" to solve build error [b69a3614](https://github.com/gohugoio/hugo/commit/b69a36140f42ec99ffa2d1e029b8b86ecf8ff929) [anthonyfok](https://github.com/anthonyfok)
* Remove custom x-nodejs plugin [a0103864](https://github.com/gohugoio/hugo/commit/a0103864ab76c6a1462a6dee538801740acf4858) [anthonyfok](https://github.com/anthonyfok)
* Use .Lastmod for og:updated_time [6205d56b](https://github.com/gohugoio/hugo/commit/6205d56b85fea31e008cd0fef26805bab8084786) [dtip](https://github.com/dtip)

Fixes

Other

* Fix Babel on Windows [723ec555](https://github.com/gohugoio/hugo/commit/723ec555e75fbfa94d90d3ecbcd5775d6c7800e1) [bep](https://github.com/bep) [#7251](https://github.com/gohugoio/hugo/issues/7251)
* Upgrade chroma to 0.7.3 to fix invalid css [b342e8fb](https://github.com/gohugoio/hugo/commit/b342e8fbdb23157f3979af91cb5d8d3438003707) [apexskier](https://github.com/apexskier) [#7207](https://github.com/gohugoio/hugo/issues/7207)

Page 25 of 47

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.