- Notifications
You must be signed in to change notification settings - Fork1.1k
Commit5b89da0
authored
chore: bump github.com/gohugoio/hugo from 0.152.2 to 0.153.1 (#21368)
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo) from0.152.2 to 0.153.1.<details><summary>Release notes</summary><p><em>Sourced from <ahref="https://github.com/gohugoio/hugo/releases">github.com/gohugoio/hugo'sreleases</a>.</em></p><blockquote><h2>v0.153.1</h2><blockquote><p>[!note]This is a bug fix release. See the <ahref="https://github.com/gohugoio/hugo/releases/tag/v0.153.0">mainrelease</a> for a list of new features.</p></blockquote><ul><li>Handle PNG named *.webp 4085ee93 <ahref="https://github.com/bep"><code>@bep</code></a> <ahref="https://redirect.github.com/gohugoio/hugo/issues/14288">#14288</a></li><li>Revert deprecation logging for contentDir per language 168bf17e <ahref="https://github.com/bep"><code>@bep</code></a> <ahref="https://redirect.github.com/gohugoio/hugo/issues/14287">#14287</a></li><li>Fix panic when 404 is backed by a content file f740d7cf <ahref="https://github.com/bep"><code>@bep</code></a> <ahref="https://redirect.github.com/gohugoio/hugo/issues/14283">#14283</a></li><li>internal/warpc: Increase WebP memory limit to 256 MiB 5f46da6e <ahref="https://github.com/jmooring"><code>@jmooring</code></a> <ahref="https://redirect.github.com/gohugoio/hugo/issues/14282">#14282</a></li></ul><h2>v0.153.0</h2><blockquote><p>[!note]There is a newer bug fix release available <ahref="https://github.com/gohugoio/hugo/releases/tag/v0.153.1">here</a>.</p></blockquote><p>This is a good one! Hugo <code>v0.153.0</code> comes with a powerfulnew multidimensional content model (languages, versions and roles) andcompletely overhauls WebP image support, and much more:</p><ul><li>For the new multidimensional content model, start reading <ahref="https://gohugo.io/quick-reference/glossary/#sites-matrix">sitesmatrix</a> and <ahref="https://gohugo.io/quick-reference/glossary/#sites-complements">sitescomplements</a>. The matrix is what gets written to disk,<code>complements</code> allows e.g. a site in Swedish to fill inmissing gaps in the site in Norwegian's page and resource collections.Also see the new <ahref="https://gohugo.io/methods/page/rotate/">Rotate</a> method, thatallows you to rotate the content tree in a given dimension.</li><li>For WebP we now build a WASM version of <ahref="https://github.com/webmproject/libwebp/">libwebp</a>(<code>v1.6.0</code>) and run it in the <ahref="https://wazero.io/">Wazero</a> runtime. We use this for bothencoding and decoding. This solves an old and annoying issue with Go'sstdlib's decoder, with <ahref="https://redirect.github.com/gohugoio/hugo/issues/8879">loss ofcontrast and muted colors</a> in some photos, but it also means that youdon't need the extended version of Hugo to handle WebP images. And, drumroll, we now also support animated WebP, including converting to andfrom animated GIFs.</li><li>For MacOS, we now build signed and notarised <code>pkg</code>installers.</li></ul><p>Also:</p><ul><li>The Asciidoctor integration is greatly improved.</li><li>New template funcs <ahref="https://gohugo.io/functions/urls/pathunescape/">urls.PathUnescape</a>and <ahref="https://gohugo.io/functions/urls/pathescape/">urls.PathEscape</a>.</li><li><ahref="https://gohugo.io/functions/openapi3/unmarshal/">openapi3.Unmarshal</a>now support external refs (including remote refs).</li></ul><h2>Notes</h2><ul><li>tpl/css: Deprecate libsass in favor of dartsass (note) 9937a5dc <ahref="https://github.com/bep"><code>@bep</code></a> <ahref="https://redirect.github.com/gohugoio/hugo/issues/14261">#14261</a></li><li>Build Order: Hugo builds sites based on the sorted dimensions (seebelow). In earlier versions, we built the sites starting with thedefault content language. This change is also reflected in the sortorder of <code>.Site.Sites</code> to make it consistent with<code>.Site.Languages</code>.</li><li>Sort Order: The dimensions are sorted as follows, which affectsbuild order and complement selection:<ul><li>languages: By weight, then by name.</li><li>versions: By weight, then by semantic versioning (descending).</li><li>roles: By weight, then by name.</li></ul></li><li>Deprecations:<ul><li>The lang option on mounts (<ahref="https://gohugo.io/configuration/module/#mounts">https://gohugo.io/configuration/module/#mounts</a>)and segments(<ahref="https://gohugo.io/configuration/segments/#segment-definition">https://gohugo.io/configuration/segments/#segment-definition</a>)is deprecated in favor of the more powerful <code>sites.matrix</code>option.</li><li>File mount <code>includeFiles</code> and <code>excludeFiles</code>are deprecated in favour of the new files filter, which supportsnegation.</li></ul></li><li>Logging: We no longer log warnings about potential duplicate contentpaths, as this becomes impractical to reason about with acomplex sites matrix.</li></ul><h2>Bug fixes</h2><ul><li>Fix some outdated front matter b82e496c <ahref="https://github.com/bep"><code>@bep</code></a> <ahref="https://redirect.github.com/gohugoio/hugo/issues/14271">#14271</a></li><li>Fix server rebuilds on editing content with Chinese terms e2e64aee<a href="https://github.com/bep"><code>@bep</code></a> <ahref="https://redirect.github.com/gohugoio/hugo/issues/14240">#14240</a></li><li>Fix slow server startup of very big content trees 7a43b928 <ahref="https://github.com/bep"><code>@bep</code></a> <ahref="https://redirect.github.com/gohugoio/hugo/issues/14211">#14211</a></li><li>github: Fix "no space left on device" issue in CI b037b930<a href="https://github.com/bep"><code>@bep</code></a></li><li>docs: Fix link to CGO wiki page 5af31128 <ahref="https://github.com/jordelver"><code>@jordelver</code></a></li></ul><!-- raw HTML omitted --></blockquote><p>... (truncated)</p></details><details><summary>Commits</summary><ul><li><ahref="https://github.com/gohugoio/hugo/commit/8e6cac8462d210f611154068eaa24c4461357653"><code>8e6cac8</code></a>releaser: Bump versions for release of 0.153.1</li><li><ahref="https://github.com/gohugoio/hugo/commit/4085ee9340373b806a74654ff46586cc6d99d096"><code>4085ee9</code></a>Handle PNG named *.webp</li><li><ahref="https://github.com/gohugoio/hugo/commit/168bf17e7042a4df98742d21354205b8a48641a5"><code>168bf17</code></a>Revert deprecation logging for contentDir per language</li><li><ahref="https://github.com/gohugoio/hugo/commit/80ea90c880e805814d6689769c4a1969f592f539"><code>80ea90c</code></a>images: Add some more PNG tests</li><li><ahref="https://github.com/gohugoio/hugo/commit/f740d7cfe0ebaec7056a8fc2b770e46b86c13ee7"><code>f740d7c</code></a>Fix panic when 404 is backed by a content file</li><li><ahref="https://github.com/gohugoio/hugo/commit/5f46da6e2a3f838b40176775c0b46855f4f8f529"><code>5f46da6</code></a>internal/warpc: Increase WebP memory limit to 256 MiB</li><li><ahref="https://github.com/gohugoio/hugo/commit/fe64a682254e32391a6d0c78f277b1133e1f4583"><code>fe64a68</code></a>releaser: Prepare repository for 0.154.0-DEV</li><li><ahref="https://github.com/gohugoio/hugo/commit/b4128babb839feaa962c00e777f0d2fe8d811f7d"><code>b4128ba</code></a>releaser: Bump versions for release of 0.153.0</li><li><ahref="https://github.com/gohugoio/hugo/commit/790a5b70142a07a8046763359a16a553474a1928"><code>790a5b7</code></a>hugoreleaser: Updage macospkgremote to increase notarizationtimeout</li><li><ahref="https://github.com/gohugoio/hugo/commit/70ce2446b593a67f8871ce78cf250a95062af9e0"><code>70ce244</code></a>Merge commit '08e1ea5c709d3d49bdc3ce3c21e8fa05a33150d0'</li><li>Additional commits viewable in <ahref="https://github.com/gohugoio/hugo/compare/v0.152.2...v0.153.1">compareview</a></li></ul></details><br />[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)Dependabot will resolve any conflicts with this PR as long as you don'talter it yourself. You can also trigger a rebase manually by commenting`@dependabot rebase`.[//]: # (dependabot-automerge-start)[//]: # (dependabot-automerge-end)---<details><summary>Dependabot commands and options</summary><br />You can trigger Dependabot actions by commenting on this PR:- `@dependabot rebase` will rebase this PR- `@dependabot recreate` will recreate this PR, overwriting any editsthat have been made to it- `@dependabot merge` will merge this PR after your CI passes on it- `@dependabot squash and merge` will squash and merge this PR afteryour CI passes on it- `@dependabot cancel merge` will cancel a previously requested mergeand block automerging- `@dependabot reopen` will reopen this PR if it is closed- `@dependabot close` will close this PR and stop Dependabot recreatingit. You can achieve the same result by closing it manually- `@dependabot show <dependency name> ignore conditions` will show allof the ignore conditions of the specified dependency- `@dependabot ignore this major version` will close this PR and stopDependabot creating any more for this major version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this minor version` will close this PR and stopDependabot creating any more for this minor version (unless you reopenthe PR or upgrade to it yourself)- `@dependabot ignore this dependency` will close this PR and stopDependabot creating any more for this dependency (unless you reopen thePR or upgrade to it yourself)</details>Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent3f13859 commit5b89da0
2 files changed
+61
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
| 263 | + | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
| 494 | + | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
| 497 | + | |
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
| 513 | + | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| 517 | + | |
517 | 518 | | |
518 | 519 | | |
519 | 520 | | |
| 521 | + | |
| 522 | + | |
520 | 523 | | |
521 | 524 | | |
522 | 525 | | |
523 | 526 | | |
524 | 527 | | |
525 | 528 | | |
526 | 529 | | |
527 | | - | |
| 530 | + | |
528 | 531 | | |
529 | 532 | | |
530 | 533 | | |
| |||
0 commit comments
Comments
(0)