Skip to content

TruffleRuby - GraalVM Community Edition 1.0 RC15

Pre-release
Pre-release
Compare
Choose a tag to compare
@ansalond ansalond released this 05 Apr 16:14
· 14977 commits to master since this release

Bug fixes:

  • Improved compatibility with MRI's Float#to_s formatting (#1626).
  • Fixed String#inspect when the string uses a non-UTF-8 ASCII-compatible encoding and has non-ASCII characters.
  • Fixed puts for strings with non-ASCII-compatible encodings.
  • rb_protect now returns Qnil when an error occurs.
  • Fixed a race condition when using the interpolate-once (/o) modifier in regular expressions.
  • Calling StringIO#close multiple times no longer raises an exception (#1640).
  • Fixed a bug in include file resolution when compiling C extensions.

New features:

  • Process.clock_getres has been implemented.

Changes:

  • debug, profile, profiler, which were already marked as unsupported, have been removed.
  • Our experimental JRuby-compatible Java interop has been removed - use Polyglot and Java instead.
  • The Trufle handle patches applied to psych C extension have now been removed.
  • The rb_tr_handle_* functions have been removed as they are no longer used in any C extension patches.

Bug fixes:

  • autoload :C, "path"; require "path" now correctly triggers the autoload.
  • Fixed UDPSocket#bind to specify family and socktype when resolving address.
  • The shell standard library can now be require-d.
  • Fixed a bug where for could result in a NullPointerException when trying to assign the iteration variable.
  • Existing global variables can now become aliases of other global variables (#1590).

Compatibility:

  • ERB now uses StringScanner and not the fallback, like on MRI. As a result strscan is required by require 'erb' (#1615).
  • Yield different number of arguments for Hash#each and Hash#each_pair based on the block arity like MRI (#1629).
  • Add support for the base keyword argument to Dir.{[], glob}.