Skip to content

Releases: ruby/ruby.wasm

2024-05-14-a

14 May 15:32
Compare
Choose a tag to compare

2024-05-13-a

13 May 15:30
Compare
Choose a tag to compare

2024-05-12-a

12 May 15:30
Compare
Choose a tag to compare

2024-05-11-a

11 May 15:30
Compare
Choose a tag to compare

2024-05-10-a

10 May 15:29
Compare
Choose a tag to compare

2024-05-09-a

09 May 15:31
Compare
Choose a tag to compare

2024-05-08-a

08 May 15:30
Compare
Choose a tag to compare

2024-05-07-a

07 May 15:31
Compare
Choose a tag to compare

2024-05-06-a

06 May 15:30
b2bf55a
Compare
Choose a tag to compare

2.6.0

05 May 17:37
Compare
Choose a tag to compare
channel source
3.3 https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.1.tar.gz
3.2 https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.gz
head ruby/ruby@6747fbe77dcac26a457bb1386f55f3c27321040a

Breaking Changes

Predication JS method calls now follows JavaScript's Truthy and Falsy semantics instead of just comparing with true.

Those predication JS method calls that return Truthy values returned Ruby false in 2.5.2 and earlier but returns true in 2.6.0 and later.

obj = JS.eval(<<~JS)
return {
  returnTrue: () => true,
  returnFalse: () => false,
  returnZero: () => 0,
  returnOne: () => 1,
}
JS

obj.returnTrue? # => true
obj.returnFalse? # => false
obj.returnZero? # => false
obj.returnOne?
# (v2.6.0) => true
# (v2.5.2) => false

Pull Requests

Full Changelog: 2.5.2...2.6.0