rutie v0.7.0 Release Notes

Release Date: 2019-08-19 // 5 months 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.

Previous changes from v0.6.1

  • ➕ Added

    • 💎 Encoding::is_compatible which is the same as Ruby's Encoding.compatible?