summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-06-18build(deps): bump github.com/evanw/esbuild from 0.18.3 to 0.18.4dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.18.3 to 0.18.4. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.18.3...v0.18.4) --- 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>
2023-06-18Replace the old log setup, with structured logging etc.Bjørn Erik Pedersen
Fixes #11124
2023-06-17Revert "snap: Transition base snap from core20 to core22 (#11101)" (#11125)Joe Mooring
Closes #11116
2023-06-16build(deps): bump github.com/evanw/esbuild from 0.18.2 to 0.18.3dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.18.2 to 0.18.3. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.18.2...v0.18.3) --- 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>
2023-06-15Fix upstream Go templates bug with reversed key/value assignmentBjørn Erik Pedersen
The template packages are based on go1.20.5 with the patch in befec5ddbbfbd81ec84e74e15a38044d67f8785b added. This also includes a security fix that now disallows Go template actions in JS literals (inside backticks). This will throw an error saying "... appears in a JS template literal". If you're really sure this isn't a security risk in your case, you can revert to the old behaviour: ```toml [security] [security.gotemplates] allowActionJSTmpl = true ``` See https://github.com/golang/go/issues/59234 Fixes #11112
2023-06-15build(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0dependabot[bot]
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.2.0 to 0.3.0. - [Commits](https://github.com/golang/sync/compare/v0.2.0...v0.3.0) --- updated-dependencies: - dependency-name: golang.org/x/sync dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14common/collections: Always make a copy of the input slice in AppendBjørn Erik Pedersen
Fixes #10458.
2023-06-14tpl/collections: Fix append when appending a slice to a slice of slicesBjørn Erik Pedersen
Fixes #11093
2023-06-14build(deps): bump google.golang.org/api from 0.123.0 to 0.127.0dependabot[bot]
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.123.0 to 0.127.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.123.0...v0.127.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>
2023-06-14build(deps): bump golang.org/x/tools from 0.9.1 to 0.9.3dependabot[bot]
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.9.1 to 0.9.3. - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/compare/v0.9.1...v0.9.3) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14Re-add site.RSSLink (and deprecate it)Bjørn Erik Pedersen
Fixes #11110
2023-06-14build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.11 to 2.2.12dependabot[bot]
Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji) from 2.2.11 to 2.2.12. - [Release notes](https://github.com/kyokomi/emoji/releases) - [Commits](https://github.com/kyokomi/emoji/compare/v2.2.11...v2.2.12) --- updated-dependencies: - dependency-name: github.com/kyokomi/emoji/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14build(deps): bump github.com/getkin/kin-openapi from 0.117.0 to 0.118.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.117.0 to 0.118.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.117.0...v0.118.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>
2023-06-14build(deps): bump golang.org/x/net from 0.10.0 to 0.11.0dependabot[bot]
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.11.0. - [Commits](https://github.com/golang/net/compare/v0.10.0...v0.11.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14Fix .Width and .Height for animated gifsBjørn Erik Pedersen
Fixes #11079
2023-06-13snap: Transition base snap from core20 to core22 (#11101)Joe Mooring
- Syntax changes - Bump Go from 1.19 to 1.20 - Remove unused build tag logic (we only build the extended version)
2023-06-13Merge commit '3c1deaf201a35de08d23cc58f8f03682cace3349'Bjørn Erik Pedersen
2023-06-13Squashed 'docs/' changes from 1d5548d73..85befbb4dBjørn Erik Pedersen
85befbb4d Update plainify.md 56e137043 Update comparison operators (#2104) 4241135e0 Front matter docu: improve link to TOML spec (#2102) 5115de3c0 netlify: Hugo 0.113.0 99b74a053 Merge branch 'temp01130' 1622d5d1a docs: Regenerate CLI docs adb4297eb netlify: Hugo 0.112.7 cd6813309 Update editors.md to include vim-hugo (#2098) f7c2406dd netlify: Hugo 0.112.6 b891028c3 docs: Regenerate CLI docs git-subtree-dir: docs git-subtree-split: 85befbb4dc2f526da99fa9f47d54a12e6282d36e
2023-06-13build(deps): bump gocloud.dev from 0.24.0 to 0.29.0dependabot[bot]
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.24.0 to 0.29.0. - [Release notes](https://github.com/google/go-cloud/releases) - [Commits](https://github.com/google/go-cloud/compare/v0.24.0...v0.29.0) --- updated-dependencies: - dependency-name: gocloud.dev dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13tpl/math: Allow variadic math functions to take slice args, add ↵Bjørn Erik Pedersen
math.Product, math.Sum * Update math.Min and math.Max to allow 1 or more args, either scalar or slice, or combination of the two * Add math.Sum (allow 1 or more args, either scalar or slice, or combination of the two) * Add math.Product (allow 1 or more args, either scalar or slice, or combination of the two) Fixes #11030
2023-06-13Fix config merge regression with root slices (e.g. disableKinds)Bjørn Erik Pedersen
Fixes #11089
2023-06-13build(deps): bump golang.org/x/image from 0.7.0 to 0.8.0dependabot[bot]
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.7.0 to 0.8.0. - [Commits](https://github.com/golang/image/compare/v0.7.0...v0.8.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13commands: Remove flags log, verboseLog, add flag logLevel, deprecate flags ↵Bjørn Erik Pedersen
verbose and debug Fixes #9648 Fixes #11071
2023-06-13build(deps): bump github.com/magefile/mage from 1.14.0 to 1.15.0dependabot[bot]
Bumps [github.com/magefile/mage](https://github.com/magefile/mage) from 1.14.0 to 1.15.0. - [Release notes](https://github.com/magefile/mage/releases) - [Changelog](https://github.com/magefile/mage/blob/master/.goreleaser.yml) - [Commits](https://github.com/magefile/mage/compare/v1.14.0...v1.15.0) --- updated-dependencies: - dependency-name: github.com/magefile/mage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.8dependabot[bot]
Bumps [github.com/pelletier/go-toml/v2](https://github.com/pelletier/go-toml) from 2.0.6 to 2.0.8. - [Release notes](https://github.com/pelletier/go-toml/releases) - [Changelog](https://github.com/pelletier/go-toml/blob/v2/.goreleaser.yaml) - [Commits](https://github.com/pelletier/go-toml/compare/v2.0.6...v2.0.8) --- updated-dependencies: - dependency-name: github.com/pelletier/go-toml/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13build(deps): bump github.com/evanw/esbuild from 0.17.19 to 0.18.2dependabot[bot]
Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.17.19 to 0.18.2. - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.17.19...v0.18.2) --- updated-dependencies: - dependency-name: github.com/evanw/esbuild dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13Fix handling of aliases (e.g. hugo serve)Bjørn Erik Pedersen
Fixes #11090
2023-06-12cache: Set default cache path based on $USERErica Mays
Change the default cache directory to `$TMPDIR/hugo_cache_$USER`, so that multi-user systems do not have caches that interfere with each other. The other cache-choosing logic (e.g. Netlify exceptions, configuration options) are not affected. Fixes #7391
2023-06-12build(deps): bump go.uber.org/atomic from 1.10.0 to 1.11.0dependabot[bot]
Bumps [go.uber.org/atomic](https://github.com/uber-go/atomic) from 1.10.0 to 1.11.0. - [Release notes](https://github.com/uber-go/atomic/releases) - [Changelog](https://github.com/uber-go/atomic/blob/master/CHANGELOG.md) - [Commits](https://github.com/uber-go/atomic/compare/v1.10.0...v1.11.0) --- updated-dependencies: - dependency-name: go.uber.org/atomic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12build(deps): bump github.com/hairyhenderson/go-codeownersdependabot[bot]
Bumps [github.com/hairyhenderson/go-codeowners](https://github.com/hairyhenderson/go-codeowners) from 0.2.3-0.20201026200250-cdc7c0759690 to 0.3.0. - [Release notes](https://github.com/hairyhenderson/go-codeowners/releases) - [Commits](https://github.com/hairyhenderson/go-codeowners/commits/v0.3.0) --- updated-dependencies: - dependency-name: github.com/hairyhenderson/go-codeowners dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12resources: Remove failing and superflous test assertionBjørn Erik Pedersen
2023-06-12build(deps): bump github.com/frankban/quicktest from 1.14.4 to 1.14.5dependabot[bot]
Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.14.4 to 1.14.5. - [Commits](https://github.com/frankban/quicktest/compare/v1.14.4...v1.14.5) --- updated-dependencies: - dependency-name: github.com/frankban/quicktest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12build(deps): bump github.com/mattn/go-isatty from 0.0.17 to 0.0.19dependabot[bot]
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.17 to 0.0.19. - [Commits](https://github.com/mattn/go-isatty/compare/v0.0.17...v0.0.19) --- 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>
2023-06-12build(deps): bump github.com/spf13/afero from 1.9.3 to 1.9.5dependabot[bot]
Bumps [github.com/spf13/afero](https://github.com/spf13/afero) from 1.9.3 to 1.9.5. - [Release notes](https://github.com/spf13/afero/releases) - [Commits](https://github.com/spf13/afero/compare/v1.9.3...v1.9.5) --- updated-dependencies: - dependency-name: github.com/spf13/afero dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12commands,config: Fix typo in log and error messagesOleksandr Redko
2023-06-12helpers: Avoid url.Parse in RelURL and AbsURL if we canBjørn Erik Pedersen
``` RelURL-10 159ns ± 5% 18ns ± 4% -88.89% (p=0.029 n=4+4) AbsURL/relurl-10 532ns ± 0% 537ns ± 0% +1.09% (p=0.029 n=4+4) AbsURL/absurl-10 142ns ± 0% 4ns ± 3% -96.91% (p=0.029 n=4+4) name old alloc/op new alloc/op delta RelURL-10 144B ± 0% 0B -100.00% (p=0.029 n=4+4) AbsURL/relurl-10 544B ± 0% 544B ± 0% ~ (all equal) AbsURL/absurl-10 144B ± 0% 0B -100.00% (p=0.029 n=4+4) name old allocs/op new allocs/op delta RelURL-10 1.00 ± 0% 0.00 -100.00% (p=0.029 n=4+4) AbsURL/relurl-10 10.0 ± 0% 10.0 ± 0% ~ (all equal) AbsURL/absurl-10 1.00 ± 0% 0.00 -100.00% (p=0.029 n=4+4) ```
2023-06-12Adjust benchmarksBjørn Erik Pedersen
2023-06-12Adjust benchmarkBjørn Erik Pedersen
2023-06-12Add BenchmarkAbsURLBjørn Erik Pedersen
2023-06-12helpers: Improve schema detection when creating relative URLsJoe Mooring
Fixes #11080
2023-06-12helpers: Add a basic benchmark for RelURLBjørn Erik Pedersen
2023-06-12config: Remove unexpected _merge keys introduced in author and social mapsBjørn Erik Pedersen
Fixes #11083
2023-06-12Upgrade to v2 of the Dart Sass Embedded ProtocolBjørn Erik Pedersen
Fixes #11059
2023-06-12Fix indented SASS imports for Dart SassBjørn Erik Pedersen
Fixes #11074
2023-06-05releaser: Prepare repository for 0.114.0-DEVrelease-0.113.0hugoreleaser
[ci skip]
2023-06-05releaser: Bump versions for release of 0.113.0v0.113.0hugoreleaser
[ci skip]
2023-06-05docs: Regenerate CLI docsBjørn Erik Pedersen
2023-06-05commands: Update CLI docs vs server and productionBjørn Erik Pedersen
Fixes #11067
2023-06-05commands: Add TLS/HTTPS support to hugo serverBjørn Erik Pedersen
* commands: Add TLS/HTTPS support to hugo server The "auto cert" handling in this PR is backed by mkcert (see link below). To get this up and running on a new PC, you can: ``` hugo server trust hugo server --tlsAuto ``` When `--tlsAuto` (or `--tlsCertFile` and `--tlsKeyFile`) is set and no `--baseURL` is provided as a flag, the server is started with TLS and `https` as the protocol. Note that you only need to run `hugo server trust` once per PC. If you already have the key and the cert file (e.g. by using mkcert directly), you can do: ``` hugo server --tlsCertFile mycert.pem --tlsKeyFile mykey.pem ``` See https://github.com/FiloSottile/mkcert Fixes #11064
2023-06-02releaser: Prepare repository for 0.113.0-DEVrelease-0.112.7hugoreleaser
[ci skip]