7.6 KiB
date: 2020-12-31 title: "Hugo 0.80: Last Release of 2020!" description: "This release brings Dart Sass support, a new image overlay function, and more." categories: ["Releases"]
The last Hugo release of the year brings a new images.Overlay filter to overlay an image on top of another, e.g. for watermarking, and Dart Sass support.
This release represents 29 contributions by 12 contributors to the main Hugo code base. @bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @moorereason, and @davidsneighbour for their ongoing contributions. And a big thanks to @digitalcraftsman for his relentless work on keeping the themes site in pristine condition and to @davidsneighbour, @coliff and @kaushalmodi for all the great work on the documentation site.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 22 contributions by 6 contributors. A special thanks to @bep, @D4D3VD4V3, @chrischute, and @azenk for their work on the documentation site.
Hugo now has:
- 49096+ stars
- 436+ contributors
- 369+ themes
Notes
Enhancements
Templates
- Regenerate templates a2d146ec @bep
- tpl/internal/go_templates: Revert formatting 718e09ed @bep
- Add title parameter to YouTube shortcode 4fc918e0 @azenk
Output
Other
- Allow Dart Sass transformations to be cached on disk ffbf5e45 @bep
- Dart Sass only supports
expanded
andcompressed
48994ea7 @bep - Update emoji import paths and version 1f7e9f73 @moorereason
- Add Dart Sass support cea15740 @bep #7380#8102
- GroupByParamDate now supports datetimes f9f77978 @zerok
- Skip para test when not on CI a9718f44 @bep #6963
- Update SECURITY.md f802bb23 @bep
- Improve LookPath 10ae7c32 @bep
- create a SECURITY.md ae2d1bd5 @davidsneighbour #8074
- Show more detail on failed time test 8103188b @moorereason #6963
- Add images.Overlay filter 3ba147e7 @bep #8057#4595#6731
- Bump github.com/spf13/cobra from 0.15.0 to 0.20.0 c84ad8db @anthonyfok
- configure proper link to discourse.gohugo.io (#8020) 4e0acb89 @davidsneighbour
- Format code with gofumpt d90e37e0 @bep
- bump github.com/evanw/esbuild from 0.8.15 to 0.8.17 32471b57 @dependabot[bot]
- Use --baseURL path for live-reload URL 0ad378b0 @sth #6595
- bump github.com/getkin/kin-openapi from 0.31.0 to 0.32.0 907d9e92 @dependabot[bot]
Fixes
Templates
- Fix series detection in opengraph d2d493ab @Humberd
- Fix substr when length parameter is zero 5862fd2a @moorereason #7993
- Refactor and fix substr logic 64789fb5 @moorereason #7993
Other
- Fix Resource.ResourceType so it always returns MIME's main type 81975f84 @bep #8052
- hugolib/paths: Fix typo ce96895d @mayocream
- Fix minor typos 04b89857 @phil-davis
- Fix BenchmarkMergeByLanguage 21fa1e86 @bep #7914
- Fix RelURL and AbsURL when path starts with language aebfe156 @ivan-meridianbanc-com