Insanity v0.8.0 Release Notes
-
๐ New Features
- โ Added support in
AutoHashable
for static variables,[Hashable]
array and[Hashable: Hashable]
dictionary - โ Added
definedInType
property forMethod
andVariable
- โ Added
extensions
filter for stencil template - โ Added include support in Swift templates
- Swift templates now can throw errors. You can also throw just string literals.
- โ Added support for TypeName in string filters (except filters from StencilSwiftKit).
๐ Bug fixes
- ๐ Fixed linker issue when using Swift templates
- โก๏ธ Updated
AutoMockable
to exclude generated code collisions - ๐ Fixed parsing of default values for variables that also have a body (e.g. for
didSet
) - ๐ Fixed line number display when an error occur while parsing a Swift template
- ๐ Fixed
rsync
issue onSourceryRuntime.framework
when using Swift templates - ๐ Fixed
auto:inline
for nested types (this concerns the first time the code is inserted)
Internal changes
- ๐ Fix link for template in docs
- ๐ Fix running Sourcery in the example app
- โ Add step to update internal boilerplate code during the release
- โ Added support in