feat(github/hugo): update 0.123.3 ➼ 0.140.0 #1
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.123.3
->0.140.0
Release Notes
gohugoio/hugo (hugo)
v0.140.0
Compare Source
The big new feature in this release is js.Batch – this enables JavaScript bundle groups (e.g. scripts per section) with global code splitting and flexible hooks/runners setup.
Bug fixes
a5e5be2
@bep #12963565c30e
@bep #1315148dd6a9
@jmooring #13152744b856
@bepa32c889
@jmooring5ab38de
@bep #131233437340
@jmooring #12913 #13119Improvements
5c80cb0
@bep7de5317
@bep4cbd4ef
@bep852d868
@jmooring1e34e5b
@jmooring641d261
@jmooring #13131a834bb9
@bep4f130f6
@racehd9dfa112
@bep #13074ec1933f
@bep #1313675ad9cd
@bep #13133e293e7c
@bep #12626 #7499 #9978 #12879 #13113 #131166be2530
@bep #13130989b299
@bepDependency Updates
157d864
@dependabot[bot]947e4e6
@dependabot[bot]5f89786
@dependabot[bot]7b69218
@dependabot[bot]v0.139.5
Compare Source
This is a release created for technical reasons, see https://github.com/gohugoio/hugo/issues/13147
It's the same as https://github.com/gohugoio/hugo/releases/tag/v0.139.4 -- go there for release archives.
v0.139.4
Compare Source
This release contains a security fix. See this Security Advisory for details. Note that this is only relevant if you don't trust your content (e.g. Markdown) files.
What's Changed
54398f8
@jmooringb8c15f2
@bepd0dc518
@alexandearb529859
@jmooring #13107v0.139.3
Compare Source
What's Changed
c1dc35d
@bep #13093dea158c
@bep7e130e3
@dependabot[bot]88b7868
@dependabot[bot]fc3d1cb
@thirdkeywordv0.139.2
Compare Source
Note that this is the second patch release today. See v0.139.1. We had to do this release to get the Hugo Docs build running.
What's Changed
0ab8189
@bep #13084v0.139.1
Compare Source
What's Changed
aa3dd19
@bep #130825a50eee
@bep #130828d017a6
@bep #13076v0.139.0
Compare Source
This release is mostly about removing code that has been deprecated for a long time. This has been shown as an
ERROR
in the build log and failed the build for at least the last 6 minor Hugo versions, in most cases much longer.But this is also a full dependency refresh, and there are also some new stuff. For one, we added a
-O
flag tohugo server
to open up the site in your browser after start. This is now my (@bep) shortcut to start the server:Note
1fd845e
@bepad43d13
@bepBug fixes
8d92042
@bep #13065d4de780
@bep #13051e79ee0d
@deiningImprovements
e917401
@bep #130633b6eaf9
@bep #130455e3133a
@bepac6962d
@bep #1304023d21b0
@KN4CK3Rce9cf88
@bep #130378aba6dc
@bepa7df536
@bep #130212b97a2a
@jmooring #13023Dependency Updates
eb29814
@dependabot[bot]61e2ce2
@dependabot[bot]2d503f8
@dependabot[bot]3a6b2e6
@dependabot[bot]6bde8ab
@bep2c54c32
@dependabot[bot]7a2f04e
@dependabot[bot]7921777
@dependabot[bot]33e964d
@dependabot[bot]588c901
@bep #1295846e1705
@dependabot[bot]cb6580d
@dependabot[bot]Documentation
66dd6ec
@bep58a3c91
@bepBuild Setup
f7fc6cc
@bep #13029v0.138.0
Compare Source
What's Changed
95e2d5b
@bep #130192c3efc8
@bep #13016v0.137.1
Compare Source
What's Changed
ca4fc58
@bep4faaaf9
@bep #1301394b46c3
@bep #130092b0b3b8
@bep #13012801035b
@jmooring #13010v0.137.0
Compare Source
Note that we have no longer build the deploy feature in the standard and extended archives. If you need that, download archives with
withdeploy
in the filename. See instalation for details. You can read #12994 for more on the motivation behind this, but for one, it shaves off about 40% of the binary size.Bug fixes
30d9aea
@bep #130041f23b49
@bep #12854 #12998e10915f
@bepImprovements
fcdc454
@bep #12912 #130076cf23bf
@bep #1299762a96ce
@bep #12997889308d
@jmooring #1296172352f2
@jmooring89bd025
@bep #12994 #12994Dependency Updates
e3304db
@bep62567d3
@bepDocumentation
5fc1639
@jmooring1ec6fa3
@bepv0.136.5
Compare Source
Fix stuck server error issues
cb6e27b
@bep #11378v0.136.4
Compare Source
What's Changed
5bbe95f
@jmooring #12977v0.136.3
Compare Source
What's Changed
88d598a
@dvdksn #12971 #12970352be5b
@bepd37606d
@jmooring #12962f5e54d9
@bep42f37b4
@bep #12964v0.136.2
Compare Source
What's Changed
b5852d0
@dvdksn #12956 #12957 #12960v0.136.1
Compare Source
What's Changed
e4ad0c5
@bep #12954a2f666b
@bep #12948b1b3bbc
@jmooring #12945v0.136.0
Compare Source
Note that we have much improved the Dockerfile and image this release. But this also means a slightly different way of setting it up. Improved documentation will come soon, but see
41f69a7
#12920 #12885 #12921.Bug fixes
ea633dd
@akkuman #12926Improvements
6e1c5b6
@bep #12918e7d0757
@n1xx1 #129186b5e117
@Hasaber8 #1289721366e0
@bep #1292657151a5
@jmooring #126665bb22b6
@jvns #122694a79956
@dvdksn0398458
@chalin5b0b663
@jmooring3f68309
@jmooring #12906ab03588
@jmooring #128980450d69
@bep #113911158e63
@jmooring #12886d1ba52f
@jmooringDependency Updates
4985be1
@dependabot[bot]db653a8
@dependabot[bot]05bbd2c
@dependabot[bot]9b63552
@dependabot[bot]3223a65
@dependabot[bot]bc6fc47
@dependabot[bot]ffb41d1
@dependabot[bot]Documentation
5db27b1
@bepb7d62d7
@bepv0.135.0
Compare Source
This is a small release, the main motivation was to finally ... drum roll ... get a tagged Hugo Docker image published. Big thanks to @bmanth60 for the tip that solved this issue.
Improvements
4c02a52
@jmooring #10717da72ac2
@bep #128800ea796d
@jmooringDependency Updates
12c9ce3
@dependabot[bot]47b0555
@dependabot[bot]e56ea40
@dependabot[bot]578442f
@dependabot[bot]1e690c0
@khayyamsaleem #12827Build Setup
0d390d7
@bep #12753v0.134.3
Compare Source
e07028c
@bep22a9f3f
@bep #11458e363964
@bep #11458c260cb2
@David-Else #12677e079145
@bep5b442b3
@jmooring #128512bc2765
@jmooring #1284928f621d
@bepv0.134.2
Compare Source
What's Changed
3d6baed
@bep #12837v0.134.1
Compare Source
What's Changed
66a3a11
@bep #128288f2eac0
@bep #12822v0.134.0
Compare 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.ContentWithoutSummary
method. 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
,manual
andfrontmatter
) – they are now all HTML. This is a slightly breaking change (manual
was 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
.Content
for 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.Markup
with an optionalscope
argument.In the list template you would do something like this:
You can think of the custom scope
list
as 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.Store
to the templates that render this markup (shortcodes, render hooks), or you can use the new globalhugo.Context.MarkupScope
function 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.0
added blockquote render hooks with GitHub styled alerts. We have since then gotten some feedback about extended alert syntax in Obsidian, and in Hugov0.134.0
we 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.1
Compare Source
Bug fixes
5f667f8
@bep #127957792392
@jmooringe1becf1
@bep #12793v0.133.0
Compare Source
What's Changed
01008ba
@bep #1277653c0ddf
@dependabot[bot]133eeaf
@bep2168c5b
@bep #12763v0.132.2
Compare Source
What's Changed
d72607a
@bep #127678323526
@bep #127655220d37
@0xB10Cb2d4f67
@bepa99716b
@bep #1275398aa536
@bep #127539231a7f
@bep #12753v0.132.1
Compare Source
What's Changed
77304a3
@bep #12753bef9214
@bep #12756v0.132.0
Compare 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.0
Compare 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
permalinks
tokens 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
@bepurl
566fe7b
@n1xx1 #97149257301
@bep071f8b4
@bepae9d5e7
@bep216a69a
@bep #12688 #12656e67886c
@bepd5eda13
](https://redirect.github.com/gohugoio/hConfiguration
📅 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 has been generated by Renovate Bot.