summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-02-21related: Adjust benchmarkBjørn Erik Pedersen
To make it easier to compare.
2023-02-21related: Add benchmarkBjørn Erik Pedersen
2023-02-08tpl/collections: Improve error message in IndexBjørn Erik Pedersen
2023-02-07Make the HTML collector parsing more robustBjørn Erik Pedersen
Most notably better handling self-closing elements Closes #10698
2023-02-05Revert "build(deps): bump github.com/getkin/kin-openapi from 0.110.0 to 0.114.0"Bjørn Erik Pedersen
This reverts commit 87c78bd3e918f258bc1a4b0e8acdcec11b69bd35. There seem to be some breaking changes in the above that needs to be looked into.
2023-02-05deps: Upgrade github.com/yuin/goldmark v1.5.3 => v1.5.4Joe Mooring
Closes #10661
2023-02-05tpl/strings: Add strings.ContainsNonSpaceBjørn Erik Pedersen
2023-02-05build(deps): bump github.com/getkin/kin-openapi from 0.110.0 to 0.114.0dependabot[bot]
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.110.0 to 0.114.0. - [Release notes](https://github.com/getkin/kin-openapi/releases) - [Commits](https://github.com/getkin/kin-openapi/compare/v0.110.0...v0.114.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-02-05deps: Upgrade github.com/alecthomas/chroma v2.4.0 => v2.5.0Joe Mooring
Fixes #9890 Fixes #10692
2023-02-05markup: Fix linenos codeblock hl option case regressionKhayyam Saleem
This fixes a regression introduced in v0.93.0 where previously, a mixed-case key for lineNos would be successfully parsed. This change moves the configuration key lowercasing step into the configuration normalization stage, which is called whether the highlighting config is being parsed from a `string` or a `map`. Fixes #10682
2023-02-05Fix slow HTML elements collector for the pre caseBjørn Erik Pedersen
``` name old time/op new time/op delta ElementsCollectorWriterPre-10 25.2µs ± 1% 3.4µs ± 0% -86.54% (p=0.029 n=4+4) name old alloc/op new alloc/op delta ElementsCollectorWriterPre-10 624B ± 0% 142B ± 0% -77.18% (p=0.029 n=4+4) name old allocs/op new allocs/op delta ElementsCollectorWriterPre-10 16.0 ± 0% 6.0 ± 0% -62.50% (p=0.029 n=4+4) ``` Fixes #10698
2023-02-05publisher: Add benchmarkBjørn Erik Pedersen
2023-02-03snap: Install dart-sass-embedded for 32-bit ARM (armhf) tooAnthony Fok
See https://github.com/sass/dart-sass-embedded/releases/tag/1.54.7 which "Add[ed] support for 32-bit ARM releases on Linux" on 2022-08-30.
2023-02-03snap: Add read access for ~/.gitconfig.local and ~/.config/git/* tooAnthony Fok
in hugo:gitconfig plug (personal-files interface) in case end users need the flexibility of using additional custom git config files. Fixes #10337
2023-01-31commands: Fix server url rewrites (http status 200)Bjørn Erik Pedersen
Broken by me in Hugo 0.103.0 it seems. A little bit mysterious as it has worked for me after that, but started to fail just recently. Closes #10668
2023-01-31build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.10 to 2.2.11dependabot[bot]
Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji) from 2.2.10 to 2.2.11. - [Release notes](https://github.com/kyokomi/emoji/releases) - [Commits](https://github.com/kyokomi/emoji/compare/v2.2.10...v2.2.11) --- 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-01-31build(deps): bump gocloud.dev from 0.24.0 to 0.28.0 (#10610)dependabot[bot]
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.24.0 to 0.28.0. - [Release notes](https://github.com/google/go-cloud/releases) - [Commits](https://github.com/google/go-cloud/compare/v0.24.0...v0.28.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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Closes #9778
2023-01-31Fix description of collections.UniqJoe Mooring
2023-01-31Update CONTRIBUTING.mdBjørn Erik Pedersen
2023-01-26Fix shortcode detection in RenderStringBjørn Erik Pedersen
Fixes #10654
2023-01-25Only invoke a given cached partial onceBjørn Erik Pedersen
Note that this is backed by a LRU cache (which we soon shall see more usage of), so if you're a heavy user of cached partials it may be evicted and refreshed if needed. But in most cases every partial is only invoked once. This commit also adds a timeout (the global `timeout` config option) to make infinite recursion in partials easier to reason about. ``` name old time/op new time/op delta IncludeCached-10 8.92ms ± 0% 8.48ms ± 1% -4.87% (p=0.016 n=4+5) name old alloc/op new alloc/op delta IncludeCached-10 6.65MB ± 0% 5.17MB ± 0% -22.32% (p=0.002 n=6+6) name old allocs/op new allocs/op delta IncludeCached-10 117k ± 0% 71k ± 0% -39.44% (p=0.002 n=6+6) ``` Closes #4086 Updates #9588
2023-01-24Update README.mdBjørn Erik Pedersen
2023-01-17releaser: Prepare repository for 0.111.0-DEVrelease-0.110.0hugoreleaser
[ci skip]
2023-01-17releaser: Bump versions for release of 0.110.0v0.110.0hugoreleaser
[ci skip]
2023-01-17dos: Regen CLI docsBjørn Erik Pedersen
2023-01-17docs: Regen docshelperBjørn Erik Pedersen
2023-01-17Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382'Bjørn Erik Pedersen
2023-01-17Squashed 'docs/' changes from 2c0125b52..1214f6ffbBjørn Erik Pedersen
1214f6ffb Document cleanDestinationDir configuration setting 27ca65463 Clarify .Page.Param method (#1953) 3fa1792d2 Document the usage of `hardWrap` option for markdown rendering (#1951) 8b5afdfb4 Update theme 207e7f0a0 fix docs for getting remote font 1f7094b9e Correct typo f9d6445c4 Added missing `/` in URL generator (#1946) 3a22ee7d6 Remove translations b3b900f3f Update introduction.md aca440052 rm Forestry - facing end-of-life shortly (#1944) af0014e14 Update scss-sass.md 1c43bbbc9 Merge branch 'docs/goworkspace' d034175ca netlify: Hugo 0.109.0 d3a6a5c3f Merge branch 'tempv0.109.0' e033dbead docs: Regen docs helper JSON 452bf675c resource/page: Add Page.Ancestors 12edd7363 Add some docs for workspaces 8f0fcba6b Add HUGO_PUBLISHDIR to the Node environment 4e66d98ad Update theme 808aee6f6 config: Update to ga v4 1de2bc5a9 config: Update to ga v4 ddb5fd6b0 Merge commit '41bc6f702aa54200530efbf4267e5c823df3028d' 54c54bf76 modules: Adjust watch logic vs workspace use definitions git-subtree-dir: docs git-subtree-split: 1214f6ffbf680e853746aaeb6cb097b28c0c556b
2023-01-17related: Handly []anyBjørn Erik Pedersen
See #10624
2023-01-17Fix permalinks issue with repeated sectionsBjørn Erik Pedersen
Fixes #10377
2023-01-17tpl/strings: Add findRESubmatchBjørn Erik Pedersen
Fixes #10594
2023-01-17config/security: Add O\w+ (e.g. GOROOT) to the default allowed listBjørn Erik Pedersen
Fixes #10429
2023-01-17Preserve front matter slice value types (e.g. int)Bjørn Erik Pedersen
Fixes #10624
2023-01-16Make hugo.toml the new config.tomlBjørn Erik Pedersen
Both will of course work, but hugo.toml will win if both are set. We should have done this a long time ago, of course, but the reason I'm picking this up now is that my VS Code setup by default picks up some JSON config schema from some random other software which also names its config files config.toml. Fixes #8979
2023-01-16Add fill HTTP Response info into .Data in resources.GetRemoteBjørn Erik Pedersen
See #10604
2023-01-16Fix HEAD method in resources.GetRemoteBjørn Erik Pedersen
Fixes #10604
2023-01-16Fix order when reading custom headers in resources.GetRemoteBjørn Erik Pedersen
Fixes #10616
2023-01-16deps: Upgrade github.com/evanw/esbuild v0.15.18 => v0.17.0Bjørn Erik Pedersen
Also add a test to make sure legal comments are preserved in JS bundles. Closes #10536
2023-01-09Update README.mdBjørn Erik Pedersen
2023-01-07resource: Fix Go Doc vs .Data.IntegrityBjørn Erik Pedersen
2023-01-04Misc doc, code refactoring to improve documentationBjørn Erik Pedersen
2023-01-04Make readFile return nil when file not found (note)Bjørn Erik Pedersen
Fixes #9620
2023-01-03Remove reference to Goreleaser in code commentOmar Kohl
Hugo no longer uses the Goreleaser tool.
2023-01-02tpl/compare: Sort special float values as stringacclassic
When sorting strings a worng order is returned. This happens because the strings are first converted to floating values to check whether or not they should be sorted as floating values. When an error is returned the strings will be handled as string literals. No error will be returned when parsing Inf, Infinity or NaN (case insensitive) because they will be coverted to special floating point values and therefore are legal float values. Now we check if the returned converted values are special floating values and treat them as string literals. Fixes #10389
2022-12-25tpl/diagrams: Move Goat to its own fileBjørn Erik Pedersen
2022-12-24Update CONTRIBUTING.mdBjørn Erik Pedersen
2022-12-24Update CONTRIBUTING.mdBjørn Erik Pedersen
2022-12-24Update README.mdBjørn Erik Pedersen
2022-12-23releaser: Prepare repository for 0.110.0-DEVrelease-0.109.0hugoreleaser
[ci skip]
2022-12-23releaser: Bump versions for release of 0.109.0v0.109.0hugoreleaser
[ci skip]