Skip to content

Releases: drager/wasm-pack

🌻 v0.14.0

20 Jan 10:31

Choose a tag to compare

  • ✨ Features

    • Support arbitrary wasm targets (WASI support) - RReverser, pull/1524

      Allows building for targets other than wasm32-unknown-unknown, enabling WASI and other custom wasm targets.

    • macOS ARM (aarch64-apple-darwin) build support - kaleidawave, pull/1529

      Adds native Apple Silicon support in release builds and NPM package.

    • Allow --split-linked-modules flag for wasm-bindgen - codeart1st, pull/1443

    • Custom build profile support - rafaelbeckel, pull/1428

      Allows using custom cargo profiles via --profile.

  • 🤕 Fixes

  • 🛠️ Maintenance

    • Update dependencies to latest versions - drager, pull/1536

    • Security workflow permissions fixes - drager

    • Bump ring from 0.17.8 to 0.17.14 - dependabot, pull/1516

    • Bump brace-expansion from 1.1.11 to 1.1.12 in /npm - dependabot, pull/1515

    • Bump rustls from 0.23.16 to 0.23.18 - dependabot, pull/1451

    • Fix tar vulnerability (CVE-2026-23745) in npm package

      Override tar dependency to ^7.5.3 to fix arbitrary file overwrite and symlink poisoning vulnerability (GHSA-8qq5-rm4j-mr97).

    • Fix axios vulnerabilities in npm package

      Override axios dependency to ^0.30.0 to fix SSRF/credential leakage via absolute URL and XSRF-TOKEN leakage (CSRF) vulnerabilities.

  • 📖 Documentation

☀️ v0.13.1

29 Oct 18:36

Choose a tag to compare

  • ✨ Features

    • Requests using proxy settings from env - jjyr, pull/1438

      This enables ureq to use proxy settings from env, it solves lots of pain in network restricted environments.

  • 🤕 Fixes

    • Update binary-install to v0.4.1 - drager, pull/1407

      Release v0.4.0 of binary-install introduced a regression that caused failures on some platforms. This release fixes that regression.

    • Allow npm binary upgrades - net, pull/1439

      Fixes an issue where upgrading wasm-pack via NPM would not update the underlying binary.
      Previously, the binary was stored in the binary-install package's directory without versioning, causing version upgrades to silently fail as the old binary continued to be used.
      The binary is now stored in node_modules/wasm-pack/binary/, ensuring proper version updates when upgrading the package.

      Before: Upgrading from 0.12.1 to 0.13.0 would continue using the 0.12.1 binary
      After: Each wasm-pack version manages its own binary, enabling proper version upgrades

  • 🛠️ Maintenance

☀️ v0.13.0

01 Jul 18:57

Choose a tag to compare

  • ✨ 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

  • 📖 Documentation

☀️ v0.12.1

27 Jun 20:22

Choose a tag to compare

  • 🤕 Fixes

    • Restore --version command - lynn, issue/1301, pull/1305

      The --version command got lost in space in v0.12.0. It's now brought back!

    • Fix value parser for Option - Myriad-Dreamin, issue/1304, pull/1307

      A value parser for OsString cannot parse a command line argument for Option,
      which let it failed to specify paths for pack, publish and test commands, this faulty behavior
      was introduced in v0.12.0.

☀️ v0.12.0

17 Jun 11:21

Choose a tag to compare

🌦️ v0.11.1

11 May 18:15
9aff861

Choose a tag to compare

🌦️ v0.11.0

19 Mar 10:16

Choose a tag to compare

🌦️ v0.10.3

13 Jun 18:12

Choose a tag to compare

  • 🤕 Fixes

    • Use bash to create release tarballs - nasso, issue/1097 pull/1144

      Fixes Windows installer failure due to malformatted tar.

    • Clean up package.json from previous runs - main--, issue/1110-comment pull/1119

      Remove the package.json file from previous runs to avoid crashes.

    • Do not remove the pkg directory - huntc, issue/1099 pull/1110

      A recent change ensured that the pkg directory was removed as the first step of attempting to create it.
      Unfortunately, this caused a problem for webpack when watching the pkg directory.
      Webpack was unable to recover its watching and so any watch server must be restarted,
      which is a blocker when using it. This PR and release fixes this.

    • Bump regex from 1.5.4 to 1.5.6 - dependabot, pull/1147

      Version 1.5.5 of the regex crate fixed a security bug in the regex compiler.

    • Bump openssl-src from 111.17.0+1.1.1m to 111.20.0+1.1.1o - dependabot, pull/1146

      Bring in bug fixes from the new version of openssl-src.

🌦️ 0.10.2

16 Dec 19:41

Choose a tag to compare

  • ✨ Features

  • 🤕 Fixes

    • Add support for macos aarch64 - d3lm, issue/913 pull/1088

      This fixes aarch64 for MacOS and will download x86_64-apple-darwin.

    • Add linux/arm64 to release workflow - nacardin, issue/1064 pull/1065

    • Force axios version - drager, pull/1094

      Forces npm package axios to version 0.21.2 in order to get security fix for a security vulnerability present in axios before version 0.21.2.

🌦️ 0.10.1

06 Sep 18:35

Choose a tag to compare