Insanity v0.5.4 Release Notes

  • ๐Ÿ†• New Features

    • โž• Added inline code generation
    • โž• Added isClosure property to TypeName to detect closure types

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixed parsing of associated values separater by newlines
    • ๐Ÿ›  Fixed preserving order of inherited types
    • ๐Ÿ‘Œ Improved support for throwing methods in protocols
    • ๐Ÿ›  Fixed extracting parameters of methods with closures in their bodies
    • ๐Ÿ›  Fixed extracting method return types of tuple types
    • ๐Ÿ‘Œ Improved support for typealises as tuple elements types
    • Method parameters with _ argument label will now have nil in argumentLabel property
    • ๐Ÿ‘Œ Improved support for generic methods
    • ๐Ÿ‘Œ Improved support for contained types

    Internal changes

    • โšก๏ธ adjusted internal templates and updated generated code
    • ๐Ÿšš moved methods parsing related tests in a separate spec