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
toconvert_regular_arg
- Rename
convert_keyword_arg
toconvert_from_ruby_to_crystal
- Rename
convert_resolved_arg
toresolve_regular_arg
- Rename
convert_resolved_keyword_arg
toresolve_from_ruby_to_crystal
Usability
- ๐ 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