gohugoio/hugo (gohugoio/hugo)
### [`v0.138.0`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.138.0)
[Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.137.1...v0.138.0)
This release soft deprecates [Page.Scratch](https://gohugo.io/methods/page/scratch/) and aliases it to [Page.Store](https://gohugo.io/methods/page/store/). The only difference between the two has been that the `Page.Scratch` was reset on rebuilds, which becomes problematic when state is written by cached content (typically `.Content`). The original motivation behind adding a new and not changing the existing method was to avoid breakage, but in hind-sight, it would have fixed more than it broke.
This release also includes a fix for a data race that I, [@bep](https://redirect.github.com/bep), introduced in `v0.137.0`.
##### What's Changed
- Fix concurrent map read and map write in short page lookups [`95e2d5b`](https://redirect.github.com/gohugoio/hugo/commit/95e2d5beb) [@bep](https://redirect.github.com/bep) [#13019](https://redirect.github.com/gohugoio/hugo/issues/13019)
- Alias Page.Scratch to Page.Store (note) [`2c3efc8`](https://redirect.github.com/gohugoio/hugo/commit/2c3efc810) [@bep](https://redirect.github.com/bep) [#13016](https://redirect.github.com/gohugoio/hugo/issues/13016)
### [`v0.137.1`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.137.1)
[Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.137.0...v0.137.1)
##### What's Changed
- common/hugo: Add withdeploy to the version string printed in hugo version [`ca4fc58`](https://redirect.github.com/gohugoio/hugo/commit/ca4fc587c) [@bep](https://redirect.github.com/bep)
- markup: Goldmark log "Raw HTML omitted" warning also for inline HTML [`4faaaf9`](https://redirect.github.com/gohugoio/hugo/commit/4faaaf9c2) [@bep](https://redirect.github.com/bep) [#13013](https://redirect.github.com/gohugoio/hugo/issues/13013)
- build: Add missing withdeploy archive for Windows [`94b46c3`](https://redirect.github.com/gohugoio/hugo/commit/94b46c36b) [@bep](https://redirect.github.com/bep) [#13009](https://redirect.github.com/gohugoio/hugo/issues/13009)
- commands: Print the "deploy not available" error message even if flags provided [`2b0b3b8`](https://redirect.github.com/gohugoio/hugo/commit/2b0b3b858) [@bep](https://redirect.github.com/bep) [#13012](https://redirect.github.com/gohugoio/hugo/issues/13012)
- tpl/tplimpl: Create an embedded comment shortcode [`801035b`](https://redirect.github.com/gohugoio/hugo/commit/801035bb7) [@jmooring](https://redirect.github.com/jmooring) [#13010](https://redirect.github.com/gohugoio/hugo/issues/13010)
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.137.0
->0.138.0
Release Notes
gohugoio/hugo (gohugoio/hugo)
### [`v0.138.0`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.138.0) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.137.1...v0.138.0) This release soft deprecates [Page.Scratch](https://gohugo.io/methods/page/scratch/) and aliases it to [Page.Store](https://gohugo.io/methods/page/store/). The only difference between the two has been that the `Page.Scratch` was reset on rebuilds, which becomes problematic when state is written by cached content (typically `.Content`). The original motivation behind adding a new and not changing the existing method was to avoid breakage, but in hind-sight, it would have fixed more than it broke. This release also includes a fix for a data race that I, [@bep](https://redirect.github.com/bep), introduced in `v0.137.0`. ##### What's Changed - Fix concurrent map read and map write in short page lookups [`95e2d5b`](https://redirect.github.com/gohugoio/hugo/commit/95e2d5beb) [@bep](https://redirect.github.com/bep) [#13019](https://redirect.github.com/gohugoio/hugo/issues/13019) - Alias Page.Scratch to Page.Store (note) [`2c3efc8`](https://redirect.github.com/gohugoio/hugo/commit/2c3efc810) [@bep](https://redirect.github.com/bep) [#13016](https://redirect.github.com/gohugoio/hugo/issues/13016) ### [`v0.137.1`](https://redirect.github.com/gohugoio/hugo/releases/tag/v0.137.1) [Compare Source](https://redirect.github.com/gohugoio/hugo/compare/v0.137.0...v0.137.1) ##### What's Changed - common/hugo: Add withdeploy to the version string printed in hugo version [`ca4fc58`](https://redirect.github.com/gohugoio/hugo/commit/ca4fc587c) [@bep](https://redirect.github.com/bep) - markup: Goldmark log "Raw HTML omitted" warning also for inline HTML [`4faaaf9`](https://redirect.github.com/gohugoio/hugo/commit/4faaaf9c2) [@bep](https://redirect.github.com/bep) [#13013](https://redirect.github.com/gohugoio/hugo/issues/13013) - build: Add missing withdeploy archive for Windows [`94b46c3`](https://redirect.github.com/gohugoio/hugo/commit/94b46c36b) [@bep](https://redirect.github.com/bep) [#13009](https://redirect.github.com/gohugoio/hugo/issues/13009) - commands: Print the "deploy not available" error message even if flags provided [`2b0b3b8`](https://redirect.github.com/gohugoio/hugo/commit/2b0b3b858) [@bep](https://redirect.github.com/bep) [#13012](https://redirect.github.com/gohugoio/hugo/issues/13012) - tpl/tplimpl: Create an embedded comment shortcode [`801035b`](https://redirect.github.com/gohugoio/hugo/commit/801035bb7) [@jmooring](https://redirect.github.com/jmooring) [#13010](https://redirect.github.com/gohugoio/hugo/issues/13010)Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.