Python-hugo

Latest version: v24.1.1

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

Scan your dependencies

Page 3 of 44

0.118.2

What's Changed

* release: Revert to building with Go 1.20 df5d76fed bep 11414

0.118.1

**Note:** There still seem to be an issue on [Vercel](https://github.com/gohugoio/hugo/issues/11414#issuecomment-1700749527).

----

This release only fixes a `GLIBC_xxx not found` issue with the Linux AMD64 binary when running on older Linux versions, which is the situation when building on Netlify/Vercel etc. 7e9092eee bep 11414

There's no functional changes in this release. See [v0.118.0](https://github.com/gohugoio/hugo/releases/tag/v0.118.0).

0.118.0

**Note:** Hugo [0.118.2](https://github.com/gohugoio/hugo/releases/tag/v0.118.2) fixes an issue with the Linux binaries when building on Netlify/Vercel/etc.

-----

Hugo `0.118.0` now builds with [Go 1.21](https://go.dev/blog/go1.21). This version also comes with:

* Proper [CJK](https://en.wikipedia.org/wiki/CJK_characters) support in Markdown:

toml
[markup.goldmark]
[markup.goldmark.extensions]
[markup.goldmark.extensions.cjk]
Whether to enable CJK support.
enable = false
Whether softline breaks between east asian wide characters should be ignored.
eastAsianLineBreaks = false
Whether a '\' escaped half-space(0x20) should not be rendered.
escapedSpace = false


* A revamped implementation of `hugo new site` and `hugo new theme`. See [details](https://discourse.gohugo.io/t/creating-new-site-and-theme-skeletons-with-v0-118-0-and-later/46018).

Bug fixes

* Fix RegularPagesRecursive for the home page 15d3e48ce bep 11396
* Fix .RawContent for empty content pages (11407) 3a8aad6b1 bep 11406
* common/loggers: Fix typo in option name 65871d5cf alexandear
* Fix it so disable a module does not disable transitive dependency required by others dcf425c84 bep 11376

Improvements

* Delay the creation of cache directories until they're used 94fbab2a8 bep 11390
* deploy: Create AWS session for CloudFront invalidation via Go CDK c3f273b2d mattbnz
* markup/goldmark: Add CJK extension d7dcc76d2 henry0312 10472
* testscripts: Move hugo new tests to where they belong d2ae9e136 bep
* hugolib: Handle dropped error a7b93e656 alrs
* Make sure resources directory isn't created in hugo new theme ebaa733d4 bep 11382
* Go 1.21 Upgrade 24b1be45c bep 11351
* testscripts: Make mod vendor test stable 111f02db2 bep
* create/skeletons: Move theme's site config to top level 9a8c84d60 jmooring 11380
* modules: Make new cache directories read/write cdf0b3b7a jmooring 11369
* deploy: Update InvalidateCloudFront to use Go CDK helper d979831db alexandear
* Avoid escaping HTML chars inside hugo_stats.json bcf7421ea bep 11371
* commands/new: Embed site and theme skeletons b6538532f jmooring 11358
* cache: Hide IsResourceDir from the exported config a2f6400d6 bep
* commands: Handle floats without decimals in hugo config 7d74cd0cc bep 11345
* config: Add a type value for the tags related config entry b1b691241 bep
* Try to make test more stable 641390f8f bep

Dependency Updates

* build(deps): bump google.golang.org/api from 0.134.0 to 0.138.0 9bf76fd7e dependabot[bot]
* build(deps): bump golang.org/x/tools from 0.11.1 to 0.12.0 b2a02c3c5 dependabot[bot]
* build(deps): bump gocloud.dev from 0.33.0 to 0.34.0 6821d6f15 dependabot[bot]
* build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0 93c7ad12e dependabot[bot]
* build(deps): bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 a19d03b0e dependabot[bot]
* build(deps): bump github.com/evanw/esbuild from 0.18.17 to 0.19.2 db7bc4969 dependabot[bot]

Documentation

* docs: Regen docs helper e847a98db bep
* Don't use the OS environment when creating config for docs 45c9bbc6c bep
* dockerfile: Update Docker images 8a08f91d5 michalbiesek
* docshelper: Improve template lookup order descriptions 90944aa26 jmooring

Build Setup

* misc: Change dart-sass labels in workflows and snapcraft 2e4bf89ec jmooring

0.117.0

This is a release on the small side, but. especially the new `Page.RenderShortcodes` method is so useful, especially for bigger sites, that we decided to get it out sooner rather than later. This method renders all the shortcodes in the content, preserving the surrounding markup (e.g. Markdown) as is. See the [Hugo Documentation](https://gohugo.io/variables/page/#rendershortcodes) for more information.

Improvements

* Add Page.RenderShortcodes ade7ec818 bep 7297
* testing: Write test caches to /tmp 16da1ade7 bep 11327
* Add retry in resources.GetRemote for temporary HTTP errors a3d42a277 bep 11312

Dependency Updates

* build(deps): bump golang.org/x/net from 0.13.0 to 0.14.0 0de81c643 dependabot[bot]
* build(deps): bump golang.org/x/image from 0.10.0 to 0.11.0 d4a6c16c1 dependabot[bot]
* deps: Sync go-i18n with upstream 2e6191b2e bep 11336
* build(deps): bump gocloud.dev from 0.24.0 to 0.33.0 2c20fd557 dependabot[bot]
* build(deps): bump golang.org/x/net from 0.11.0 to 0.13.0 243736e75 dependabot[bot]
* build(deps): bump github.com/marekm4/color-extractor from 1.2.0 to 1.2.1 bf891c225 dependabot[bot]
* build(deps): bump github.com/frankban/quicktest from 1.14.5 to 1.14.6 da0df0ada dependabot[bot]
* build(deps): bump golang.org/x/image from 0.9.0 to 0.10.0 0885f8ec2 dependabot[bot]
* build(deps): bump github.com/clbanning/mxj/v2 from 2.5.7 to 2.7.0 61be050a9 dependabot[bot]
* build(deps): bump golang.org/x/tools from 0.9.3 to 0.11.1 65af75fb0 dependabot[bot]
* build(deps): bump go.uber.org/automaxprocs from 1.5.2 to 1.5.3 2d75f74b8 dependabot[bot]
* build(deps): bump github.com/hairyhenderson/go-codeowners 2ac3d6160 dependabot[bot]
* build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 9dce45c25 dependabot[bot]

Documentation

* Update GitHub issue template 8fa8ce3e4 jmooring
* Add all config to docshelper.json 851bf3515 bep 11328

0.116.1

What's Changed

* Fix module config watch regression 30885a6c5 bep 11313
* deps: Fix Chroma dependency version 58da8554c jmooring 11311

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

Page 3 of 44

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.