Insanity v0.5.3 Release Notes

  • ๐Ÿ†• New Features

    • โž• Added support for method return types with throws and rethrows
    • โž• Added a new filter replace. Usage: {{ name|replace:"substring","replacement" }} - replaces occurrences of substring with replacement in name (case sensitive)
    • ๐Ÿ‘Œ Improved support for inferring types of variables with initial values
    • Sourcery is now bundling a set of example templates, you can access them in Templates folder.
    • ๐ŸŽ We now use parallel parsing and cache source artifacts. This leads to massive performance improvements:
    • e.g. on big codebase of over 300 swift files: ``` Sourcery 0.5.2 Processing time 8.69941002130508 seconds

    Sourcery 0.5.3 First time 4.69904798269272 seconds Subsequent time: 0.882099032402039 seconds

    
    ### ๐Ÿ› Bug Fixes
    - ๐Ÿ›  Method `accessLevel` was not exposed as string so not accessible properly via templates, fixed that.
    - ๐Ÿ›  Fixes on Swift Templates