Repository navigation
chore(deps): update hugo to v0.170.0 - #506
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
| datasource | package | from | to | | --------------- | --------------------- | -------- | -------- | | docker | ghcr.io/gohugoio/hugo | v0.169.0 | v0.170.0 | | github-releases | gohugoio/hugo | v0.169.0 | v0.170.0 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.169.0→v0.170.00.169.0→0.170.0Release Notes
gohugoio/hugo (ghcr.io/gohugoio/hugo)
v0.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 main 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: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.