Hugo

Latest version: v0.139.0

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

Scan your dependencies

Page 12 of 51

0.116.0

There are two notable changes in this release. For one, we have changed the default location of the `cacheDir` (where Hugo stores all its file caches). Having the cache stored in a `/tmp` folder has had its issues, especially for the module cache and especially on MacOS. The current new default should be better and more stable. See See [Configure CacheDir](https://gohugo.io/getting-started/configuration/#configure-cachedir) for more info.

Also in this release: The `where` template func finally supports regular expressions with the new [like](https://gohugo.io/functions/where/#use-where-with-like) operator.

Note

* Deprecate taxonomyTerm bec9b80d9 bep 11256
* Warn about unknown kinds in disableKinds 1c97095ac bep 11256
* The default value for `cacheDir` is changed to be stored below the directory as defined by Go's [os.UserCacheDir](https://pkg.go.dev/os#UserCacheDir). See [Configure CacheDir](https://gohugo.io/getting-started/configuration/#configure-cachedir)

Bug fixes

* resources: Fix spelling in method name be8e2de59 bep
* Fix so temporary images do not get published fbb8eb39e bep 10255
* readme: Fix link 87d9bffe7 tfsojon
* tpl/collections: Fix description of apply function dc2a544fa jmooring
* Fix multiple languages in HUGO_DISABLELANGUAGES 7f058b8ba bep 11278

Improvements

* config: Do not fail on unknown config keys c1df5b1b0 bep
* commands: Update cacheDir description d9fdcbe93 jmooring
* Update where.md 295d73388 bep
* Deprecate taxonomyTerm bec9b80d9 bep 11256
* Warn about unknown kinds in disableKinds 1c97095ac bep 11256
* Move all Kind constants to its own package b3cb6788b bep 11256
* Remove unused autogenerated method 36b512605 bep
* tpl/collections: Add BenchmarkWhereOps ef6e813ca bep
* tpl/collections: Add like operator to where function f4598a098 jmooring 11279
* Use os.UserCacheDir as first fallback if cacheDir is not set b3f10556f bep 11286 11291
* Add a common regexp cache 4d7af757c bep
* commands: Replace deprecated ioutil with os 2589b1295 alexandear

Dependency Updates

* build(deps): bump github.com/evanw/esbuild from 0.18.11 to 0.18.17 d7db096a9 dependabot[bot]
* build(deps): bump github.com/rogpeppe/go-internal 5542f02fb dependabot[bot]
* build(deps): bump golang.org/x/image from 0.8.0 to 0.9.0 0bc7ed9a1 dependabot[bot]
* deps: Upgrade github.com/yuin/goldmark v1.5.4 => v1.5.5 739d10e8b jmooring

Documentation

* docs: Regenerate CLI docs d297c8e1b bep
* docs: Update where d5247788e bep
* docs: Update where function operators 036e260d8 jmooring
* docs: Rework the cacheDir documentation a50356b9a bep

Build Setup

* snap: Set cache location to $HOME/.cache/hugo_cache 916397320 jmooring
* snap: Allow access to SSH keys and $HOME/.config/hugo 575d7f806 jmooring 11288

0.115.4

Bug fixes

* Fix broken handling of legacy taxonomyTerm in disableKinds d70b6c7d bep 11257
* Fix cache busting setup 6bbec900 bep 11268
* common/htime: Fix localization of abbreviated month names 2f11e673 jmooring 11267
* Fix setting config from env with complex (e.g. YAML) strings c406fd3a bep 11249
* Fix for data mounts in sub folders 286821e3 dvdksn

Improvements

* commands: Move testscript into its correct place d947db37 bep
* publisher: Improve class collector for dynamic classes d8c94c35 bep
* commands: Delay server builds after the watcher is set up 5bd22ba8 bep 11264
* Create hugo_stats.json if it's mounted but does not exists 7ae62f4a bep 11264
* Re-instate disableLiveReload as a config option (and not just a flag) f1a061e9 bep 11259
* Improve error messages for PostCSS etc. 387c5f60 bep 9730

0.115.3

What's Changed

* Improve behavior of defaultContentLanguageInSubdir when only the default language is enabled cc44583c bep 11229
* Return error when .Render is invoked without arg 4da672af bep 11243
* js: Pass tsconfig.json to esBuild f1886f8c jmooring 11232
* tpl/collections: Fix WordCount (etc.) regression in Where, Sort, Delimit 5bec5083 bep 11234
* config/allconfig: Update timeout description f650e4d7 jmooring
* docs: Refresh docs.json c934a450 jmooring

0.115.2

Bug fixes

* Fix hugo mod vendor for modules with hugo.toml 0f921ace bep 11221
* Fix static content files multilingual root regression 60199537 bep 11223
* Fix defaultContentLanguageInSubdir with only 1 language 92e86702 bep 10064
* Make imageConfig work with modules a78b17d7 bep 11205
* Restore language.disabled config a4819425 bep 11219

Improvements

* config: Expand default security.exec.osEnv policy 6c9ea022 dvdksn 9333
* Add titleCaseStyle none and firstupper 12d3469d bep 11204
* Bump github.com/bep/clock v0.3.0 to renamed github.com/bep/clocks v0.5.0 bf7ee8a9 anthonyfok

Build Setup

* snap: Allow access to AWS, Azure, and GCS config/credentials 72510969 jmooring 11122
* snap: Update metadata and security.exec.osEnv 70c5e485 jmooring 11217

0.115.1

Bug fixes

* Fix buildStats when tags and classes are disabled ceb486f9 bep 11202
* commands: Fix index out of range in hugo mod get 0ff8e13c bep 11190

Improvements

* Rework the build.writeStats struct 5afc89f2 bep 11191
* github: Build for Dragonfly in CI build 19d76ae9 bep
* Make build.writeStats a struct 11ecea61 bep 11191
* Only print the path warnings once ffd37d4f bep 11187

Dependency Updates

* build(deps): bump github.com/evanw/esbuild from 0.18.10 to 0.18.11 da98724b dependabot[bot]
* build(deps): bump github.com/alecthomas/chroma/v2 from 2.7.0 to 2.8.0 4d470bb7 dependabot[bot]

Documentation

* docs: Regen docs helper c27639b9 bep
* Update README.md b4b65245 bep

Build Setup

* snap: Explicitly set security.exec.osenv during build c1eac616 jmooring 11199
* snap: Restore security.exec.osenv whitelist 3c8256a1 jmooring 11195

0.115.0

The notable new feature in this release is that you can now have permalink configuration also for section and taxonomy pages. Thanks to Mai-Lapyst for the implementation. See the [documentation](https://gohugo.io/content-management/urls/#permalinks) for more information.

Bug fixes

* commands: Fix panic when running hugo new theme without theme name 635cc346 deining 11162
* Fix output formats and media type per language config regression 79639c98 bep 11159
* common/collections: Fix append regression to allow appending nil b74b8d64 khayyamsaleem 11180
* commands: Fix help message for hugo new theme 793e38f5 deining 11161
* Fix false path warnings with resources.PostProcess fa0e16f4 bep 7735
* tpl/tplimpl: Fix typo in global variable name e3308a0b alexandear
* Fix broken nodeploy setup 5b4bfc2d bep 11149

Improvements

* Misc permalinks adjustments 7917961d bep 9448 11184 8523
* commands: Handle hugo mod get --help 80ecb958 bep 11141
* Print help message when triggered with no flags 12646750 roshanavand
* Don't panic on invalid security whitelist regexp 7f698c89 bep 11176
* Merge branch 'master' of github.com:gohugoio/hugo bac03f40 bep
* resources/page: Allow section and taxonomy pages to have a permalink configuration cc14c6a5 Mai-Lapyst 8523
* commands: Enable format flag with hugo new site 019299b0 jmooring 11155

Dependency Updates

* build(deps): bump github.com/evanw/esbuild from 0.18.5 to 0.18.10 9b313cec dependabot[bot]
* build(deps): bump github.com/niklasfasching/go-org from 1.6.6 to 1.7.0 92f55f11 dependabot[bot]

Documentation

* Update README.md 58e09cc6 jmooring
* docs: Update permalinks documentation 12e4c4d5 jmooring 8523 10847
* Update README.md 23ed087c bep

Build Setup

* Merge branch 'release-0.114.1' a018259b bep

Page 12 of 51

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.