Releases: CloudyKit/jet
Releases · CloudyKit/jet
v6.3.1
v6.3.0
What's Changed
- Adds option for custom comment delimiters by @ryanlath in #212
- Some Runtime Errors lacked line numbers by @ryanlath in #214
- Allow DevelopmentMode to be set on or off. by @ryanlath in #213
- remove repeated word in doc by @baxiry in #215
- Add go1.16 embed.FS loader by @ryanlath in #216
- fix ranger empty interface regression by @sauerbraten in #221
New Contributors
Full Changelog: v6.2.0...v6.3.0
v6.2.0
This release
- fixes a panic occurring when ranging over a channel or other custom rangers without setting the value to variable (#200)
- speeds up accessing struct fields and eliminates allocations for many uses of resolveIndex() (#201)
- improves the performance of intsRanger by eliminating allocations (#202)
As a result, it's now possible to execute templates with guaranteed zero memory allocations (during execution) by using a combination of int and custom rangers and either simple field access or custom renderers.
Thank you, @matheusd for submitting these PRs!
Full Changelog: v6.1.0...v6.1.1
v6.1.0
Added dump()
built-in function for development/debugging: https://github.com/CloudyKit/jet/blob/master/docs/builtins.md#dump
Thanks @jan-herout for contributing this! (#189)
v6.0.2
v6.0.1
v6.0.0
Version 6 brings Go API improvements, mainly from #182 and #183. Take a look at the breaking changes documentation for a detailed overview. There are no changes to the template language.