Hugo

Latest version: v0.127.0

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

Scan your dependencies

Page 13 of 47

0.103.0

There are 3 main topics in this release:

* The `hugo server` finally comes with proper [404 support](https://gohugo.io/getting-started/configuration/#404-server-error-page).
* You can now use `PostProcess`'ed resources in all file types (e.g. JSON), not just HTML.
* We have standardised the archive names for the release archives (as you can see further below). Hugo has since the first version used a rather odd and non-standard mixed case naming of the archive files (e.g. `hugo_0.102.3_OpenBSD-64bit.tar.gz`). We now use the standard GOOS/GOARCH values as-is, which makes it easier for people to script against. To avoid breakage when running on Netlify and similar, we create aliases for the most commonly downloaded Linux-archives on the old format and will continue to do so in the foreseeable future.

Bug fixes

* Fix usage description ab5ce598 satotake
* scss: Handle single-file sourcemaps correctly 02c89a44 toothrot 8174

Improvements

* Filter out any duplicate files to post process 8e77bcc9 bep 10269
* Support PostProcess for all file types 74daca6b bep 10269
* server: Add 404 support a5cda5ca bep
* Add `--force` to `hugo new` 7d40da87 satotake 9243
* Update stale.yml 5e03de0d sashashura

Dependency Updates

* build(deps): bump github.com/gobuffalo/flect from 0.2.5 to 0.3.0 1fd4c562 dependabot[bot]
* build(deps): bump github.com/getkin/kin-openapi from 0.98.0 to 0.100.0 5e2b28d6 dependabot[bot]
* build(deps): bump github.com/evanw/esbuild from 0.15.5 to 0.15.7 f2019f0a dependabot[bot]
* build(deps): bump github.com/yuin/goldmark from 1.4.13 to 1.4.14 475638fe dependabot[bot]

Build Setup

* Use standard GOOS/GOARCH values in release archives 3f0b40f6 bep 10073
* release: Bump Hugoreleaser version 06c3ac67 bep

0.102.3

What's Changed

* Fix shortcode parser regression with quoted param values 8e5044d7 bep 10236

0.102.2

What's Changed

* deps: Update github.com/tdewolff/minify/v2 v2.12.0 => v2.12.1 5046a6c7 jmooring 10230

0.102.1

What's Changed

* release: Fix the Deb archives 79932e72 bep 10220

0.102.0

**Note:** there were an issue with the Deb Linux binaries (see 10220), so those are now removed; will create a patch release with a fresh set later today.

This release adds Linux ARM64 extended archives (see issue 8257). If you look behind the scenes of this, you may say that "this looks like a lot of work for one file", but the current serial build setup was already closing in on the timeout limits of CircleCI (mostly because of the relatively resource-intensive extended build with CGO/webp/libsass). So, we eventually had to do something. This release is built using [Hugoreleaser](https://github.com/gohugoio/hugoreleaser), a custom build tool that allows us to [partition the build step](https://github.com/gohugoio/hugoreleaser#partitions). The Linux ARM64 binaries are built in its own Docker container, and we also get a general speedup of the entire build:

<img width="458" alt="image" src="https://user-images.githubusercontent.com/394382/187086315-ce02e0cb-9c4f-4f5c-a24e-4f9f003bb181.png">

In Circle CI, this is how the release flow looks like:

<img width="1023" alt="image" src="https://user-images.githubusercontent.com/394382/187086178-b1ab9bc5-1591-4a48-9338-975ac2ed2a3f.png">

In the above, `build_container1` is doing most of the work and is configured with `parallelism: 7` and partitioned using `$CIRCLE_NODE_TOTAL` and `$CIRCLE_NODE_INDEX`:

<img width="699" alt="image" src="https://user-images.githubusercontent.com/394382/187086203-b2af4770-2a31-41b4-88ce-8ac58ec6c578.png">

See the [CircleCI Config](https://github.com/gohugoio/hugo/blob/master/.circleci/config.yml) for details.

Notes

* The MacOS archives have been replaced with universal/fat binaries that works on all MacOS platforms, named *macOS-universal.tar.gz.
* These archives are removed: 32 bit Linux archives, Windows 32-bit and ARM, Linux ARM Deb. We may re-add some of these if enough people shout.

Bug fixes

* common/hugio: One more fix for non-OS fs f5ba6fd4 bep
* common/hugio: Fix CopyDir when fs is not OS c4bbc1ee bep
* markup/goldmark/codeblock: Fix attributes when no language identifier in CodeBlock cbdaff21 chick-p 10118
* commands: Fix embed in livereload.go 3fefea06 yyqqing

Improvements

* license: Add copyright info c9834841 bep 10218
* github: Use GitHub's Choco-Install function to retry installs f7e00c03 anthonyfok
* livereload: Inject script without head or body tag b017f7cb satotake 10105
* Externalise and embed livereload.js string 21562e3a satotake
* Cache when not found in LookupLayout 9c24b86e bep
* parser/pageparser: Don't store the byte slices 223bf280 bep
* Make the baseline benchmark's test files stable 72b0ccdb bep
* Accept vendor-specified build date if .git/ is unavailable 8ebcaa53 anthonyfok 10053
* Extract the baseline benchmark to a test d1278f69 bep
* Add a baseline benchmark 92f31ae6 bep

Dependency Updates

* build(deps): bump go.uber.org/atomic from 1.9.0 to 1.10.0 2de393c7 dependabot[bot]
* build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.9 to 2.2.10 7efb3568 dependabot[bot]
* build(deps): bump github.com/getkin/kin-openapi from 0.97.0 to 0.98.0 ddbcc671 dependabot[bot]
* deps: Update github.com/pelletier/go-toml/v2 v2.0.2 => v2.0.4 fd75f129 bep 10210
* build(deps): bump github.com/spf13/afero from 1.8.2 to 1.9.2 14878ca0 dependabot[bot]
* build(deps): bump github.com/tdewolff/parse/v2 from 2.6.1 to 2.6.2 e88873b8 dependabot[bot]
* build(deps): bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 4219993b dependabot[bot]
* build(deps): bump github.com/rogpeppe/go-internal from 1.8.1 to 1.9.0 988e1417 dependabot[bot]
* build(deps): bump github.com/yuin/goldmark from 1.4.12 to 1.4.13 42529882 dependabot[bot]
* build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 45f1b1cf dependabot[bot]
* build(deps): bump github.com/tdewolff/minify/v2 from 2.11.10 to 2.12.0 369bdf22 dependabot[bot]
* build(deps): bump github.com/evanw/esbuild from 0.14.43 to 0.15.5 d1b03a09 dependabot[bot]

Build Setup

* releaser: Bump versions for release of 0.102.0 0ff4a932 bep
* Add linux/arm64 extended to release setup 45e1084f bep 8257
* snap: Delete obsolete custom x-nodejs plugins 0e0fb1b6 anthonyfok
* releaser: Fat MacOS binaries 7fb28085 bep 9131
* Update to Go 1.19 0cd1929b bep 10145
* snap: Replace mage with "go build" and set VendorInfo=snap 24148193 anthonyfok
* snap: Use interface names etc-gitconfig and gitconfig, Take 2 5caed8a7 anthonyfok 6226
* snap: Use interface names etc-gitconfig and gitconfig fd3953c1 anthonyfok 6226
* releaser: Prepare repository for 0.102.0-DEV 15463f83 bep

Documentation

* readme: Add Golang URL to Go links 941c28ab reecerussell
* Update README.md ffbdcc75 bep
* Update README.md 95d97645 bep
* Update README.md b66f9f26 bep
* Update README.md 5c48ba93 bep 10136

0.101.0

Hugo `v0.101.0` comes with GIF animation [image processing](https://gohugo.io/content-management/image-processing/), a new `hl_inline` option for code highlighting, a new `:slugorfilename` permalink keyword, we now respect the [NO_COLOR](https://no-color.org/) OS env var, and more.

This release represents **35 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 [dependabot[bot]](https://github.com/apps/dependabot), [jmooring](https://github.com/jmooring), and [vanbroup](https://github.com/vanbroup) for their ongoing contributions. Also a shoutout to CIAvash for his work on the Chroma highlighter.

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:

* 59557+ [stars](https://github.com/gohugoio/hugo/stargazers)
* 428+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors)
* 399+ [themes](http://themes.gohugo.io/)


Changes

* build: Update to Go 1.18.3 2c5943dd bep 9964
* docs: Regen docshelper 0cb459a2 bep
* markup/highlight: Add hl_inline option d863dde6 bep 9442 9635 9638
* deps: Update github.com/alecthomas/chroma/v2 v2.1.0 => v2.2.0 580b214a bep
* build(deps): bump github.com/clbanning/mxj/v2 from 2.5.5 to 2.5.6 ddb95470 dependabot[bot]
* build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.1 to 2.0.2 288b0fb1 dependabot[bot]
* build(deps): bump golang.org/x/tools from 0.1.10 to 0.1.11 3e134463 dependabot[bot]
* build(deps): bump github.com/tdewolff/minify/v2 from 2.11.5 to 2.11.10 7a9ce0ec dependabot[bot]
* build(deps): bump github.com/evanw/esbuild from 0.14.42 to 0.14.43 f2ba0cc8 dependabot[bot]
* build(deps): bump github.com/getkin/kin-openapi from 0.94.0 to 0.97.0 62ceaabd dependabot[bot]
* deps: Udpate to github.com/alecthomas/chroma/v2 35fa1928 bep 9932 9931
* common: Add hugo.GoVersion 09ac7333 khayyamsaleem 9849
* resources: Panic on Copy of Resource with .Err 66da1b7b bep 10006
* resources/page: Add :slugorfilename attribute 5a9ecb82 dawidpotocki 385
* Respect NO_COLOR cbc35c48 bep 10004
* readme: Update dependency list 44f3c079 deining
* Fix relURL with leading slash when baseURL includes a subdirectory a5a4422a bep 9994
* js: Resolve index.esm.js 617e0944 bep 8631
* Add animated GIF support cf12fa61 bep 5030
* resources: Add a Gif source file to golden tests 2e1c8177 bep
* releaser: Prepare repository for 0.101.0-DEV 4276075c bep
* releaser: Bump versions for release of 0.100.2 d25cb294 bep
* releaser: Add release notes for 0.100.2 [ci skip] 8b9bdc40 bep
* Update CONTRIBUTING.md 4e94d1db bep
* Fix raw TOML dates in where/eq 0566bbf7 bep 9979
* deps: Update to github.com/pelletier/go-toml/v2 v2.0.1 534e7155 anthonyfok
* tpl/path: Add path.BaseName function 953f215f jmooring 9973
* livereload: Use `X-Forwarded-Host` for Codespace 8e2fd559 satotake 9936
* helpers: Fix panic with invalid defaultMarkdownHandler 311b8008 bep 9968
* resources: Register MediaTypes before build c7d5f9f0 vanbroup 9971
* releaser: Prepare repository for 0.101.0-DEV bfebd8c0 bep
* releaser: Bump versions for release of 0.100.1 0afb4866 bep
* releaser: Add release notes for 0.100.1 [ci skip] b1ec0c22 bep
* Fix panic with markdownify/RenderString with shortcode on Page with no content file 212d9e30 bep 9959
* releaser: Prepare repository for 0.101.0-DEV 4daac654 bep

Page 13 of 47

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.