6c2195936 Update featured.png 109a0fcca add len function to navigation side menu 39a356bc5 Revert "Add some rickrolls redirects" b8393b1b5 Add some rickrolls redirects 2ce21c34b Update configuration-markup.md (add rel="noopener") 95bd7974e Disambiguate global and page resources 5e233dc4b Update base.md 959b9dc3a Fix typo on "where" page aff8059a1 Release 0.70.0 44a172ac0 releaser: Add release notes to /docs for release of 0.70.0 1b01c8988 Release 0.70.0 5ece21c6c Merge commit '89044b8f8795f17c36396c67823183a20fc88139' 0894aec5b Rename transpileJS to babel 5da27c7a6 resources: Add JavaScript transpiling solution git-subtree-dir: docs git-subtree-split: 6c21959360394165435fa36eac489bf6a701ae9a
6 KiB
date: 2020-05-06 title: "JavaScript Transpiler" description: "Hugo 0.70.0 adds a new pipe function that uses Babel to transpile JavaScript." categories: ["Releases"]
This is a small release, and the main new feature is that you can now use Babel to transpile JavaScript.
This release represents 22 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 @BurtonQin, @tekezo, and @sensimevanidus 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 6 contributions by 4 contributors. A special thanks to @bep, @MJ2097, @jeremyzilar, and @larryclaman for their work on the documentation site.
Hugo now has:
- 43734+ stars
- 437+ contributors
- 316+ themes
Enhancements
Templates
- Change defer RLock to RUnlock 5146dc61 @BurtonQin
Output
Core
- Add Unlock before panic 736f84b2 @BurtonQin
Other
- Update minify to v2.6.2 01befcce @pperzyna #6699
- Add support for sort by boolean 04b1a6d9 @Mipsters
- Update to Libsass 3.6.4 dd31e800 @bep #7231
- Rename transpileJS to babel 6add6d77 @bep #5764
- Add JavaScript transpiling solution 2a171ff1 @hmmmmniek #5764
- Disable a test locally 67f92041 @bep
- Add diagnostic hints to init timeout message fe60b7d9 @mtlynch
- Update goldmark-highlighting 5c41f41a @satotake #7027#6596
- Update go-org to v1.1.0 2b28e5a9 @niklasfasching
- Update to goldmark v1.1.28 feaa582c @bep #7113
Fixes
Other
- Fix some missing JS class collector cases c03ea2b6 @bep #7216
- Fix IsAncestor and IsDescendant when the same page is passed 8d5766d4 @tekezo
- Fix IsAncestor and IsDescendant under subsection 27a4c441 @tekezo
- Fix typo in test suite 49e6c8cb @panakour
- Fix class collector when running with --minify f37e77f2 @bep #7161
- Fix toLower 27af5a33 @bep #7198
- Fix broken test b3c82575 @bep
- Fix typo in Hugo's Security Model cd4d8202 @sensimevanidus
- Fix query parameter handling in server fast render mode ee67dbef @bep #7163