0.14.0
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