Update https://github.com/gohugoio/hugo in repo_dependencies.yml from v0.37 to v0.39 #15
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.
Dependencies.io has updated
https://github.com/gohugoio/hugo
(a git dependency inrepo_dependencies.yml
) from "v0.37" to "v0.39".v0.39
Nat King Cole was a fantastic American jazz pianist. When his bass player had visited the bar a little too often, he started with his percussive piano playing to keep the tempo flowing. Oscar Peterson called it "Nat's stabilizers". This release is the software equivalent of that. We have been doing frequent main releases this year, but looking back, the patch releases that followed them seemed unneeded. And looking at the regressions, most of them stem from the
commands
package, a package that before this release was filled with globals and high coupling. This package is now rewritten and accompanied with decent test coverage.But this release isn't all boring and technical: It includes several important bug fixes, several useful new template functions, and
Resource.Content
allows you to get any resource's content without having to fiddle with file paths andreadFile
.This release represents 61 contributions by 4 contributors to the main Hugo code base. A shout-out to bep for the implementation and it-gro and RickCogley for the help testing it.
bep leads the Hugo development with a significant amount of contributions and his witty Norwegian humour, but also a big shoutout to anthonyfok, thedodobird2, and neurocline for their ongoing contributions.
And a big thanks to digitalcraftsman for his relentless work on keeping the themes site in pristine condition and to kaushalmodi for his great work on the documentation site.
Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 6 contributions by 5 contributors. A special thanks to kaushalmodi, regisphilibert, bep, and tomanistor for their work on the documentation site.
Hugo now has:
Notes
main.Execute
function now returns aResponse
object and the globalHugo
variable is removed. This is only relevant for people building some kind of API around Hugo.File.Bytes
94c8b29c bepEnhancements
Templates
anchorize
template func 4dba6ce1 beppath.Join
880ca19f beppath.Split
template func 01b72eb5 bepOther
Resource.Content
0e7716a4 bep #4622Page.Content
a method that returns interface{} 417c5e2b bep #4622Fixes
livereload
of bundled pages f3775877 bep #4607.Page.Scratch
on rebuilds 61d52f14 bep #4627BuildDate
in "hugo version" 294c0f80 anthonyfokAutomated with GoReleaser
Built with go version go1.10.1 linux/amd64