Releases: ruby/ruby.wasm
Releases · ruby/ruby.wasm
2024-05-10-a
2024-05-09-a
2024-05-08-a
2024-05-07-a
2024-05-06-a
2.6.0
| 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) => falsePull Requests
- Matches the return value of a JavaScript method with ? with a true/false decision in a JavaScript if statement by @ledsun in #443
- Skip building the native extension of js gem except for wasm platforms by @kateinoigakukun in #448
- Allow using
CXXin extconf.rb by @kateinoigakukun in #449 - PIC support in js gem by @kateinoigakukun in #450
Full Changelog: 2.5.2...2.6.0
2.5.2
| 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@96710a3139fecda4bc12cd4f321399f71887535c |
What's Changed
This release includes no user-visible change, just for internal restructure for upcoming Component Model support.
Pull Requests
- Add
RUBY_WASM_EXPERIMENTAL_COMPONENT_MODELfeature by @kateinoigakukun in #428 - Prepare for upcoming Component Model adoption in js gem by @kateinoigakukun in #429
- Add
--enable-component-modelto js ext library by @kateinoigakukun in #430 - Make js extension code compatible with the new binding by @kateinoigakukun in #431
- Add jco-generated TypeScript interface of the js gem world by @kateinoigakukun in #432
- Use upstream jco with TS binding generation support by @kateinoigakukun in #433
- Update Ruby version URLs by @geeknees in #435
- Test against ruby verions 3.3 in workflows by @indigolain in #436
- Package Componentized Ruby in npm package by @kateinoigakukun in #437
- Allow to read/write on in-memory file system on Web browser by @kateinoigakukun in #438
- Fix Component support to pass
test:unitby @kateinoigakukun in #439 - Migrate testing framework from jest to vitest by @kateinoigakukun in #440
- Enable Component-based tests by @kateinoigakukun in #441
- Bump @playwright/test from 1.42.1 to 1.43.1 by @dependabot in #445
- Bump rollup from 4.13.2 to 4.17.2 by @dependabot in #444
- Bump vitest from 1.5.2 to 1.5.3 by @dependabot in #446
New Contributors
- @geeknees made their first contribution in #435
- @indigolain made their first contribution in #436
Full Changelog: 2.5.1...2.5.2