Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
v0.101.0
Hugo v0.101.0 comes with GIF animation image processing, a new hl_inline option
for code highlighting, a new :slugorfilename permalink keyword, we now respect
the NO_COLOR OS env var, and more.
v0.100.2
This release is mostly motivated by the fix for the panic experienced by people
having blackfriday configured as defaultMarkdownHandler. The Blackfriday
support was removed in Hugo v0.100.0 after being deprecated with a warning for
a long time.
v0.100.1
Fix panic with markdownify/RenderString with shortcode on Page with no content
file.
v0.100.0
$page.RenderString finally supports shortcodes, and shortcode improvements is
the main theme in Hugo 0.100.0.
Indentation fixes for shortcode blocks: We now record the indentation before
the opening shortcode tag when parsing the source. This allow us to fix a
couple of annoying issues in Hugo:
1. We have added a new .InnerIndent method to the shortcode context to prevent
the highlight shortcode from including in the indentation as part of the
code block.
2. Hugo now preserves the indentation for shortcode blocks. See more below.
A shortcode block is when the shortcode is included as the first non-whitespace
content on a line. Note that this does not touch shortcodes with inner content,
where the user is in control of the indentation.
Also noteworthy is the new template function resources.Copy which allows you to
copy almost any Hugo Resource (the one exception is the Page), possibly most
useful for renaming things.
|
|
|
|
|
|
|
|
|
|
|
|
Changelog taken from https://github.com/gohugoio/hugo/releases
v0.96.0
Vertical merging of content mounts. The main topic of this release is
about file mounts (see #9693). We have had a powerful and well defined
merge strategy for the union filesystems for the Hugo Modules tree on
the horizontal axis (left to right), but not so much for the vertical
configuration within each module (e.g. multiple content mounts for the
same language). It was @jmooring who pointed out how useful this could
be, and even provided this example where missing translations gets
filled in from other language(s):
#------------------------------------------------------------------------------
# Content mounts
#------------------------------------------------------------------------------
# EN content
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'en'
# DE content
[[module.mounts]]
source = 'content/de'
target = 'content'
lang = 'de'
# NL content
[[module.mounts]]
source = 'content/nl'
target = 'content'
lang = 'nl'
#------------------------------------------------------------------------------
# Fill in the missing translations
#------------------------------------------------------------------------------
# This fills in the gaps in DE content with EN content
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'de'
# This fills in the gaps in NL content with EN content.
[[module.mounts]]
source = 'content/en'
target = 'content'
lang = 'nl'
Also, we have added some details to the .Err object you get when
resources.GetRemote fails, which can be useful when debugging errrors
(see #9708). Not you can do something like:
{{ with $result := resources.GetRemote $url }}
{{ with .Err }}
{{ warnf "%s: %#v" .Error .Data}}
{{ else }}
{{ with .Content | unmarshal }}
{{ warnf "%#v" . }}
{{ end }}
{{ end }}
{{ end }}
The .Data object above is a map and currently contains StatusCode,
Status, Body, TransferEncoding, ContentLength, and ContentType.
This release represents 23 contributions by 8 contributors to the main
Hugo code base.@bep leads the Hugo development with a significant
amount of contributions, but also a big shoutout to @jmooring,
@dependabot[bot], and @anthonyfok for their ongoing contributions.
And thanks to @digitalcraftsman for his ongoing work on keeping the
themes site in pristine condition.
Many have also been busy writing and fixing the documentation in
hugoDocs, which has received 5 contributions by 3 contributors.
Notes
Deprecate .File.Extension 9445968 @sara-meie #9352
Changes
docs: Regen docshelper db1562e @bep
docs: Regen CLI docs 5b18e10 @bep
Deprecate .File.Extension 9445968 @sara-meie #9352
resources: Add more details to .Err 9202117 @bep #9708
commands: Change link protocol to https a6fa290 @jmooring
build(deps): bump github.com/getkin/kin-openapi from 0.91.0 to 0.93.0 0bbc2fb @dependabot[bot]
tpl/crypto: Add optional encoding arg to hmac function 94e8a90 @jmooring #9709
Fix typo a461e9d @panakour
Fix some typos 48c98a8 @cuishuang
Update CONTRIBUTING.md to use "go install" to install mage bbd455f @anthonyfok
Dockerfile: Make it build with Go 1.18 8309a2b @anthonyfok
snap: Make it build with Go 1.18 2b72310 @anthonyfok
build(deps): bump github.com/yuin/goldmark from 1.4.10 to 1.4.11 13ff4de @dependabot[bot]
build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 c3289eb @dependabot[bot]
commands: Improve server startup to make tests less flaky 9539069 @bep
all: Use strings.Cut 0e305d6 @bep #9687
Support '-u=patch' in hugo mod get 5adb81c @LukeDeWaal #9127
Make sure file mounts higher up wins 1c0e7c1 @bep #9693
resources/images: Require width and height for Crop, Fill, and Fit cad2d8c @jmooring #9696
all: gofmt -w -r 'interface{} -> any' . b80853d @bep #9687
dartsass: Enable deprecation, @warn and @debug logging 423594e @bep #9683
Use revision etc. from debug.BuildInfo 64afb7c @bep #9680
releaser: Prepare repository for 0.96.0-DEV 004bec2 @bep
v0.95.0
Even faster, continue and break support, short-circuit of the built-in
and/or-operators. This release upgrades to Go 1.18 which was released
yesterday. This has made Hugo even faster. How much faster will depend
on your site etc., but we have benchmarks that show significant
improvements. But the main reason we're exited about this is the
improvements in Go templates:
There are two new keywords, break and continue. These behaves like you
would expect coming from other programming languages:
{{ range $i, $p := site.RegularPages }}
{{ if gt $i 2 }}
{{/* Break out of range, we only want to print the first 3 pages. */}}
{{ break }}
{{ end }}
{{ $p.Title }}
{{ end }}
{{ range $i, $p := site.RegularPages }}
{{ if eq $i 2 }}
{{/* Skip the 3rd page. */}}
{{ continue }}
{{ end }}
{{ $p.Title }}
{{ end }}
Also, the two built-in operators/function and and or now
short-circuits, also in line with how && and || behave in other
programming languages. This is useful in situations where the right
side may have side effects (may be nil, is slow to execute etc.):
{{ if and .File (eq .File.Extension "html") }}
{{ end }}
Notes
Hugo now only builds with Go versions >= 1.18. Note that you do
not need Go installed to run Hugo, and for Hugo Modules, any
recent Go version can be used.
Changes
readme: Add note about Go 1.18 5930173 @bep
tpl: Pull in Go 1.18 patch that fixes the "no space in {{ continue }} and {{ break }}" bug 3476b53 @bep
readme: Add a contribution note e792d27 @bep
github: Make it build with Go 1.18 9d6495d @bep
tpl: Adjustments and an integration test for Go 1.18 42cc5f8 @bep #9677
Remove Go 1.17 support a6488e7 @bep #9677
tpl: Sync go_templates for Go 1.18 65a78ca @bep #9677
build: Bump to Go 1.18 4d6d1d0 @bep #9677
dartsass: Improve error message when no read access b60e1bb @bep #9662
Fix and refactor typos 61cf3c9 @CathrinePaulsen
Improve server startup/shutdown 31fbc08 @bep #9671
commands: Improve server tests cebd886 @bep #9647
v0.94.2
This is a bug-fix release that fixes a bug introduced in the bug fix
release yesterday (some HTML comments in Markdown that made the parser
panic):
deps: Update github.com/yuin/goldmark v1.4.9 => v1.4.10 b37183e @bep #9658
v0.94.1
There are 2 fixes in this release. The first is a fix for a regression
in Goldmark related to HTML comments in Markdown (see #9650). The
other is that we have reverted the --renderToStatic feature and flag,
as it didn't work on Windows. We didn't find any easy fix so that
feature gets pushed to the next release, and then with proper
cross-platform tests.
docs: Regenerate CLI docs 3bc742b @bep
deps: Fix Goldmark regression with HTML comments 1a796d7 @bep #9650
Revert "Allow rendering static files to disk and dynamic to memory in server mode" 64b7b7a @bep #9647
Revert "Some minor adjustments to the new static filesystem logic" 5ef8a9f @bep
releaser: Prepare repository for 0.95.0-DEV 3bc3466 @bep
v0.94.0
Up to 20% reduction in build time and memory usage. That is the sales
pitch for this release. In reality it depends (e.g. on how big and
complex your site is), but we have benchmarks and real site tests that
show impressive improvements. It was @quasilyte (see #9386) who tipped
us about this potential. He had tested it with the digitalgov.gov
website with about 20% speedup.
Post Release Update: Hugo users are reporting tremendous speed boosts
of more than 50%.
Continuing on the performance theme, @satotake has implemented a new
hybrid static filesystem for Hugo's development server, which is great
for sites with lots of static content, as it greatly reduces memory
consumption while still keeping the fast render times by writing
dynamic content to memory (the definition of static content in Hugo is
all files mounted in /static and all files in /content that's not
content files or a member of a content bundle). With this update,
there are now 3 filesystem options when starting the server:
hugo server (default), renders to and serves all files from memory.
hugo server --renderToDisk, renders to and serves all files from disk.
hugo server --renderStaticToDisk (the new hybrid mode), renders to and serves static files from disk, dynamic files from memory.
A final note goes to the new linkifyProtocol option in the Goldmark
Configuration (see #9639). The linkify extension is enabled by
default. It turns www.example.org and similar into clickable
links. But before this release, the default protocol used was
http. This is in line with the CommonMark spec, but that doesn't make
much sense in 2022, so now you get https as the default.
This release represents 38 contributions by 4 contributors to the main
Hugo code base.@bep leads the Hugo development with a significant
amount of contributions, but also a big shoutout to @dependabot[bot],
@jmooring, and @satotake for their ongoing contributions.
And thanks to @digitalcraftsman for his ongoing work on keeping the
themes site in pristine condition.
Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 3 contributions by 2 contributors.
Notes
minifiers: Make keepWhitespace = false default for HTML (note) c97fed0 @jmooring #9456
We now fail with error when double-rendering text in markdownify/RenderString 4e14cf7 @bep #9570 #8959
markup/goldmark: Default to https for linkify 5697348 @bep #9639
Changes
docs: Regenerate docshelper a4ac188 @bep
Fail with error when double-rendering text in markdownify/RenderString 4e14cf7 @bep #9570 #8959
markup/goldmark: Default to https for linkify 5697348 @bep #9639
Add lang attribute to internal alias template f98e570 @jmooring #9586
minifiers: Make keepWhitespace = false default for HTML (note) c97fed0 @jmooring #9456
markup/goldmark/codeblocks: Fix slice bounds out of range 53a6210 @bep #9627
Cache reflect.MethodByName 4576c82 @bep
releaser: Remove the GitHub link syntax around release contributors ff02d41 @bep #9581
Some minor adjustments to the new static filesystem logic 63bb2a5 @bep #9625
Allow rendering static files to disk and dynamic to memory in server mode 7d8011e @satotake #9625
build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.9 b9a1be2 @dependabot[bot]
build(deps): bump github.com/evanw/esbuild from 0.14.23 to 0.14.25 0978245 @dependabot[bot]
build(deps): bump github.com/niklasfasching/go-org from 1.6.0 to 1.6.2 ff37df8 @dependabot[bot]
build(deps): bump github.com/getkin/kin-openapi from 0.90.0 to 0.91.0 5857d55 @dependabot[bot]
Remove the decorator from the fs used in ReadDir 0e0d672 @bep #9609
Update stale.yml 19f816f @bep
build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8 970f385 @dependabot[bot]
Remove the examples/ folder 76c1248 @bep
markup/goldmark: Escape image alt attribute e46e9ce @jmooring #9594
tpl/transform: Fix it when template.HTML is passes as option to Highlight 0327da0 @bep #9591
v0.93.3
The main motivation behind this release is #9609 -- a reported site
breakage from a regression in ReadDir which with this release is back
to how it worked in 0.92.0.
Remove the decorator from the fs used in ReadDir
build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8
|
|
|
|
|
|
Changelog:
v0.93.2
This is a bug-fix release with a couple of important fixes.
tpl/os: Revert readDir in theme behaviour
markup/goldmark: Escape image alt attribute
v0.93.1
This is a bug-fix release with a couple of important fixes.
tpl/transform: Fix it when template.HTML is passes as option to Hightlight
tpl/partials: Fix partialCached deadlock regression
tpl/collections: Fix apply when function have Context as first arg
v0.93.0
Markdown diagrams and code block render hooks. Now it's possible
create custom templates for Markdown code blocks, either for all or
just for specific programming languages. This can also be used to
render diagrams from Markdown code blocks. We provide GoAT (Go ASCII
Tool) natively from Hugo, but you can also add your own template to
get Mermaid support. The implementation of GoAT is a Go
implementation by @blampe of markdeep.mini.js' diagrams. See the
diagram documentation for details.
Also new in this release are:
The new CLI flag --printUnusedTemplates which prints templates not being invoked during the build.
The new method $image.Crop allows images to be cropped without being resized (thanks @johnsvenn for the implementation).
Notes
We have renamed some command line flags for consistency:
--i18n-warnings to printI18nWarnings, --path-warnings, --print-men
to --printPathWarnings, --printMemoryUsage.
Finally remove deprecated Page methods
Changes
docs: Regenerate docs helper
markup/highlight: Ignore HL_lines_parsed in the gen docs
cod: Regen CLI docs
tpl/diagrams: Rename the SVG accessor to Wrapped
markup/highlight: Rework the return value from HighlightCodeblock
tpl/transform: Add CanHighlight
Rename Codeowners() to CodeOwners()
tpl/diagrams: Rename Body to Inner
CodeblockContext method renames
build(deps): bump github.com/tdewolff/minify/v2 from 2.9.29 to 2.10.0
markup/goldmark: Adjust test for Windows
markup/goldmark: Improve attributes vs options
markup/goldmark: Add Position to CodeblockContext
markup/goldmark: Unify some code block tests
Remove the trailing new line in .Code
markup/goldmark: Rename extension struct
build(deps): bump github.com/gobuffalo/flect from 0.2.3 to 0.2.4
markup/goldmark: Use Ordinal to create default lineanchors
build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.0
build(deps): bump github.com/sanity-io/litter from 1.5.1 to 1.5.2
Move the Goat template to the correct place
build(deps): bump google.golang.org/api from 0.63.0 to 0.70.0
Update error message about failed menus in config.toml
build(deps): bump github.com/getkin/kin-openapi from 0.85.0 to 0.90.0
Add test for line anchor attributes with code fences
build(deps): bump github.com/evanw/esbuild from 0.14.22 to 0.14.23
Add Markdown diagrams and render hooks for code blocks
build(deps): bump github.com/aws/aws-sdk-go from 1.41.14 to 1.43.5
build(deps): bump github.com/google/go-cmp from 0.5.6 to 0.5.7
Add support for CODEOWNERS
Remove Viper as a dependency
helpers: Allow hyphens in UnicodeSanitize
Change disqus_config to window.disqus_config
deps: Update github.com/spf13/cobra v1.2.1 => v1.3.0
Add page.Store
Allow images to be cropped without being resized
commands: Fix server panic regression
markup/goldmark: Add BenchmarkCodeblocks
deps: Update github.com/gohugoio/localescompressed v0.14.0 => v0.15.0
deps: Update github.com/yuin/goldmark v1.4.4 => v1.4.7
modules: Add modules.Workspace config for Go 1.18
Update stale.yml
Update stale.yml
github: Configure stale to be run manually
tpl/partials: Fix recently introduced deadlock in partials cache
tpl/partials: Add some more partials to BenchmarkIncludeCached
deps: Update github.com/evanw/esbuild v0.14.11 => v0.14.22
tpl/partials: Make sure a cached partial is invoked only once
build(deps): bump github.com/rogpeppe/go-internal from 1.8.0 to 1.8.1
build(deps): bump github.com/magefile/mage from 1.11.0 to 1.12.1
markup/goldmark: Exclude event attributes from markdown render hook
markup/goldmark: Fix mangling of headers/links in render hooks
markup/goldmark: Add a render hook benchmark
Fix BenchmarkCascadeTarget
metrics: Add cached count tracking
tpl: Remove TODO comment
Add --printUnusedTemplates
deps: Update github.com/tdewolff/minify/v2 v2.9.22 => v2.9.29
commands: Rename --i18n-warnings to printI18nWarnings
commands: Rename --path-warnings, --print-men to --printPathWarnings, --printMemoryUsage
deps: Update github.com/alecthomas/chroma v0.9.4 => v0.10.0
Finally remove deprecated Page methods
tpl: Use go:embed to load internal templates
releaser: Prepare repository for 0.93.0-DEV
releaser: Bump versions for release of 0.92.2
releaser: Add release notes for 0.92.2
Add HUGO_ENV to the os/exec environment
Simplify some integration tests
Fix validation of Page Kind in cascade target map
Add another cascade benchmark
commands: Fix server deadlock on config error
Exclude event attributes when rendering markdown
Remove the "check" command
Update the application/javascript media type
tpl/templates: Fix templates.Exist issue with base templates
Add a migration test helper
babel: Port integration tests to their own package
js: Port integration tests to its own package
postcss: Move integration test to its own package
minifier: Port integration tests to its package
templates: Port integration test to its package
tocss: Port integration tests to their package
openapi3: Port integration test into correct
Add a new integration test framework
Validate comparison operator argument count
Remove hugo gen autocomplete
deps: Update github.com/pelletier/go-toml/v2 to v2.0.0-beta.6
Fix erroneous warning with .Page.RenderString on a page without a backing file
Fix typo in panicOnWarning message
releaser: Prepare repository for 0.93.0-DEV
releaser: Bump versions for release of 0.92.1
releaser: Add release notes for 0.92.1
Make the RenderString content provider fix more general
Fix .RenderString issue in .Translations
general: Fix issue causing log threads to hang indefinitely when print() panics
Fix duplicate mount sources
tpl/collections: Fix apply with namespaced template funcs
common: Remove unused code
common/paths: Remove unused code
helpers: Remove unused code
Do not render hl_style as an HTML attribute
build(deps): bump github.com/spf13/viper from 1.8.1 to 1.10.1
Fixing typos
Fix typo in warning message
github: Clean up the issue templates a little
github: Add lock-threads step
releaser: Prepare repository for 0.93.0-DEV
v0.92.2
This is a bug-fix release with a couple of important fixes.
Add HUGO_ENV to the os/exec environment
Simplify some integration tests
Fix validation of Page Kind in cascade target map
Add another cascade benchmark
commands: Fix server deadlock on config error
Exclude event attributes when rendering markdown
Remove the "check" command
Update the application/javascript media type
tpl/templates: Fix templates.Exist issue with base templates
Add a migration test helper
babel: Port integration tests to their own package
js: Port integration tests to its own package
postcss: Move integration test to its own package
minifier: Port integration tests to its package
templates: Port integration test to its package
tocss: Port integration tests to their package
openapi3: Port integration test into correct package
Add a new integration test framework
Validate comparison operator argument count
Remove hugo gen autocomplete
deps: Update github.com/pelletier/go-toml/v2 to v2.0.0-beta.6
Fix erroneous warning with .Page.RenderString on a page without a backing file
Fix typo in panicOnWarning message
releaser: Prepare repository for 0.93.0-DEV
v0.92.1
This is a bug-fix release with a couple of important fixes.
Make the RenderString content provider fix more general
Fix .RenderString issue in .Translations
general: Fix issue causing log threads to hang indefinitely when print() panics
Fix duplicate mount sources
tpl/collections: Fix apply with namespaced template funcs
common: Remove unused code
common/paths: Remove unused code
helpers: Remove unused code
Do not render hl_style as an HTML attribute
build(deps): bump github.com/spf13/viper from 1.8.1 to 1.10.1
Fixing typos
Fix typo in warning message
github: Clean up the issue templates a little
github: Add lock-threads step
v0.92.0
docs: Regenerate docshelper
Only create LazyContentProvider for the non-rendering Site
Fix missing page data for alternative formats
docs: Add dependency table to maintainance page
deps: Upgrade github.com/evanw/esbuild v0.14.8 => v0.14.11
Add hugo.Deps
hugolib: Fix livereload problem with files including NFC characters in MacOs
docs. Regen CLI docs
commands: Fix CLI help text for hugo new
Update to Go 1.17.6
create: Correctly pass newContentEditor flags
Add --panicOnWarning flag
github: Increase stale days
docs: Regenerate CLI docs
docs: Regenerate docshelper
Remove mmark
Misc depreation updates
Make the deprecated Page/File methods (from Hugo 0.55) ERROR
github: Add add stale GitHub action
Fix surprise OutputFormat.Rel overwriting
hugolib: Make an RST test optional
deps: Upgrade github.com/niklasfasching/go-org v1.5.0 => v1.6.0
Update stale.yml
releaser: Prepare repository for 0.92.0-DEV
releaser: Bump versions for release of 0.91.2
releaser: Add release notes for 0.91.2
Revert "config/security: Add HOME to default exec env var whitelist"
Make sure we always create the /public folder
Fix "stuck on build" in error situations in content processing
deps: Run "go mod tidy"
deps: Upgrade github.com/evanw/esbuild v0.14.7 => v0.14.8
releaser: Prepare repository for 0.92.0-DEV
releaser: Bump versions for release of 0.91.1
releaser: Add release notes for 0.91.1
media: Also consider extension in FromContent
media: Add missing BMP and GIF to the default MediaTypes list
media: Add PDF MIME type
deps: Update github.com/evanw/esbuild v0.14.5 => v0.14.7
config/security: Add HOME to default exec env var whitelist
modules: Set GOCACHE env var
releaser: Prepare repository for 0.92.0-DEV
v0.91.2
This is a bug-fix release with a couple of important fixes.
Revert "config/security: Add HOME to default exec env var whitelist"
Make sure we always create the /public folder
Fix "stuck on build" in error situations in content processing
deps: Run "go mod tidy"
deps: Upgrade github.com/evanw/esbuild v0.14.7 => v0.14.8
v0.91.1
This is a bug-fix release with a couple of important fixes.
media: Also consider extension in FromContent
media: Add missing BMP and GIF to the default MediaTypes list
media: Add PDF MIME type
deps: Update github.com/evanw/esbuild v0.14.5 => v0.14.7
config/security: Add HOME to default exec env var whitelist
modules: Set GOCACHE env var
v0.91.0
docs: Regen docs helper
tpl/resources: Add empty method mapping for GetRemote
Always use content to resolve content type in resources.GetRemote
Add resources.GetRemote
Allow for return partials with falsy arguments
deps: Upgrade github.com/evanw/esbuild v0.14.2 => v0.14.5
don't use path.Join, because it cleans the final path
Add some basic security policies with sensible defaults
Simplify Babel test assertions
Improve handling of remote image/jpeg resources
Fix Dockerfile
Remove debug statement
Fix deprecation notice
releaser: Prepare repository for 0.91.0-DEV
releaser: Bump versions for release of 0.90.1
releaser: Add release notes for 0.90.1
Remove the retries on error in remote resources.Get
Allow user to handle/ignore errors in resources.Get
Make resource.Get return nil on 404 not found
Update to Go 1.17.5
Update to Go 1.17.4 and remove timeout in resources.Get
v0.90.1
Remove the retries on error in remote resources.Get
Allow user to handle/ignore errors in resources.Get
Make resource.Get return nil on 404 not found
Update to Go 1.17.5
Update to Go 1.17.4 and remove timeout in resources.Get
v0.90.0
Add custom font support to images.Text
images: Fix cache busting of image text filter
build(deps): bump github.com/getkin/kin-openapi from 0.80.0 to 0.85.0
images: Text filter that draws text with the given options
tpl/transform: Optional options for highlight func
deps: Upgrade github.com/evanw/esbuild v0.13.12 => v0.14.2 (note)
releaser: Add "note" to Note regexp
build(deps): bump github.com/mitchellh/mapstructure from 1.4.2 to 1.4.3
releaser: Rework and simplify to use GitHub only for release notes
build(deps): bump google.golang.org/api from 0.51.0 to 0.61.0
media: Add rss suffix for application/rss+xml
parser: Add a test case in format resolution
lazy: Reset error in Reset
Implement XML data support
Validate private use language tags
resources: Add timeout to the HTTP request in Get
Add a remote retry for resources.Get
Make resources.Get use a file cache for remote resources
Remove empty href element from pagination template
Check for empty deployment targets and matchers
resources: Adjust the remote Get cache so it does not get evicted on restarts
Add remote support to resources.Get
Add deprecation warning to google_news template
helpers: Make UniqueStringsReuse allocation free
releaser: Prepare repository for 0.90.0-DEV
releaser: Add release notes to /docs for release of 0.89.4
releaser: Bump versions for release of 0.89.4
releaser: Add release notes for 0.89.4
Fix content dir resolution when main project is a Hugo Module
releaser: Prepare repository for 0.90.0-DEV
releaser: Add release notes to /docs for release of 0.89.3
releaser: Bump versions for release of 0.89.3
releaser: Add release notes for 0.89.3
Improve error when we cannot determine content directory in "hugo new"
deps: Upgrade github.com/yuin/goldmark v1.4.3 => v1.4.4
commands: Make sure pollInterval is always set
create: Improve archetype directory discovery and tests
create: Add a log statement when archetype is a directory
create: Always print "Content ... created"
commands: Fix missing file locking in server partial render
modules: Improve error message
releaser: Prepare repository for 0.90.0-DEV
releaser: Add release notes to /docs for release of 0.89.2
releaser: Bump versions for release of 0.89.2
releaser: Add release notes for 0.89.2
Fix path resolution in hugo new
deps: Upgrade github.com/yuin/goldmark v1.4.2 => v1.4.3
releaser: Prepare repository for 0.90.0-DEV
releaser: Add release notes to /docs for release of 0.89.1
releaser: Bump versions for release of 0.89.1
releaser: Add release notes for 0.89.1
Revert "releaser: Fat MacOS binaries"
create: Make sure the build lock is released before we open editor
readme: Update dependency list
releaser: Add "note" to Note regexp
releaser: Rework and simplify to use GitHub only for release notes
releaser: Simplify the release process
releaser: Remove unused code
docs: Regenerate docs helper
v0.89.4
This is a bug-fix release with one important fix for people using
hugo new to create new content:
Fix content dir resolution when main project is a Hugo Module
v0.89.3
This is a bug-fix release with a couple of important fixes.
Improve error when we cannot determine content directory in "hugo new"
deps: Upgrade github.com/yuin/goldmark v1.4.3 => v1.4.4
commands: Make sure pollInterval is always set
create: Improve archetype directory discovery and tests
create: Add a log statement when archetype is a directory
create: Always print "Content ... created"
commands: Fix missing file locking in server partial render
modules: Improve error message
v0.89.2
This is a bug-fix release with a couple of important fixes.
Fix path resolution in hugo new
deps: Upgrade github.com/yuin/goldmark v1.4.2 => v1.4.3
v0.89.1
This is a bug-fix release with a couple of important fixes.
Revert "fat macOS binaries"
create: Make sure the build lock is released before we open editor
readme: Update dependency list
v0.89.0
Notes
Hugo now writes an empty file named .hugo_build.lock to the root
of the project when building (also when doing hugo new mypost.md
and other commands that requires a build). We recommend you just
leave this file alone. Put it in .gitignore or similar if you
don't want the file in your source repository. We have updated to
ESBuild v0.13.12. The release notes for v0.13.0 mentions a
potential breaking change. We now only build AMD64 release
binaries (see this issue) for the Unix OSes (e.g. NetBSD). If you
need, say, a binary for ARM64, you need to build it yourself. We
now build only one release binary/archive for MacOS (see this
issue) that works on both Intel and the new Arm M1 systems.
.File.ContentBaseName now returns the owning directory name for
all bundles (branch an leaf). This is a bug fix, but worth
mentioning. See this issue. We have updated the Twitter shortcode
to use Twitter's new API.
Enhancements/Templates
Use configured location when date passed to Format is string
Add path.Clean
Other
Regen CLI docs f503b639 @bep
Make ContentBaseName() return the directory for branch bundles
Update Twitter shortcode oEmbed endpoint
bump github.com/evanw/esbuild from 0.13.10 to 0.13.12
bump github.com/yuin/goldmark from 1.4.1 to 1.4.2
bump github.com/aws/aws-sdk-go from 1.40.8 to 1.41.14
bump github.com/getkin/kin-openapi from 0.79.0 to 0.80.0
bump github.com/evanw/esbuild from 0.13.8 to 0.13.10
Rename excepted filenames for image golden testdata
bump github.com/frankban/quicktest from 1.13.1 to 1.14.0
Validate the target path in hugo new
Set zone of datetime from from go-toml
Added nodesource apt repository to snap package
Set HUGO_ENABLEGITINFO=false override in Set_in_string
Add includeFiles and excludeFiles to mount configuration
bump github.com/mitchellh/mapstructure from 1.4.1 to 1.4.2
Always preserve the original transform error
Add hyperlink to the banner
bump github.com/getkin/kin-openapi from 0.78.0 to 0.79.0
github.com/evanw/esbuild v0.13.5 => v0.13.8
Return error on no content dirs
Add a cross process build lock and use it in the archetype content builder
github.com/alecthomas/chroma v0.9.2 => v0.9.4
Reimplement archetypes
bump github.com/tdewolff/minify/v2 from 2.9.21 to 2.9.22
Update github.com/evanw/esbuild v0.13.5
bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14
bump github.com/getkin/kin-openapi from 0.75.0 to 0.78.0
Allow multiple plugins in the PostCSS options map
Create path.Clean documentation
Skip a test assertion on CI
Remove tracking image
Revert "Remove credit from release notes"
Pass minification errors to the user
Clarify "precision" in currency format functions
bump github.com/evanw/esbuild from 0.12.24 to 0.12.29
Use default math/rand.Source for concurrency safety
Make the error handling for the mod commands more lenient
Add some help text to the 'unknown revision' error
Update github.com/yuin/goldmark v1.4.0 => v1.4.1
Fixes/Templates
Fix time.Format with Go layouts
Other
Fix description of lang.FormatNumberCustom
Fix typo in error message
Fix panic when specifying multiple excludeFiles directives
Fix file permissions in new archetype implementation
Fix the "page picker" logic in --navigateToChanged
Fix a typo on OpenBSD
Fix value of useResourceCacheWhen in TestResourceChainPostCSS
v0.88.1
This is a bug-fix release with one important fix.
Bump down again to Go 1.16.7 for the release builds
v0.88.0
Notes
We have fixed a bug with the import order in js.Build for the case
./foo when both ./foo.js and ./foo/index.js exists. This is in
line with how both Node and ESBuild's native import resolver does
it. We discovered this trying to build AlpineJS v3 from source
mounted in /assets.
Enhancements/Templates
Handle nil values in time.AsTime"
Handle nil values in time.AsTime
Other
Run go mod tidy
Don't fail on template errors on go mod graph etc.
bump github.com/getkin/kin-openapi from 0.74.0 to 0.75.0
bump github.com/frankban/quicktest from 1.13.0 to 1.13.1
bump github.com/evanw/esbuild from 0.12.22 to 0.12.24
Avoid failing with "module not found" for hugo mod init and similar
Update to Go 1.17
Remove Pygments from snapcraft.yml
bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.0"
Add tabindex when code is not highlighted
bump github.com/evanw/esbuild from 0.12.17 to 0.12.22
bump golang.org/x/text from 0.3.6 to 0.3.7
bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.0
Prevent minifier from removing quoutes around post-processed attributes
Avoid too many watch file handles causing the server to fail to start"
Remove some pygments references
Avoid too many watch file handles causing the server to fail to start
bump github.com/getkin/kin-openapi from 0.68.0 to 0.74.0
Update github.com/spf13/cast v1.4.0 => v1.4.1
Import time/tzdata on Windows
Indent TOML tables
Fixes/Other
Fix import order for ./foo when both ./foo.js and ./foo/index.js exists
Fix it so disableKinds etc. does not get merged in from theme
Fix lang.FormatPercent description
|
|
|
|
|
|
|
|
|
|
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Not committed (merge conflicts):
www/nghttp2/distinfo
Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
|
|
|
|
|
|
|
|
Hugo 0.87 brings two long sought-after features: Default time zone support (per
language if needed) for dates without zone offset or location info, and
localized time and dates and numbers (backed by CLDR).
|
|
|
|
|
|
v0.85.0
-------
Hugo 0.85.0 is on the smaller side of releases, but the main new thing it
brings should be important to those who need it: Poll based watching for file
system changes.
Hugo uses Fsnotify to provide native file system notifications. This is still
the default, but there may situations where this isn't working. The file may
not support it (e.g. NFS), or you get the "too many open files" error and
cannot or do not want to increase the ulimit. Enable polling by passing the
--poll flag with an interval:
hugo server --poll 700ms
You van even do "long polling" by passing a long interval:
hugo server --poll 24h
v0.84.0
-------
This release brings several configuration fixes and improvements that will be
especially useful for themes.
Deep merge of theme Params
One of the most common complaint from Hugo theme owners/users has been about
the configuration handling. Hugo has up until now only performed a shallow
merge of theme params into the configuration.
With that, given this example from a theme configuration:
[params]
[params.colours]
blue="#337DFF"
green="#68FF33"
red="#FF3358"
If you would like to use the above theme, but want a different shade of red,
you earlier had to copy the entire block, even the colours you're totally happy
with. This was painful even the simplest setup.
Now you can just override the params keys you want to change, e.g.:
[params]
[params.colours]
red="#fc0f03"
For more information, and especially about the way you can opt out of the above
behaviour, see Merge Configuration from Themes.
Themes now support the config directory
Now both the project and themes/modules can store its configuration in both the
top level config file (e.g. config.toml) or in the config directory. See
Configuration Directory.
HTTP headers in getJSON/getCSV
getJSON now supports custom HTTP headers. This has been a big limitation in
Hugo, especially considering the Authorization header.
New erroridf template func
Sometime, especially when creating themes, it is useful to be able to let the
user decide if an error situation is critical enough to fail the build. The new
erroridf produces ERROR log statements that can be toggled off:
{{ erroridf "some-custom-id" "Some error message." }}
Will log:
ERROR: Some error message.
If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:
ignoreErrors = ["some-custom-id"]
|
|
|
|
v0.83.1
This is a bug-fix release with one important fix.
langs/i18n: Fix warning regression in i18n ececd1b1 @bep #8492
v0.83.0
Templates
Remove the FuzzMarkdownify func for now 5656a908 @bep
Output
Make the shortcode template lookup for output formats stable 0d86a32d @bep #7774
Only output mediaType once in docshelper JSON 7b4ade56 @bep #8379
Other
Regenerate docs helper a9b52b41 @bep
Regenerate CLI docs b073a1c9 @bep
Remove all dates from gendoc 4227cc1b @bep
Update getkin/kin-openapi v0.60.0 => v0.61. 3cc4fdd6 @bep
Update github.com/evanw/esbuild v0.11.14 => v0.11.16 78c1a6a7 @bep
Remove .Site.Authors from embedded templates f6745ad3 @jmooring #4458
Don't treat a NotFound response for Delete as a fatal error. f523e9f0 @vangent
Switch to deb packages of nodejs and python3-pygments 63cd05ce @anthonyfok
Install bin/node from node/14/stable 902535ef @anthonyfok
bump github.com/getkin/kin-openapi from 0.55.0 to 0.60.0 70aebba0 @dependabot[bot]
bump github.com/evanw/esbuild from 0.11.13 to 0.11.14 3e3b7d44 @dependabot[bot]
Update to Chroma v0.9.1 048418ba @caarlos0
Improve plural handling of floats eebde0c2 @bep #8464
bump github.com/evanw/esbuild from 0.11.12 to 0.11.13 65c502cc @dependabot[bot]
Revise the plural implementation 537c905e @bep #8454#7822
Update to "base: core20" 243951eb @anthonyfok
bump github.com/frankban/quicktest from 1.11.3 to 1.12.0 fe2ee028 @dependabot[bot]
bump google.golang.org/api from 0.44.0 to 0.45.0 316d65cd @dependabot[bot]
bump github.com/aws/aws-sdk-go from 1.37.11 to 1.38.23 b95229ab @dependabot[bot]
Correct function name in comment 0551df09 @xhit
Upgraded github.com/evanw/esbuild v0.11.0 => v0.11.12 057e5a22 @bep
Regen docs helper fd96f65a @bep
bump github.com/tdewolff/minify/v2 from 2.9.15 to 2.9.16 d3a64708 @dependabot[bot]
bump golang.org/x/text from 0.3.5 to 0.3.6 3b56244f @dependabot[bot]
Remove some unreachable code f5d3d635 @bep
bump github.com/getkin/kin-openapi from 0.39.0 to 0.55.0 0d3c42da @dependabot[bot]
Some performance tweaks for the HTML elements collector ef34dd8f @bep
Exclude comment and doctype elements from writeStats bc80022e @dirkolbrich #8396#8417
Merge branch 'release-0.82.1' 2bb9496c @bep
bump github.com/yuin/goldmark from 1.3.2 to 1.3.5 3ddffd06 @jmooring #8377
Remove duplicate references from release notes 6fc52d18 @jmooring #8360
bump github.com/spf13/afero from 1.5.1 to 1.6.0 73c3ae81 @dependabot[bot]
bump github.com/pelletier/go-toml from 1.8.1 to 1.9.0 7ca118fd @dependabot[bot]
Add webp image encoding support 33d5f805 @bep #5924
bump google.golang.org/api from 0.40.0 to 0.44.0 509d39fa @dependabot[bot]
bump github.com/nicksnyder/go-i18n/v2 from 2.1.1 to 2.1.2 7725c41d @dependabot[bot]
bump github.com/rogpeppe/go-internal from 1.6.2 to 1.8.0 5d36d801 @dependabot[bot]
Remove extraneous space from figure shortcode 9b34d42b @jmooring #8401
bump github.com/magefile/mage from 1.10.0 to 1.11.0 c2d8f87c @dependabot[bot]
bump github.com/google/go-cmp from 0.5.4 to 0.5.5 cbc24661 @dependabot[bot]
Disable broken pretty relative links feature fa432b17 @niklasfasching
Update go-org to v1.5.0 0cd55c66 @niklasfasching
bump github.com/jdkato/prose from 1.2.0 to 1.2.1 0d5cf256 @dependabot[bot]
bump github.com/spf13/cobra from 1.1.1 to 1.1.3 36527576 @dependabot[bot]
Add complete dependency list in "hugo env -v" 9b83f45b @bep #8400
Add hugo.IsExtended 7fdd2b95 @bep #8399
Also test minified HTML in the element collector 3d5dbdcb @bep #7567
Skip script, pre and textarea content when looking for HTML elements 8a308944 @bep #7567
Add slice syntax to sections permalinks config 2dc222ce @bep #8363
Upgrade github.com/evanw/esbuild v0.9.6 => v0.11.0 4d22ad58 @bep
Fixes
Templates
Fix where on type mismatches e4dc9a82 @bep #8353
Output
Regression in media type suffix lookup 6e9d2bf0 @bep #8406
Regression in media type suffix lookup e73f7a77 @bep #8406
Other
Fix multiple unknown language codes 7eb80a9e @bep #7838
Fix permalinks pattern detection for some of the sections variants c13d3687 @bep #8363
Fix Params case handling in where with slices of structs (e.g. Pages) bca40cf0 @bep #7009
Fix typo in docshelper.go 7c7974b7 @jmooring #8380
Try to fix the fuzz build 5e2f1289 @bep
v0.82.1
This is a bug-fix release with one important fix.
Regression in media type suffix lookup 6e9d2bf0 @bep #8406
v0.82.0
Enhancements
Templates
Add method mappings for strings.Contains, strings.ContainsAny 7f853003 @bep
Output
Make Type comparable ba1d0051 @bep #8317#8324
Add a basic benchmark 4d24e2a3 @bep
Other
Regenerate docs helper 86b4fd35 @bep
Regen CLI docs 195d108d @bep
Simplify some config loading code df8bb881 @bep
Update github.com/evanw/esbuild v0.9.0 => v0.9.6 57d8d208 @bep
Apply OS env overrides twice fc06e850 @bep
Attributes for code fences should be placed after the lang indicator only b725253f @bep #8313
Bump github.com/tdewolff/minify/v2 v2.9.15 35dedf15 @bep #8332
More explicit support link to discourse 137d2dab @davidsneighbour
Update to esbuild v0.9.0 1b1dcf58 @bep
Allow more spacing characters in strings 0a2ab3f8 @moorereason #8079#8079
Rename a test 35bfb662 @bep
Add a debug helper 6d21559f @bep
Add support for Google Analytics v4 ba16a14c @djatwood
Bump go.mod to Go 1.16 782c79ae @bep #8294
#8210 Upgrade golang version for Dockerfile 5afcae7e @systemkern
Update CONTRIBUTING.md 60469f42 @bep
Handle attribute lists in code fences aed7df62 @bep #8278
Allow markdown attribute lists to be used in title render hooks cd0c5d7e @bep #8270
bump github.com/kyokomi/emoji/v2 from 2.2.7 to 2.2.8 88a85dce @dependabot[bot]
Fixes
Output
Fix output format handling for render hooks 18074d0c @bep #8176
Other
Fix OS env override for nested config param only available in theme 7ed56c69 @bep #8346
Fix new theme command description 24c716ca @rootkea
Fix handling of utf8 runes in nullString() f6612d8b @moorereason
Fixes #7698. 01dd7c16 @gzagatti
Fix autocomplete docs c8f45d1d @bep
v0.81.0
Make the build green again fe77f743 @bep
Regenerate internal templates c6080655 @bep
Update date logic of opengraph and schema internal templates ffd9dac4 @djatwood
Synch Go templates fork with Go 1.16dev cf3e077d @bep
Exclude pages without Permalink from sitemap 4867cd1d @Jaza
Add default user-agent header for getJSON requests 35def0ae @peacecwz
remove 1mb limit for readFile. ee9c1367 @avdva
Do not return errors in substr for out-of-bounds cases 8a26ab0b @moorereason #8113
Add missing test scenario for strings.Substr 788e50ad @moorereason
Regen CLI docs 9e99950c @bep
Regen docs helper 1b364b00 @bep
Run go mod tidy 88b93a09 @bep
Add arm64 to Darwinextended build and add vendorInfo 29fb456c @bep #8003
Update Travis, GitHub, CircleCI and Snap to Go 1.16 (only) 718fba7d @bep
Pull in latest Go 1.16 template source e77b2e3a @bep
Add breaking tests for "map read and map write in templates" b5485aea @bep #7293
Pull in latest Go template source ccb822eb @bep
Expand template newline testcase to commands 21e9eb18 @bep
Add a test case for Go 1.16 template action newlines ae57ba6a @bep
Update github.com/tdewolff/minify/v2 v2.6.2 => v2.9.13 66beac99 @bep #8258
bump github.com/frankban/quicktest from 1.11.2 to 1.11.3 968dd7a7 @dependabot[bot]
bump github.com/getkin/kin-openapi from 0.32.0 to 0.39.0 38f29e81 @dependabot[bot]
bump github.com/aws/aws-sdk-go from 1.36.33 to 1.37.11 cd87813a @dependabot[bot]
bump github.com/sanity-io/litter from 1.3.0 to 1.5.0 4e815b06 @dependabot[bot]
bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5 652a59d3 @dependabot[bot]
Update to esbuild v0.8.46 84f0ec7f @bep
Add config option modules.vendorClosest bdfbcf6f @bep #8235#8242
bump google.golang.org/api from 0.26.0 to 0.40.0 a9b0fea6 @dependabot[bot]
Change version string format and add VendorInfo to help with issue triaging e8df0977 @anthonyfok
Allow absolute paths for any modules resolved via project replacement 3a5ee0d2 @bep #8240
Throw an error running hugo mod vendor on mountless module 4ffaeaf1 @bep
Add PowerShell completion support 5f621df2 @anthonyfok #8122
Refer to mage instead of make in comment regarding commitHash 7118f89c @anthonyfok
Add attributes support for blocks (tables etc.) 2681633d @bep #7548
Update to Goldmark v1.3.2 1b247282 @bep #8143
Update to Dart Sass Protocol beta6 441b11be @bep
Write to stdout by default d36fd5b3 @benmezger
Remove powershell support a7c515e1 @benmezger
Add zsh, fish and powershell completion support 216b00f3 @benmezger #4296
Enable NPM tests on Windows 14494379 @bep #8196
Update to esbuild v0.8.39 440fdb0e @bep #8189
Trim whitespace in elements written to hugo_stats.json b2a48dce @pmatiash #7958
bump github.com/aws/aws-sdk-go from 1.35.0 to 1.36.33 2f9dadae @dependabot[bot]
Remove mention of a file size limit for readFile ed3071b7 @avdva
Add Inject config option 32b86076 @bep #8164
Add Shims option e19a046c @bep #8165
bump github.com/spf13/afero from 1.4.1 to 1.5.1 07ad283f @eclipseo
Add external source map support to js.Build and Babel 2c8b5d91 @richtera #8132
Run go mod tidy 4d2b6fc4 @bep
Update go-org to v1.4.0 212e5e55 @niklasfasching
Adjust log level 4fdec67b @bep
Add temporary patch to fix template data race 9650e568 @bep #7293
Fix race condition in text template baseof 241b7483 @moorereason
Fix metrics hint tracking 0004a733 @moorereason #8125
Fix potential path issue on Windows b60e9279 @bep
Fix some humanize issues bf55afd7 @susiwen8 #7912
Fix handling of legacy attribute config e6dd3128 @bep #7548
Support translation files with suffix *.yml 92c6c404 @bep #8212
Fix nilpointer in js.Build error handling a1fe552f @bep #8162
|
|
|
|
|
|
Changelog:
0.80.0
Enhancements
Templates
* Regenerate templates a2d146ec @bep
* tpl/internal/go_templates: Revert formatting 718e09ed @bep
* Add title parameter to YouTube shortcode 4fc918e0 @azenk
Output
* Add missing OutputStyle option 428b0b32 @bep
Other
* Allow Dart Sass transformations to be cached on disk ffbf5e45 @bep
* Dart Sass only supports expanded and compressed 48994ea7 @bep
* Update emoji import paths and version 1f7e9f73 @moorereason
* Add Dart Sass support cea15740 @bep #7380#8102
* GroupByParamDate now supports datetimes f9f77978 @zerok
* Skip para test when not on CI a9718f44 @bep #6963
* Update SECURITY.md f802bb23 @bep
* Improve LookPath 10ae7c32 @bep
* create a SECURITY.md ae2d1bd5 @davidsneighbour #8074
* Show more detail on failed time test 8103188b @moorereason #6963
* Add images.Overlay filter 3ba147e7 @bep #8057#4595#6731
* Bump github.com/spf13/cobra from 0.15.0 to 0.20.0 c84ad8db @anthonyfok
* configure proper link to discourse.gohugo.io (#8020) 4e0acb89
@davidsneighbour
* Format code with gofumpt d90e37e0 @bep
* bump github.com/evanw/esbuild from 0.8.15 to 0.8.17 32471b57 @dependabot
[bot]
* Use --baseURL path for live-reload URL 0ad378b0 @sth #6595
* bump github.com/getkin/kin-openapi from 0.31.0 to 0.32.0 907d9e92
@dependabot[bot]
Fixes
Templates
* Fix series detection in opengraph d2d493ab @Humberd
* Fix substr when length parameter is zero 5862fd2a @moorereason #7993
* Refactor and fix substr logic 64789fb5 @moorereason #7993
Other
* Fix Resource.ResourceType so it always returns MIME's main type 81975f84
@bep #8052
* hugolib/paths: Fix typo ce96895d @mayocream
* Fix minor typos 04b89857 @phil-davis
* Fix BenchmarkMergeByLanguage 21fa1e86 @bep #7914
* Fix RelURL and AbsURL when path starts with language aebfe156
@ivan-meridianbanc-com
0.79.1:
Hugo depends on Go's os/exec for certain features, e.g. for rendering of Pandoc
documents if these binaries are found in the system %PATH% on Windows. However,
if a malicious file with the same name (exe or bat) was found in the current
working directory at the time of running hugo, the malicious command would be
invoked instead of the system one.
Windows users who ran hugo inside untrusted Hugo sites was affected.
The origin of this issue comes from Go, see golang/go#38736
We have fixed this in Hugo by using a patched version of exec.LookPath from
https://github.com/cli/safeexec (thanks to @mislav for the implementation).
Thanks to @Ry0taK for the bug report.
0.79.0:
Hugo 0.79.0 is a small, but useful release. You can now set custom .Params in
your menu configuration, and you can now also override deeply nested
snake_cased configuration variables with OS environment variables. Other than
that we have refreshed all the core upstream dependencies. A special thanks to
@alecthomas (some new Chroma lexers and fixes) and @evanw (ESBuild).
This release represents 33 contributions by 8 contributors to the main Hugo
code base. @bep leads the Hugo development with a significant amount of
contributions, but also a big shoutout @AdamKorcz, and @davidejones for their
ongoing contributions. And a big thanks to @digitalcraftsman for his relentless
work on keeping the themes site in pristine condition and to @davidsneighbour,
@coliff and @kaushalmodi for all the great work on the documentation site.
Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 13 contributions by 11 contributors. A special thanks to
@Valac01, @bep, @mhansen, and @chanjarster for their work on the documentation
site.
Enhancements
Templates
* Add more layout lookup tests 34061706 @moorereason #7964
Other
* bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 17e0bbe8 @dependabot[bot]
* Allow setting the delimiter used for setting config via OS env, e.g. HUGO_
7e223b3b @bep #7829
* Update to github.com/evanw/esbuild 0.8.11 to 0.8.14 8a6e7060 @bep #7986
* bump github.com/google/go-cmp from 0.5.2 to 0.5.3 6f7633df @dependabot[bot]
* Remove unneeded meta tag from blog example a546059a @coliff
* bump github.com/getkin/kin-openapi from 0.30.0 to 0.31.0 b5d906e3
@dependabot[bot]
* Regen docshelper fd70bdaf @bep
* Add menu params 8f5c9a74 @davidejones #7951
* Preserve url set in frontmatter without sanitizing e4fcb672 @satotake #6007
* Add file deleted by accident 18c13adc @bep #7972
* Regenerate docshelper" 20a35374 @bep #7972
* Regenerate docshelper caf16c20 @bep
* Update to Chroma v0.8.2 b298c06e @bep #7970
* bump github.com/evanw/esbuild from 0.8.8 to 0.8.11 55e290af @dependabot
[bot]
* bump github.com/getkin/kin-openapi from 0.26.0 to 0.30.0 506a190a
@dependabot[bot]
* bump github.com/evanw/esbuild from 0.8.6 to 0.8.8 fc81de64 @dependabot[bot]
* Let ESBuild handle all imports from node_modules 78f227b6 @bep #7948
* bump github.com/evanw/esbuild from 0.8.5 to 0.8.6 5e03f644 @dependabot[bot]
* bump github.com/evanw/esbuild from 0.8.4 to 0.8.5 a92ef20f @dependabot[bot]
* bump github.com/getkin/kin-openapi from 0.22.1 to 0.26.0 0d54a844
@dependabot[bot]
* Update GH docs to say "main" as default branch 943f3c93 @maco
* Updated year in header 4f20bf29 @AdamKorcz
* Added first fuzzer 4c613d5d @AdamKorcz
* bump github.com/frankban/quicktest from 1.11.1 to 1.11.2 82a182e5
@dependabot[bot]
* bump golang.org/x/text from 0.3.3 to 0.3.4 dfc662b2 @dependabot[bot]
* bump github.com/evanw/esbuild from 0.8.3 to 0.8.4 2f0917cc @dependabot[bot]
* Disable NPM test on Travis on Windows 3437174c @bep
* Install nodejs on Windows f66302ca @bep
* Remove external source map option 944150ba @bep #7932
Fixes
Other
* Fix memory usage in writeStats d162bbd7 @bep #7945
* Fix server rebuild issue with partials referenced from render hooks
e442cf30 @bep #7990
* Misc fixes bf2837a3 @bep #7924#7923
|
|
|
|
Switch to go-modules and tidy up.
There have been 59 releases and nearly 3,000 lines of changelog since 0.55.6,
so apologies, but if you want a changelog you'll need to browse:
https://github.com/gohugoio/hugo/releases
to see what changed as it's impractical to list them here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pkglint -Wall -F --only aligned --only indent -r
Manually excluded phraseanet since pkglint got the indentation wrong.
|