2.5.1
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 returnsfalse
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 receiverfloor = JS.global[:Math][:floor] floor.apply(3.14) # => 3
- Results of
to_js
edProc
are now returned to caller side in JSJS.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 blockJS.global[:Promise].new do |resolve, reject| resolve.apply(42) end.await # => 42
Pull Requests
- Prevent a warning in ruby-wasm-emscripten/build-package.sh by @mame in #375
- Use jsDelivr instead of git.savannah.gnu.org by @kateinoigakukun in #377
- Improve error message on assignment to JS by @krmbn0576 in #373
- Bump actions/cache from 3.3.2 to 4.0.0 by @dependabot in #378
- Bump @playwright/test from 1.40.1 to 1.41.1 by @dependabot in #379
- Bump @bjorn3/browser_wasi_shim from 0.2.17 to 0.2.19 by @dependabot in #380
- Bump rollup from 4.9.1 to 4.9.6 by @dependabot in #382
- Bump @rollup/plugin-node-resolve from 15.1.0 to 15.2.3 by @dependabot in #381
- Bump typescript from 5.3.2 to 5.3.3 by @dependabot in #383
- Use
ruby -C
instead ofchdir
in Kernel#system by @kateinoigakukun in #385 - Prepare for PIC support by @kateinoigakukun in #386
- build: Add experimental PIC support for WASI target by @kateinoigakukun in #388
- Accept new style backtrace for Ruby 3.4 by @kateinoigakukun in #390
- Bump minimum baseruby version to 3.0 by @kateinoigakukun in #391
- build: Remove unnecessary DESTDIR from make_args by @kateinoigakukun in #392
- [wasm-pic] Explicitly pass
asyncify-ignore-imports
for non-pic builds by @kateinoigakukun in #397 - Bump actions/cache from 4.0.0 to 4.0.1 by @dependabot in #398
- Bump prettier from 3.1.1 to 3.2.5 by @dependabot in #399
- Bump rollup from 4.9.6 to 4.12.0 by @dependabot in #400
- Bump @playwright/test from 1.41.1 to 1.42.0 by @dependabot in #402
- Bump @types/node from 20.10.6 to 20.11.24 by @dependabot in #403
- Bump @rollup/plugin-json from 6.0.1 to 6.1.0 by @dependabot in #401
- Add
JS::Object#apply
method to call JS function without receiver by @kateinoigakukun in #409 - Include Ruby exception message in VM interleaving error by @kateinoigakukun in #411
- Return the result of Proc when it's called as JS closure by @kateinoigakukun in #410
- Accept block in
JS::Object.new
by @kateinoigakukun in #412 - Accept JS::Object like object in JS::Object#== by @kateinoigakukun in #413
- Build openssl extension in baseruby correctly by @kateinoigakukun in #414
- Rename
wasm32-unknown-wasi
towasm32-unknown-wasip1
in the build system by @kateinoigakukun in #415 - Bump actions/configure-pages from 4 to 5 by @dependabot in #417
- Bump @playwright/test from 1.42.0 to 1.42.1 by @dependabot in #422
- Bump typescript from 5.3.3 to 5.4.3 by @dependabot in #419
- Bump @types/node from 20.11.24 to 20.12.2 by @dependabot in #418
- Bump rollup from 4.12.0 to 4.13.2 by @dependabot in #421
- Bump actions/cache from 4.0.1 to 4.0.2 by @dependabot in #416
- Bump @rollup/plugin-typescript from 11.1.5 to 11.1.6 by @dependabot in #420
- Experimental AOT dynamic extension linking by @kateinoigakukun in #425
Full Changelog: 2.5.0...2.5.1