Releases: SwiftGen/StencilSwiftKit
Releases · SwiftGen/StencilSwiftKit
2.10.1
2.10.0
Breaking Changes
- With the Stencil update, we're deprecating our
StencilSwiftTemplatetemplate class which contained a workaround that's no longer needed. It will also no longer be set by default by thestencilSwiftEnvironmentbuilder.
David Jennes
#159 - With the Stencil update, we're deprecating our
removeNewlinesfilter, as this can now be achieved by the built-in Stencil syntax.
David Jennes
#159
New Features
- Updated to Stencil 0.15.0, which contains many improvements, chief amongst them is whitespace behaviour control.
David Jennes
#159 - Added an
importtag for reusing macro's in multiple templates from a common imported file.
David Jennes
#111 - The
swiftIdentifiernow supports avalidmode, where it will do the bare minimum to get a valid identifier. I.e. it will not change the case of characters at all (compared tonormalmode).
David Jennes
#160
Internal Changes
- Add
Dangerto check pull requests.
David Jennes
#158
2.9.0
New Features
stencilSwiftEnvironmentnow accepts a list of paths (for the template loader) & extensions.
David Jennes
#154
#156- The string filter
replacecan now accept an optional parameterregexto enable regular expressions, see the
documentation
for more information.
David Jennes
JanGorman
#123
#155
Internal Changes
- Update to SwiftLint 0.47.1 and enable some extra SwiftLint rules.
David Jennes
#140
#153
2.8.0
New Features
- Added support for Swift 5.
David Jennes
@fortmarek
#119
#122
#125
#127 - Updated Stencil to the latest version (0.14).
@fortmarek
#127
Bug Fixes
- Fix crash with the
lowerFirstWordfilter when running on empty strings.
@fortmarek
#127
Internal Changes
- Update to SwiftLint 0.42.0 and enable some extra SwiftLint rules.
David Jennes
@fortmarek
#116
#127
#137 - Switch from CircleCI to GitHub Actions.
David Jennes
#128 - Dropped support for Swift 4.2.
David Jennes
#132 - Switched the whole project over to use Swift Package Manager, restructuring some of the internals in the process.
David Jennes
#130 - Made the filter implementations public, so they can be used in other libraries.
David Jennes
#136
2.7.2
Bug Fixes
Parameters: ensure theflattenfunction correctly handles a flag with afalsevalue.
David Jennes
#108
Internal Changes
- Update to SwiftLint 0.30.1 and enable some extra SwiftLint rules.
David Jennes
#112
#114
2.7.1
2.7.0
New Features
- Updated Stencil to the latest version (0.13).
David Jennes
#103
Internal Changes
- Improved the documentation of string filters a bit for a better overview of the inputs & outputs.
David Jennes
#102 - Updated to latest Xcode (10.0).
David Jennes
#103
2.6.0
Bug fixes
- Fixed using filter expression in call node.
Ilya Puchka
#85 - Fixed compilation issue with Xcode 10 & Swift 4.2 by adding hints to help the compiler.
Olivier Halligon
#93 - Migrated to PathKit for url filters. The dirname will return '.' for a filename without base directory.
Rahul Katariya
Philip Jander
#94
New Features
- The
settag can now directly accept an expression as value, see the
documentation
for an explanation on how this differs with the normalset/endset
pair.
David Jennes
#247 - Updated Stencil to the latest version (0.12.1).
David Jennes
#95
#99
Internal Changes
- Updated to latest Xcode (9.3.0).
David Jennes
#86 - Update to SwiftLint 0.27 and enable some extra SwiftLint rules.
David Jennes
#96 - Test Linux SPM support in CI.
David Jennes
#90
2.5.0
New Features
- Updated Stencil to the latest version (0.11.0).
David Jennes
#83
Internal Changes
- Switched to using SwiftLint via CocoaPods instead of our own install scripts.
David Jennes
#78 - Enabled some extra SwiftLint rules for better code consistency.
David Jennes
#79 - Migrated to CircleCI 2.0.
David Jennes
#81 - Migrated to Swift 4, and dropped support for Swift 3.
David Jennes
#80
2.4.0
New Features
- Add
!counterpart for strings boolean filters.
Antondomashnev
#68 - Updated Stencil to the latest version (0.10.1).
Ilya Puchka
#73