Skip to content

Releases: paberr/wasmworker

v0.4.0

08 Mar 23:05

Choose a tag to compare

⚠️ Breaking Changes

  • The serde feature has been renamed to iter-ext. If you had features = ["serde"] in your Cargo.toml, update it to features = ["iter-ext"]. The feature is still enabled by default, so most users are unaffected.

What's New

  • codec-pot feature — Use pot as an alternative serialization codec for complex types like Rc<T> or cyclic structures. Enable with default-features = false, features = ["iter-ext", "macros", "codec-pot"]. (#7)

Improvements

  • CI now tests both postcard and pot codec paths across clippy, doctests, and integration tests.
  • Fixed inaccurate doc comments on run_bytes/try_run_bytes that referenced a non-existent feature gate.

Full Changelog: v0.3.0...v0.4.0

v0.3.0

08 Mar 16:22

Choose a tag to compare

What's Changed

  • Bump rollup from 4.57.0 to 4.59.0 in /test in the npm_and_yarn group across 1 directory by @dependabot[bot] in #9
  • Bump minimatch from 3.1.2 to 3.1.5 in /test in the npm_and_yarn group across 1 directory by @dependabot[bot] in #11
  • Make wasmworker-proc-macro a feature dependency by @paberr in #12
  • Add idle timeout for WebWorkerPool by @paberr in #13

Full Changelog: v0.2.1...v0.3.0

v0.2.1

29 Jan 22:04

Choose a tag to compare

What's Changed

  • Add some review comments by @hrxi in #2
  • Bump tokio from 1.41.1 to 1.43.1 in the cargo group across 1 directory by @dependabot[bot] in #3
  • Added Vite bundler support, Channels & Async functions by @Roba1993 in #5
  • #[webworker_channel_fn] macro for async functions with bidirectional communication
  • ChannelTask<R> returned by run_channel, combines the message channel and result future in one type. Send/receive messages with the worker, then consume the final result
  • webworker_channel! macro for type-safe channel function handles
  • Vite is now tested and supported (serve wasm-pack output as static assets via publicDir)
  • New path_bg option for custom WASM binary locations
  • Working Vite example in test/vite-app/

New Contributors

Full Changelog: v0.1.1...v0.2.1

v0.1.1

29 Nov 22:52

Choose a tag to compare

v0.1.1 Pre-release
Pre-release

What's Changed

  • Add documentation, improve CI by @paberr in #1

Full Changelog: v0.1.0...v0.1.1

v0.1.0

29 Nov 22:51

Choose a tag to compare

v0.1.0 Pre-release
Pre-release