- Basic support for
uplevel:keyword argument inKernel#warn(#2006) - Added a
#respond_to_missing?implementation forBasicObject,Delegator,OpenStruct, that's meant for future support in the Opal runtime, which currently ignores it (#2007) Opal::Compiler#magic_commentsthat allows to access magic-comments format and converts it to a hash (#2038)- Use magic-comments to declare helpers required by the file (#2038)
Opal.$$is now a shortcut forOpal.const_get_relative(#2038)Opal.$$$is now a shortcut forOpal.const_get_qualified(#2038)- Added support for
globalThisas the generic global object accessor (#2047) Opal::Compiler#magic_commentsthat allows to access magic-comments format and converts it to a hash- Use magic-comments to declare helpers required by the file
Opal.$$is now a shortcut forOpal.const_get_relativeOpal.$$$is now a shortcut forOpal.const_get_qualified- Source-map support for Node.js in the default runner (#2045)
- SecureRandom#hex(n) (#2050)
- Added a generic implementation of Kernel#caller and #warn(uplevel:) that works with sourcemaps in Node.js and Chrome (#2065)
- Array#delete_if (#2069)
- Array#keep_if (#2069)
- Array#reject! (#2069)
- Array#select! (#2069)
- Struct#dup (#1995)
- Integer#gcdlcm (#1972)
- Enumerable#to_h (#1979)
- Enumerator#size (#1980)
- Enumerable#min (#1982)
- Enumerable#min_by (#1985)
- Enumerable#max_by (#1985)
- Set#intersect? (#1988)
- Set#disjoint? (#1988)
- Set#keep_if (#1987)
- Set#select! (#1987)
- Set#reject! (#1987)
- Module#alias_method (#1983)
- Enumerable#minmax_by (#1981)
- Enumerator#each_with_index (#1990)
- Range#== (#1992)
- Range#each (#1991)
- Enumerable#zip (#1986)
- Struct#dup not copying
$$data(#1995) - Fixed usage of semicolon in single-line backticks (#2004)
- Module#attr with multiple arguments (#2003)
PathReaderused to try to read missing files instead of respecting themissing_require_severityconfiguration value (#2044)- Removed some unused variables from the runtime (#2052)
- Fixed a typo in the runtime (#2054)
- Fix Regexp interpolation, previously interpolating with other regexps was broken (#2062)
- Set match on StringScanner#skip and StringScanner#scan_until (#2061)
- Fix ruby 2.7 warnings (#2071)
- Updated outdated parser version (#2013)
- Nashorn has been deprecated but GraalVM still supports it (#1997)
- "opal/mini" now includes "opal/io" (#2002)
- Regexps assigned to constants are now frozen (#2007)
Opal.$$changed from being the constant cache of Object to being a shortcut forOpal.const_get_relative(#2038)- Moved REPL implementation from bin/ to its own lib/ file as
opal/repl.rb(#2048) Encoding.default_externalis now initialized with__ENCODING__(#2072)- Keep the MersenneTwister implementation private (#2108)
- Requiring nodejs/stacktrace has been deprecated, source-maps are already supported by the default Node.js runner or by requiring https://github.com/evanw/node-source-map-support before loading code compiled by Opal (#2045)
- Removed special compilation for the
Opal.truthy?andOpal.falsy?helpers (#2076)