rutie v0.7.0 Release Notes

Release Date: 2019-08-19 // almost 3 years ago
  • โž• Added

    • ๐Ÿšš VM::error_pop to get the Ruby Exception and remove it from interfering with the current thread
    • ๐Ÿ’Ž VM::exit to exit the Ruby VM with status code given
    • VM::exit_bang to exit skipping exit handlers
    • ๐Ÿ‘ฏ NilClass has had Copy and Clone derived on it
    • ๐Ÿ’Ž Readme section for Ruby's Future and SemVer
    • ๐Ÿ’Ž VM::abort exit the Ruby VM via abort
    • ๐Ÿšฆ VM::trap for signal handling
    • ๐Ÿ’Ž VM::at_exit for executing Rust code after the Ruby VM stops
    • Float::implicit_to_f

    ๐Ÿ”„ Changed

    • VM::protect takes a function that now returns an AnyObject instead of a Value. VM::protect will become more frequently used and encouraged which is why this change is necessary as Value is meant to be internal.
    • ๐Ÿ“š Avoid showing Value or .value() in any documentation. Prefer .into() when necessary. Value should always be treated as a private API.