ci(deps): update dependency hugo to v0.134.3#158
Closed
renovate[bot] wants to merge 1 commit intomasterfrom
Closed
ci(deps): update dependency hugo to v0.134.3#158renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
81218a1 to
1bb2925
Compare
1bb2925 to
ccdb00c
Compare
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
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.124.1->0.134.3Release Notes
gohugoio/hugo (hugo)
v0.134.3Compare Source
e07028c@bep22a9f3f@bep #11458e363964@bep #11458c260cb2@David-Else #12677e079145@bep5b442b3@jmooring #128512bc2765@jmooring #1284928f621d@bepv0.134.2Compare Source
What's Changed
3d6baed@bep #12837v0.134.1Compare Source
What's Changed
66a3a11@bep #128288f2eac0@bep #12822v0.134.0Compare Source
Hugo v0.134.0 brings render hooks for tables, ContentWithoutSummary, scoped content render and Obsidian style callout alerts.
ContentWithoutSummary and scoped content render
This release finally brings a
Page.ContentWithoutSummarymethod. This has been a long sought after method where the use case is obvious: render the summary with a more button that renders the ... content without summary. To enable this we have reimplemented the content summary handling in Hugo. This consolidates the 3 summary types (auto,manualandfrontmatter) – they are now all HTML. This is a slightly breaking change (manualwas plain text before), but the new behaviour should be much less confusing and easier to handle in the templates. If you want plain text, pipe it intoplainify:{{ .Summary | plainify }}.Before this release there was one instance of
.Contentfor a given page, it was e.g. not possible to render a page's content slightly different (e.g. different heading levels) on the list pages or the home page. This release anables that with a newPage.Markupwith an optionalscopeargument.In the list template you would do something like this:
You can think of the custom scope
listas a cache key: Multiple invocations on the same page with the same scope will give the same return value. You can now pass down some data or configuration to in.Page.Storeto the templates that render this markup (shortcodes, render hooks), or you can use the new globalhugo.Context.MarkupScopefunction made for this purpose:Render hooks for tables
This has been a long sought after feature. Now you can have full control over how you render your Markdown tables with table render hooks.
Obsidian style callout alerts
Hugo
v0.133.0added blockquote render hooks with GitHub styled alerts. We have since then gotten some feedback about extended alert syntax in Obsidian, and in Hugov0.134.0we now support both.Bug fixes
96afea4@bep8fb9335@deining1ecd059@jmooring #12797Improvements
504a231@bepe651d29@bep #12805 #128014691248@bep6d97ee7@bepf738669@bep #9316 #12811b63f24a@jmooringa3684c8@jmooring #742853a8de2@chalin3760926@bep #8680 #12761 #12778 #716371246d@bepDependency Updates
2b5c335@bep #1264912a28ef@dependabot[bot]4ded32d@dependabot[bot]Documentation
ae38158@offgrid88v0.133.1Compare Source
Bug fixes
5f667f8@bep #127957792392@jmooringe1becf1@bep #12793v0.133.0Compare Source
What's Changed
01008ba@bep #1277653c0ddf@dependabot[bot]133eeaf@bep2168c5b@bep #12763v0.132.2Compare Source
What's Changed
d72607a@bep #127678323526@bep #127655220d37@0xB10Cb2d4f67@bepa99716b@bep #1275398aa536@bep #127539231a7f@bep #12753v0.132.1Compare Source
What's Changed
77304a3@bep #12753bef9214@bep #12756v0.132.0Compare Source
Server-side math rendering using KaTeX with Markdown render hooks support, blockquote Markdown render hooks with GitHub style alerts syntax support, and more.
Bug fixes
e1e1baa@bep #12748fbfccb3@bep #1273369455fa@bepImprovements
2192cf7@bepe422635@bep891aa00@bep #12745 #12746946e6af@bep #873233c0938@bep #119270c3a1c7@bepceed812@bepdbff48e@bep665ac94@bep #125904c162de@bepc6227f1@bep #1192710891f3@bep #12718c07e94f@bepDependency Updates
5d84f64@bep #127411781b18@dependabot[bot]d6d9ddd@dependabot[bot]8f8d12a@dependabot[bot] #12718Documentation
ef2e30e@bepBuild Setup
b08de70@morremeyer #10760v0.131.0Compare Source
Note that if you use Hugo's image processing, your processed images will get new (shorter!) file names when you build your site with this release. We have upgraded a third party hashing library to fix some rare but potential hash collisions, and since this would change some of the image hashes, we thought we might as well do some other related changes: We now use xxHash to create the image file hashes (very fast!) and we have removed the verbose processing information, making the filenames much shorter.
This release is also a full dependency refresh and it comes with one notable and very useful new feature. It is now possible to use
permalinkstokens in the front matterurl. See the documentation for more info. Thanks to @n1xx1 for the implementation.Note
2babd64@bepBug fixes
944fcc2@bep #12712Improvements
914fa13@n1xx151f09b1@n1xx1a5db76f@bepurl566fe7b@n1xx1 #97149257301@bep071f8b4@bepae9d5e7@bep216a69a@bep #12688 #12656e67886c@bepd5eda13@bep8b5d796@bep78db8ae@bep #116443140e0b@bepDependency Updates
be64358@dependabot[bot]20e4dd2@dependabot[bot]f411499@dependabot[bot]47fee83@dependabot[bot]99665ef@dependabot[bot]eb2eeee@dependabot[bot]bea5a46@bepf1a7f3d@dependabot[bot]08243be@dependabot[bot]0490a8a@dependabot[bot]d795cac@bep78c9a18@bep79aa2ab@bepc9d7577@bep #116449989404@bepb81ba2a@bepafdd87d@bepv0.130.0Compare Source
What's Changed
9d2b5f9@raoulb Documentation72ff937@bep #10855 #8586 #8996 Documentationv0.129.0Compare Source
This release brings a rewrite of the logic around browser refreshes when running
hugo server. We have seen some situations where asset changes (e.g. image/CSS/JS) has not been refreshed reliably in all browsers, even with the developer console open and the cache disabled. We suspect this comes from a recent browser bug (typically: Works fine in Safari, does not refresh in Chrome). The strategy we've been using when a change triggers multiple changes (e.g. both HTML and CSS) is to do one "browser force refresh", which in LiveReload ends up as awindow.location.reload(). With this release we:livereload.Start the server with:
And you should see how Hugo handles browser updates when you change content/templates etc.
A related tip; start the server with
Hugo will navigate to the content file you're changing and log it in the console.
Also new in this release a new xxHash hashing function that is much faster than any of the other hashing functions in Hugo, especially for larger inputs.
Note
We have upgraded the integration with Git used to load GitInfo to be part of Hugo's Security Policy. We have added
gitto the default whitelist, but if you have a custom security policy, you may have to update that.Bug fixes
cc2d19e@bep #12648251a23e@bep #12625Improvements
4d8bfa7@bepf0ed91c@bep #12655094f746@bep #12643fb8909d@bep #126430ee2610@PeskyPotato #10905644d554@bep #12635Dependency Updates
7be0377@bep #8627439f07e@bepce5a2ce@bep0f42d97@bepv0.128.2Compare Source
What's Changed
8cf96f2@bep #12638v0.128.1Compare Source
What's Changed
7b6dafc@bep #12438a95fe50@CyrusYip932ab4c@jmooringv0.128.0Compare Source
This release brings TailwindCSS v4 (alpha) support. For more info about the TailwindCSS 4 integration, see this repo. Also notable is the new templates.Defer template func and the dramatically improved performance of
$page.GetTermsfor bigger sites.Bug fixes
c880faa@bep #126218731d88@bep #12617ad6d91c@bep #126007ee36b3@razonyangImprovements
e1317dd@bep #12618 #12620eddcd2b@bep #1261816e4662@bep6cd0784@bep #8086 #125891c85830@bep #12486d5542ed@depp #12607478a910@bep #126108efc75b@jmooring #1259757165d4@jmooring9c3143c@bep #125729f22bc4@bepcba2de6@jmooring #125789c4e14e@bep #125721cdd3d0@bep #12575Dependency Updates
79da24a@jmooringb187c06@jmooring8cf94ae@jmooring #12580b57306d@bep #12575Build Setup
1687a9a@bep #12378Documentation
3b72446@bepb46d101@bepv0.127.0Compare Source
This release brings proper HTTP caching and live reloading of remote resources fetched with resources.GetRemote, especially useful when used with content adapters.
Note that this isn't enabled out of the box, so if you need this, you need to add some configuration. The demo below is configured as:
hugodemo__v0127.mp4
What's Changed
447108f@bep #12502 #118912b05a50@bep #12502 #12570v0.126.3Compare Source
917199a@bep #12561c8dac67@jmooring #125130068f03@razonyang0221ddb@bep #12556v0.126.2Compare Source
Bug fixes
1464091@bep #12538519f41d@bep #12544b893a09@jmooring #12514Improvements
2c88e45@bepeaa42a8@bep #12530245928a@bep #125077f30617@jmooring #12525931e096@jmooring #12520548dc21@jmooring #125196b00661@bep #12511v0.126.1Compare Source
What's Changed
39cf906@bep #124971aacfce@bep #12493v0.126.0Compare Source
This release brings, drum roll, a long-awaited Hugo feature that has had many names. At one point we named it pages from data. You can read all about it in the documentation where it's titled Content Adapters.
Also worth mentioning are the new Extras Goldmark Extensions, which allows you to enable Markdown syntax for inserted text, mark text, subscript and superscript. A big thanks to @bowman2001 for the implementation.
Improvements
74ab839@jmooring #1243392290aa@jmooring #124326dbbe6d@jmooring #12490e2d66e3@bep #12427 #12485 #6310 #507455dea41@jmooring #1247987ab7f7@jmooring #124806dfeb9f@jmooring #12468ca9a77e@jmooringDependency Updates
ee26e69@dependabot[bot]6e83d00@dependabot[bot]Documentation
2661402@bepBuild Setup
d02f062@bep #12451 #6290v0.125.7Compare Source
Note that this release is only relevant if you use Hugo's
openapi3.Unmarshaltemplate function.What's Changed
3c6260f@bepv0.125.6Compare Source
What's Changed
bb59a7e@bep #12395 #12456503d209@bep #1245868e9532@dependabot[bot]9cd7db6@bepc892e75@bepv0.125.5Compare Source
What's Changed
7be7f89@bep #12449c8e400b@bep #123849dd6870@bep #12436v0.125.4Compare Source
What Changed
7203a95@bep #12296fb51b69@jmooring #12418fe84cc2@Habbiebabcb33@bep #122886b86797@bep #12415fb08439@dependabot[bot]v0.125.3Compare Source
This release fixes a security issue reported by @ejona86 (see #12411) that could allow XSS injection from Markdown content files if one of the internal link or image render hook templates added in Hugo 0.123.0 are enabled. You typically control and trust the content files, but according to Hugo's security model, we state that "template and configuration authors (you) are trusted, but the data you send in is not."
509ab08@bep15a4b9b@bep10a8448@jmooring #12396722c486@ejona86f40f50e@bep #12407v0.125.2Compare Source
What's Changed
06d2489@bep #12399004b694@bepda6112f@jmooring #12393faf9fed@bep11aa893@jmooring #12387v0.125.1Compare Source
What's Changed
0c188fd@bep #12383bbc6888@bep #12381v0.125.0Compare Source
Some of the notable new features in this release:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.