Hugo 0.90 finally brings remote support to resources.Get
, XML support (in /data
and transform.Unmarshal
), and a new images.Text
filter. A special shoutout and thanks to @vanbroup for his work on these features.
The support for remote Resources
in resources.Get
has been a feature in great demand. This means that you can fetch remote files (images, JSON files, RSS feeds ...) and use them in Hugo Pipes functions as they were local. A contrived example may look like this:
The above fetches both a font and an image remotely and then uses the new images.Text
filter to overlay a text on top of the image.
Numbers
This release represents 58 contributions by 6 contributors to the main Hugo code base.@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @jmooring, @vanbroup, and @dependabot[bot] for their ongoing contributions.
And thanks to @digitalcraftsman for his ongoing work on keeping the themes site in pristine condition.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 17 contributions by 6 contributors. A special thanks to @jmooring, @bep, @santosh, and @coliff for their work on the documentation site.
Hugo now has:
- 55686+ stars
- 431+ contributors
- 415+ themes
Notes
Changes
- Add custom font support to images.Text e71d715 @bep #9253
- images: Fix cache busting of image text filter e61cdf3 @bep #9238
- build(deps): bump github.com/getkin/kin-openapi from 0.80.0 to 0.85.0 6c3bc5e @dependabot[bot]
- images: Text filter that draws text with the given options (#9239) 283394a @vanbroup #9238
- tpl/transform: Optional options for highlight func 5538507 @jmooring #9249
- deps: Upgrade github.com/evanw/esbuild v0.13.12 => v0.14.2 (note) b4f27ef @bep #9244
- releaser: Add "note" to Note regexp 3473e31 @bep
- build(deps): bump github.com/mitchellh/mapstructure from 1.4.2 to 1.4.3 fa0da00 @dependabot[bot]
- releaser: Rework and simplify to use GitHub only for release notes 24a893c @bep
- build(deps): bump google.golang.org/api from 0.51.0 to 0.61.0 bf1564b @dependabot[bot]
- media: Add rss suffix for application/rss+xml cd44d40 @vanbroup #9233
- parser: Add a test case in format resolution 9a326d5 @bep #9233
- lazy: Reset error in Reset b10381f @bep #7043 #9194
- Implement XML data support 0eaaa8f @vanbroup #4470
- Validate private use language tags 58adbee @jmooring #9119
- resources: Add timeout to the HTTP request in Get 93572e5 @bep
- Add a remote retry for resources.Get 94f149b @bep
- Make resources.Get use a file cache for remote resources 6675341 @vanbroup #9228
- Remove empty href element from pagination template 133e4bf @jmooring #9149
- Check for empty deployment targets and matchers f122771 @jmooring #9220
- resources: Adjust the remote Get cache so it does not get evicted on restarts 08a863e @bep
- Add remote support to resources.Get 8aa7257 @vanbroup #5255
- Add deprecation warning to google_news template 75a823a @jmooring #9172
- helpers: Make UniqueStringsReuse allocation free 5e0947c @bep
- releaser: Prepare repository for 0.90.0-DEV 0b70b46 @bep
- releaser: Add release notes to /docs for release of 0.89.4 ab01ba6 @bep
- releaser: Bump versions for release of 0.89.4 cc08c09 @bep
- releaser: Add release notes for 0.89.4 [ci skip] f97da9e @bep
- Fix content dir resolution when main project is a Hugo Module 2e70f61 @bep #9177
- releaser: Prepare repository for 0.90.0-DEV 1ed8069 @bep
- releaser: Add release notes to /docs for release of 0.89.3 c88cdb5 @bep
- releaser: Bump versions for release of 0.89.3 e1064d2 @bep
- releaser: Add release notes for 0.89.3 [ci skip] bf489b9 @bep
- Improve error when we cannot determine content directory in "hugo new" b815545 @bep #9166
- deps: Upgrade github.com/yuin/goldmark v1.4.3 => v1.4.4 08552a7 @jmooring #9159
- commands: Make sure pollInterval is always set fdad91f @bep #9165
- create: Improve archetype directory discovery and tests 5f3f608 @bep #9146
- create: Add a log statement when archetype is a directory 057d02d @bep #9157
- create: Always print "Content ... created" 43ac59d @bep #9157
- commands: Fix missing file locking in server partial render ab5c699 @bep #9162
- modules: Improve error message 9369d13 @davidsneighbour
- releaser: Prepare repository for 0.90.0-DEV 805c24c @bep
- releaser: Add release notes to /docs for release of 0.89.2 63e3a5e @bep
- releaser: Bump versions for release of 0.89.2 eaa6c96 @bep
- releaser: Add release notes for 0.89.2 [ci skip] cf3eb58 @bep
- Fix path resolution in hugo new 2b01c85 @bep #9129
- deps: Upgrade github.com/yuin/goldmark v1.4.2 => v1.4.3 c09f5c5 @bep #9137
- releaser: Prepare repository for 0.90.0-DEV 9232e28 @bep
- releaser: Add release notes to /docs for release of 0.89.1 b6a4ae4 @bep
- releaser: Bump versions for release of 0.89.1 84de0c3 @bep
- releaser: Add release notes for 0.89.1 [ci skip] a074102 @bep
- Revert "releaser: Fat MacOS binaries" da4406e @bep #9131 #9128
- create: Make sure the build lock is released before we open editor 166862a @bep #9121
- readme: Update dependency list 82c33c7 @deining
- releaser: Add "note" to Note regexp 3473e31 @bep
- releaser: Rework and simplify to use GitHub only for release notes 24a893c @bep
- releaser: Simplify the release process 0fa40ce @bep
- releaser: Remove unused code bf537f1 @bep
- docs: Regenerate docs helper e86b331 @bep