βοΈ v0.13.0
-
β¨ Features
-
Add option to skip optimization with wasm-opt - sisou, pull/1321
This feature introduces the
--no-opt
option to wasm-pack, providing a significant improvement in build efficiency for projects requiring multiple wasm-pack executions. -
Add support geckodriver for linux-aarch64 - EstebanBorai, pull/1371
Introduces support to download Geckodriver in Linux aarch64.
-
Add wasm-opt linux aarch64 condition - dkristia, issue/1392, pull/1393
A linux aarch64 build for wasm-opt exists in the newest binaryen versions.
-
-
π€ Fixes
-
Fix passing relative paths to cargo - dfaust, issue/704, issue/1156, issue/1252, pull/1331
When building a crate located in a sub-directory, relative paths, passed as extra options to cargo (like
--target-dir
), are now handled correctly. -
Rewrite wasm_target to use target-libdir - daidoji, issue/1342, pull/1343
Rewritten wasm_target to use target libdir from the rustc tool rather than looking through sysroot. This is to accomodate non-rustup installations.
-
Declare ES module in package.json - gthb, issue/1039, pull/1061
In bundler mode, generate package.json with "type": "module" and use the "main" attribute instead of the "module" attribute.
This change makes the built ES module palatable to Node.js (when run with --experimental-vm-modules --experimental-wasm-modules),
while it remains also palatable to webpack as illustrated in webpack/webpack#14313
(where the pkg subfolder is generated with wasm-pack built with this change).
This resolves the headache of using a wasm-pack-built package in a library that one needs to both run directly in Node and include in a webpack build. -
Use new chromdriver endpoint and fix CI - Myriad-Dreamin, kade-robertson, issue/1315, issue/1390, pull/1325, pull/1391
-
Add mingw support to npm package - nathaniel-daniel, issue/1354, issue/1359, pull/1363
Fixes the NPM package's platform detection for mingw.
-
pkg-dir option for pack and publish commands - danielronnkvist, issue/1369, pull/1370
To be able to use these commands when the output directory option to the build command isn't the default pkg.
-
Optimize out-dir display - ahaoboy, issue/1395, pull/1396
Optimize out-dir display.
from:
[INFO]: π¦ Your wasm pkg is ready to publish at /root/code/fib-wasm/fib-rs/../fib-wasm/wasm.
to:
[INFO]: π¦ Your wasm pkg is ready to publish at /root/code/fib-wasm/fib-wasm/wasm.
-
-
π οΈ Maintenance
-
Fix error and warnings in install script - lucashorward, issue/1159, issue/1217, issue/1283, pull/1320
-
Bump follow-redirects from 1.14.9 to 1.15.6 in /npm - dependabot, pull/1375
-
Bump rustls-webpki from 0.100.1 to 0.100.2 - dependabot, pull/1323
-
Bump rustix from 0.37.20 to 0.37.25 - dependabot, pull/1341
-
Bump rustls from 0.21.9 to 0.21.11 - dependabot, pull/1385
-
Bump tar from 6.1.11 to 6.2.1 in /npm - dependabot, pull/1379
-
-
π Documentation
-
Fix typo in README - Lionelf329, pull/1368
-
Add a description of build --target deno - puxiao, pull/1344
-
Fix local navigation backing one step too far in docs - SamuSoft, pull/1387
-
Add --target web to quick start build command - josephrocca, pull/1367
-