chore(deps): update dependency gohugoio/hugo to v0.160.0#57
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update dependency gohugoio/hugo to v0.160.0#57renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
8fa3c06 to
d27487e
Compare
d27487e to
435402b
Compare
e134e3a to
fe561be
Compare
fe561be to
c66ae80
Compare
c66ae80 to
1afa7a5
Compare
1afa7a5 to
bc2bafc
Compare
b5f8149 to
e9f4d96
Compare
e9f4d96 to
f0d7cd5
Compare
f0d7cd5 to
e9f97a0
Compare
e9f97a0 to
03461fa
Compare
03461fa to
9021224
Compare
9021224 to
5335642
Compare
5335642 to
b399d23
Compare
0bd885f to
56c226e
Compare
56c226e to
d905d21
Compare
d905d21 to
2189d73
Compare
2189d73 to
e0d5470
Compare
e0d5470 to
4d9f32c
Compare
4d9f32c to
8452958
Compare
8452958 to
ccede93
Compare
ccede93 to
c97be24
Compare
c97be24 to
107f9ab
Compare
107f9ab to
23aa08b
Compare
23aa08b to
70ca2c7
Compare
70ca2c7 to
344449f
Compare
344449f to
2068f91
Compare
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.121.0→v0.160.0Release Notes
gohugoio/hugo (gohugoio/hugo)
v0.160.0Compare Source
Now you can inject CSS vars, e.g. from the configuration, into your stylesheets when building with css.Build. Also, now all the render hooks has a .Position method, now also more accurate and effective.
Bug fixes
4e91e14@bep #14710dc9b51d@bep #1471543aad71@bep #14711Improvements
481baa0@bep5d09b5e@bep #14699303e443@bep #14663638262c@bepDependency Updates
bf6e35a@dependabot[bot]0eda24e@dependabot[bot]beb57a6@dependabot[bot]Documentation
9f1f1be@jmooringv0.159.2Compare Source
Note that the security fix below is not a potential threat if you either:
EDIT IN: This release also adds release archives for non-extended-withdeploy builds.
What's Changed
479fe6c@bepdf520e3@jmooring #14684v0.159.1Compare Source
The regression fixed in this release isn't new, but it's so subtle that we thought we'd release this sooner rather than later. For some time now, the minifier we use have stripped namespaced attributes in SVGs, which broke dynamic constructs using e.g. AlpineJS' x-bind: namespace (library used by Hugo's documentation site).
To fix this, the upstream library has hadded a
keepNamespacesslice option. It was not possible to find a default that would make all happy, so we opted for an option that at least would make AlpineJS sites work out of the box:What's Changed
42289d7@bep #14669v0.159.0Compare Source
This release greatly improves and simplifies management of Node.js/npm dependencies in a multi-module setup. See this page for more information.
Note
a8fca59@bep182b104@bepeb11c3d@bepBug fixes
eaf4c75@jmooring #14649Improvements
807cae1@mango766 #14112c4fb61d@xndvaz #4621hugo mod npm packd88a29e@bep9dd9c76@buley3315a86@bep3824484@bep7813c5c@bep #14649Dependency Updates
3ff9b7f@dependabot[bot]be93ccd@dependabot[bot]2669bca@dependabot[bot]753d447@dependabot[bot]4f39d72@dependabot[bot]Documentation
d2043cf@bep4f3c398@bepv0.158.0Compare Source
This release adds css.Build, native and very fast bundling/transformation/minifying of CSS resources. Also see the new strings.ReplacePairs, a very fast option if you need to do many string replacements.
Notes
1f578f1@bep #14595. This fixes a security issue in Go's template package used by Hugo: https://www.cve.org/CVERecord?id=CVE-2026-27142Deprecations
The methods and config options are deprecated and will be removed in a future Hugo release.
Also see this article
Language configuration
languageCode→ Uselocaleinstead.languages.<lang>.languageCode→ Uselanguages.<lang>.localeinstead.languages.<lang>.languageName→ Uselanguages.<lang>.labelinstead.languages.<lang>.languageDirection→ Uselanguages.<lang>.directioninstead.Language methods
.Site.LanguageCode→ Use.Site.Language.Localeinstead..Language.LanguageCode→ Use.Language.Localeinstead..Language.LanguageName→ Use.Language.Labelinstead..Language.LanguageDirection→ Use.Language.Directioninstead.Bug fixes
e431f90@bep #1462059e0446@jmooring #14615842d8f1@bep #146114eafd9e@bep #13877 #14601e310822@bepc9b88e4@bep #14536f797f84@bep #14573Improvements
3c980c0@bep #14629404ac00@jmooring #1462606fcb72@bep9b5f1d4@jmooring #14627623722b@bep #14623a7cbcf1@bep #1461936cdb2c@jmooring #146143e3b849@bep #14609 #14613c47ec23@bep #126934652ae4@bep13a95b9@jmooring #1459454c8048@bep157bfdd@bepd4f2122@jmooring #14269991d2f9@bepe857777@jmooring #1457144dc384@bep #14568Dependency Updates
0e46a97@bepc27d9e8@dependabot[bot]098eac5@dependabot[bot]87f8de8@dependabot[bot]67ef6c6@dependabot[bot]b29c2f7@dependabot[bot]e91d191@dependabot[bot]a8a54bd@dependabot[bot]v0.157.0Compare Source
The notable new feature is GitInfo support for Hugo Modules. See this repo for a runnable demo where multiple versions of the same content is mounted into different versions.
Bug fixes
3dff7c8@bep #145668e28668@bep #14562a18bec1@bep #14540Improvements
d98cd4a@bep #145646805997@jmooring #1455649bfb10@bep #14549b7203bb@jmooringdfece5b@bep #14431 #5533resources.GetRemote2d691c7@vanbroupb96d58a@bep65b4287@bep #14550cc338a9@bep3850881@bep #14543Dependency Updates
9869e71@dependabot[bot]8f47fe8@dependabot[bot]v0.156.0Compare Source
This release brings significant speedups of collections.Where and collections.Sort – but this is mostly a "spring cleaning" release, to make the API cleaner and simpler to understand/document.
Deprecated
See this topic for more info.
Removed
These have all been deprecated at least since
v0.136.0and any usage have been logged as an error for a long time:Template functions
Page methods:
Paginator:
Site methods:
Site config:
File caches:
Notes
af5051e@bep86aa625@bep #145214148ede@jmooring #14532828ee72@jmooring #143414384f9b@jmooring #1449155d136d@jmooring #14488Bug fixes
4a641d1@bep #145133f9d0ad@bep #1452432027e5@khayyamsaleem #14344498431d@jmooring773664b@bep #13422Improvements
bba2aed@bep29b8e17@bep #145313c82340@bepab62320@jmooring #14479 #144818d19f5a@bep #145227729473@bep47e39af@bep7850e7c@jmooring #145072e5132d@bep19ab3f5@jmooring #145043158a51@jmooring #13481b358a65@bep8ae5e1a@bepe277659@toddy15 #14486Dependency Updates
d8ec0ee@dependabot[bot]21be4af@dependabot[bot]e549016@dependabot[bot]a392906@dependabot[bot]86786c9@dependabot[bot]7a7308a@dependabot[bot]2d1d731@dependabot[bot]b26fbf8@dependabot[bot]7358309@dependabot[bot]Build Setup
e6f01bb@jmooring #14519de0c9f3@jmooring #14466Documentation
8b7b6af@bep7137714@jmooring #14502v0.155.3Compare Source
What's Changed
6ac7d08@bep #1448224eb84f@bep #1446995a3678@dependabot[bot]9045797@bep #14470v0.155.2Compare Source
Note that the bug fix below is for the two new dimensions introduced in
v0.153.0(version and role), multiple languages worked fine. Also, changes to the first version and role also worked, which had me head-scratching for a while. Oh, well, enjoy.0f1c7d1@bep #144616bd2bde@bep #14337 #14460v0.155.1Compare Source
What's Changed
b5d43cd@bep #14453b1e1eed@jmooring #14449f522a72@jmooringv0.155.0Compare Source
Some notable new things in this release are:
>= v1.0.0), and we now cache Go module version queries, which makes mounting multiple versions of the same GitHub repo with different version much more practical and enjoyable, se this site and config for an annotated example.aliasesnow works in multidimensional sites (e.g. multiple languages), and it is now much easier to create e.g. Netlify_redirectsfiles that works in such setups.Breaking change
Prior to v0.155.0, alias paths beginning with a slash (
/) were treated as server-relative. In v0.155.0 and later, they are now site-relative. This change only affects multilingual single-host projects that used alias paths beginning with a slash (/) to cross language boundaries. See details.Note
ee91c70@bep #14402Bug fixes
8a979d5@wjiecfd49df8@bepc7b35c8@bep #144418dfcece@bep #14433f472dd4@simonheimlicher #1441948566b6@simonheimlicher11f7f39@bep #14409 #144125ba03bf@jmooring #14388c1b2e58@bep #144052c61109@Sam-404-404 #1437232334d0@jmooring #14381Improvements
5916b61@bep #144377eafef2@bep00c4228@bep #144395f5b2f3@bep #14438ef7a22a@bep9a6bfe2@bep0fc63fb@bep50973e7@bepb441472@bep #14417ac2c3fb@bep #14414192e3c4@bep #14359e569dd5@bep #143701a94731@bep #143978e9e04e@jmooring #143908e2e60d@bep #131462bc54df@bep608ed09@bepd36a8f5@bep #14371Dependency Updates
7d45614@dependabot[bot]7f12c09@dependabot[bot]dab2c33@dependabot[bot]576d55d@dependabot[bot]b9400b8@dependabot[bot]ce0c7f4@dependabot[bot]7721411@bep1878471@dependabot[bot]94f1ede@dependabot[bot]ab374e3@dependabot[bot]1a91330@jmooring #14368Build Setup
e66a33d@bep #14448Documentation
b3ea2a5@jmooring67b5435@jmooring5a64551@bepv0.154.5Compare Source
What's Changed
a775488@bep #14357 #1436166ba63c@Hasaber8 #14207eb06a3c@jmooringv0.154.4Compare Source
What's Changed
ec178ea@BarkinBalci #140982d80b8a@bep #14354 #14356a2b2a5a@dependabot[bot]Also see the new Page.OutputFormats.Canonical method.
v0.154.3Compare Source
What's Changed
866b8e5@dependabot[bot]v0.154.2Compare Source
What's Changed
e9b9b36@bep #14339v0.154.1Compare Source
What's Changed
8f3527f@bep09048aa@bep #14333v0.154.0Compare Source
Hugo
v0.154.0is the 14th release this year (not counting patch releases) and introduces partial decorators, or “partials with a twist.” This is a very powerful construct that I, @bep, have always wanted to have in Hugo, but I could never wrap my head around an implementation. Until now.A small and not very useful example:
The above renders to:
innerkeyword can be used zero or more times in a partial template, typically with different data (e.g. pages in a range), and its presence signals a reversal of the execution -- the callee becomes the caller.This release also brings some new utility funcs in the reflect package to identify the core types in Hugo. For example, to identify an processable image hasn't been trivial, now it is:
Bug fixes
5c7fad2@bep #13418bf1d20d@bep #14104 #14325Improvements
d3b5d47@majiayu000 #1427786cd183@bep871da33@jmooring #143091deec99@bepb7bb557@bep #143077c19c19@bep #13193Dependency Updates
2637aa1@dependabot[bot]v0.153.5Compare Source
What's Changed
c6ae33c@bepedeebf0@bep #14321ea9675f@simonheimlicher #14316v0.153.4Compare Source
What's Changed
96777d9@bep #14310v0.153.3Compare Source
What's Changed
96ac146@dependabot[bot]d4c0e44](https://redirect.github.com/gohugoio/hugo/comConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.