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 in implementing and inheriting
    • โž• Added support for includes in EJS templates (for example: <%- include('myTemplate.js') %>)
    • โž• Add the lowerFirst filter for Stencil templates.
    • โž• Added isRequired property for Method
    • ๐Ÿ‘Œ 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 with init methods
    • ๐Ÿ‘Œ Improved AutoCases.stencil to use let instead of computed var
    • โšก๏ธ 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