summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-08-01Fix error handling for the time func aliasBjørn Erik Pedersen
Fixes #8835
2021-08-01Fail on invalid time zoneBjørn Erik Pedersen
Fixes #8832
2021-07-30Improve handling of <nil> ParamsBjørn Erik Pedersen
Fixes #8825
2021-07-30Merge branch 'release-0.86.1'Bjørn Erik Pedersen
2021-07-30releaser: Add release notes for 0.86.1hugoreleaser
[ci skip]
2021-07-30releaser: Prepare repository for 0.87.0-DEVhugoreleaser
[ci skip]
2021-07-30releaser: Add release notes to /docs for release of 0.86.1v0.86.1hugoreleaser
[ci skip]
2021-07-30releaser: Bump versions for release of 0.86.1hugoreleaser
[ci skip]
2021-07-30releaser: Add release notes for 0.86.1hugoreleaser
[ci skip]
2021-07-30config: Fix a potential deadlock in config readingBjørn Erik Pedersen
Note that the deadlock has not been seen earlier, in tests on in real Hugo sites. Fixes #8791
2021-07-30build(deps): bump github.com/evanw/esbuild from 0.12.16 to 0.12.17dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.12.16 to 0.12.17. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.12.16...v0.12.17) --- updated-dependencies: - dependency-name: github.com/evanw/esbuild dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-30build(deps): bump github.com/getkin/kin-openapi from 0.67.0 to 0.68.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.67.0 to 0.68.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.67.0...v0.68.0) --- updated-dependencies: - dependency-name: github.com/getkin/kin-openapi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-29tpl/lang: Add new localized versions of lang.FormatNumber etc.Bjørn Erik Pedersen
Fixes #8820
2021-07-29Go back to WARNING for Page deprecationsBjørn Erik Pedersen
Do that in the next release, let's reduce the noise, we have enough changes as it is.
2021-07-28Handle toml.LocalDate and toml.LocalDateTime in front matterBjørn Erik Pedersen
See #8801
2021-07-28deps: Upgrade github.com/pelletier/go-toml/v2 v2.0.0-beta.3 => ↵Bjørn Erik Pedersen
v2.0.0-beta.3.0.20210727221244-fa0796069526
2021-07-28Switch to go-toml v2Bjørn Erik Pedersen
We have been using `go-toml` for language files only. This commit makes it the only TOML library. It's spec compliant and very fast. A benchark building a site with 200 pages with TOML front matter: ```bash name old time/op new time/op delta SiteNew/Regular_TOML_front_matter-16 48.5ms ± 1% 47.1ms ± 1% -2.85% (p=0.029 n=4+4) name old alloc/op new alloc/op delta SiteNew/Regular_TOML_front_matter-16 16.9MB ± 0% 16.7MB ± 0% -1.56% (p=0.029 n=4+4) name old allocs/op new allocs/op delta SiteNew/Regular_TOML_front_matter-16 302k ± 0% 296k ± 0% -2.20% (p=0.029 n=4+4) ``` Note that the front matter unmarshaling is only a small part of building a site, so the above is very good. Fixes #8801
2021-07-28build(deps): bump github.com/tdewolff/minify/v2 from 2.9.19 to 2.9.20dependabot[bot]
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.9.19 to 2.9.20. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.9.19...v2.9.20) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27Add a TOML front matter benchmarkBjørn Erik Pedersen
2021-07-27Add timezone support for front matter dates without oneBjørn Erik Pedersen
Fixes #8810
2021-07-27Localize time.FormatBjørn Erik Pedersen
Fixes #8797
2021-07-27build(deps): bump github.com/getkin/kin-openapi from 0.61.0 to 0.67.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.61.0 to 0.67.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.61.0...v0.67.0) --- updated-dependencies: - dependency-name: github.com/getkin/kin-openapi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump github.com/spf13/cast from 1.3.1 to 1.4.0dependabot[bot]
Bumps [github.com/spf13/cast](https://github.com/spf13/cast) from 1.3.1 to 1.4.0. - [Release notes](https://github.com/spf13/cast/releases) - [Commits](https://github.com/spf13/cast/compare/v1.3.1...v1.4.0) --- updated-dependencies: - dependency-name: github.com/spf13/cast dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump google.golang.org/api from 0.45.0 to 0.51.0dependabot[bot]
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.45.0 to 0.51.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.45.0...v0.51.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump github.com/sanity-io/litter from 1.5.0 to 1.5.1dependabot[bot]
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter) from 1.5.0 to 1.5.1. - [Release notes](https://github.com/sanity-io/litter/releases) - [Changelog](https://github.com/sanity-io/litter/blob/main/CHANGELOG.md) - [Commits](https://github.com/sanity-io/litter/compare/v1.5.0...v1.5.1) --- updated-dependencies: - dependency-name: github.com/sanity-io/litter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13dependabot[bot]
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.12 to 0.0.13. - [Release notes](https://github.com/mattn/go-isatty/releases) - [Commits](https://github.com/mattn/go-isatty/compare/v0.0.12...v0.0.13) --- updated-dependencies: - dependency-name: github.com/mattn/go-isatty dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1dependabot[bot]
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.3 to 1.2.1. - [Release notes](https://github.com/spf13/cobra/releases) - [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md) - [Commits](https://github.com/spf13/cobra/compare/v1.1.3...v1.2.1) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump github.com/mitchellh/mapstructure from 1.3.3 to 1.4.1dependabot[bot]
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) from 1.3.3 to 1.4.1. - [Release notes](https://github.com/mitchellh/mapstructure/releases) - [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md) - [Commits](https://github.com/mitchellh/mapstructure/compare/v1.3.3...v1.4.1) Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump github.com/google/go-cmp from 0.5.5 to 0.5.6dependabot[bot]
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.5 to 0.5.6. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6) --- updated-dependencies: - dependency-name: github.com/google/go-cmp dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump github.com/mitchellh/hashstructure from 1.0.0 to 1.1.0dependabot[bot]
Bumps [github.com/mitchellh/hashstructure](https://github.com/mitchellh/hashstructure) from 1.0.0 to 1.1.0. - [Release notes](https://github.com/mitchellh/hashstructure/releases) - [Commits](https://github.com/mitchellh/hashstructure/compare/v1.0.0...v1.1.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump github.com/gobuffalo/flect from 0.2.2 to 0.2.3dependabot[bot]
Bumps [github.com/gobuffalo/flect](https://github.com/gobuffalo/flect) from 0.2.2 to 0.2.3. - [Release notes](https://github.com/gobuffalo/flect/releases) - [Commits](https://github.com/gobuffalo/flect/compare/v0.2.2...v0.2.3) --- updated-dependencies: - dependency-name: github.com/gobuffalo/flect dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.3dependabot[bot]
Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.9.0 to 1.9.3. - [Release notes](https://github.com/pelletier/go-toml/releases) - [Commits](https://github.com/pelletier/go-toml/compare/v1.9.0...v1.9.3) --- updated-dependencies: - dependency-name: github.com/pelletier/go-toml dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26build(deps): bump github.com/aws/aws-sdk-go from 1.38.23 to 1.40.8dependabot[bot]
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.23 to 1.40.8. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.23...v1.40.8) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26build(deps): bump github.com/tdewolff/minify/v2 from 2.9.18 to 2.9.19dependabot[bot]
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.9.18 to 2.9.19. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.9.18...v2.9.19) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26deps: Update github.com/evanw/esbuild v0.11.16 => v0.12.16Bjørn Erik Pedersen
2021-07-26Deprecate Blackfriday and fix a potential deadlock in configBjørn Erik Pedersen
Note that the deadlock has not been seen earlier, in tests on in real Hugo sites. Fixes #8792 Fixes #8791
2021-07-26deps: Update github.com/yuin/goldmark v1.3.9 => v1.4.0Bjørn Erik Pedersen
2021-07-26build(deps): bump github.com/frankban/quicktest from 1.12.0 to 1.13.0dependabot[bot]
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.12.0 to 1.13.0. - [Release notes](https://github.com/frankban/quicktest/releases) - [Commits](https://github.com/frankban/quicktest/compare/v1.12.0...v1.13.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-07-25Bump all long-living deprecations to ERRORsBjørn Erik Pedersen
2021-07-21Fix theme count in release notesDigitalcraftsman
2021-07-21releaser: Prepare repository for 0.87.0-DEVhugoreleaser
[ci skip]
2021-07-21releaser: Add release notes to /docs for release of 0.86.0v0.86.0hugoreleaser
[ci skip]
2021-07-21releaser: Bump versions for release of 0.86.0hugoreleaser
[ci skip]
2021-07-21Release 0.86.0Bjørn Erik Pedersen
2021-07-21navigation: Check Page first in URL()Bjørn Erik Pedersen
In Hugo #8776 we added `pageRef`, a way to connect menu items in site config to pages. This means that you now can have both a Page and a configured URL. Having the configured URL as a fallback if the Page isn't found is obviously more useful, especially in multilingual sites. See #8776
2021-07-21Update 0.86.0-relnotes.mdBjørn Erik Pedersen
[ci skip]
2021-07-21releaser: Add release notes for 0.86.0hugoreleaser
Rename to *-ready.md to continue. [ci skip]
2021-07-21Merge commit '53a352795a69a9d4a373f50ec62138595948c6ea'Bjørn Erik Pedersen
2021-07-21Squashed 'docs/' changes from 6ebb5dad9..60a58d123Bjørn Erik Pedersen
60a58d123 Remove outdated references in scss-sass.md 225a03834 Revert "Update menus.md" 7d149dd1e Update menus.md 3694ecafc Fix theme submission process/repository 0277c202c Update index.md - fix typo (#1490) 8921f0462 Fix link to theme components in 0.42 release notes (#1489) c948bd519 Release 0.85.0 ee5bc5be9 releaser: Add release notes to /docs for release of 0.85.0 f2f692c32 commands: Make the --poll flag a duration 13070337a docs: Regen CLI docs git-subtree-dir: docs git-subtree-split: 60a58d123d9f9d20ee7d09373812ce4428dffcdf
2021-07-20commands: Fix panic on invalid config in "hugo mod get" and similarBjørn Erik Pedersen
Fixes #8773