ci(deps): update dependency hugo to v0.114.1 - autoclosed #15
+1
−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.73.0
->0.114.1
Release Notes
gohugoio/hugo (hugo)
v0.114.1
Compare Source
Bug fixes
078226d
@bep #11149b1016d2
@bep #11145Improvements
49336bf
@brianknight10 #10715Dependency Updates
ae31dbd
@bep9418182
@dependabot[bot]5491e55
@dependabot[bot]bf7af90
@jmooring #11132Build Setup
06d228a
@jmooringv0.114.0
Compare Source
The main new thing in this release is that we now support both major versions of the Dart Sass Embedded protocol, which means that you now can use the regular Dart Sass binary. We measured the new protocol to be faster with high concurrency:
We have also moved to a new log library and added some new math functions and also revised the existing set to work better with a mix of scalars and slices.
Notes
--log
,--verboseLog
, added the new flag--logLevel
and deprecated--verbose
and--debug
See #11088Bug fixes
6dfbd24
@bep68d9d3e
@deining9009c8c
@alexandear12dc9a6
@bep #11127ee359df
@bep #11112d178fe9
@bep #1109321d1756
@bep #1107960a2cdf
@bep #110890541a1b
@bep #11090b8526f3
@alexandearc782ebd
@bep #11074Improvements
3ab8465
@bepf59c3c0
@bep3ca29b1
@bepfdb0b7f
@bep1b85303
@bep #111307c9fada
@bep #11124f73c567
@bep #1045890b2674
@bep #111102ba2271
@bep #11030ef147f4
@bep #9648 #11071258884f
@Sircular #739169f0e88
@beped7e250
@bep6a09e7f
@bep29e5cbb
@bepded6866
@bepe1d4302
@jmooring #110805db215d
@bepb7dc93c
@bep #11083f210188
@bep #11059Dependency Updates
59300fa
@bep49dd53a
@bep #111328a04d47
@dependabot[bot]aaf2e96
@dependabot[bot]0f989d5
@dependabot[bot]732dcb8
@dependabot[bot]944859f
@dependabot[bot]bb9377b
@dependabot[bot]e88f1b8
@dependabot[bot]516f0cb
@dependabot[bot]7bed16c
@dependabot[bot]e08cfc8
@dependabot[bot]4895195
@dependabot[bot]91c0b0f
@dependabot[bot]baef235
@dependabot[bot]254c2b3
@dependabot[bot]84f71ba
@dependabot[bot]82adc97
@dependabot[bot]60533fd
@dependabot[bot]261143b
@dependabot[bot]Documentation
9f98b3e
@bep7241b5f
@bepBuild Setup
0e79446
@jmooring #1111635e9b3e
@jmooringv0.113.0
Compare Source
This release adds TLS/HTTPS support to
hugo server
(seecf38c73
and #11064 for details) entirely backed by mkcert. We still default tohttp
which is recommended and good enough for 99% of the Hugo use, but there are some situations where you really need it.We have added a new sub command and some new flags to
hugo server
to enable this:Note that we just delegate to mkcert using its default settings, so all of their documentation is relevant.
Also note that this is currently only supported for Linux, MacOS and Windows. And if you install on Linux using Snap, you will currently get an access denied error when running
hugo server trust
. A workaround for that, or if you need to use some of mkcert's advanced options, is to use mkcert directly to install the local CA:You can then start the server with
hugo server --tlsAuto
.If you have obtained the TLS certificate and key file by other means, you can use the
--tlsCertFile
and--tlsKeyFile
flags. When--tlsAuto
or--tlsCertFile
and--tlsKeyFile
is set and no--baseURL
is provided as a flag, the server is started with TLS andhttps
as the protocol.v0.112.7
Compare Source
What's Changed
5e5ce00
@bep #11062a191b38
@bep #11061382c726
@alexandear4c46f94
@alexandearv0.112.6
Compare Source
06faee5
@bep #110523258569
@bep #110390ef2952
@bep #11057e3ae8f0
@bep #11040ff77a92
@jmooring9cdca1f
@bep #110446462eec
@bep #11046a7d6b14
@bep #110473f497d4
@bep #11045409c6c3
@jmooringv0.112.5
Compare Source
What's Changed
e3dfc76
@bep #11037v0.112.4
Compare Source
fd09933
@bep #110028f293a1
@bep #1102651d0a0a
@bep #1101843f1282
@bep #11018e96cdfe
@bep #11031273d9f6
@bep #11019a6257d8
@bep #110256c2db0d
@bep #11027901cd97
@bep #11015f86b5f7
@bep #11022Documentation
20ea2e0
@bepffdbce5
@bepv0.112.3
Compare Source
What's Changed
231374a
@bep #11013v0.112.2
Compare Source
What's Changed
dd67922
@bep #110129a235d0
@bep #11006v0.112.1
Compare Source
What's Changed
ed906a8
@bep #11000Also see the main release: https://github.com/gohugoio/hugo/releases/tag/v0.112.0
v0.112.0
Compare Source
Proper TailwindCSS v3.x support, much improved language config merge, consolidation of all Hugo config (check out
hugo config
), rewrittencommands
package (CLI) using SimpleCobra, Goldmark's typographer extension (quotation marks per language), and more.Headlines
TailwindCSS v3.x Support, new cache buster configuration
TailwindCSS 3 has been out for a while now, and unfortunately their new build strategy didn't work very well with Hugo. But this release adds a new
build.cachebusters
config option for the resource cache that allows more fine grained control over when to trigger a new Tailwind build. This is a generally useful feature, so if you're having issues not seeing your resource changes (e.g. change to a JS file) on change, you could try to tweak the defaults. A tip is to run the server withhugo server --debug
and watch out for log messages prefixed withcachebuster:
on file changes.There are several possible setups here, but one that we have tested and that works well is outlined in the config below. The basic concept is to add
hugo_stats.json
to the server watcher list in Hugo and trigger a new TailwindCSS build only whenever either this file or the main CSS file changes.And then in
tailwind.config.js
:Reconsolidated all configuration handling
For this release we have collected all configuration into one big Go struct and rewritten the command line API using SimpleCobra. All of this makes the source code easier to maintain and understand, but the original motivation for this was to get a complete and autogenerated API reference for Hugo (we're working on getting that done), but this also have some less technical upsides:
'hugo config' is now complete
What you get when running
hugo config
is a complete TOML representation (add--format json
or--format yaml
for alternative formats) of the effective configuration. As this will include default values and configuration merged in from themes, we don't recommend to copy and paste this intohugo.toml
, as that would make your configuration very verbose.Improved language config handling
See issue #10620 for some details, but in general, the merge behaviour of sections from
languages
is much improved. In the example below for languageen
you will now get:In earlier versions of Hugo you would get:
Note that values in a given language will always have precedence over same keys in root (the section inside the language is the receiving side of any merge operation), so, if you want the old (and buggy) behaviour, you can add a merge strategy to one of the
params
sections, e.g:You can now also configure just about everything per language. One useful example would be the Goldmark
typographer
extension:More info in verbose build output
If you build flag with the
-v
, you will now get timing info for the core building steps in Hugo:Notes
site.Language.Params
and configuration of custom params outside of the language[params]
, see https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120 for more information.Bug fixes
288be19
@bep #10953e6dc805
@bep #109720a51dfa
@bep #10953e4e0313
@bepad4bc96
@deining4003c79
@cuishuang610ceda
@alexandear95818e2
@alexandear834b3d7
@bep #1095386b2a27
@bep #109475d85716
@bep #10947d01731d
@kirisakow891b291
@alexandear0fbab7c
@bepImprovements
70b2aaf
@bep85b13c1
@bep9a0370e
@deining4cac5f5
@bep #109852c3d4df
@bep #109746ca8a40
@bep #109532db7ec6
@InLaw2637b4e
@bep #102867c7baa6
@bep #109694f085e8
@bep #10953150d190
@jmooringd6197a4
@bep #109535b3e165
@jmooring #969403cb38e
@bep #10953008170c
@BenTheElder #109507c647bc
@bep #109533f00f47
@bep35955f5
@bep8a69ccb
@bep #109477ce033a
@bep #109470554213
@bep #109475251f01
@bep #109470106cf1
@bep59050f9
@BenTheElder #10950faa6998
@bep #109473d90871
@alexandearbda082c
@alexandear #10941241b21b
@bep #10896 #106206aededf
@bep #109420988b76
@bepe0e19a9
@bepbcd7ac7
@jmooringa4fb8dc
@kirillbobyrev5c7b79c
@jmooring0cb6ca5
@jmooring #9216f106251
@bep9906c1a
@bep5596dc2
@bep #97725748133
@bep #1086605c095a
@deiningb0b1b76
@bepf5eddf8
@septs #10827Dependency Updates
f014921
@bep #109931292d5a
@dependabot[bot]baa5569
@dependabot[bot]a5413c1
@dependabot[bot]9cea58a
@dependabot[bot]1a5dce4
@dependabot[bot]065ae00
@dependabot[bot]1a7d57c
@dependabot[bot]bba54e6
@dependabot[bot]7370543
@dependabot[bot]f6269ee
@dependabot[bot]715d484
@bepc371171
@bep24e7d0c
@bep #10629 #10491Documentation
b6e6438
@bep943ff7f
@bep #1095310d0fcc
@bep1155bbc
@jmooring4f341fa
@bep46a3cf6
@bepf1e8f01
@bepv0.111.3
Compare Source
Bug fixes
e7148f3
@bep #1081934a86e1
@bep #108029818724
@deiningImprovements
d171d15
@jfish2d55af2a
@deining84201e8
@septs0f01bd4
@alexandear02ab77d
@alexandear873be9f
@davidejonesbebb2b8
@davidejonese6f029b
@davidejonesbdbfacb
@johannesengl #8536Dependency Updates
1c841ec
@niklasfaschingDocumentation
b6f44aa
@jmooring04b9811
@deiningv0.111.2
Compare Source
Bug fixes
b83050c
@bep #107943bbeb56
@bep #10789184a67a
@alexandeara950950
@jmooring #10783df5608f
@bep #107916c798eb
@bep #10782ec1c97e
@bep #1078136ce3a4
@alexandearDocumentation
f56ce01
@bepBuild Setup
f10009e
@bep #10785v0.111.1
Compare Source
This fixes the "page" not defined issue in Hugo
0.111.0
.eef23a7
@bep #10774v0.111.0
Compare Source
Hugo
0.111.0
is the second Hugo release of the year. Note: There's already a patch release.Notable news
Page Fragments
We added the new
.Fragments
method onPage
as part of the Related Content feature refresh (below), but it's plenty useful on its own, and has been long sought after by Hugo users.It has many uses: Build table of contents, check if a page fragment (heading identifier) exists on a page, check for duplicate heading identifiers, start table of contents from a specific heading identifier. See the Hugo Documentation for more information
Indexing of Page Fragments in Related Content
We have reworked the Related Content API so it's now one method
.Related
that takes either aPage
or an options map. We have also introduced a newtype
attribute on the index configuration with the new typefragments
. See this for details, but to add some weight to the page titles in the Related Content configuration you can do this:See the Hugo Documentation for more.
Global page func
Note: There was a bug in this release that made this new feature not working, so you need to upgrade to Hugo 0.111.1. We blame it on Go.
Hugo almost always passes a
Page
as the data context into the top level template (e.g.single.html
) (the one exception is the multihost sitemap template). This means that you can access the current page with the.
variable in the template.But when you're deeply nested inside
.Render
, partial etc., accessing thatPage
object isn't always practical or possible.For this reason, Hugo now provides a global
page
function that you can use to access the current page from anywhere in any template.Notes
.Fragments
structure from everywhere, even in render hooks (271318a
@bep #10750)66f94b4
@jmooring4ef9baf
@bep #4086 #9588Bug fixes
c0d15a2
@khayyamsaleem #10399ae48507
@bep #106722dad13c
@aaronhooperConfiguration
📅 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 has been generated by Renovate Bot.