v0.139.0
This release is mostly about removing code that has been deprecated for a long time. This has been shown as an ERROR
in the build log and failed the build for at least the last 6 minor Hugo versions, in most cases much longer.
But this is also a full dependency refresh, and there are also some new stuff. For one, we added a -O
flag to hugo server
to open up the site in your browser after start. This is now my (@bep) shortcut to start the server:
function h() {
hugo server -F -O -N -D
}
Note
- dartsass: Remove support for v1 of the protocol/binary (note) 1fd845e @bep
- Remove deprecations <= v0.122.0 (note) ad43d13 @bep
Bug fixes
- dartsass: Fix error message 8d92042 @bep #13065
- Fix extra newline/paragraphs issue with .RenderShortcodes d4de780 @bep #13051
- markup/goldmark: Fix typo in error message e79ee0d @deining
Improvements
- Make sure term is always set e917401 @bep #13063
- dartsass: Add silenceDeprecations option 3b6eaf9 @bep #13045
- Run go mod tidy 5e3133a @bep
- commands: Add -O flag to server to open browser ac6962d @bep #13040
- Preserve input type. 23d21b0 @KN4CK3R
- server: Strip ANSI escape codes from browser error log ce9cf88 @bep #13037
- parser/metadecoders: Add benchmark 8aba6dc @bep
- Add site.Store and hugo.Store and Shortcode.Store a7df536 @bep #13021
- markup/goldmark: Improve the raw HTML omitted warning 2b97a2a @jmooring #13023
Dependency Updates
- build(deps): bump github.com/aws/aws-sdk-go-v2/service/cloudfront eb29814 @dependabot[bot]
- build(deps): bump google.golang.org/api from 0.191.0 to 0.206.0 61e2ce2 @dependabot[bot]
- build(deps): bump github.com/aws/aws-sdk-go-v2 from 1.30.3 to 1.32.4 2d503f8 @dependabot[bot]
- build(deps): bump github.com/fsnotify/fsnotify from 1.7.0 to 1.8.0 3a6b2e6 @dependabot[bot]
- deps: Upgrade github.com/bep/imagemeta v0.8.1 => v0.8.3 6bde8ab @bep
- build(deps): bump golang.org/x/tools from 0.26.0 to 0.27.0 2c54c32 @dependabot[bot]
- build(deps): bump github.com/tdewolff/minify/v2 from 2.20.37 to 2.21.1 7a2f04e @dependabot[bot]
- build(deps): bump github.com/fatih/color from 1.17.0 to 1.18.0 7921777 @dependabot[bot]
- build(deps): bump golang.org/x/image from 0.21.0 to 0.22.0 33e964d @dependabot[bot]
- deps: Upgrade github.com/yuin/goldmark v1.7.4 => v1.7.8 588c901 @bep #12958
- build(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0 46e1705 @dependabot[bot]
- build(deps): bump github.com/hairyhenderson/go-codeowners cb6580d @dependabot[bot]