Insanity v0.6.1 Release Notes
-
๐ New Features
- 0๏ธโฃ Paths in config file are now relative to config file path by default, absolute paths should start with
/
- ๐ Improved logging and error reporting, added
--quiet
CLI option, added runtime errors for using invalid types inimplementing
andinheriting
- โ Added support for includes in EJS templates (for example:
<%- include('myTemplate.js') %>
) - โ Add the
lowerFirst
filter for Stencil templates. - โ Added
isRequired
property forMethod
- ๐ Improved parsing of closure types
- ๐ Check if Current Project Version match version in podspec in release task
- ๐ Improved swift templates performance
- โ Added
// sourcery:file
annotation for source code
๐ Bug fixes
- ๐ Fixed detecting computed properties
- ๐ Fixed typo in
isConvenienceInitialiser
property - ๐ Fixed creating cache folder when cache is disabled
- ๐ Fixed parsing multiple enum cases annotations
- ๐ Fixed parsing inline annotations when there is an access level or attribute
- ๐ Fixed parsing
required
attribute - ๐ Fixed typo in
guides/Writing templates.md
Internal changes
- ๐ Improved
AutoMockable.stencil
to support protocols withinit
methods - ๐ Improved
AutoCases.stencil
to uselet
instead of computedvar
- โก๏ธ Updated StencilSwiftKit to 1.0.2 which includes Stencil 0.9.0
- โ Adding docset to release archive
- โ Add tests for bundled stencil templates
- ๐ Moved to CocoaPods 1.2.1
- Made Array.parallelMap's block non-escaping
- 0๏ธโฃ Paths in config file are now relative to config file path by default, absolute paths should start with