Stencil v0.14.0 Release Notes
Release Date: 2020-08-17 // over 3 years ago-
๐ฅ Breaking
- โฌ๏ธ Drop support for Swift < 4.2. For Swift 4 support, you should use Stencil 0.13.1.
David Jennes #294
โจ Enhancements
- โ Added support for dynamic filter using
filter
filter. With that you can define a variable with a name of filter , i.e.myfilter = "uppercase"
and then use it to invoke this filter with{{ string|filter:myfilter }}
.
Ilya Puchka #203
๐ Deprecations
None
๐ Bug Fixes
- ๐ Fixed using parenthesis in boolean expressions, they now can be used without spaces around them.
Ilya Puchka #254 - Throw syntax error on empty variable tags (
{{ }}
) insteadfatalError
.
Ilya Puchka #263
Internal Changes
Token
type converted to struct to allow computing token components only once.
Ilya Puchka #256- โ Added SwiftLint to the project.
David Jennes #249 - โก๏ธ Updated to Swift 5.
Jungwon An #268
- โฌ๏ธ Drop support for Swift < 4.2. For Swift 4 support, you should use Stencil 0.13.1.