Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate undocumented .File.Extension #9352

Closed
jmooring opened this issue Jan 4, 2022 · 3 comments · Fixed by #9712
Closed

Deprecate undocumented .File.Extension #9352

jmooring opened this issue Jan 4, 2022 · 3 comments · Fixed by #9712

Comments

@jmooring
Copy link
Member

jmooring commented Jan 4, 2022

.File.Ext is documented.
.File.Extension is not documented.

See https://github.com/gohugoio/hugo/blob/master/source/fileInfo.go#L73-L77:

// Extension gets the file extension, i.e "myblogpost.md" will return "md".
Extension() string

// Ext is an alias for Extension.
Ext() string // Hmm... Deprecate Extension

Documentation: https://gohugo.io/variables/files/

@bep bep added Enhancement and removed Proposal labels Jan 5, 2022
bep added a commit to bep/hugo that referenced this issue Jan 5, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9355
Fixes gohugoio#9343
bep added a commit to bep/hugo that referenced this issue Jan 9, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9355
Fixes gohugoio#9343
bep added a commit to bep/hugo that referenced this issue Jan 13, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
bep added a commit to bep/hugo that referenced this issue Jan 13, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
bep added a commit to bep/hugo that referenced this issue Jan 16, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
bep added a commit to bep/hugo that referenced this issue Jan 16, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
bep added a commit to bep/hugo that referenced this issue Jan 22, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
bep added a commit to bep/hugo that referenced this issue Jan 22, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
@bep bep modified the milestones: v0.95.0, v0.96.0 Mar 9, 2022
@sara-meie
Copy link
Contributor

I'd like to take a crack at this one. I assume you want to use helpers.Deprecate to deprecate the function so that it will show a warning when used. Probably also refactor any usage of Extension() in the actual codebase as well?

@bep
Copy link
Member

bep commented Mar 19, 2022

@sara-meie that is a sensible approach, yes.

@bep bep modified the milestones: v0.96.0, v0.97.0 Mar 24, 2022
@bep bep closed this as completed in #9712 Mar 26, 2022
bep pushed a commit that referenced this issue Mar 26, 2022
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2022
satotake added a commit to satotake/hugo that referenced this issue Apr 26, 2022
Close #8787

commit 9a888c243adc2be4b630f29eac7def742803d8a4
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Apr 21 10:59:13 2022 +0200

    Some godoc adjustments

commit 05b45c35c8067b7c4a6c99fec64f124739d2e7fd
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Apr 20 17:42:57 2022 +0200

    tpl/lang: Handle nil values in lang.Merge

commit 625be77e083bf992ce81295fb875a664c68bcef3
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Apr 20 17:11:27 2022 +0200

    resources/page: Mark some more interface methods as internal

    For the new documenttion.

commit 097fd588ca2928056122991caaa879e835c5ba62
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Apr 20 17:08:01 2022 +0200

    Deprecate page.Author and page.Authors

    These are not documented, and they don't belong on Page. We should consider having author a first class citizen of Hugo, but as it is not it's better modelled as a taxonomy.

commit 41cc4e4ba3bd849cee7dcb691504ebebbfce680f
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Mon Apr 18 18:01:38 2022 +0000

    releaser: Prepare repository for 0.98.0-DEV

    [ci skip]

commit 078053a43d746a26aa3d48cf1ec7122ae78a9bb4
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Mon Apr 18 17:22:19 2022 +0000

    releaser: Bump versions for release of 0.97.3

    [ci skip]

commit 7d9f888080a131a17c0297eff978d56daede7520
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Mon Apr 18 17:22:19 2022 +0000

    releaser: Add release notes for 0.97.3
    [ci skip]

commit 9b352f04a385703084f7bb116e830e63ac262bc2
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Apr 18 10:37:58 2022 +0200

    Fix syncing of /static regression

    As introduced in Hugo `v0.76.1`.

    And add a proper test for it.

    Fixes  #9794
    Closes #9788

commit e66e2e9ce5f2036174ecb114b96761ad023d95a1
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Apr 18 10:28:54 2022 +0200

    Revert "Revert "Fix PostProcess regression for hugo server""

    This reverts commit 6c35a1a9eacf2aa86a11ecd31c4022ce330b2f16.

    Updates #9794

commit 5de6f8a02c3abb3145ce7985dff985e9e783e9b3
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sun Apr 17 09:16:40 2022 +0000

    releaser: Prepare repository for 0.98.0-DEV

    [ci skip]

commit 5099abe6006728123f403456fcf4b768c973359c
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sun Apr 17 08:39:27 2022 +0000

    releaser: Bump versions for release of 0.97.2

    [ci skip]

commit 99ec88d42d7f2f3ff21f13207abd8597c7599973
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sun Apr 17 08:39:27 2022 +0000

    releaser: Add release notes for 0.97.2
    [ci skip]

commit 6c35a1a9eacf2aa86a11ecd31c4022ce330b2f16
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Apr 17 10:35:01 2022 +0200

    Revert "Fix PostProcess regression for hugo server"

    This reverts commit 4deb5c60661bdb1d686664f0207f45517a086f29.

commit 363bc907c0ab4b6989bada2e1ffca4ef17d7b8a4
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sat Apr 16 17:35:04 2022 +0000

    releaser: Prepare repository for 0.98.0-DEV

    [ci skip]

commit 04efcb2a6807b527d9fbcc3e365c63bcba26f4b1
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sat Apr 16 16:57:30 2022 +0000

    releaser: Bump versions for release of 0.97.1

    [ci skip]

commit 4560725521499156c98507f7b1a176a424b9cc84
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sat Apr 16 16:57:30 2022 +0000

    releaser: Add release notes for 0.97.1
    [ci skip]

commit 4deb5c60661bdb1d686664f0207f45517a086f29
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Apr 16 17:50:50 2022 +0200

    Fix PostProcess regression for hugo server

    Fixes #9788

commit 397fce560305d681948ad604ecfd85bd845ad407
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Apr 16 10:40:21 2022 +0200

    Fix MediaType when reading images from cache

    Fixes #8931

commit 0093eaa6831f026af5cebefae8ab3cd04b677cfe
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Apr 14 18:30:50 2022 +0200

    deps: Upgrade github.com/bep/overlayfs v0.4.0 => v0.5.0

    That version implement file.Readdir/Readdirnames for n > 0.

    Closes #9783

commit d0f731c0397722b8d7b02637164e3df9103bead8
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Thu Apr 14 09:24:30 2022 +0000

    releaser: Prepare repository for 0.98.0-DEV

    [ci skip]

commit c07f3626e7c8160943591f4d209977efa02c3dca
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Thu Apr 14 08:45:07 2022 +0000

    releaser: Bump versions for release of 0.97.0

    [ci skip]

commit 42b5d16536d8218378112ac4b97ecb609d95f1a4
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Thu Apr 14 08:45:07 2022 +0000

    releaser: Add release notes for 0.97.0
    [ci skip]

commit d80d5a104fa098a8ba3b2059b0ff487a74e94469
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Apr 14 10:38:31 2022 +0200

    releaser: Reduce parallelism

commit 842262f653916ca1ede144b31dbb8bb24a6f7cfb
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Apr 13 17:28:54 2022 +0200

    Revert "build(deps): bump gocloud.dev from 0.20.0 to 0.25.0"

    This reverts commit 20162518c450770ebfd54e0e987f34a5cccf236b.

    Updates #9778

commit 2dbdf38a5411c554146ddd915a0aea3b2eaf4407
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Apr 11 10:34:08 2022 +0200

    resources: Add `key` to reources.GetRemote options map

    If set, `key` will be used as the only cache key element for the resource.

    The default behaviour is to calculate the key based on the URL and all the options.

    This means that you can now do:

    ```
    {{ $cacheKey := print $url (now.Format "2006-01-02") }}
    {{ $resource := resource.GetRemote $url (dict "key" $cacheKey) }}
    ```

    Fixes #9755

commit f8c4e1690a462a2dcafa05aeaab65d1fad6df61e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Apr 12 11:41:34 2022 +0000

    build(deps): bump github.com/evanw/esbuild from 0.14.34 to 0.14.36

    Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.14.34 to 0.14.36.
    - [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.14.34...v0.14.36)

    ---
    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>

commit 627eed1d620910f494056330733db6c6187b8fe9
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Apr 10 20:30:52 2022 +0200

    Make string sorting (e.g. ByTitle, ByLinkTitle and ByParam) language aware

    Fixes #2180

commit 82ba634ed90186c756189a79b637559b28dd363e
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Apr 11 18:37:13 2022 +0200

    Fix gosum checksum errors

    Both of the 2 libraries in question have had known "double releases" -- same tag pushed twice with different commits.

    Note that this will not resolve itself in Hugo "fully" before we do a new release (which should happen in a day or two).

    Fixes #9771

commit d417a6cf742b1936d22fff0bb9d33f9518e0eaf3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Apr 11 08:11:10 2022 +0000

    build(deps): bump github.com/tdewolff/minify/v2 from 2.11.0 to 2.11.1

    Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.11.0 to 2.11.1.
    - [Release notes](https://github.com/tdewolff/minify/releases)
    - [Commits](https://github.com/tdewolff/minify/compare/v2.11.0...v2.11.1)

    ---
    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>

commit 13dac7f3cd68789479399a9b0c1756d718e70805
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Apr 11 11:27:07 2022 +0200

    compare: Add a string sort benchmark

commit 30c2e54c25f6c3a942080f30be49712adda27586
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Apr 8 15:15:26 2022 +0200

    Replace all usage of  CopyOnWriteFs with OverlayFs

    Fixes #9761

commit 3117e5859509e909298153972ab6f700af577f92
Author: Joe Mooring <joe.mooring@veriphor.com>
Date:   Fri Apr 8 11:38:37 2022 -0700

    deps: Update github.com/tdewolff/minify/v2 v2.10.0 => v2.11.0

    Fixes #9713
    Fixes #9740

    Adds support for minify.tdewolff.svg.keepComments (bool)

commit 5b5dcb8d5a4669e1768951b452cfd53c6b25825c
Merge: ffe3eb91 ec920363
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Apr 8 13:32:01 2022 +0200

    Merge commit 'ec920363cdeb687c8bcac9c242767d366fb058cb'

commit ec920363cdeb687c8bcac9c242767d366fb058cb
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Apr 8 13:32:01 2022 +0200

    Squashed 'docs/' changes from 63386081c..4c5edacfe

    4c5edacfe cSpell config update (#1700)
    9df788b25 Fix broken link (hugo modules) (#1710)
    9928a70d6 Fix workspace formatting (#1707)
    55467e7c8 Update partials.md
    9f4bd0023 Update formats.md
    9b3913c86 Remove footnoteAnchorPrefix and footnoteReturnLinkContents (#1704)
    94502a09b Code block render hooks are introduced in v0.93.0 (#1701)
    c447270ef Update sitemap-template.md
    78665c1e0 Update sitemap-template.md
    60653c17d Update the caddy error docs link (#1696)
    9a3675aad Update sitemap templates (#1699)
    e0d08cdbb Add wpxr-to-static to list of migration tools (#1512)
    b53eb5a08 Add page for deploying with rclone (#1511)
    4207c57ff netlify: Hugo 0.96.0
    a18d646ea docs: Regen docshelper
    e3e0981ed docs: Regen CLI docs
    fda988d01 Merge commit 'd276e901b36d2576ef8350ed96b17f66254eac1b'
    e4a26dbca tpl/crypto: Add optional encoding arg to hmac function

    git-subtree-dir: docs
    git-subtree-split: 4c5edacfeebd13eb7f876723c065466cd50e0cae

commit ffe3eb9195e0f3184df9fc416d5f6ee12fdba91b
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Apr 8 13:31:50 2022 +0200

    docs: Regen CLI docs

commit d070bdf10f14d233288f7318a4e9f7555f070a65
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Mar 21 09:35:15 2022 +0100

    Rework the Destination filesystem to make --renderStaticToDisk work

    See #9626

commit b08193971a821fc27e549a73120c15e5e5186775
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Mar 14 16:02:06 2022 +0100

    Revert "Revert "Some minor adjustments to the new static filesystem logic""

    This reverts commit 5ef8a9f32c25a9b4cc821393c58733e57a7ad234.

commit 0a56f2af4e1969e76e94fdfb56d1bbed0e685625
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Mar 14 16:02:04 2022 +0100

    Revert "Revert "Allow rendering static files to disk and dynamic to memory in server mode""

    This reverts commit 64b7b7a89753a39661219b2fcb92d7f185a03f63.

commit 9e360d3844f5077c65649e4c9c98f5cbd1c3efc0
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Apr 7 08:05:28 2022 +0000

    build(deps): bump github.com/evanw/esbuild from 0.14.31 to 0.14.34

    Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.14.31 to 0.14.34.
    - [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.14.31...v0.14.34)

    ---
    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>

commit a8c221d33b81aa73ce0dbd99ab862e3a685c60f3
Author: Joe Mooring <joe.mooring@veriphor.com>
Date:   Tue Apr 5 10:36:08 2022 -0700

    modules/client: Vendor config directory if present

    Fixes #9751

commit e58a540895c28b8884823dcb1b64c272422f9923
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Oct 20 10:11:48 2021 +0200

    resources: Create a common ResourceFinder interface

    And make both .Resources and resources implement it.

    This gets us 2 new methods/functions, so you can now also do:

    * .Resources.Get
    * resources.ByType

    Note that GetRemote is not covered by this interface, as that is only available as a global template function.

    Fixes #8653

commit 20162518c450770ebfd54e0e987f34a5cccf236b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Apr 5 14:18:51 2022 +0000

    build(deps): bump gocloud.dev from 0.20.0 to 0.25.0

    Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.20.0 to 0.25.0.
    - [Release notes](https://github.com/google/go-cloud/releases)
    - [Commits](https://github.com/google/go-cloud/compare/v0.20.0...v0.25.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>

commit 6b469cc8fb2c74a38f38d298487868a50be07346
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Mar 21 16:32:43 2022 +0000

    build(deps): bump golang.org/x/tools from 0.1.9 to 0.1.10

    Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.1.9 to 0.1.10.
    - [Release notes](https://github.com/golang/tools/releases)
    - [Commits](https://github.com/golang/tools/compare/v0.1.9...v0.1.10)

    ---
    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>

commit 080dcac6b82244eb5dc24d5b7490b5c64f1bdb13
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Mar 21 16:32:21 2022 +0000

    build(deps): bump github.com/magefile/mage from 1.12.1 to 1.13.0

    Bumps [github.com/magefile/mage](https://github.com/magefile/mage) from 1.12.1 to 1.13.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.12.1...v1.13.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>

commit 072fc8cc349820000b7ef31e5f517c7fd422bbcd
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Apr 5 11:55:34 2022 +0000

    build(deps): bump github.com/gobuffalo/flect from 0.2.4 to 0.2.5

    Bumps [github.com/gobuffalo/flect](https://github.com/gobuffalo/flect) from 0.2.4 to 0.2.5.
    - [Release notes](https://github.com/gobuffalo/flect/releases)
    - [Commits](https://github.com/gobuffalo/flect/compare/v0.2.4...v0.2.5)

    ---
    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>

commit 658e11ebaa94de219f941699d119a97a18301eea
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Apr 5 09:57:58 2022 +0200

    Localize all the GroupBy*Date methods

    Fixes #9745

commit e0a882fd3b9825dc9a95b83d72fc330dcbbbcce9
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Apr 5 08:43:44 2022 +0000

    build(deps): bump github.com/getkin/kin-openapi from 0.93.0 to 0.94.0

    Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.93.0 to 0.94.0.
    - [Release notes](https://github.com/getkin/kin-openapi/releases)
    - [Commits](https://github.com/getkin/kin-openapi/compare/v0.93.0...v0.94.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>

commit d0657a436ed9d629ecc2186558504521c30132ee
Author: David Jones <david@davidejones.com>
Date:   Tue Apr 5 09:42:54 2022 +0100

    deploy: Set an MD5 attribute and use that if eTag not available

    During Hugo deploy when a remote MD5 is invalid (e.g due to multipart eTag) Hugo reads the entire remote file and calculates the MD5 again which can be slow.

    This commit updates the file upload so that it will also store an MD5 hash in the cloud provider's attributes. e.g in AWS this looks like x-amz-meta-md5chksum: 26fe392386a8123bf8956a16e08cb841.

commit a6e2e38bb2283cf0d9d682a22e1f47e2615652c0
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Apr 5 07:42:49 2022 +0000

    build(deps): bump github.com/sanity-io/litter from 1.5.2 to 1.5.4

    Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter) from 1.5.2 to 1.5.4.
    - [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.2...v1.5.4)

    ---
    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>

commit 510e179003431ffca97b5093a04eed1b8eafa68b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Apr 4 08:04:25 2022 +0000

    build(deps): bump github.com/evanw/esbuild from 0.14.25 to 0.14.31

    Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.14.25 to 0.14.31.
    - [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.14.25...v0.14.31)

    ---
    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>

commit 21484f9e12c92e6aea6f390892757d1f010b9676
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Mar 25 10:09:19 2022 +0000

    build(deps): bump github.com/frankban/quicktest from 1.14.2 to 1.14.3

    Bumps [github.com/frankban/quicktest](https://github.com/frankban/quicktest) from 1.14.2 to 1.14.3.
    - [Release notes](https://github.com/frankban/quicktest/releases)
    - [Commits](https://github.com/frankban/quicktest/compare/v1.14.2...v1.14.3)

    ---
    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>

commit da00e7714e0233d5cba73bc3c4cf7331304ccb20
Author: Cathrine Paulsen <c.r.paulsen@student.tudelft.nl>
Date:   Tue Apr 5 07:41:24 2022 +0000

    Add environment as a new filter to _cascade.target

    Fixes #9612

commit ed9aa374dd5e18fbfb207a0a10cde2362061c8ca
Merge: 2a231b0b 69c59008
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Apr 3 19:57:04 2022 +0200

    Merge branch 'release-0.96.0'

commit 2a231b0b57a8bea20554eb7d22511de66a656769
Author: Further <55025025+ifurther@users.noreply.github.com>
Date:   Fri Apr 1 16:52:39 2022 +0800

    Snap: Add {system,user}-gitconfig plugs to read gitconfig (#9619)

    * Add system-gitconfig plug to read /etc/gitconfig
    * Add user-gitconfig plug to read user-specific gitconfig file(s)
    * Add app environment setting to set $HOME as $SNAP_REAL_HOME

commit 69c590080f830042a0007f4187450c984df2744e
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sat Mar 26 09:53:13 2022 +0000

    releaser: Prepare repository for 0.97.0-DEV

    [ci skip]

commit 2fd4a7d3d6845e75f8b8ae3a2a7bd91438967bbb
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sat Mar 26 09:15:58 2022 +0000

    releaser: Bump versions for release of 0.96.0

    [ci skip]

commit 5a4ac2dac1aecd07ee18429920a1d97d159a00eb
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sat Mar 26 09:15:58 2022 +0000

    releaser: Add release notes for 0.96.0
    [ci skip]

commit db1562e134fc4182cfd063058e9ecd0316a0d906
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Mar 26 11:06:04 2022 +0200

    docs: Regen docshelper

commit 5b18e1084176a27aa04aeb6b2543d7ab4de02bfd
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Mar 26 11:05:30 2022 +0200

    docs: Regen CLI docs

commit d276e901b36d2576ef8350ed96b17f66254eac1b
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Mar 26 11:04:57 2022 +0200

    Squashed 'docs/' changes from a393f4cf4..63386081c

    63386081c update cSpell config update
    15c76494b Update cSpell custom dictionary (#1694)
    34f3167b7 Update image processing (#1625)
    7462cc798 fix: pipes in sample code break table creation (#1686)
    48736447e Update anchorize.md
    2ff0bd10b netlify: Hugo 0.95.0
    0fc1d21b2 Update configuration.md
    41855e372 Fix #1682
    8c663433e Update related.md
    7aa072eab netlify: Hugo 0.94.2
    1682c7ee7 Update render-hooks.md
    ce1283cc4 Move the Render Hooks doc to its own page
    bbbbfbfc6 Update configuration-markup.md
    92d91a316 Update configuration-markup.md
    2e8068823 Update configuration-markup.md
    ff2dbca60 Update configuration-markup.md
    89d8e5d65 Add code block documenation
    e993539f0 Update shortcodes.md
    c1b28dbfe netlify: Hugo 0.94.1
    81b8c9b83 Merge branch 'tempv0.94.1'
    4763b3d50 docs: Regenerate CLI docs
    b18463971 netlify: Bump to Hugo 0.94.0
    4152ebc1d Merge branch 'tempv0.94.0'
    ba3a11ac2 docs: Regenerate docshelper
    e64016d13 docs: Regenerate docshelper
    29180e4d2 add `.html` suffix to partial usage and references
    3213e00f2 Docs tidy-up
    6cfcae4b7 docs: Regenerate CLI docs
    8a6cd0b4d docs: Regenerate docshelper
    b20ab262f Merge commit 'd706529720b3b2ccb99719ccd578062ca25a0cc2'

    git-subtree-dir: docs
    git-subtree-split: 63386081c55de6a7f97adde564a9cfc2ad326119

commit d7497b28c17fe2f402accde45c75642ed7f09d08
Merge: 94459680 d276e901
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Mar 26 11:04:57 2022 +0200

    Merge commit 'd276e901b36d2576ef8350ed96b17f66254eac1b'

commit 94459680ba391275ac667407627cafdab5a50d79
Author: Sara Op den Orth <sara@opdenorth.com>
Date:   Thu Mar 24 13:24:30 2022 +0100

    Deprecate .File.Extension

    Fixes #9352

commit 9202117ba08286975c723130db60a1c69ff249a0
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Mar 24 08:12:51 2022 +0100

    resources: Add more details to .Err

    This commit adds a .Data object (a map with `Body`, `StatusCode` etc.) to the .Err returned from `resources.GetRemote`, which means you can now do:

    ```
    {{ with .Err }}
    {{ range $k, $v := .Data }}
    {{ end }}
    {{ end }}
    ```

    Fixes #9708

commit a6fa290f67a858e813480cd19bd5e8e1088771d2
Author: Joe Mooring <joe.mooring@veriphor.com>
Date:   Fri Mar 25 07:21:22 2022 -0700

    commands: Change link protocol to https

commit 0bbc2fb52332535fd69d99ae8b6d786466dc7a56
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Mar 25 08:03:45 2022 +0000

    build(deps): bump github.com/getkin/kin-openapi from 0.91.0 to 0.93.0

    Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.91.0 to 0.93.0.
    - [Release notes](https://github.com/getkin/kin-openapi/releases)
    - [Commits](https://github.com/getkin/kin-openapi/compare/v0.91.0...v0.93.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>

commit 94e8a907694406da67e29ab376db393e199fe1cc
Author: Joe Mooring <joe.mooring@veriphor.com>
Date:   Wed Mar 23 09:48:34 2022 -0700

    tpl/crypto: Add optional encoding arg to hmac function

    Closes #9709

commit a461e9d01a95089eca571d3a49642b01d9173c18
Author: Panagiotis Koursaris <panakourweb@gmail.com>
Date:   Thu Mar 10 16:53:23 2022 +0200

    Fix typo

commit 48c98a8d24a0f5ceb17ce4977587f660d137a1a5
Author: cuishuang <imcusg@gmail.com>
Date:   Thu Mar 10 12:01:05 2022 +0800

    Fix some typos

    Signed-off-by: cuishuang <imcusg@gmail.com>
    [foka@debian.org: Resolve merge conflict and squash 2 commits]
    Signed-off-by: Anthony Fok <foka@debian.org>

commit bbd455fe79de4d882c103f4352945f60276e564e
Author: Anthony Fok <foka@debian.org>
Date:   Mon Mar 21 10:25:36 2022 -0600

    Update CONTRIBUTING.md to use "go install" to install mage

    In Go 1.18, "go get" no longer builds packages.

commit 8309a2b1c12009fffb1da574b4d19715f8566683
Author: Anthony Fok <foka@debian.org>
Date:   Mon Mar 21 10:25:12 2022 -0600

    Dockerfile: Make it build with Go 1.18

commit 2b7231097f17429e46995266870ba80540ba947d
Author: Anthony Fok <foka@debian.org>
Date:   Mon Mar 21 10:20:53 2022 -0600

    snap: Make it build with Go 1.18

commit 13ff4ded76ea6821b33ea0f205a73e430d086825
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Mar 21 14:55:23 2022 +0000

    build(deps): bump github.com/yuin/goldmark from 1.4.10 to 1.4.11

    Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.10 to 1.4.11.
    - [Release notes](https://github.com/yuin/goldmark/releases)
    - [Commits](https://github.com/yuin/goldmark/compare/v1.4.10...v1.4.11)

    ---
    updated-dependencies:
    - dependency-name: github.com/yuin/goldmark
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit c3289eb5b865bbf872044c99cb89c30412149aea
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Mar 16 10:38:56 2022 +0000

    build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0

    Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0.
    - [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.3.0...v1.4.0)

    ---
    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>

commit 9539069f5eb5f5abbd7138eda10893353d0c5eea
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Mar 18 08:54:44 2022 +0100

    commands: Improve server startup to make tests less flaky

    Do this by announcing/listen on the local address before we start the server.

commit 0e305d695820779a5c66fbe3434e3293911d7f98
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Mar 17 21:58:54 2022 +0100

    all: Use strings.Cut

    Updates #9687

commit 5adb81ce39a36214712762288c6aab9ebcff5e24
Author: Luke de Waal <lr.de.waal.01@gmail.com>
Date:   Sun Mar 20 16:24:37 2022 +0100

    Support '-u=patch' in hugo mod get

    The control-flow for running `hugo mod get` was adapted to allow for passing `-u=patch`
    instead of only being able to pass `-u`.

    Fixes #9127

commit 1c0e7c1ae1eb9cd47fbe030ebddbf89df04fe667
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Mar 20 11:24:44 2022 +0100

    Make sure file mounts higher up wins

    Fixes #9693

commit cad2d8cc70f25ca5e5107dd963c95b7b7c6840d1
Author: Joe Mooring <joe.mooring@veriphor.com>
Date:   Sun Mar 20 10:55:02 2022 -0700

    resources/images: Require width and height for Crop, Fill, and Fit

    Closes #9696

commit b80853de90b10171155b8f3fde47d64ec7bfa0dd
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Mar 17 22:03:27 2022 +0100

    all: gofmt -w -r 'interface{} -> any' .

    Updates #9687

commit 423594e03a906ef4150f433666ff588b022c3c92
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Mar 17 17:22:34 2022 +0100

    dartsass: Enable deprecation, @warn and @debug logging

    * @warn and Sass deprecations are printed as WARN
    * @debug is currently logged as INFO (needs the `--verbose` flag). We may adjust this if it gets too chatty.

    Fixes #9683

commit 64afb7ca51ef5fd5d4a0afa121183217292daa5e
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Mar 17 09:27:11 2022 +0100

    Use revision etc. from debug.BuildInfo

    Fixes #9680

commit 004bec2e9a8e245ab98924b6d19a89b0fbbe99ee
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Wed Mar 16 15:00:05 2022 +0000

    releaser: Prepare repository for 0.96.0-DEV

    [ci skip]

commit 9f2e76af65a16be13d7adef93e8a482513a73719
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Wed Mar 16 14:20:17 2022 +0000

    releaser: Bump versions for release of 0.95.0

    [ci skip]

commit f1d15768221fa87cf9096c4117e8424a7aae4068
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Wed Mar 16 14:20:17 2022 +0000

    releaser: Add release notes for 0.95.0
    [ci skip]

commit 5930173cd0438e54a594255a1cbd0ebf5f06264d
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 16 13:20:30 2022 +0100

    readme: Add note about Go 1.18

commit 3476b5334306cf41842d3ad35b85a9577f5a6567
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 16 13:11:29 2022 +0100

    tpl: Pull in Go 1.18 patch that fixes the "no space in {{ continue }} and {{ break }}" bug

commit e792d27017a614d136cd4c2ff2309ccf0876b3b6
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 16 13:09:17 2022 +0100

    readme: Add a contribution note

commit 9d6495d774233941b6e895e52870092fb1ca0134
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 16 10:41:08 2022 +0100

    github: Make it build with Go 1.18

    I also ran some benchmarks comparing it to Go 1.17.8:

    ```bash
    name                                      old time/op    new time/op    delta
    SiteNew/Regular_Bundle_with_image-10        5.13ms ± 7%    4.23ms ± 7%  -17.47%  (p=0.029 n=4+4)
    SiteNew/Regular_Bundle_with_JSON_file-10    5.12ms ± 1%    4.16ms ± 1%  -18.65%  (p=0.029 n=4+4)
    SiteNew/Regular_Tags_and_categories-10      17.3ms ± 2%    15.1ms ± 1%  -12.53%  (p=0.029 n=4+4)
    SiteNew/Regular_Canonify_URLs-10             106ms ± 1%      90ms ± 0%  -15.86%  (p=0.029 n=4+4)
    SiteNew/Regular_Deep_content_tree-10        34.0ms ± 1%    30.0ms ± 2%  -11.72%  (p=0.029 n=4+4)
    SiteNew/Regular_TOML_front_matter-10        22.7ms ± 2%    20.2ms ± 1%  -10.93%  (p=0.029 n=4+4)
    SiteNew/Regular_Many_HTML_templates-10      16.7ms ± 0%    14.6ms ± 1%  -12.89%  (p=0.029 n=4+4)
    SiteNew/Regular_Page_collections-10         22.2ms ± 1%    19.5ms ± 1%  -12.07%  (p=0.029 n=4+4)
    SiteNew/Regular_List_terms-10               7.71ms ± 0%    6.59ms ± 1%  -14.52%  (p=0.029 n=4+4)

    name                                      old alloc/op   new alloc/op   delta
    SiteNew/Regular_Bundle_with_image-10        2.07MB ± 0%    2.04MB ± 0%   -1.40%  (p=0.029 n=4+4)
    SiteNew/Regular_Bundle_with_JSON_file-10    1.85MB ± 0%    1.83MB ± 0%   -1.54%  (p=0.029 n=4+4)
    SiteNew/Regular_Tags_and_categories-10      11.8MB ± 0%    11.1MB ± 0%   -6.11%  (p=0.029 n=4+4)
    SiteNew/Regular_Canonify_URLs-10            95.8MB ± 0%    95.2MB ± 0%   -0.63%  (p=0.029 n=4+4)
    SiteNew/Regular_Deep_content_tree-10        27.4MB ± 0%    26.9MB ± 0%   -1.68%  (p=0.029 n=4+4)
    SiteNew/Regular_TOML_front_matter-10        15.2MB ± 0%    14.4MB ± 0%   -4.93%  (p=0.029 n=4+4)
    SiteNew/Regular_Many_HTML_templates-10      8.45MB ± 0%    8.24MB ± 0%   -2.43%  (p=0.029 n=4+4)
    SiteNew/Regular_Page_collections-10         16.5MB ± 0%    16.2MB ± 0%   -1.78%  (p=0.029 n=4+4)
    SiteNew/Regular_List_terms-10               3.73MB ± 0%    3.64MB ± 0%   -2.30%  (p=0.029 n=4+4)

    name                                      old allocs/op  new allocs/op  delta
    SiteNew/Regular_Bundle_with_image-10         25.0k ± 0%     24.1k ± 0%   -3.60%  (p=0.029 n=4+4)
    SiteNew/Regular_Bundle_with_JSON_file-10     25.1k ± 0%     24.1k ± 0%   -3.60%  (p=0.029 n=4+4)
    SiteNew/Regular_Tags_and_categories-10        237k ± 0%      234k ± 0%   -1.29%  (p=0.029 n=4+4)
    SiteNew/Regular_Canonify_URLs-10              365k ± 0%      363k ± 0%   -0.47%  (p=0.029 n=4+4)
    SiteNew/Regular_Deep_content_tree-10          284k ± 0%      279k ± 0%   -1.98%  (p=0.029 n=4+4)
    SiteNew/Regular_TOML_front_matter-10          252k ± 0%      249k ± 0%   -1.48%  (p=0.029 n=4+4)
    SiteNew/Regular_Many_HTML_templates-10        117k ± 0%      115k ± 0%   -1.68%  (p=0.029 n=4+4)
    SiteNew/Regular_Page_collections-10           184k ± 0%      181k ± 0%   -1.74%  (p=0.029 n=4+4)
    SiteNew/Regular_List_terms-10                49.9k ± 0%     48.5k ± 0%   -2.79%  (p=0.029 n=4+4)
    ```

commit 42cc5f88b6e38d94e1a7d146d7f53210d94c0a35
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 16 09:04:30 2022 +0100

    tpl: Adjustments and an integration test for Go 1.18

    Updates #9677

commit a6488e7bad883c71fb08655948d83574d7f703f9
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 16 08:57:58 2022 +0100

    Remove Go 1.17 support

    Go 1.18 had some breaking changes on source level meaning we cannot build on older Go versions anymore.

    The improvements in Go 1.18 (e.g. `break` and `continue`)  were to good to pass on.

    Note that you don't need Go (or Go 1.18) to run a pre-built binary.

    Updates #9677

commit 65a78cae1ecdcfcb0701d78fed812083a1a6e82b
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 16 08:48:16 2022 +0100

    tpl: Sync go_templates for Go 1.18

    Using Go tag go1.18 4aa1efed4853ea067d665a952eee77c52faac774

    Updates #9677

commit 4d6d1d08dad5538f4710fc4b56e09419aa0d854b
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 16 08:43:18 2022 +0100

    build: Bump to Go 1.18

    Updates #9677

commit b60e1bbdfee76e29b3b3c3d2fdd67649b44ba44c
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 15 08:54:56 2022 +0100

    dartsass: Improve error message when no read access

    Fixes #9662

commit 61cf3c9f6386d06c18c663195b35c4152605c398
Author: Cathrine Paulsen <c.r.paulsen@student.tudelft.nl>
Date:   Thu Mar 10 14:10:21 2022 +0100

    Fix and refactor typos

commit 31fbc081c98d55a6e4b9da38c2ff29777da0b0c0
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Mar 14 16:34:23 2022 +0100

    Improve server startup/shutdown

    Closes #9671

commit cebd886ac137b9832ff26781d3d13ecf69d608a7
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Mar 11 08:07:37 2022 +0100

    commands: Improve server tests

    Updates #9647

commit 38f778cfccd0b16d6dc9a90a04fc22a7f573ae49
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sat Mar 12 11:02:38 2022 +0000

    releaser: Prepare repository for 0.95.0-DEV

    [ci skip]

commit 48fb9e4de37e3c20a149e6cd3fc367dd07626a84
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sat Mar 12 10:28:41 2022 +0000

    releaser: Bump versions for release of 0.94.2

    [ci skip]

commit 0958167b38b4cbdfe916ebd05f5331e8bd7bb978
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Sat Mar 12 10:28:41 2022 +0000

    releaser: Add release notes for 0.94.2
    [ci skip]

commit b37183e48d6ba6fe4df9d54d62f377f08db834e7
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Mar 12 10:45:31 2022 +0100

    deps: Update github.com/yuin/goldmark v1.4.9 => v1.4.10

    Fixes #9658

commit 04ccde3e940cf817b0ad400425599742f641575e
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Fri Mar 11 14:30:03 2022 +0000

    releaser: Prepare repository for 0.95.0-DEV

    [ci skip]

commit 0fcd9a5d879b41fbcd860b8eb657123278f20af8
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Fri Mar 11 13:53:32 2022 +0000

    releaser: Bump versions for release of 0.94.1

    [ci skip]

commit 414608436772dcf377272e21dd71633b0d3d7f5f
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Fri Mar 11 13:53:32 2022 +0000

    releaser: Add release notes for 0.94.1
    [ci skip]

commit 3bc742bea0d5fe269445edb902d150f41b54c7f7
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Mar 11 14:47:27 2022 +0100

    docs: Regenerate CLI docs

commit 1a796d723c90e2747ea83440ad85ff0319770f2c
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Mar 11 13:13:18 2022 +0100

    deps: Fix Goldmark regression with HTML comments

    Fixes #9650

commit 64b7b7a89753a39661219b2fcb92d7f185a03f63
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Mar 11 09:48:20 2022 +0100

    Revert "Allow rendering static files to disk and dynamic to memory in server mode"

    This reverts commit 7d8011ed63d587b87a7c182748914fe146590093.

    Updates #9647

commit 5ef8a9f32c25a9b4cc821393c58733e57a7ad234
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Mar 11 09:48:09 2022 +0100

    Revert "Some minor adjustments to the new static filesystem logic"

    This reverts commit 63bb2a5b18193602fd442ebafdc85bc36fe05ad2.

commit 3bc34666c8daf29aa64f834f14f753714bc890f4
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Thu Mar 10 10:25:00 2022 +0000

    releaser: Prepare repository for 0.95.0-DEV

    [ci skip]

commit 63b236603ead439b7dd49e5871506eb4f90bd3a9
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Thu Mar 10 09:46:35 2022 +0000

    releaser: Bump versions for release of 0.94.0

    [ci skip]

commit b107b4b291abff466e2ec136ab8f0c0e9196e260
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Thu Mar 10 09:46:35 2022 +0000

    releaser: Add release notes for 0.94.0
    [ci skip]

commit a4ac188c194cc812e4646d514763f6a297f25f0a
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Mar 10 10:08:04 2022 +0100

    docs: Regenerate docshelper

commit b82d95575d192e035ec57fb1fe638eeafa1b2d50
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Mar 10 10:06:22 2022 +0100

    Revert "markup/highlight: Add hl_inline option"

    This reverts commit a360cab75a073c2a8d47dcd27f52a6847e8d8d13.

commit 4e14cf7607ad3afdbf65272cd5bb61dba4b415da
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu Mar 10 08:19:03 2022 +0100

    Fail with error when double-rendering text in markdownify/RenderString

    This commit prevents the most commons case of infinite recursion in link render hooks when the `linkify` option is enabled (see below). This is always a user error, but getting a `stack overflow` (the current stack limit in Go is 1 GB on 64-bit, 250 MB on 32-bit) error isn't very helpful. This fix will not prevent all such errors, though, but we may do better once #9570 is in place.

    So, these will fail:

    ```
    <a href="{{ .Destination | safeURL }}" >{{ .Text | markdownify }}</a>
    <a href="{{ .Destination | safeURL }}" >{{ .Text | .Page.RenderString }}</a>
    ```

    `.Text` is already rendered to `HTML`. The above needs to be rewritten to:

    ```
    <a href="{{ .Destination | safeURL }}" >{{ .Text | safeHTML }}</a>
    <a href="{{ .Destination | safeURL }}" >{{ .Text | safeHTML }}</a>
    ```

    Fixes #8959

commit 5697348e1732a5f64ee7467283eb0335f2ec36e8
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 9 18:26:32 2022 +0100

    markup/goldmark: Default to https for linkify

    Fixes #9639

commit f98e570b17d99e0ca7a6e6792a4c741cfc8b81e8
Author: Joe Mooring <joe.mooring@veriphor.com>
Date:   Tue Mar 1 20:27:52 2022 -0800

    Add lang attribute to internal alias template

    Closes #9586

commit cdb8b0842b5371b03fffe5488864e3fabf7f5c03
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 9 11:33:53 2022 +0100

    docs: Regenerate docshelper

commit a360cab75a073c2a8d47dcd27f52a6847e8d8d13
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 9 10:45:02 2022 +0100

    markup/highlight: Add hl_inline option

    If set to true, the highlighted code will not be wrapped in any div.

    Closes #9442

commit c97fed08f90b3758c85d3f67f038cd1f794d16fc
Author: Joe Mooring <joe.mooring@veriphor.com>
Date:   Tue Mar 8 22:48:18 2022 -0800

    minifiers: Make keepWhitespace = false default for HTML (note)

    Closes #9456

commit 53a6210d82eaa2cff7c802df88ff08dac5e7dced
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 8 20:10:19 2022 +0100

    markup/goldmark/codeblocks: Fix slice bounds out of range

    For the Position in code blocks we try to match the .Inner with the original source. This isn't always possible.

    This commits avoids panics in these situations.

    Fixes #9627

commit 7182809d96a1decf937074556ef9f6370b145c4f
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 8 19:40:50 2022 +0100

    docs: Regenerate CLI docs

commit 1f8cd2614dc2e1c221bae40f0a948568798c56ac
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 8 19:40:07 2022 +0100

    docs: Regenerate docshelper

commit 9d76b8fa34436d87ff023d95c39d60144ccd7f4d
Merge: 4576c82e d7065297
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 8 19:39:33 2022 +0100

    Merge commit 'd706529720b3b2ccb99719ccd578062ca25a0cc2'

commit d706529720b3b2ccb99719ccd578062ca25a0cc2
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 8 19:37:17 2022 +0100

    Squashed 'docs/' changes from 3f95a2ace..a393f4cf4

    a393f4cf4 Add a Spellcheck GitHub Action and config
    8b6b1c381 netlify: Bump to Hugo 0.93.3
    84515c183 Delete deployment-with-nanobox.md
    dd45f9899 Fix typos in docs
    e69de81a9 Update build-options.md
    7745b7891 netlify: Hubo 0.93.2
    037d63364 Clarify GitHub Pages Branches
    94660c34b add missing %s
    325de15e2 fix link to latest release note since the release notes were moved to GitHub: https://gohugo.io/news/no-more-releasenotes-here/
    dbff41d01 Update introduction.md
    0ecd627f7 netlify: Hugo 0.93.1
    a74e16582 Update diagrams.md
    33e310956 Add Goat example to test styling
    fa0100a5b Update diagrams.md
    64ac75367 Adjust diagram docs
    f1d600044 Update theme
    95bedff1a netlify: Bump to Hugo 0.93.0
    849a8437f Merge commit 'c1398b91a9f4c67876b31feb67516b252e654d3c'
    c0c60c43c docs: Regenerate docs helper
    2c63fe518 cod: Regen CLI docs
    f33ba4e5a CodeblockContext method renames
    979b47968 Move the Goat template to the correct place
    2df37e9e8 Add Markdown diagrams and render hooks for code blocks
    bd8037d43 Allow images to be cropped without being resized
    8b2af4b49 modules: Add modules.Workspace config for Go 1.18
    46b99dea1 Add --printUnusedTemplates
    1285302c9 commands: Rename --i18n-warnings to printI18nWarnings
    dea2242c6 commands: Rename --path-warnings, --print-men to --printPathWarnings, --printMemoryUsage
    db782ea46 deps: Update github.com/alecthomas/chroma v0.9.4 => v0.10.0

    git-subtree-dir: docs
    git-subtree-split: a393f4cf43829011e96d109de2f039a9b05b2d16

commit 4576c82ed462bc9c3934f76181101df1c5a4157e
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 8 10:06:12 2022 +0100

    Cache reflect.MethodByName

    The isolated benchmark for the function is obviously much faster:

    ```bash
    name                old time/op    new time/op    delta
    GetMethodByName-10    1.21µs ± 7%    0.23µs ± 5%   -81.42%  (p=0.029 n=4+4)

    name                old alloc/op   new alloc/op   delta
    GetMethodByName-10      680B ± 0%        0B       -100.00%  (p=0.029 n=4+4)

    name                old allocs/op  new allocs/op  delta
    GetMethodByName-10      20.0 ± 0%       0.0       -100.00%  (p=0.029 n=4+4)
    ```

    But more pleasing is the overall performance looking at the site benchmarks:

    ```bash
    name                                      old time/op    new time/op    delta
    SiteNew/Regular_Bundle_with_image-10        6.25ms ± 2%    6.10ms ± 2%     ~     (p=0.057 n=4+4)
    SiteNew/Regular_Bundle_with_JSON_file-10    6.30ms ± 2%    5.66ms ±11%     ~     (p=0.057 n=4+4)
    SiteNew/Regular_Tags_and_categories-10      22.2ms ± 2%    17.4ms ± 1%  -21.88%  (p=0.029 n=4+4)
    SiteNew/Regular_Canonify_URLs-10             108ms ± 0%     107ms ± 0%   -1.20%  (p=0.029 n=4+4)
    SiteNew/Regular_Deep_content_tree-10        36.1ms ± 1%    33.8ms ± 1%   -6.44%  (p=0.029 n=4+4)
    SiteNew/Regular_TOML_front_matter-10        24.9ms ± 1%    22.6ms ± 1%   -9.30%  (p=0.029 n=4+4)
    SiteNew/Regular_Many_HTML_templates-10      17.9ms ± 1%    16.7ms ± 1%   -6.43%  (p=0.029 n=4+4)
    SiteNew/Regular_Page_collections-10         23.3ms ± 1%    22.0ms ± 0%   -5.58%  (p=0.029 n=4+4)
    SiteNew/Regular_List_terms-10               8.00ms ± 1%    7.63ms ± 0%   -4.62%  (p=0.029 n=4+4)

    name                                      old alloc/op   new alloc/op   delta
    SiteNew/Regular_Bundle_with_image-10        2.10MB ± 0%    2.07MB ± 0%   -1.46%  (p=0.029 n=4+4)
    SiteNew/Regular_Bundle_with_JSON_file-10    1.88MB ± 0%    1.85MB ± 0%   -1.76%  (p=0.029 n=4+4)
    SiteNew/Regular_Tags_and_categories-10      13.5MB ± 0%    11.6MB ± 0%  -13.99%  (p=0.029 n=4+4)
    SiteNew/Regular_Canonify_URLs-10            96.1MB ± 0%    95.8MB ± 0%   -0.40%  (p=0.029 n=4+4)
    SiteNew/Regular_Deep_content_tree-10        28.4MB ± 0%    27.3MB ± 0%   -3.83%  (p=0.029 n=4+4)
    SiteNew/Regular_TOML_front_matter-10        16.9MB ± 0%    15.1MB ± 0%  -10.58%  (p=0.029 n=4+4)
    SiteNew/Regular_Many_HTML_templates-10      8.98MB ± 0%    8.44MB ± 0%   -6.04%  (p=0.029 n=4+4)
    SiteNew/Regular_Page_collections-10         17.1MB ± 0%    16.5MB ± 0%   -3.91%  (p=0.029 n=4+4)
    SiteNew/Regular_List_terms-10               3.92MB ± 0%    3.72MB ± 0%   -5.03%  (p=0.029 n=4+4)

    name                                      old allocs/op  new allocs/op  delta
    SiteNew/Regular_Bundle_with_image-10         25.8k ± 0%     24.9k ± 0%   -3.49%  (p=0.029 n=4+4)
    SiteNew/Regular_Bundle_with_JSON_file-10     25.8k ± 0%     24.9k ± 0%   -3.49%  (p=0.029 n=4+4)
    SiteNew/Regular_Tags_and_categories-10        288k ± 0%      233k ± 0%  -18.90%  (p=0.029 n=4+4)
    SiteNew/Regular_Canonify_URLs-10              375k ± 0%      364k ± 0%   -2.80%  (p=0.029 n=4+4)
    SiteNew/Regular_Deep_content_tree-10          314k ± 0%      283k ± 0%   -9.77%  (p=0.029 n=4+4)
    SiteNew/Regular_TOML_front_matter-10          302k ± 0%      252k ± 0%  -16.55%  (p=0.029 n=4+4)
    SiteNew/Regular_Many_HTML_templates-10        133k ± 0%      117k ± 0%  -11.81%  (p=0.029 n=4+4)
    SiteNew/Regular_Page_collections-10           202k ± 0%      183k ± 0%   -9.55%  (p=0.029 n=4+4)
    SiteNew/Regular_List_terms-10                55.6k ± 0%     49.8k ± 0%  -10.40%  (p=0.029 n=4+4)
    ```

    Thanks to @quasilyte for the suggestion.

    Fixes 9386

commit ff02d41721a32485c2f232d542d841e78f83fa9b
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 8 19:36:13 2022 +0100

    releaser: Remove the GitHub link syntax around release contributors

    Fixes #9581

commit 63bb2a5b18193602fd442ebafdc85bc36fe05ad2
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 8 17:43:48 2022 +0100

    Some minor adjustments to the new static filesystem logic

    Closes #9625

commit 7d8011ed63d587b87a7c182748914fe146590093
Author: SatowTakeshi <doublequotation@gmail.com>
Date:   Sun Apr 18 16:13:00 2021 +0900

    Allow rendering static files to disk and dynamic to memory in server mode

    Updates #9625

commit b9a1be2f9961516a674ff15a409433606e70ac7b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Mar 3 08:03:55 2022 +0000

    build(deps): bump github.com/kyokomi/emoji/v2 from 2.2.8 to 2.2.9

    Bumps [github.com/kyokomi/emoji/v2](https://github.com/kyokomi/emoji) from 2.2.8 to 2.2.9.
    - [Release notes](https://github.com/kyokomi/emoji/releases)
    - [Commits](https://github.com/kyokomi/emoji/compare/v2.2.8...v2.2.9)

    ---
    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>

commit 09782450393a12735f64d9d904404d17f3440bee
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Mar 4 08:04:06 2022 +0000

    build(deps): bump github.com/evanw/esbuild from 0.14.23 to 0.14.25

    Bumps [github.com/evanw/esbuild](https://github.com/evanw/esbuild) from 0.14.23 to 0.14.25.
    - [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.14.23...v0.14.25)

    ---
    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>

commit ff37df830c49bbba8611853801c4a6eb3d3f61cb
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Mar 4 08:03:59 2022 +0000

    build(deps): bump github.com/niklasfasching/go-org from 1.6.0 to 1.6.2

    Bumps [github.com/niklasfasching/go-org](https://github.com/niklasfasching/go-org) from 1.6.0 to 1.6.2.
    - [Release notes](https://github.com/niklasfasching/go-org/releases)
    - [Commits](https://github.com/niklasfasching/go-org/compare/v1.6.0...v1.6.2)

    ---
    updated-dependencies:
    - dependency-name: github.com/niklasfasching/go-org
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit 5857d5524a6308d7aef1f0b2f60d2933911e390d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Mar 8 08:03:40 2022 +0000

    build(deps): bump github.com/getkin/kin-openapi from 0.90.0 to 0.91.0

    Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.90.0 to 0.91.0.
    - [Release notes](https://github.com/getkin/kin-openapi/releases)
    - [Commits](https://github.com/getkin/kin-openapi/compare/v0.90.0...v0.91.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>

commit d86eca5bb2142f70f6281758054fa43075375bc0
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Tue Mar 8 10:50:30 2022 +0000

    releaser: Prepare repository for 0.94.0-DEV

    [ci skip]

commit 44e3c002a814bf6da1a4c0cb5be7a7f155cedde1
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Tue Mar 8 10:15:27 2022 +0000

    releaser: Bump versions for release of 0.93.3

    [ci skip]

commit 9177849f9be5af33a744fd162bfd17b40146c410
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Tue Mar 8 10:15:27 2022 +0000

    releaser: Add release notes for 0.93.3
    [ci skip]

commit 0e0d672bcba51a6efc75656de37659e85edd234b
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Mar 7 18:08:39 2022 +0100

    Remove the decorator from the fs used in ReadDir

    There have been a site breakage reported in the wild after 0.93.1. With this commit we shoudl be back to how it behaved in 0.92.2.

    Closes #9609

commit 19f816f77e9c0a9caddfd112d525bad8b717da44
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 8 09:09:38 2022 +0100

    Update stale.yml

    operations-per-run: 999

    We need to get this done so the notification gets back to normal.

commit 970f385c48140e2b21028e6952896f324b48a76e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Mar 7 08:03:11 2022 +0000

    build(deps): bump github.com/yuin/goldmark from 1.4.7 to 1.4.8

    Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.4.7 to 1.4.8.
    - [Release notes](https://github.com/yuin/goldmark/releases)
    - [Commits](https://github.com/yuin/goldmark/compare/v1.4.7...v1.4.8)

    ---
    updated-dependencies:
    - dependency-name: github.com/yuin/goldmark
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit 76c1248f70300e7c10f24d8c5a4eb095eddc6da5
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Mar 5 15:47:59 2022 +0100

    Remove the examples/ folder

    These are not maintained and do not belong in this repository.

commit 9e76507da289e0ef0b24e820ef0ce139900e2250
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Fri Mar 4 12:57:53 2022 +0000

    releaser: Prepare repository for 0.94.0-DEV

    [ci skip]

commit 643b5ae9cf2973b20cfb98355e7d9eaa62f9bef8
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Fri Mar 4 12:21:48 2022 +0000

    releaser: Bump versions for release of 0.93.2

    [ci skip]

commit 2f7feca9a122c68dfe964c451e833c0ae0029152
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Fri Mar 4 12:21:48 2022 +0000

    releaser: Add release notes for 0.93.2
    [ci skip]

commit 673cde1eb122888509cca32e322662af08187ff1
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Mar 4 07:07:11 2022 +0100

    tpl/os: Revert readDir in theme behaviour

    Fixes #9599

commit e46e9ceb29581de3a32c8155f7cfd58ab59b2b8f
Author: Joe Mooring <joe.mooring@veriphor.com>
Date:   Wed Mar 2 09:30:57 2022 -0800

    markup/goldmark: Escape image alt attribute

    Fixes #9594

commit 883e71c96a8b0004943d26e73c830061a2ae872c
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Wed Mar 2 12:52:43 2022 +0000

    releaser: Prepare repository for 0.94.0-DEV

    [ci skip]

commit e9669fed14e62417d748244590f91e700f4b9057
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Wed Mar 2 12:16:06 2022 +0000

    releaser: Bump versions for release of 0.93.1

    [ci skip]

commit fefb1caacfdd8b87bcef49b39ec9410dbcc72533
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Wed Mar 2 12:16:06 2022 +0000

    releaser: Add release notes for 0.93.1
    [ci skip]

commit 0327da050f809ff6502ef611a0f77a962dbc8a4b
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 2 10:44:29 2022 +0100

    tpl/transform: Fix it when template.HTML is passes as option to Hightlight

    Fixes #9591

commit 9b8b6d34e2d039bfc040fd865a2e77ce2c278587
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed Mar 2 10:04:29 2022 +0100

    tpl/partials: Fix partialCached deadlock regression

    This is a rollback of  0927cf739fee9646c7fb917965799d9acf080922

    We cannot do that change until we either completes #9570 or possibly also use the new TryLock in GO 1.18.

    Fixes #9588
    Opens #4086

commit 376704d382df163c7a0db066900f021ea5f7894d
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Tue Mar 1 11:30:11 2022 +0100

    tpl/collections: Fix apply when function have Context as first arg

    As introduced in `partial` and `partialCached` in Hugo 0.93.0.

    Fixes #9585

commit c1398b91a9f4c67876b31feb67516b252e654d3c
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Feb 28 10:37:27 2022 +0100

    Squashed 'docs/' changes from 93f7baf80..3f95a2ace

    3f95a2ace Update merge function examples (#1662)
    e8d518011 requires -> require typo fix (#1666)
    e714066cb Update GitLab deployment instructions (#1661)
    11946a218 update GitLab CI/CD yaml syntax (#1649)
    3568ddc03 Add explicit `contentDir` to module-config-mounts (#1658)
    798ac8f68 Add default value to isHTML
    d376565ce Create extensions.json

    git-subtree-dir: docs
    git-subtree-split: 3f95a2ace37b04851905d72e4444020e30996787

commit 41b5bc9637e064f6182dd37fe3077c1582614f5b
Merge: 5a1b394f c1398b91
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Feb 28 10:37:27 2022 +0100

    Merge commit 'c1398b91a9f4c67876b31feb67516b252e654d3c'

commit 5a1b394f2acd18cc4a6652b9e937bad844919a64
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Mon Feb 28 09:05:08 2022 +0000

    releaser: Prepare repository for 0.94.0-DEV

    [ci skip]

commit 0746908247a736e53020ca4535ec0a48e55decd9
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Mon Feb 28 08:30:42 2022 +0000

    releaser: Bump versions for release of 0.93.0

    [ci skip]

commit 75084bfc720e810728329cb384d8f84bf3eda475
Author: hugoreleaser <bjorn.erik.pedersen+hugoreleaser@gmail.com>
Date:   Mon Feb 28 08:30:42 2022 +0000

    releaser: Add release notes for 0.93.0
    [ci skip]

commit 12d00d288cec5018949be06010df7c11d8ff06f0
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Feb 28 08:52:15 2022 +0100

    docs: Regenerate docs helper

commit 260ff1374de71de507ffa435b8e0950aa3cb28a8
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Feb 28 08:30:29 2022 +0100

    markup/highlight: Ignore  HL_lines_parsed in the gen docs

commit 14915a0c32069ac5b318dd4a67017e27135fba91
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Mon Feb 28 08:12:35 2022 +0100

    cod: Regen CLI docs

commit fd0c1a5e9b59954c3a09bbff45306272d5c229df
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Feb 27 18:28:35 2022 +0100

    tpl/diagrams: Rename the SVG accessor to Wrapped

    Not perfect, but it gets it in line with the other .Inner/.Wrapped combos.

commit 3ad39001df84c01a5da8ec7e008ee3835e1a7c4e
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Feb 27 17:57:28 2022 +0100

    markup/highlight: Rework the return value from HighlightCodeblock

    To make it possible to render it with a custom HTML ("<div>")  wrapper.

    Updates #9573

commit 39261b689e47116de5cfd3bee6b6e3af57deb97c
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Feb 27 17:09:11 2022 +0100

    tpl/transform: Add CanHighlight

    Closes #9573

commit cff14144a6306b9a60c4fc56d1dce17f0b3778e9
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Feb 27 19:40:07 2022 +0100

    Rename Codeowners() to CodeOwners()

commit 5f671515504b56d7d1906fa2d17e72de49d84437
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Feb 27 13:36:58 2022 +0100

    tpl/diagrams: Rename Body to Inner

    This relates to #9577 – there's no concept a body element in SVG, so we might as well use an exsisting "Hugo term".

commit f7109771a038e0237350dcfbe20f1036e9c8a46b
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sun Feb 27 13:31:55 2022 +0100

    CodeblockContext method renames

    Fixes #9577

commit e1f696911ebbf870f9b6b814421dc880945a6b9a
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Feb 25 08:04:52 2022 +0000

    build(deps): bump github.com/tdewolff/minify/v2 from 2.9.29 to 2.10.0

    Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.9.29 to 2.10.0.
    - [Release notes](https://github.com/tdewolff/minify/releases)
    - [Commits](https://github.com/tdewolff/minify/compare/v2.9.29...v2.10.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/tdewolff/minify/v2
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit 5f65c17a12213cedbc8cf1348bbf0d98335e4cfb
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Feb 26 18:57:21 2022 +0100

    markup/goldmark: Adjust test for Windows

commit 579ff9b6524ed4e55c191ab94251f5a2fe315f68
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Feb 26 17:24:10 2022 +0100

    markup/goldmark: Improve attributes vs options

    Fixes #9571

commit 928a89696273b1a5defa0e85115c9bd0e167cbf0
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Feb 26 12:52:06 2022 +0100

    markup/goldmark: Add Position to CodeblockContext

    But note that this is not particulary fast and the recommendad usage is error logging only.

    Updates #9574

commit 2e54c009331dc8c6260d16a55d4a13cfff55054d
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Feb 26 11:27:54 2022 +0100

     markup/goldmark: Unify some code block tests

commit 10928a4f781c2faf704825ef95234125812ad860
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Feb 26 10:42:21 2022 +0100

    Remove the trailing new line in .Code

    Fixes #9572

commit afd63bf7d56194a6aa5d32483151d71fa0b84f3a
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat Feb 26 10:32:14 2022 +0100

    markup/goldmark: Rename extension struct

commit 228126b7f5f0544068b35a43f01bae19c63ba798
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Feb 24 22:00:52 2022 +0000

    build(deps): bump github.com/gobuffalo/flect from 0.2.3 to 0.2.4

    Bumps [github.com/gobuffalo/flect](https://github.com/gobuffalo/flect) from 0.2.3 to 0.2.4.
    - [Release notes](https://github.com/gobuffalo/flect/releases)
    - [Commits](https://github.com/gobuffalo/flect/compare/v0.2.3...v0.2.4)

    ---
    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>

commit 0f80be341f5c42a50e71ced04c35550b7f1d6bdc
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri Feb 25 07:45:37 2022 +0100

    markup/goldmark: Use Ordinal to create default lineanchors

    The `Ordinal` starts at 0, so with a `hl-` prefix, this gives `hl-0-1` as a starting point.

    Fixes #9567

commit 78afdb88ab7dc29a29ea9bde9bf66af055ef44c8
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Feb 24 22:00:31 2022 +0000

    build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.0

    Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.4.2 to 1.5.0.
    - [Release notes](https://github.com/gorilla/websocket/releases)
    - [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0)

    ---
    updated-dependencies:
    - dependency-name: github.com/gorilla/websocket
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

commit 3ed83227ba83fab57c03ab5bc5de48c70616fa08
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Feb 24 22:06:06 2022 +0000

    build(deps): bump github.com/sanity-io/litter from 1.5.1 to 1.5.2

    Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter) from 1.5.1 to 1.5.2.
    - [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.1...v1.5.2)

    ---
    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>

commit 1a257bb2ba6fa90f5fcba600d086b34a4fde9a2…
bep added a commit to bep/hugo that referenced this issue Jun 17, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jun 17, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jun 21, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jun 25, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jun 30, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 2, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 4, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 6, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 6, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 7, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 9, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 12, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 13, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 18, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
bep added a commit to bep/hugo that referenced this issue Jul 18, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
bep added a commit to bep/hugo that referenced this issue Jul 18, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
bep added a commit to bep/hugo that referenced this issue Jul 23, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
bep added a commit to bep/hugo that referenced this issue Aug 3, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
bep added a commit to bep/hugo that referenced this issue Sep 16, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
bep added a commit to bep/hugo that referenced this issue Sep 16, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
bep added a commit to bep/hugo that referenced this issue Sep 21, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
bep added a commit to bep/hugo that referenced this issue Oct 6, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
bep added a commit to bep/hugo that referenced this issue Oct 6, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
bep added a commit to bep/hugo that referenced this issue Oct 19, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Oct 20, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Oct 24, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#10386
Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Nov 4, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#10386
Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Nov 6, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#10386
Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Nov 19, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#10386
Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Nov 19, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#10386
Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Nov 21, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#10386
Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Nov 25, 2022
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#10386
Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Jun 1, 2023
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#10386
Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
bep added a commit to bep/hugo that referenced this issue Jul 18, 2023
TODO(bep) improve commit message.

Hugo has always been a active user of in-memory caches, but before this commit we did nothing to control the memory usage.

One failing example would be loading lots of big JSON data files and unmarshal them via `transform.Unmarshal`.

This commit consolidates all these caches into one single LRU cache with an eviction strategy that also considers used vs. available memory.

Hugo will try to limit its memory usage to 1/4 or total system memory, but this can be controlled with the `HUGO_MEMORYLIMIT` environment variable (a float value representing Gigabytes).

A natural next step after this would be to use this cache for `.Content`.

Fixes gohugoio#10386
Fixes gohugoio#8307
Fixes gohugoio#8498
Fixes gohugoio#8927
Fixes gohugoio#9192
Fixes gohugoio#9189
Fixes gohugoio#7425
Fixes gohugoio#7437
Fixes gohugoio#7436
Fixes gohugoio#7882
Updates gohugoio#7544
Fixes gohugoio#9224
Fixes gohugoio#9324
Fixes gohugoio#9352
Fixes gohugoio#9343
Fixes gohugoio#9171
Fixes gohugoio#10104
Fixes gohugoio#10380
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants