Skip to content

Releases: ruby/ruby.wasm

2024-04-28-a

28 Apr 15:16
9c9e0ce
Compare
Choose a tag to compare

2024-04-27-a

27 Apr 15:30
3e7805b
Compare
Choose a tag to compare

2024-04-26-a

26 Apr 15:31
Compare
Choose a tag to compare

2024-04-25-a

25 Apr 15:30
Compare
Choose a tag to compare

2024-04-24-a

25 Apr 04:16
Compare
Choose a tag to compare

2.5.1

21 Apr 06:54
Compare
Choose a tag to compare
channel source
3.3 https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz
3.2 https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.3.tar.gz
head ruby/ruby@381ce130aec150098e5e3418eb435ec7ce46820d

What's Changed

  • Tarball files are renamed: ruby-<channel>-wasm32-unknown-wasi.tar.gz -> ruby-<channel>-wasm32-unknown-wasip1.tar.gz.
  • JS::Object#== now returns false when comparing with non-JS::Object instead of raising exception.
    JS.eval("return 42;") != Object.new
    # (v2.5.1) => false
    # (v2.5.0) => `==': wrong argument type Integer (expected jsvalue) (TypeError) 
  • JS::Object#apply method is added to call JS function without receiver
    floor = JS.global[:Math][:floor]
    floor.apply(3.14) # => 3
  • Results of to_jsed Proc are now returned to caller side in JS
    JS.eval("return [1, 2]").map { _1.to_i * 2 }
    # (v2.5.1) => [2, 4]
    # (v2.5.0) => [undefined, undefined]
  • JS::Object.new now accepts trailing block
    JS.global[:Promise].new do |resolve, reject|
      resolve.apply(42)
    end.await # => 42

Pull Requests

Full Changelog: 2.5.0...2.5.1

2024-04-23-a

23 Apr 15:29
Compare
Choose a tag to compare

2024-04-22-a

22 Apr 15:29
Compare
Choose a tag to compare

2024-04-21-a

21 Apr 15:23
Compare
Choose a tag to compare

2024-04-20-a

20 Apr 15:27
Compare
Choose a tag to compare