hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
# $NetBSD: go-modules.mk,v 1.7 2022/04/10 21:16:34 nikita Exp $
|
2020-11-18 15:44:24 +01:00
|
|
|
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= bazil.org/fuse/@v/v0.0.0-20180421153158-65cc252bf669.mod
|
|
|
|
GO_MODULE_FILES+= bazil.org/fuse/@v/v0.0.0-20180421153158-65cc252bf669.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.100.2.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.100.2.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.26.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.34.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.38.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.39.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.44.1.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.44.2.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.44.3.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.45.1.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.46.3.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.50.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.52.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.53.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.54.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.55.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.56.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.57.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.58.0.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.62.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.65.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.72.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.74.0.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.75.0.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.78.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.79.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.81.0.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.83.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.84.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.87.0.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.90.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.93.3.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.94.1.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.97.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/@v/v0.99.0.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/bigquery/@v/v1.0.1.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/bigquery/@v/v1.3.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/bigquery/@v/v1.4.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/bigquery/@v/v1.5.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/bigquery/@v/v1.7.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/bigquery/@v/v1.8.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/bigquery/@v/v1.8.0.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/compute/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/compute/@v/v1.3.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/compute/@v/v1.3.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/datastore/@v/v1.0.0.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/datastore/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/datastore/@v/v1.1.0.zip
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/firestore/@v/v1.2.0.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/firestore/@v/v1.2.0.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/iam/@v/v0.2.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/iam/@v/v0.2.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/pubsub/@v/v1.0.1.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/pubsub/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/pubsub/@v/v1.2.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/pubsub/@v/v1.3.1.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/pubsub/@v/v1.3.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.0.0.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.10.0.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.14.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.14.0.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.5.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.6.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.8.0.mod
|
|
|
|
GO_MODULE_FILES+= cloud.google.com/go/storage/@v/v1.9.0.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= contrib.go.opencensus.io/exporter/aws/@v/v0.0.0-20181029163544-2befc13012d0.mod
|
|
|
|
GO_MODULE_FILES+= contrib.go.opencensus.io/exporter/aws/@v/v0.0.0-20181029163544-2befc13012d0.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= contrib.go.opencensus.io/exporter/stackdriver/@v/v0.12.1.mod
|
|
|
|
GO_MODULE_FILES+= contrib.go.opencensus.io/exporter/stackdriver/@v/v0.12.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= contrib.go.opencensus.io/integrations/ocsql/@v/v0.1.4.mod
|
|
|
|
GO_MODULE_FILES+= contrib.go.opencensus.io/integrations/ocsql/@v/v0.1.4.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= contrib.go.opencensus.io/resource/@v/v0.1.1.mod
|
|
|
|
GO_MODULE_FILES+= contrib.go.opencensus.io/resource/@v/v0.1.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= dmitri.shuralyov.com/gpu/mtl/@v/v0.0.0-20190408044501-666a987793e9.mod
|
|
|
|
GO_MODULE_FILES+= dmitri.shuralyov.com/gpu/mtl/@v/v0.0.0-20190408044501-666a987793e9.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-amqp-common-go/v3/@v/v3.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-amqp-common-go/v3/@v/v3.0.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-pipeline-go/@v/v0.2.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-pipeline-go/@v/v0.2.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-pipeline-go/@v/v0.2.2.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-sdk-for-go/@v/v37.1.0+incompatible.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-sdk-for-go/@v/v37.1.0+incompatible.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-service-bus-go/@v/v0.10.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-service-bus-go/@v/v0.10.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-storage-blob-go/@v/v0.9.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/azure-storage-blob-go/@v/v0.9.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-amqp/@v/v0.12.6.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-amqp/@v/v0.12.7.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-amqp/@v/v0.12.7.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/@v/v0.9.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/@v/v0.9.3.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/@v/v0.9.3.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/adal/@v/v0.5.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/adal/@v/v0.8.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/adal/@v/v0.8.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/adal/@v/v0.8.3.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/adal/@v/v0.8.3.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/azure/auth/@v/v0.4.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/azure/auth/@v/v0.4.2.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/azure/cli/@v/v0.3.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/azure/cli/@v/v0.3.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/date/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/date/@v/v0.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/date/@v/v0.2.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/mocks/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/mocks/@v/v0.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/mocks/@v/v0.3.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/mocks/@v/v0.3.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/to/@v/v0.3.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/to/@v/v0.3.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/validation/@v/v0.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/autorest/validation/@v/v0.2.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/logger/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/logger/@v/v0.1.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/tracing/@v/v0.5.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!azure/go-autorest/tracing/@v/v0.5.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/!burnt!sushi/locker/@v/v0.0.0-20171006230638-a6e239ea1c69.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!burnt!sushi/locker/@v/v0.0.0-20171006230638-a6e239ea1c69.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!burnt!sushi/toml/@v/v0.3.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!burnt!sushi/toml/@v/v0.3.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!burnt!sushi/xgb/@v/v0.0.0-20160522181843-27f122750802.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!burnt!sushi/xgb/@v/v0.0.0-20160522181843-27f122750802.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/!google!cloud!platform/cloudsql-proxy/@v/v0.0.0-20191009163259-e802c2cb94ae.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!google!cloud!platform/cloudsql-proxy/@v/v0.0.0-20191009163259-e802c2cb94ae.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/!one!of!one/xxhash/@v/v1.2.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!one!of!one/xxhash/@v/v1.2.2.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/!puerkito!bio/purell/@v/v1.1.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!puerkito!bio/purell/@v/v1.1.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/!puerkito!bio/urlesc/@v/v0.0.0-20170810143723-de5bf2ad4578.mod
|
|
|
|
GO_MODULE_FILES+= github.com/!puerkito!bio/urlesc/@v/v0.0.0-20170810143723-de5bf2ad4578.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/alecthomas/chroma/@v/v0.10.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/alecthomas/chroma/@v/v0.10.0.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/antihax/optional/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/antihax/optional/@v/v1.0.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/armon/go-radix/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/armon/go-radix/@v/v1.0.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/aws/aws-sdk-go/@v/v1.15.27.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/aws/aws-sdk-go/@v/v1.19.18.mod
|
|
|
|
GO_MODULE_FILES+= github.com/aws/aws-sdk-go/@v/v1.31.13.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/aws/aws-sdk-go/@v/v1.43.5.mod
|
|
|
|
GO_MODULE_FILES+= github.com/aws/aws-sdk-go/@v/v1.43.5.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/bep/debounce/@v/v1.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/bep/debounce/@v/v1.2.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/bep/gitmap/@v/v1.1.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/bep/gitmap/@v/v1.1.2.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/bep/goat/@v/v0.5.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/bep/goat/@v/v0.5.0.zip
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/bep/godartsass/@v/v0.14.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/bep/godartsass/@v/v0.14.0.zip
|
hugo: update to 0.85.0
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"]
2021-07-06 20:57:08 +02:00
|
|
|
GO_MODULE_FILES+= github.com/bep/golibsass/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/bep/golibsass/@v/v1.0.0.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/bep/gowebp/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/bep/gowebp/@v/v0.1.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/bep/tmc/@v/v0.5.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/bep/tmc/@v/v0.5.1.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/bep/workers/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/bep/workers/@v/v1.0.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/census-instrumentation/opencensus-proto/@v/v0.2.0.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/census-instrumentation/opencensus-proto/@v/v0.2.1.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/census-instrumentation/opencensus-proto/@v/v0.2.1.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/cespare/xxhash/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/cespare/xxhash/@v/v1.1.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/cespare/xxhash/v2/@v/v2.1.1.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/cespare/xxhash/v2/@v/v2.1.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/cheekybits/is/@v/v0.0.0-20150225183255-68e9c0620927.mod
|
|
|
|
GO_MODULE_FILES+= github.com/cheekybits/is/@v/v0.0.0-20150225183255-68e9c0620927.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/chzyer/logex/@v/v1.1.10.mod
|
|
|
|
GO_MODULE_FILES+= github.com/chzyer/logex/@v/v1.1.10.zip
|
|
|
|
GO_MODULE_FILES+= github.com/chzyer/readline/@v/v0.0.0-20180603132655-2972be24d48e.mod
|
|
|
|
GO_MODULE_FILES+= github.com/chzyer/readline/@v/v0.0.0-20180603132655-2972be24d48e.zip
|
|
|
|
GO_MODULE_FILES+= github.com/chzyer/test/@v/v0.0.0-20180213035817-a1ea475d72b1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/chzyer/test/@v/v0.0.0-20180213035817-a1ea475d72b1.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/clbanning/mxj/v2/@v/v2.5.5.mod
|
|
|
|
GO_MODULE_FILES+= github.com/clbanning/mxj/v2/@v/v2.5.5.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/cli/safeexec/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/cli/safeexec/@v/v1.0.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/client9/misspell/@v/v0.3.4.mod
|
|
|
|
GO_MODULE_FILES+= github.com/client9/misspell/@v/v0.3.4.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/cncf/udpa/go/@v/v0.0.0-20191209042840-269d4d468f6f.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/cncf/udpa/go/@v/v0.0.0-20200629203442-efcf912fb354.mod
|
|
|
|
GO_MODULE_FILES+= github.com/cncf/udpa/go/@v/v0.0.0-20201120205902-5459f2c99403.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/cncf/udpa/go/@v/v0.0.0-20210930031921-04548b0d99d4.mod
|
|
|
|
GO_MODULE_FILES+= github.com/cncf/udpa/go/@v/v0.0.0-20210930031921-04548b0d99d4.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/cncf/xds/go/@v/v0.0.0-20210312221358-fbca930ec8ed.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/cncf/xds/go/@v/v0.0.0-20210805033703-aa0b78936158.mod
|
|
|
|
GO_MODULE_FILES+= github.com/cncf/xds/go/@v/v0.0.0-20210922020428-25de7278fc84.mod
|
|
|
|
GO_MODULE_FILES+= github.com/cncf/xds/go/@v/v0.0.0-20211011173535-cb28da3451f1.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/cncf/xds/go/@v/v0.0.0-20211011173535-cb28da3451f1.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/cpuguy83/go-md2man/v2/@v/v2.0.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/cpuguy83/go-md2man/v2/@v/v2.0.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/creack/pty/@v/v1.1.9.mod
|
|
|
|
GO_MODULE_FILES+= github.com/creack/pty/@v/v1.1.9.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/davecgh/go-spew/@v/v0.0.0-20161028175848-04cdfd42973b.mod
|
|
|
|
GO_MODULE_FILES+= github.com/davecgh/go-spew/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/davecgh/go-spew/@v/v1.1.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/davecgh/go-spew/@v/v1.1.1.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/devigned/tab/@v/v0.1.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/devigned/tab/@v/v0.1.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/dgrijalva/jwt-go/@v/v3.2.0+incompatible.mod
|
|
|
|
GO_MODULE_FILES+= github.com/dgrijalva/jwt-go/@v/v3.2.0+incompatible.zip
|
|
|
|
GO_MODULE_FILES+= github.com/dimchansky/utfbom/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/dimchansky/utfbom/@v/v1.1.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/disintegration/gift/@v/v1.2.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/disintegration/gift/@v/v1.2.1.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/djherbis/atime/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/djherbis/atime/@v/v1.1.0.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/dlclark/regexp2/@v/v1.4.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/dlclark/regexp2/@v/v1.4.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/dustin/go-humanize/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/dustin/go-humanize/@v/v1.0.0.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/go-control-plane/@v/v0.9.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/go-control-plane/@v/v0.9.1-0.20191026205805-5f8ba28d4473.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/go-control-plane/@v/v0.9.10-0.20210907150352-cf90f659a021.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/go-control-plane/@v/v0.9.10-0.20210907150352-cf90f659a021.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/go-control-plane/@v/v0.9.4.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/go-control-plane/@v/v0.9.7.mod
|
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/go-control-plane/@v/v0.9.9-0.20201210154907-fd9021fe5dad.mod
|
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/go-control-plane/@v/v0.9.9-0.20210217033140-668b12f5399d.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/go-control-plane/@v/v0.9.9-0.20210512163311-63b5d3c536b0.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/protoc-gen-validate/@v/v0.1.0.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/envoyproxy/protoc-gen-validate/@v/v0.1.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/evanw/esbuild/@v/v0.14.25.mod
|
|
|
|
GO_MODULE_FILES+= github.com/evanw/esbuild/@v/v0.14.25.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/fortytw2/leaktest/@v/v1.3.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/fortytw2/leaktest/@v/v1.3.0.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/frankban/quicktest/@v/v1.13.0.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/frankban/quicktest/@v/v1.14.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/frankban/quicktest/@v/v1.14.2.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/frankban/quicktest/@v/v1.4.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/frankban/quicktest/@v/v1.7.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/fsnotify/fsnotify/@v/v1.4.7.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/fsnotify/fsnotify/@v/v1.5.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/fsnotify/fsnotify/@v/v1.5.1.zip
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/getkin/kin-openapi/@v/v0.93.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/getkin/kin-openapi/@v/v0.93.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/ghodss/yaml/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/ghodss/yaml/@v/v1.0.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/go-gl/glfw/@v/v0.0.0-20190409004039-e6da0acd62b1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/go-gl/glfw/@v/v0.0.0-20190409004039-e6da0acd62b1.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/go-gl/glfw/v3.3/glfw/@v/v0.0.0-20191125211704-12ad95a8df72.mod
|
|
|
|
GO_MODULE_FILES+= github.com/go-gl/glfw/v3.3/glfw/@v/v0.0.0-20200222043503-6f7a984d4dc4.mod
|
|
|
|
GO_MODULE_FILES+= github.com/go-gl/glfw/v3.3/glfw/@v/v0.0.0-20200222043503-6f7a984d4dc4.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/go-ini/ini/@v/v1.25.4.mod
|
|
|
|
GO_MODULE_FILES+= github.com/go-ini/ini/@v/v1.25.4.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/go-openapi/jsonpointer/@v/v0.19.5.mod
|
|
|
|
GO_MODULE_FILES+= github.com/go-openapi/jsonpointer/@v/v0.19.5.zip
|
|
|
|
GO_MODULE_FILES+= github.com/go-openapi/swag/@v/v0.19.5.mod
|
|
|
|
GO_MODULE_FILES+= github.com/go-openapi/swag/@v/v0.19.5.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/go-sql-driver/mysql/@v/v1.5.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/go-sql-driver/mysql/@v/v1.5.0.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/gobuffalo/flect/@v/v0.2.4.mod
|
|
|
|
GO_MODULE_FILES+= github.com/gobuffalo/flect/@v/v0.2.4.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/gobwas/glob/@v/v0.2.3.mod
|
|
|
|
GO_MODULE_FILES+= github.com/gobwas/glob/@v/v0.2.3.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/gohugoio/go-i18n/v2/@v/v2.1.3-0.20210430103248-4c28c89f8013.mod
|
|
|
|
GO_MODULE_FILES+= github.com/gohugoio/go-i18n/v2/@v/v2.1.3-0.20210430103248-4c28c89f8013.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/gohugoio/locales/@v/v0.14.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/gohugoio/locales/@v/v0.14.0.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/gohugoio/localescompressed/@v/v0.15.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/gohugoio/localescompressed/@v/v0.15.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/gohugoio/testmod!builder/mods/@v/v0.0.0-20190520184928-c56af20f2e95.mod
|
|
|
|
GO_MODULE_FILES+= github.com/gohugoio/testmod!builder/mods/@v/v0.0.0-20190520184928-c56af20f2e95.zip
|
|
|
|
GO_MODULE_FILES+= github.com/golang/glog/@v/v0.0.0-20160126235308-23def4e6c14b.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/glog/@v/v0.0.0-20160126235308-23def4e6c14b.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/golang/groupcache/@v/v0.0.0-20190702054246-869f871628b6.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/groupcache/@v/v0.0.0-20191227052852-215e87163ea7.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/groupcache/@v/v0.0.0-20200121045136-8c9f03a8e57e.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/golang/groupcache/@v/v0.0.0-20210331224755-41bb18bfe9da.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/groupcache/@v/v0.0.0-20210331224755-41bb18bfe9da.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.1.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.3.1.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.4.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.4.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.4.3.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.4.4.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.5.0.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.6.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/mock/@v/v1.6.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.3.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.3.2.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.3.3.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.3.4.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.3.5.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.4.0-rc.1.0.20200221234624-67d41d38c208.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.4.0-rc.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.4.0-rc.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.4.0-rc.4.0.20200313231945-b860323f09d0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.4.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.4.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.4.2.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.4.3.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.5.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.5.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.5.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/protobuf/@v/v1.5.2.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/golang/snappy/@v/v0.0.3.mod
|
|
|
|
GO_MODULE_FILES+= github.com/golang/snappy/@v/v0.0.3.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/btree/@v/v0.0.0-20180813153112-4030bb1f1f0c.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/btree/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/btree/@v/v1.0.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.3.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.3.1.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.4.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.4.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.5.0.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.5.1.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.5.2.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.5.3.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.5.4.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.5.5.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.5.6.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.5.7.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-cmp/@v/v0.5.7.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/go-replayers/grpcreplay/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-replayers/grpcreplay/@v/v0.1.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-replayers/httpreplay/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/go-replayers/httpreplay/@v/v0.1.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/martian/@v/v2.1.0+incompatible.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/martian/@v/v2.1.1-0.20190517191504-25dcb96d9e51+incompatible.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/martian/@v/v2.1.1-0.20190517191504-25dcb96d9e51+incompatible.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/google/martian/v3/@v/v3.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/martian/v3/@v/v3.1.0.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/google/martian/v3/@v/v3.2.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/martian/v3/@v/v3.2.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20181206194817-3ea8567a2e57.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20190515194954-54271f7e092f.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20191218002539-d4f498aebedc.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20200212024743-f11f1df84d12.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20200229191704-1ebb73c60ed3.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20200430221834-fc25d7d30c6d.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20200507031123-427632fa3b1c.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20200708004538-1a94d8640e99.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20201023163331-3e6fc7fc9c4c.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20201203190320-1bf35d6f28c2.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20201218002935-b9804c9f04c2.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20210122040257-d980be63207e.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20210226084205-cbba55b83ad5.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20210601050228-01bbb1931b22.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20210609004039-a478d1d731e9.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20210720184732-4bb14d4b1be1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/pprof/@v/v0.0.0-20210720184732-4bb14d4b1be1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/renameio/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/renameio/@v/v0.1.0.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/subcommands/@v/v1.0.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/subcommands/@v/v1.0.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/uuid/@v/v1.1.1.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/google/uuid/@v/v1.1.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/uuid/@v/v1.1.2.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/google/wire/@v/v0.4.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/google/wire/@v/v0.4.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/googleapis/gax-go/@v/v2.0.2+incompatible.mod
|
|
|
|
GO_MODULE_FILES+= github.com/googleapis/gax-go/@v/v2.0.2+incompatible.zip
|
|
|
|
GO_MODULE_FILES+= github.com/googleapis/gax-go/v2/@v/v2.0.4.mod
|
|
|
|
GO_MODULE_FILES+= github.com/googleapis/gax-go/v2/@v/v2.0.5.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/googleapis/gax-go/v2/@v/v2.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/googleapis/gax-go/v2/@v/v2.1.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/googleapis/gax-go/v2/@v/v2.1.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/googleapis/google-cloud-go-testing/@v/v0.0.0-20200911160855-bcd43fbb19e8.mod
|
|
|
|
GO_MODULE_FILES+= github.com/googleapis/google-cloud-go-testing/@v/v0.0.0-20200911160855-bcd43fbb19e8.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/gorilla/mux/@v/v1.8.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/gorilla/mux/@v/v1.8.0.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/gorilla/websocket/@v/v1.5.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/gorilla/websocket/@v/v1.5.0.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/grpc-ecosystem/grpc-gateway/@v/v1.16.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/grpc-ecosystem/grpc-gateway/@v/v1.16.0.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/hairyhenderson/go-codeowners/@v/v0.2.3-0.20201026200250-cdc7c0759690.mod
|
|
|
|
GO_MODULE_FILES+= github.com/hairyhenderson/go-codeowners/@v/v0.2.3-0.20201026200250-cdc7c0759690.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/hashicorp/golang-lru/@v/v0.5.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/hashicorp/golang-lru/@v/v0.5.1.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/hashicorp/golang-lru/@v/v0.5.1.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/ianlancetaylor/demangle/@v/v0.0.0-20181102032728-5e5cf60278f6.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/ianlancetaylor/demangle/@v/v0.0.0-20200824232613-28f6c0f3b639.mod
|
|
|
|
GO_MODULE_FILES+= github.com/ianlancetaylor/demangle/@v/v0.0.0-20200824232613-28f6c0f3b639.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/inconshreveable/mousetrap/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/inconshreveable/mousetrap/@v/v1.0.0.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/jdkato/prose/@v/v1.2.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/jdkato/prose/@v/v1.2.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/jmespath/go-jmespath/@v/v0.0.0-20160202185014-0b12d6b521d8.mod
|
|
|
|
GO_MODULE_FILES+= github.com/jmespath/go-jmespath/@v/v0.0.0-20180206201540-c2b33e8439af.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/jmespath/go-jmespath/@v/v0.3.0.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/jmespath/go-jmespath/@v/v0.4.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/jmespath/go-jmespath/@v/v0.4.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/jmespath/go-jmespath/internal/testify/@v/v1.5.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/jmespath/go-jmespath/internal/testify/@v/v1.5.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/joho/godotenv/@v/v1.3.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/joho/godotenv/@v/v1.3.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/jstemmer/go-junit-report/@v/v0.0.0-20190106144839-af01ea7f8024.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/jstemmer/go-junit-report/@v/v0.9.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/jstemmer/go-junit-report/@v/v0.9.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/kisielk/gotool/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/kisielk/gotool/@v/v1.0.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/kr/fs/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/kr/fs/@v/v0.1.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/kr/pretty/@v/v0.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/kr/pretty/@v/v0.2.1.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/kr/pretty/@v/v0.3.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/kr/pretty/@v/v0.3.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/kr/pty/@v/v1.1.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/kr/pty/@v/v1.1.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/kr/text/@v/v0.1.0.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/kr/text/@v/v0.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/kr/text/@v/v0.2.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/kylelemons/godebug/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/kylelemons/godebug/@v/v1.1.0.zip
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/kyokomi/emoji/v2/@v/v2.2.9.mod
|
|
|
|
GO_MODULE_FILES+= github.com/kyokomi/emoji/v2/@v/v2.2.9.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/lib/pq/@v/v1.1.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/lib/pq/@v/v1.1.1.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/magefile/mage/@v/v1.12.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/magefile/mage/@v/v1.12.1.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/mailru/easyjson/@v/v0.0.0-20190614124828-94de47d64c63.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mailru/easyjson/@v/v0.0.0-20190626092158-b2ccc519800e.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mailru/easyjson/@v/v0.0.0-20190626092158-b2ccc519800e.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/matryer/try/@v/v0.0.0-20161228173917-9ac251b645a2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/matryer/try/@v/v0.0.0-20161228173917-9ac251b645a2.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/mattn/go-ieproxy/@v/v0.0.0-20190610004146-91bb50d98149.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mattn/go-ieproxy/@v/v0.0.0-20190702010315-6dee0af9227d.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mattn/go-ieproxy/@v/v0.0.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mattn/go-ieproxy/@v/v0.0.1.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.14.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mattn/go-isatty/@v/v0.0.14.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/mattn/go-runewidth/@v/v0.0.9.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mattn/go-runewidth/@v/v0.0.9.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/mitchellh/go-homedir/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mitchellh/go-homedir/@v/v1.1.0.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/mitchellh/hashstructure/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mitchellh/hashstructure/@v/v1.1.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/mitchellh/mapstructure/@v/v1.1.2.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/mitchellh/mapstructure/@v/v1.4.3.mod
|
|
|
|
GO_MODULE_FILES+= github.com/mitchellh/mapstructure/@v/v1.4.3.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/montanaflynn/stats/@v/v0.6.3.mod
|
|
|
|
GO_MODULE_FILES+= github.com/montanaflynn/stats/@v/v0.6.3.zip
|
|
|
|
GO_MODULE_FILES+= github.com/muesli/smartcrop/@v/v0.3.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/muesli/smartcrop/@v/v0.3.0.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/neurosnap/sentences/@v/v1.0.6.mod
|
|
|
|
GO_MODULE_FILES+= github.com/neurosnap/sentences/@v/v1.0.6.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/nfnt/resize/@v/v0.0.0-20180221191011-83c6a9932646.mod
|
|
|
|
GO_MODULE_FILES+= github.com/nfnt/resize/@v/v0.0.0-20180221191011-83c6a9932646.zip
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/niklasfasching/go-org/@v/v1.6.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/niklasfasching/go-org/@v/v1.6.2.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/olekukonko/tablewriter/@v/v0.0.5.mod
|
|
|
|
GO_MODULE_FILES+= github.com/olekukonko/tablewriter/@v/v0.0.5.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/pelletier/go-toml/v2/@v/v2.0.0-beta.6.mod
|
|
|
|
GO_MODULE_FILES+= github.com/pelletier/go-toml/v2/@v/v2.0.0-beta.6.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/pkg/diff/@v/v0.0.0-20210226163009-20ebb0f2a09e.mod
|
|
|
|
GO_MODULE_FILES+= github.com/pkg/diff/@v/v0.0.0-20210226163009-20ebb0f2a09e.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/pkg/errors/@v/v0.8.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/pkg/errors/@v/v0.9.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/pkg/errors/@v/v0.9.1.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/pkg/sftp/@v/v1.13.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/pkg/sftp/@v/v1.13.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/pmezard/go-difflib/@v/v0.0.0-20151028094244-d8ed2627bdf0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/pmezard/go-difflib/@v/v1.0.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/pmezard/go-difflib/@v/v1.0.0.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/prometheus/client_model/@v/v0.0.0-20190812154241-14fe0d1b01d4.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/prometheus/client_model/@v/v0.0.0-20190812154241-14fe0d1b01d4.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/rogpeppe/fastuuid/@v/v1.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/rogpeppe/fastuuid/@v/v1.2.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/rogpeppe/go-internal/@v/v1.3.0.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/rogpeppe/go-internal/@v/v1.6.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/rogpeppe/go-internal/@v/v1.8.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/rogpeppe/go-internal/@v/v1.8.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/russross/blackfriday/@v/v1.6.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/russross/blackfriday/@v/v1.6.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/russross/blackfriday/v2/@v/v2.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/russross/blackfriday/v2/@v/v2.1.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/rwcarlsen/goexif/@v/v0.0.0-20190401172101-9e8deecbddbd.mod
|
|
|
|
GO_MODULE_FILES+= github.com/rwcarlsen/goexif/@v/v0.0.0-20190401172101-9e8deecbddbd.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/sanity-io/litter/@v/v1.5.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/sanity-io/litter/@v/v1.5.2.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/shogo82148/go-shuffle/@v/v0.0.0-20180218125048-27e6095f230d.mod
|
|
|
|
GO_MODULE_FILES+= github.com/shogo82148/go-shuffle/@v/v0.0.0-20180218125048-27e6095f230d.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/spaolacci/murmur3/@v/v0.0.0-20180118202830-f09979ecbc72.mod
|
|
|
|
GO_MODULE_FILES+= github.com/spaolacci/murmur3/@v/v0.0.0-20180118202830-f09979ecbc72.zip
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/afero/@v/v1.2.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/afero/@v/v1.8.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/afero/@v/v1.8.1.zip
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/cast/@v/v1.4.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/cast/@v/v1.4.1.zip
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/spf13/cobra/@v/v1.4.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/cobra/@v/v1.4.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/spf13/fsync/@v/v0.9.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/fsync/@v/v0.9.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/jwalterweatherman/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/jwalterweatherman/@v/v1.1.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/pflag/@v/v1.0.5.mod
|
|
|
|
GO_MODULE_FILES+= github.com/spf13/pflag/@v/v1.0.5.zip
|
|
|
|
GO_MODULE_FILES+= github.com/stretchr/objx/@v/v0.1.0.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/stretchr/objx/@v/v0.2.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/stretchr/objx/@v/v0.2.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v0.0.0-20161117074351-18a02ba4a312.mod
|
|
|
|
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.2.2.mod
|
|
|
|
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.3.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.4.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.5.1.mod
|
|
|
|
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.6.1.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.7.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.7.1-0.20210427113832-6241f9ab9942.mod
|
|
|
|
GO_MODULE_FILES+= github.com/stretchr/testify/@v/v1.7.1-0.20210427113832-6241f9ab9942.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= github.com/tdewolff/minify/v2/@v/v2.10.0.mod
|
|
|
|
GO_MODULE_FILES+= github.com/tdewolff/minify/v2/@v/v2.10.0.zip
|
|
|
|
GO_MODULE_FILES+= github.com/tdewolff/parse/v2/@v/v2.5.27.mod
|
|
|
|
GO_MODULE_FILES+= github.com/tdewolff/parse/v2/@v/v2.5.27.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/tdewolff/test/@v/v1.0.6.mod
|
|
|
|
GO_MODULE_FILES+= github.com/tdewolff/test/@v/v1.0.6.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= github.com/yuin/goldmark/@v/v1.1.25.mod
|
|
|
|
GO_MODULE_FILES+= github.com/yuin/goldmark/@v/v1.1.27.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= github.com/yuin/goldmark/@v/v1.1.32.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= github.com/yuin/goldmark/@v/v1.2.1.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= github.com/yuin/goldmark/@v/v1.3.5.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= github.com/yuin/goldmark/@v/v1.4.11.mod
|
|
|
|
GO_MODULE_FILES+= github.com/yuin/goldmark/@v/v1.4.11.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= go.opencensus.io/@v/v0.15.0.mod
|
|
|
|
GO_MODULE_FILES+= go.opencensus.io/@v/v0.21.0.mod
|
|
|
|
GO_MODULE_FILES+= go.opencensus.io/@v/v0.22.0.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= go.opencensus.io/@v/v0.22.2.mod
|
|
|
|
GO_MODULE_FILES+= go.opencensus.io/@v/v0.22.3.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= go.opencensus.io/@v/v0.22.4.mod
|
|
|
|
GO_MODULE_FILES+= go.opencensus.io/@v/v0.22.5.mod
|
|
|
|
GO_MODULE_FILES+= go.opencensus.io/@v/v0.23.0.mod
|
|
|
|
GO_MODULE_FILES+= go.opencensus.io/@v/v0.23.0.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= go.opentelemetry.io/proto/otlp/@v/v0.7.0.mod
|
|
|
|
GO_MODULE_FILES+= go.opentelemetry.io/proto/otlp/@v/v0.7.0.zip
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= go.uber.org/atomic/@v/v1.9.0.mod
|
|
|
|
GO_MODULE_FILES+= go.uber.org/atomic/@v/v1.9.0.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= gocloud.dev/@v/v0.20.0.mod
|
|
|
|
GO_MODULE_FILES+= gocloud.dev/@v/v0.20.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20190308221718-c2843e01d9a2.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20190510104115-cbcb75029529.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20190605123033-f99c8df09eb5.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20191011191535-87dc89f01550.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20191206172530-e9b2fee46413.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20200622213623-75b288015ac9.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20210421170649-83a5a9bb288b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20211108221036-ceb1ce70b4fa.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/crypto/@v/v0.0.0-20211108221036-ceb1ce70b4fa.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20190121172915-509febef88a4.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20190306152737-a1d7652674e8.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20190510132918-efd6b22b2522.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20190829153037-c13cbed26979.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20191030013958-a1ab85dbe136.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20191129062945-2f5052295587.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20191227195350-da58074b4299.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20200119233911-0405dc783f0a.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20200207192155-f17229e696bd.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20200224162631-6cc2880d07d6.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/exp/@v/v0.0.0-20200224162631-6cc2880d07d6.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/image/@v/v0.0.0-20190227222117-0694c2d4d067.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/image/@v/v0.0.0-20190802002840-cff245a6509b.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/image/@v/v0.0.0-20210220032944-ac19c3e999fb.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/image/@v/v0.0.0-20211028202545-6944b10bf410.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/image/@v/v0.0.0-20211028202545-6944b10bf410.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20181026193005-c67002cb31c3.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20190227174305-5b3e6a55c961.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20190301231843-5614ed5bae6f.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20190313153728-d0100b6bd8b3.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20190409202823-959b441ac422.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20190909230951-414d861bb4ac.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20190930215403-16217165b5de.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20191125180803-fdd1cda4f05f.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20200130185559-910be7a94367.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20200302205851-738671d3881b.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20201208152925-83fdc39ff7b5.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20210508222113-6edffad5e616.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/lint/@v/v0.0.0-20210508222113-6edffad5e616.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/mobile/@v/v0.0.0-20190312151609-d3739f865fa6.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/mobile/@v/v0.0.0-20190719004257-d2bd2a29d028.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/mobile/@v/v0.0.0-20190719004257-d2bd2a29d028.zip
|
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.0.0-20190513183733-4bf6d317e70e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.1.0.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.1.1-0.20191105210325-c90efee705ee.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.1.1-0.20191107180719-034126e5016b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.2.0.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.3.0.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.4.0.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.4.1.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.4.2.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.5.1.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/mod/@v/v0.5.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20180724234803-3673e40ba225.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20180826012351-8a410e7b638d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190108225652-1e06a53dbb7e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190213061140-3a22650c66bd.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190311183353-d8887717615a.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190404232315-eb5bcb51f2a3.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190501004415-9ce7a6920f09.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190503192946-f4e77d36d62c.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190603091049-60506f45cf65.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190619014844-b5b0513f8c1b.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190620200207-3b0461eec859.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190628185345-da137c7871d7.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190724013045-ca1201d0de80.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20190813141303-74dc4d7220e7.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20191112182307-2180aed22343.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20191209160850-c0dbc17a3553.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200114155413-6afb5195e5aa.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200202094626-16171245cfb2.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200222125558-5a598a2470a0.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200226121028-0de0cce0169b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200301022130-244492dfa37a.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200324143707-d3edc9973b7e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200501053045-e0ff5e5a1de5.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200506145744-7e3656a0809f.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200513185701-a91f0712d120.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200520182314-0ba52f642ac2.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200602114024-627f9648deb9.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200625001655-4c5254603344.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200707034311-ab3426394381.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20200822124328-c89045814202.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20201021035429-f5854403a974.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20201031054903-ff519b6c9102.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20201110031124-69a78807bb2b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20201209123823-ac852fbbde11.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20201224014010-6772e930b67b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20210119194325-5f4716e94777.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20210226172049-e18ecbb05110.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20210316092652-d523dce5a7f4.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20210405180319-a5a99cb37ef4.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20210503060351-7fd8e65b6420.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20220127200216-cd36cc0744dd.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/net/@v/v0.0.0-20220127200216-cd36cc0744dd.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20180821212333-d2e6202438be.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20190226205417-e64efc72b421.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20190402181905-9f3314589c9a.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20190604053449-0f29369cfe45.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20191202225959-858c2ad4c8b6.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20200107190931-bf48bf16ab8d.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20200902213428-5d25da1a8d43.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20201109201403-9fd604954f58.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20201208152858-08078c50e5b5.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20210218202405-ba52d332ba99.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20210220000619-9bb904979d93.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20210313182246-cd4f82c27b84.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20210514164344-f6687ab2804c.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20210628180205-a41e5a781914.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20210805134026-6f1e6394065a.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20210819190943-2bc19b11175f.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20211104180415-d3ed0bb246c8.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/oauth2/@v/v0.0.0-20211104180415-d3ed0bb246c8.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20180314180146-1d60e4601c6f.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20181108010431-42b317875d0f.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20181221193216-37e7f081c4d4.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20190227155943-e225da77a7e6.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20190423024810-112230192c58.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20190911185100-cd5d95a43a6e.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20200317015054-43a5402ce75a.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20200625203802-6e8e738ad208.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20201020160332-67f06af15bc9.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20201207232520-09787c993a3a.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20180830151530-49385e6e1522.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190215142949-d0b11bdaac8a.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190312061237-fead79001313.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190412213103-97732733099d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190502145724-3ef323f4f1fd.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190507160741-ecd444e8653b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190606165138-5da285871e9c.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190624142023-c5567b49c5d0.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20190726091711-fc99dfbffb4e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20191001151750-bb3f8db39f24.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20191112214154-59a1497f0cea.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20191204072324-ce4227a45e2e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20191228213918-04cbcbbfeed8.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200113162924-86b910548bc1.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200122134326-e047566fdf82.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200202164722-d101bd2416d5.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200212091648-12a6c2dcc1e4.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200223170610-d5e6a3e2c0ae.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200302150141-5c8b2ff67527.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200317113312-5766fd39f98d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200323222414-85ca7c5b95cd.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200331124033-c3d80250170d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200501052902-10377860bb8e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200511232937-7e40ca221e25.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200515095857-1151b9dac4a9.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200523222454-059865788121.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200602225109-6fdc65e7d980.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200803210538-64077c9b5642.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200905004654-be1d3432aa8f.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20200930185726-fdedc70b468f.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20201119102817-f84b799fce68.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20201201145000-ef89a241ccb3.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210104204734-6f8348627aad.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210119212857-b64e53b001e4.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210220050731-9a76102bfb43.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210225134936-a50acf3fe073.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210305230114-8fe3ee5dd75b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210315160823-c6e025ad8005.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210320140829-1e4c9ba3b0c4.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210330210617-4fbd30eecc44.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210423082822-04245dca01da.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210423185535-09eb48e85fd7.mod
|
hugo: update to 0.85.0
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"]
2021-07-06 20:57:08 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210510120138-977fb7262007.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210514084401-e8d321eab015.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210603125802-9665404d3644.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210615035016-665e8c7367d1.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210616094352-59db8d763f22.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210630005230-0f9fa26af87c.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210806184541-e5e7981a1069.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210823070655-63515b42dcdf.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20210908233432-aa78b53d3365.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20211124211545-fe61309f8881.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20211210111614-af8b64212486.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20211216021012-1d35b9e2eb4e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20220128215802-99c3d69c2c27.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20220209214540-3681064d5158.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/sys/@v/v0.0.0-20220209214540-3681064d5158.zip
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/term/@v/v0.0.0-20210927222741-03fcf44c2211.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/term/@v/v0.0.0-20210927222741-03fcf44c2211.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.0.0-20170915032832-14c0d48ead0c.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.0.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.1-0.20180807135948-17ff2d5776d2.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.2.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.3.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.4.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.5.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.6.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.7.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/text/@v/v0.3.7.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/time/@v/v0.0.0-20181108054448-85acf8d2951c.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/time/@v/v0.0.0-20190308202827-9d24e82272b4.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/time/@v/v0.0.0-20191024005414-555d28b269f0.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/time/@v/v0.0.0-20191024005414-555d28b269f0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20180917221912-90fa682c2a6e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190114222345-bf090417da8b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190226205152-f727befe758c.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190311212946-11955173bddd.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190312151545-0bb0c0a6e846.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190312170243-e65039ee4138.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190422233926-fe54fb35175b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190425150028-36563e24a262.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190506145303-2d16b83fe98c.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190524140312-2c0ae7006135.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190606124116-d0a3d012864b.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190621195816-6e04913cbbac.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190628153133-6cdbf07be9d0.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190816200558-6889da9d5479.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20190911174233-4f2ddba30aff.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20191012152004-8de300cfc20a.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20191113191852-77e3bb0ad9e7.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20191115202509-3a792d9c32b2.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20191119224855-298f0cb1881e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20191125144606-a911d9008d1f.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20191130070609-6e064ea0cf2d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20191216173652-a0e659d51361.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20191227053925-7b8e75db28f4.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200117161641-43d50277825c.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200122220014-bf1340f18c4a.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200130002326-2f3ba24bd6e7.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200204074204-1cc6d1ef6c74.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200207183749-b753a1ba74fa.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200212150539-ea181f53ac56.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200224181240-023911ca70b2.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200227222343-706bc42d1f0d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200304193943-95d2e580d8eb.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200312045724-11d5b4c81c7d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200317043434-63da46f3035e.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200325010219-a49f79bcc224.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200331025713-a30bf2db82d4.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200501065659-ab2804fb9c9d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200512131952-2bc93b1c0c88.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200515010526-7d3b6ebf133d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200601175630-2caf76543d99.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200606014950-c42cb6316fb6.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200608174601-1b747fd94509.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200618134242-20370b0cb4b2.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200729194436-6467de6f59a7.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200804011535-6c149bb5ef0d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200825202427-b303f430e36d.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20200904185747-39188db58858.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20201110124207-079ba7bd75cd.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20201201161351-ac6f37ff4c2a.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20201208233053-a543418bbed2.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20210105154028-b0ab187a4818.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.0.0-20210108195828-e2f9c7f1fc8e.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.1.0.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.1.1.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.1.2.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.1.3.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.1.4.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.1.5.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.1.9.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/tools/@v/v0.1.9.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20190717185122-a985d3407aa7.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20191011141410-1b5146add898.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20191204190536-9bdfabe68543.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20200804184101-5ec99f83aff1.mod
|
|
|
|
GO_MODULE_FILES+= golang.org/x/xerrors/@v/v0.0.0-20200804184101-5ec99f83aff1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.13.0.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.14.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.15.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.17.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.18.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.19.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.20.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.22.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.24.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.26.0.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.28.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.29.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.30.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.35.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.36.0.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.4.0.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.40.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.41.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.43.0.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.47.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.48.0.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.5.0.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.50.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.51.0.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.54.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.55.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.56.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.57.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.61.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.63.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.67.0.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.7.0.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.70.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.70.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.8.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/api/@v/v0.9.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/appengine/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/appengine/@v/v1.4.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/appengine/@v/v1.5.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/appengine/@v/v1.6.1.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/appengine/@v/v1.6.5.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/appengine/@v/v1.6.6.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/appengine/@v/v1.6.7.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/appengine/@v/v1.6.7.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20180817151627-c66870c02cf8.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20190307195333-5fe7a883aa19.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20190418145605-e7d98fc518a7.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20190425155659-357c62f0e4bb.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20190502173448-54afdca5d873.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20190508193815-b515fa19cec8.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20190530194941-fb225487d101.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20190801165951-fa694d86fc64.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20190819201941-24fa4b261c55.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20190911173649-1774047e7e51.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20191108220845-16a3f7862a1a.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20191115194625-c23dd37a84c9.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20191216164720-4f79533eabd1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20191230161307-f3c370f40bfb.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200115191322-ca5a22157cba.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200122232147-0452cf42e150.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200204135345-fa8e72b47b90.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200212174721-66ed5ce911ce.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200224152610-e50cd9704f63.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200228133532-8c2c7df3a383.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200305110556-506484158171.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200312145019-da6875a35672.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200317114155-1f3552e48f24.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200325114520-5b2d0af7952b.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200331122359-1ee6d9798940.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200430143042-b979b6f78d84.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200511104702-f5ebc3bea380.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200513103714-09dca8ec2884.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200515170657-fc4c6c6a6587.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200526211855-cb27e3aa2013.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200603110839-e855014d5736.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200608115520-7c474a2e3482.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200618031413-b414f8b61790.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200729003335-053ba62fc06f.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200804131852-c06518451d9c.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200825200019-8632dd797987.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20200904004341-0bd0a958aa1d.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20201109203340-2640f1f9cdfb.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20201201144952-b05cb90ed32e.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20201210142538-e3217bee35cc.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20201214200347-8c77b98c765d.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210108203827-ffc7fda8c3d7.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210222152913-aa3ee6e6a81c.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210226172003-ab064af71705.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210303154014-9728d6b83eeb.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210310155132-4ce2db91004e.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210319143718-93e7006c17a6.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210402141018-6c239bbf2bb1.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210513213006-bf773b8c8384.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210602131652-f16073e35f0c.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210604141403-392c879c8b08.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210608205507-b6d2f5bf0d7d.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210624195500-8bfb893ecb84.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210713002101-d411969a0d9a.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210716133855-ce7ef5c701ea.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210728212813-7823e685a01f.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210805201207-89edb61ffb67.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210813162853-db860fec028c.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210821163610-241b8fcbd6c8.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210828152312-66f60bf46e71.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210831024726-fe130286e0e2.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210903162649-d08c68adba83.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210909211513-a8c4777a87af.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20210924002016-3dee208752a0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20211118181313-81c1377c94b1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20211206160659-862468c7d6e0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20211208223120-3a66f561d7aa.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20211221195035-429b39de9b1c.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20220126215142-9970aeb2e350.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20220207164111-0872dc986b00.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20220218161850-94dd64e39d7c.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/genproto/@v/v0.0.0-20220218161850-94dd64e39d7c.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.19.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.20.1.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.21.0.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.21.1.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.23.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.25.1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.26.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.27.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.27.1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.28.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.29.1.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.30.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.31.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.31.1.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.33.1.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.33.2.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.34.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.35.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.36.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.36.1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.37.0.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.37.1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.38.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.39.0.mod
|
hugo: update to 0.93.2
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
2022-03-05 15:16:43 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.39.1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.40.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.40.1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.44.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/@v/v1.44.0.zip
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/cmd/protoc-gen-go-grpc/@v/v1.1.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/grpc/cmd/protoc-gen-go-grpc/@v/v1.1.0.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v0.0.0-20200109180630-ec00e32a8dfd.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v0.0.0-20200221191635-4d8936d0db64.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v0.0.0-20200228230310-ab0ca4ff8a60.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.20.1-0.20200309200217-e05f789c0967.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.21.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.22.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.23.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.23.1-0.20200526195155-81db48ad09cc.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.24.0.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.25.0.mod
|
2021-05-12 13:48:01 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.26.0-rc.1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.26.0.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.27.1.mod
|
|
|
|
GO_MODULE_FILES+= google.golang.org/protobuf/@v/v1.27.1.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.mod
|
|
|
|
GO_MODULE_FILES+= gopkg.in/check.v1/@v/v1.0.0-20180628173108-788fd7840127.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= gopkg.in/check.v1/@v/v1.0.0-20180628173108-788fd7840127.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= gopkg.in/errgo.v2/@v/v2.1.0.mod
|
|
|
|
GO_MODULE_FILES+= gopkg.in/errgo.v2/@v/v2.1.0.zip
|
|
|
|
GO_MODULE_FILES+= gopkg.in/neurosnap/sentences.v1/@v/v1.0.6.mod
|
|
|
|
GO_MODULE_FILES+= gopkg.in/neurosnap/sentences.v1/@v/v1.0.6.zip
|
|
|
|
GO_MODULE_FILES+= gopkg.in/yaml.v2/@v/v2.2.2.mod
|
2021-08-22 20:25:28 +02:00
|
|
|
GO_MODULE_FILES+= gopkg.in/yaml.v2/@v/v2.2.3.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= gopkg.in/yaml.v2/@v/v2.2.8.mod
|
|
|
|
GO_MODULE_FILES+= gopkg.in/yaml.v2/@v/v2.3.0.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= gopkg.in/yaml.v2/@v/v2.4.0.mod
|
|
|
|
GO_MODULE_FILES+= gopkg.in/yaml.v2/@v/v2.4.0.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= gopkg.in/yaml.v3/@v/v3.0.0-20200313102051-9f266ea9e77c.mod
|
hugo: Update to 0.96.0
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
2022-04-10 23:16:34 +02:00
|
|
|
GO_MODULE_FILES+= gopkg.in/yaml.v3/@v/v3.0.0-20200313102051-9f266ea9e77c.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.0-20190102054323-c2f93a96b099.mod
|
|
|
|
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.0-20190106161140-3f1c8253044a.mod
|
|
|
|
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.0-20190418001031-e561f6794a2a.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.0-20190523083050-ea95bdfd59fc.mod
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.1-2019.2.3.mod
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.1-2020.1.3.mod
|
|
|
|
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.1-2020.1.4.mod
|
|
|
|
GO_MODULE_FILES+= honnef.co/go/tools/@v/v0.0.1-2020.1.4.zip
|
2020-11-18 15:44:24 +01:00
|
|
|
GO_MODULE_FILES+= rsc.io/binaryregexp/@v/v0.2.0.mod
|
|
|
|
GO_MODULE_FILES+= rsc.io/binaryregexp/@v/v0.2.0.zip
|
hugo: Update to 0.80.0
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
2021-02-09 13:29:04 +01:00
|
|
|
GO_MODULE_FILES+= rsc.io/quote/v3/@v/v3.1.0.mod
|
|
|
|
GO_MODULE_FILES+= rsc.io/quote/v3/@v/v3.1.0.zip
|
|
|
|
GO_MODULE_FILES+= rsc.io/sampler/@v/v1.3.0.mod
|
|
|
|
GO_MODULE_FILES+= rsc.io/sampler/@v/v1.3.0.zip
|