-
✨ Features
-
Add --no-pack flag to build command - hamza1311, ashleygwilliams, issue/691, issue/811, pull/695, pull/1291
When calling wasm-pack build a user can optionally pass --no-pack and wasm-pack will build your wasm, generate js, and not build a package.json.
-
Add wasmbindgen option: omit_default_module_path - matthiasgeihs, pull/1272
Adds an option to call wasm-bindgen with --omit_default_module_path.
-
-
🤕 Fixes
-
Add HTTP header USER-AGENT - LeviticusNelson, issue/1266, pull/1285
We encountered some issues when we didn't send an User-Agent. This is now fixed.
-
Replace curl with ureq - hamza1311, issue/650, issue/823, issue/997, issue/1079, issue/1203, issue/1234, issue/1281, pull/1290
The HTTP client is now pure Rust. Removes the dependency of openssl which have caused a lot of issues for people using wasm-pack on various distributions.
-
Update binary-install to 0.2.0. binary-install replaced curl with ureq - drager
See PR in binary-install repo for more information.
-
Remove --always-auth from npm login - EstebanBorai, pull/1288
npm login doesn't support --always-auth anymore, instead it is under the adduser subcommand.
-
Turn off cargo colors during log level test - dtolnay, pull/1294
-
Fix getting the target-dir in wasm_bindgen_build - tomasol, issue/1278, pull/1279
Fixes a wasm-pack panic if --target-dir was supplied (and arguments are not sorted).
-
Respect package.readme in Cargo.toml - heaths, issue/1215, pull/1298, pull/1216
wasm-pack now respects specifying readme=false:
[package] readme = false
-
-
📖 Documentation
-
🛠️ Maintenance
-
Bump cargo-generate version to 0.18.2 - sassman, issue/1245 pull/1269
-
Replace unmaintained actions-rs/toolchain action in CI workflows - striezel, pull/1246
Now we are using https://github.com/dtolnay/rust-toolchain instead.
-
Update several dependencies - hamza1311, pull/1292
Updated clap, toml, predicates and serial_test to their latest versions.
-