Insanity v0.14.0 Release Notes

Release Date: 2018-08-28 // over 5 years ago
  • ๐Ÿ†• New Features

    • You can now include entire Swift files in Swift templates
    • You can now use AutoEquatable with annotations
    • โœ… Content from multiple file annotations will now be concatenated instead of writing only the latest generated content.

    For example content generated by two following templates

    // sourcery:file:Generated/Foo.swift
    line one
    // sourcery:end
    

    and

    // sourcery:file:Generated/Foo.swift
    line two
    // sourcery:end
    

    will be written to one file:

    line one
    
    line two
    

    Internal Changes

    • ๐Ÿ‘‰ Use AnyObject for class-only protocols

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixed parsing associated enum cases in Xcode 10
    • ๐Ÿ›  Fixed AutoEquatable access level for == func
    • ๐Ÿ›  Fixed path of generated files when linked to Xcode project
    • ๐Ÿ›  Fixed extraction of inline annotations in multi line comments with documentation style
    • ๐Ÿ›  Fixed compile error when used AutoHashable in NSObject subclass.