Skip to content

2.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Jul 15:36
· 763 commits to main since this release
channel source
head ruby/ruby@91e13a520730add19efb7ff05274f54824cb64fc
3_2 ruby/ruby@a528908271c678360d2d8ca232c178e7cdd340b4

What's Changed

  • New @ruby/wasm-wasi core package is added to share Ruby version-independent code among version-specific packages
  • Several js library API added: JS::Object#new, JS::True, JS::False, and boolean conversion to ? suffixed predicate method
    searchParams = JS.global[:URLSearchParams].new(JS.global[:location][:search])
    # "URLSearchParams.has" returns Boolean in JS,
    # and '?' indicates the returned JS boolean is converted to Ruby boolean
    if searchParams.has?('q')
      # ...
    end
  • JS::Object#await is now available also under <script type="text/ruby" data-eval="async">
  • Improved stack size related crashes

Pull Requests

Full Changelog: 2.0.0...2.1.0