chore(deps): update dependency gohugoio/hugo to v0.170.1 #542
No reviewers
Labels
No labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
shivering-isles/infrastructure-gitops!542
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/gohugoio-hugo-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.169.0→v0.170.1Release Notes
gohugoio/hugo
v0.170.1Compare Source
The primary motivation for this release is a bug fix for a performance regression introduces in v0.166.0 where we improved the
returnkeyword inpartialtemplates. Note that this was not an issue if you don't use this keyword and also only an issue for bigger sites.What's Changed
e6d7bcb@bep5f34065@bep #1560493be9f1@bep #156006c6b1ee@jmooringb8765e1@bep7a15e87@jmooringv0.170.0Compare Source
The big change in this release is that the extended edition of Hugo is gone. LibSass has been deprecated for a long time, and it was the only remaining reason we needed a CGO-enabled extended build. There is now only one Hugo binary, and apart from LibSass it has all the features the extended build had.
Notes
transpilertolibsassincss.Sassnow returns an error. Dart Sass is now the default and the only transpiler, so you need to install it if you use Sass.hugo_extended_*archives. To avoid breaking existing CI setups, we publish aliases for the most downloaded extended archives (e.g.hugo_extended_<version>_linux-amd64.tar.gz,hugo_extended_<version>_Linux-64bit.tar.gz, thelinux-amd64.deb,linux-arm64.tar.gzandwindows-amd64.zip), but you should update your scripts to use the standard archives. Theextended_withdeploybuilds are also removed. See Installation.hugo.IsExtendednow always returnsfalse, and the module config settinghugoVersion.extendedis deprecated and has no effect.--buildDrafts) now override OS environment variables (e.g.HUGO_BUILDDRAFTS). This also fixesHUGO_ENVIRONMENT=qa hugo build -e stagingloading thestagingconfig but reportingqainhugo.Environment.strings.Truncatehas been rewritten on top of a proper HTML scanner. It now handles comments, void elements, quoted attributes with>and raw text elements such asscriptcorrectly, and it's faster and allocates less. On a curious note, the old version was implemented by Mathias Biilmann, the Netlify CEO.time.Timevalues now keep their named time zone, andeq,ne,inanduniqcomparetime.Timevalues by instant.resources.Matchand friends now preserve the directory casing in the matched paths, so e.g.resources.Match "gallery/Travel/Iceland/*"now works on case-sensitive file systems.encoderSpeed6 and lower, recovering from broken WASM instances in the server).Security
Hugo
markup.goldmark.renderer.unsafeis enabled. Before this, e.g.\(<img src=x onerror=alert(1)>\)in a content file emitted raw HTML.wrapperClassoption, settable from thehighlightshortcode andtransform.Highlight, is now escaped._vendordirectory (symlinks pointing outside are rejected).Thanks to @R0X4R for finding and reporting the last two issues.
Go
This release is built with Go 1.27.4, which includes 12 security fixes. The one most relevant for Hugo is a crash in the
net/httpHTTP/1 server (used byhugo server) caused by a race inMaxBytesReader. The other 11 are in thecmd/gotoolchain (cgo flag and linker injection at build time) and mainly matter if you build Hugo from source with untrusted dependencies.Dependencies
golang.org/x/netv0.62.0 fixes two issues in thehtmlpackage: quadratic complexity when coalescing text nodes, and a namespace issue when rendering raw text. Hugo uses this package when collecting HTML elements forhugo_stats.jsonand in the AsciiDoc integration.github.com/go-jose/go-jose/v4v4.1.6 (indirect dependency) contains a number of security fixes, among them GHSA-mgcc-cww5-fp2q (RSA modulus size limit when parsing JWKs) and a stack depth limit in the JSON decoder.Changes
c2f9cb8@bep #154050b66ebd@bep #15502588241b@pei711a8a8e97@bep #155233c2f52d@bep #155224742565@bep #15522f3875ec@bep #15538 #15540b76fde2@bep #1549987e6e14@jmooring #15536fa5a3d4@jmooring #15518471d0fb@bepe2f66a2@raghu453453519196@jmooring #15577afb2d9a@bep #15572b755c9d@xndvaz #155672056ed6@xndvaz #15568bca2cec@bep5922421@jmooring #8895 #15565bdde5aa@bepd41a8a1@bep5b44cfc@xndvaz #7686 #10112d5ba1aa@bep #15549 #15550e6a470c@jmooring #155461a014e5@bep #155225086d5f@bep #155223a1985b@AnaTejeda1 #116012b0e1e1@jmooring #15518185a609@jmooring6b0c89c@bep #15505 #15509Dependency Updates
29bcc86@dependabot[bot]4f8354e@dependabot[bot]6aebad4@dependabot[bot]8846854@dependabot[bot]0586add@dependabot[bot]45dfa4e@dependabot[bot]d2010fc@dependabot[bot]2d6cf3a@bepb6fa2fe@bepfe34313@dependabot[bot]7ff95e0@dependabot[bot]98ab2ff@dependabot[bot]a1668da@dependabot[bot]Documentation
8502b60@jmooring #15512Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.
chore(deps): update dependency gohugoio/hugo to v0.170.0to chore(deps): update dependency gohugoio/hugo to v0.170.1cf8c5ae3e4227fc18d6fView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.