Some of the notable new features in this release:
* [strings.Diff](https://gohugo.io/functions/strings/diff/) template func.
* [.PageInner](https://gohugo.io/render-hooks/images/#pageinner) in render hooks to get the inner page when using `.RenderShortcode` in a shortcode, typically used to resolve links and page resources relative to an included `Page`.
* Add [`Luminance`](https://gohugo.io/methods/resource/colors/) to `$image.Color`, allowing for sorting by relative luminance. e197c7b29 bep #10450
This release is built with Go 1.22.2 (12351) which comes with a fix for security issue CVE-2023-45288. We don't see how that could be exploited in Hugo, but we do appreciate that people want a clean security report.
Bug fixes
* Fix server rebuilds when adding a content file on Linux fa60a2fbc bep 12362
* helpers: Fix TrimShortHTML when used with AsciiDoc content 6049ba99f jmooring 12369
* github: Fix CI build 9323376df bep
* all: Fix duplicate words in comments bf0b14036 grimreaper
* all: Typo fixes 17765a745 coliff
* hugolib: Fix regression for blank summaries 26640525a curegit
* Fix sectionPagesMenu for pages in root level 488b21d15 bep 12306
* Fix resource bundling for overlapping page.md vs page.txt 983b8d537 bep 12320
* Fix panic with debug.Dump with Page when running the server 38e05bd3c bep 12309
* resources/page: Fix GoDoc comment 27414d43a availhang
Improvements
* Add Luminance to Color e197c7b29 bep 10450
* Pass .RenderShortcodes' Page to render hooks as .PageInner df11327ba bep 12356
* github: Add a "free space" step on Ubuntu 8e50ccfae bep
* helpers: Add BenchmarkTrimShortHTML bfc3122f8 bep
* github: Update actions 00ae8e8c7 bep
* github: Format GitHub actions files e423e5627 bep
* hugolib: Display server address after each rebuild 09eb82282 jmooring 12359
* resources/page: Add taxonomies Page method a6e843917 jmooring 12316
* commands: Adjust completions 38f68cd16 bep
* completion: Improve existing argument completions, add many more a67650b6f scop
* Upgrade to Go 1.22.2 2a060b37a bep 12351
* babel: Run go fmt 92de8625c bep
* babel: Close file before removing 7907935a4 testwill
* bump golang.org/x/mod from 0.16.0 to 0.17.0 02d5ec14f dependabot[bot]
* resources/page: Escape hash sign in permalinks 4500b0e42 sorenisanerd 4926 8232 12342
* tpl/strings: Improve type checking 7bf1abfc5 jmooring
* tpl/tplimpl: Improve youtube shortcode 8a0ea12d8 jmooring 3694 9213 10520 10575 10576
* errors: Return error from cast.ToStringE() consistently 6f07e5976 seiyab
* tpl/tplimpl: Improve embedded opengraph template 2da4ec573 jmooring 8296 8698 8991 9818 9866 10647
* tpl/strings: Create strings.Diff template function 6624979e1 jmooring 12330
* tpl/tplimpl: Optionally exclude content from sitemap 6738a3e79 jmooring 653 12282
* tpl/tplimpl: Remove trailing slash from void elements 2f7df4b92 jmooring 11867
* tpl/tplimpl: Update RSS template f0a26cf58 jmooring 3918 11692
* tpl/tplimpl: Update schema template 74ce5dc84 jmooring 7570
* resources: Use different cache key when copying resources 54a8f0ce2 jmooring 10412 12310
* tpl/tplimpl: Update Google Analytics template and config ebfca61ac jmooring 11802 10093
* hugolib: Conditionally suppress .Site.Author deprecation notice e1917740a jmooring 12297
Dependency Updates
* build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 fe63de3a8 dependabot[bot]
* build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 a18e2bcb9 dependabot[bot]
* build(deps): bump golang.org/x/tools from 0.19.0 to 0.20.0 97df6be59 dependabot[bot]
* build(deps): bump golang.org/x/net from 0.23.0 to 0.24.0 e9b8bec43 dependabot[bot]
* build(deps): bump github.com/getkin/kin-openapi from 0.123.0 to 0.124.0 888cc1e61 dependabot[bot]
* build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 060cce0a9 dependabot[bot]
* build(deps): bump github.com/yuin/goldmark from 1.7.0 to 1.7.1 5608ba1f7 dependabot[bot]
* build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront 2fedca6c8 dependabot[bot]
* build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 07873b74b dependabot[bot]
Documentation
* docs: Regen docshelper df9f2fb61 bep
* hugolib: Add an asciidoc rebuild test case 74e912956 bep 12375
* markup/asciidocext: Add Level to Heading struct c837f36ab jmooring 12291