anyolite v0.10.0 Release Notes

  • ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Support for block arguments
    • ๐Ÿ‘Œ Support for array arguments
    • ๐Ÿ‘Œ Support for hash arguments
    • ๐Ÿ‘Œ Support for symbols, arrays and hashes as returned values
    • ๐Ÿ‘Œ Support for chars
    • Experimental (unsafe) casting of pointers to integers and back

    ๐Ÿ’ฅ Breaking changes

    • Rename convert_arg to convert_regular_arg
    • Rename convert_keyword_arg to convert_from_ruby_to_crystal
    • Rename convert_resolved_arg to resolve_regular_arg
    • Rename convert_resolved_keyword_arg to resolve_from_ruby_to_crystal


    • ๐Ÿ‘ Better error messages when casting incompatible values
    • โž• Added dummy argument parsing to convert type calls into actual types
    • More intelligent conversions (Char <-> String, Int -> Float, Symbol -> String)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixed reference table throwing an error when increasing counter
    • Call rb_finalize only if reference counter is going to be 0
    • ๐Ÿ›  Fixed union type parsing
    • โœ‚ Removed possible error when casting unions