988f7d5c2 Document default `enableInlineShortcodes` value 0f604a345 Fix typo in 0.66.0 release note 26fc74fe3 How to access individual EXIF data tags d5d3bad9a Fix localhost links fa6921213 Update index.md 5bf558f78 Release 0.66.0 74ccdaaf5 Merge branch 'temp660' 75faa478b releaser: Add release notes to /docs for release of 0.66.0 c4a4a9922 docs: Regen CLI docs 0624ac198 Add build.UseResourceCacheWhen 58a8d7cd1 Add build options documentation d926c595e fix typo 99713d44b resources: Add basic @import support to resources.PostCSS 224b96cf7 deploy: Implement include/exclude filters for deploy eb1a00050 Adjusting description; WordPress with capitalized P 91d8efa22 Add another tool for migration from the Wordpress a6938a4ac Adjust showcase description a9c0a0a69 Adjust showcase e5af08aa6 Adding Aether as a proposed showcase item. 0013daa34 Add hugo.IsProduction function 34c419ef3 tpl: Add math.Sqrt 5bdab0ebd Update minification.md 9039332e2 Hugo 0.65.3 1400caf3a Merge branch 'temp653' 9796bb337 releaser: Add release notes to /docs for release of 0.65.3 65b26598f Fix typo 23aa57d80 Fix crashes for 404 in IsAncestor etc. 42c54bc6c 0.65.2 67fd5c1f6 Merge branch 'temp652' d820ac017 releaser: Add release notes to /docs for release of 0.65.2 51f0888ff Release 0.65.1 91e95260c releaser: Add release notes to /docs for release of 0.65.1 1880ebf05 fix broken link on internal.md ffaa33889 Update migrations.md de4d64675 Another tool for migration from Medium platform 90b178d77 releaser: Add release notes to /docs for release of 0.65.1 6925cda30 Handle corner case with rendering text as code in URL 3cb4b19dd Release 0.65.0 7a600cb99 Merge branch 'temp650' ef9531ff6 releaser: Add release notes to /docs for release of 0.65.0 9bc19606f docs: Regenerate CLI docs d4a886ed2 Add Page.GetTerms a3bf273a5 fix broken link on use-modules.md 001f52f4e Fix mage URL in development.md eef72e887 Merge commit '4b670bc8cc38103c2c60e5090c2f56bf30832b8d' b18a76631 commands: Support "hugo mod get -u ./..." git-subtree-dir: docs git-subtree-split: 988f7d5c2d7a1d40ec2c8ab961cb5a4e41b5bd4c
7.9 KiB
date: 2020-03-03 title: "Hugo 0.66.0: PostCSS Edition" description: "Native inline, recursive import support in PostCSS/Tailwind, "dependency-less" builds, and more …" categories: ["Releases"]
This release adds inline @import
support to resources.PostCSS
, with imports relative to Hugo's virtual, composable file system. Another useful addition is the new build
configuration section. As an example in config.toml
:
[build]
useResourceCacheWhen = "always"
The above will tell Hugo to always use the cached build resources inside resources/_gen
for the build steps requiring a non-standard dependency (PostCSS and SCSS/SASS). Valid values are never
, always
and fallback
(default).
This release represents 27 contributions by 8 contributors to the main Hugo code base.@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @anthonyfok, @carlmjohnson, and @sams96 for their ongoing contributions. And a big thanks to @digitalcraftsman and @onedrawingperday for their relentless work on keeping the themes site in pristine condition and to @davidsneighbour 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 8 contributions by 5 contributors. A special thanks to @bep, @nantipov, @regisphilibert, and @inwardmovement for their work on the documentation site.
Hugo now has:
- 41984+ stars
- 439+ contributors
- 299+ themes
Enhancements
Templates
- Change error message on missing resource d7798906 @sams96 #6942
- Add math.Sqrt d184e505 @StarsoftAnalysis #6941
Other
- Skip some tests on CircleCI 6a34f88d @bep
- {{ in }} should work with html.Template type ae383f04 @carlmjohnson #7002
- Regen CLI docs ee31e61f @bep
- Add --all flag to hugo mod clean 760a87a4 @bep
- Add build.UseResourceCacheWhen 3d3fa5c3 @bep #6993
- Update dependency list in README.md ee3d0213 @anthonyfok
- Add full filename to image when processing fails 305ce1c9 @bep #7000
- Update dependency list in README 449deb7f @anthonyfok
- Add basic @import support to resources.PostCSS b66d38c4 @bep #6957#6961
- Implement include/exclude filters for deploy 05a74eae @vangent #6922
- Update to Go 1.14 and 1.13.8 33ae6210 @bep #6958
- Add hugo.IsProduction function 1352bc88 @hcwong #6873
- Apply missing go fmt 76b2afe6 @bep
Fixes
Output
Core
- Fix error handling in page collector 3e9db2ad @bep #6988
- Fix 2 Paginator.Pages taxonomy regressions 7ef5a4c8 @bep #6921#6918
- Fix deletion of orphaned sections a70bbd06 @bep #6920
Other
- Fix ref/relref short lookup for pages in sub-folder 8947c3fa @bep #6952
- Fix ref/relRef regression for relative refs from bundles 1746e8a9 @bep #6952
- Fix potential infinite recursion in server change detection 6f48146e @bep #6986
- Fix rebuild logic when editing template using a base template b0d85032 @bep #6968
- Fix panic when home page is drafted 0bd6356c @bep #6927
- Fix goldmark toc rendering ca68abf0 @satotake #6736#6809
- Fix crashes for 404 in IsAncestor etc. a524124b @bep #6931
- Fix panic in 404.Parent 4c2a0de4 @bep #6924