v0.148.0
gohugoio/hugov0.148.0Jul 8, 2025by bep
AI Summary
This release introduces GitInfo ancestor tracking and fixes URL handling quirks for home, section, and taxonomy pages. Note: The release notes mention minor breaking changes, but specific details are linked to a separate thread.
Key Highlights
- Added Ancestors (plural) method to GitInfo
- Fixed uglyURLs issues for home, section, and taxonomy
- Fixed branch paths when OutputFormat.Path is configured
- Added support for creating home pages from content adapters
- Changed link and image render hook enablement to enums
New Features
- Ancestors method in GitInfo
- Home page creation from content adapters
Full Release Notes
> [!NOTE] > There's some minor breaking changes in this release. Please [read this](https://discourse.gohugo.io/t/breaking-changes-in-v0-148-0/55257) thread for more information. ## Note * Fix some uglyURLs issues for home, section and taxonomy kind (note) b8ba33ca9 @bep #4428 #7497 * Fix branch paths when OutputFormat.Path is configured (note) f967212b7 @bep #13829 ## Bug fixes * resources/page: Allow full datetime prefix in filenames 1b4c42366 @jmooring #13830 ## Improvements * Add Ancestors (plural) method to GitInfo, rename Ancestor field to Parent 3e2f1cdfd @bep #13839 * Allow creating home pages from content adapters bba6996e1 @bep * Remove the internal GitInfo type and make Page.GitInf() return a pointer 90d397b14 @bep #5693 * source: Expose Ancestor in GitInfo 61e6c730d @jenbroek #5693 * config: Increase test coverage 266d46dcc @pixel365 * markup/goldmark: Change link and image render hook enablement to enums 84b31721b @jmooring #13535 * hugolib: Honor implicit "page" type during template selection cfc8d315b @jmooring #13826 * deploy: walkLocal worker pool for performance dd6e2c872 @davidejones ## Dependency Updates * build(deps): bump github.com/evanw/esbuild from 0.25.5 to 0.25.6 0a5b87028 @dependabot[bot] * build(deps): bump github.com/olekukonko/tablewriter from 1.0.7 to 1.0.8 94e2c276a @dependabot[bot] * build(deps): bump github.com/niklasfasching/go-org from 1.8.0 to 1.9.0 e77b2ad8f @dependabot[bot] * build(deps): bump github.com/alecthomas/chroma/v2 from 2.18.0 to 2.19.0 9487acf6a @dependabot[bot] * build(deps): bump golang.org/x/tools from 0.32.0 to 0.34.0 1e9a0b93e @dependabot[bot]