2.4.0
channel | source |
---|---|
head | ruby/ruby@157e6c8a512968dc9f82d7f81606eeb3266cf6bb |
3.2 | https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz |
What's Changed
npm packages are now moved under @ruby
organization.
Old name | New name |
---|---|
ruby-3_2-wasm-wasi |
@ruby/3.2-wasm-wasi |
ruby-head-wasm-wasi |
@ruby/head-wasm-wasi |
ruby-head-wasm-emscripten |
@ruby/head-wasm-emscripten |
Also npm package structure is updated as follows:
- Files are now organized as follows to fix ESM imports1:
dist/*.cjs.js
->dist/cjs/*.js
dist/*.esm.js
->dist/esm/*.js
- Note that UMD files are kept in the root of
dist/
to avoid breaking existing code that loads them from CDN instead ofpackage.json
'sexports
field.
dist/{cjs,esm}/**/*.js
are now not bundled with rollup to avoid duplicated bundling.
Bundled WASI for browser is changed: @wasmer/wasi
-> @bjorn3/browser_wasi_shim
The size of browser.umd.min.js
got much smaller: 491K -> 32K
Pull Requests
- witapi: Remove private API use for eval by @kateinoigakukun in #317
- build: Parallelize
make
build by default by @kateinoigakukun in #318 - build(deps-dev): bump @babel/preset-env from 7.21.5 to 7.23.5 by @dependabot in #321
- build(deps-dev): bump rollup-plugin-polyfill-node from 0.12.0 to 0.13.0 by @dependabot in #320
- build(deps-dev): bump @playwright/test from 1.39.0 to 1.40.1 by @dependabot in #324
- build(deps-dev): bump typescript from 5.2.2 to 5.3.2 by @dependabot in #322
- build(deps-dev): bump rollup from 3.22.0 to 4.6.1 by @dependabot in #323
- Move npm packages under @ruby org by @kateinoigakukun in #325
- Modify the URL pattern to be replaced in the mock as the npm package is moved. by @ledsun in #326
- Update npm package structure by @kateinoigakukun in #327
- test: De-Typescriptify jest tests by @kateinoigakukun in #328
- doc: Add cheat sheet and FAQ by @kateinoigakukun in #329
- build: Support tarball source type by @kateinoigakukun in #330
- Make
RbExceptionFormatter#format
error tolerant by @kateinoigakukun in #331 - Use
@bjorn3/browser_wasi_shim
for WASI on browser by @kateinoigakukun in #332
Full Changelog: 2.3.0...2.4.0
-
ESM imports were broken with Node.js because files are not suffixed with mjs nor
type: module
is not specified in rootpackage.json
. Nowdist/esm/package.json
specifiestype: module
. ↩