[go: nahoru, domu]

Skip to content

β˜€οΈ v0.13.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 01 Jul 18:57
  • ✨ 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