Update dependency hugo to v0.167.0 - #1487
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
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:
0.166.0→0.167.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
gohugoio/hugo (hugo)
v0.167.0Compare Source
This release brings relative partial references, slug support for branch pages, and a handful of security hardening fixes.
Relative partial references. A partial name starting with
./or../is now resolved relative to the directory of the calling partial. This makes it much easier to write self-contained, movable partial trees, e.g.{{ partial "./item.html" . }}from withinlayouts/_partials/card/list.html. Relative paths are only allowed from within partials, and paths resolving outside the partials directory is an error. See #15373 and the documentation.Slugs for section, taxonomy and term pages. The
slugfront matter now works for branch pages, not just regular pages, and it cascades to descendants. This is particularly useful in multilingual sites, where e.g.content/help/_index.es.mdwithslug: ayudagives/es/ayuda/,/es/ayuda/avanzado/etc. See #14352.Other notable improvements include the new
build.cleanDestinationDirconfig withkeepFiles/keepDirsGlob patterns (#14937, docs),hugonow builds without a config file (#15393), exact numeric comparisons ineq,where,inand the set functions (#15322, #15358), and automatic summaries that no longer end inside an open list or blockquote (#14044).Security
This release contains several hardening fixes. None of them are known to be exploited, but if you build sites with untrusted themes or modules, you should upgrade.
security.allowReadroots as the Node.js tools andjs.Build.41040cc(thanks to @Hama1cco)/assetswere resolved and read by ESBuild itself. The resolved path is now checked against the allowed read paths before ESBuild loads it.2aa51f3(thanks to @Hama1cco)2fe9bab## Foo {id="..."}) were written unescaped into the table of contentshref, allowing attribute breakout.671fbf2Note
baseURLis nowhttps://example.org/(it was empty). Hugo has always required a valid URL to work properly, so this mostly affects new and test sites, but if you relied on the empty default for relative URLs, setbaseURLexplicitly.bc68654@bep #14625 #15384cleanDestinationDirconfig key is deprecated in favour ofbuild.cleanDestinationDir.enable. The--cleanDestinationDirflag maps to the new key. Note that.gitfiles in the publish dir are now kept by default.9086193@bep #14937eqnow compares numeric values the same way aslt,leetc., so e.g.eq 1 1.0is nowtrue. Also,in,intersect,union,uniq,symdiff,complementandwhere'sin/not innow compare numbers exactly rather than viafloat64, and no longer require the Go types to match.4d628bb366377b@bep #15322 #15358140d936@jmooring #15389summaryLengthwhen needed so they don't end inside an open container element. This may change the summary for some pages.d692a24@bep #14044Bug fixes
fdbba5a@jmooring2782bfd@flyn-org5edd05b@bep #11266 #153691d87ee5@bepffbcdba@hktitof #15323a374b86@bep #15330Improvements
f6606f1@bep41040cc@bep2aa51f3@bepc7f9999@bep #15393dd16df1@jakezwang #11131140d936@jmooring #1538983ab799@bep5d43ab7@bep #14352806a62e@bep #153858bac4de@bepbd1588b@bep #153739086193@bep #14937a74b753@bep #843307b9fba@jmooring #843309fa49b@bep2fe9bab@bep671fbf2@bep25f2856@bep #15367cb6a707@bep #15355 #15361366377b@bep #15358 #1535910bb97b@bep51cd9e6@bepec578f0@jmooring #153555698de9@bepd692a24@bep #14044 #149273be817e@bep4d628bb@bep #15322 #15347aaacd12@jmooring #15332881c0ec@bepDependency Updates
1567bde@dependabot[bot]9e4059c@dependabot[bot]8e3bbe6@dependabot[bot]753c5fc@dependabot[bot]facde8a@dependabot[bot]c7e1a8e@dependabot[bot]ec57bb7@dependabot[bot] #15324Documentation
7a46cd2@mikoxyzBuild Setup
34d8cdb@bepConfiguration
📅 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 was generated by Mend Renovate. View the repository job log.