Releases: paberr/wasmworker
Releases · paberr/wasmworker
v0.4.0
⚠️ Breaking Changes
- The
serdefeature has been renamed toiter-ext. If you hadfeatures = ["serde"]in yourCargo.toml, update it tofeatures = ["iter-ext"]. The feature is still enabled by default, so most users are unaffected.
What's New
codec-potfeature — Use pot as an alternative serialization codec for complex types likeRc<T>or cyclic structures. Enable withdefault-features = false, features = ["iter-ext", "macros", "codec-pot"]. (#7)
Improvements
- CI now tests both
postcardandpotcodec paths across clippy, doctests, and integration tests. - Fixed inaccurate doc comments on
run_bytes/try_run_bytesthat referenced a non-existent feature gate.
Full Changelog: v0.3.0...v0.4.0
v0.3.0
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
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 communicationChannelTask<R>returned byrun_channel, combines the message channel and result future in one type. Send/receive messages with the worker, then consume the final resultwebworker_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_bgoption for custom WASM binary locations - Working Vite example in
test/vite-app/
New Contributors
- @hrxi made their first contribution in #2
- @dependabot[bot] made their first contribution in #3
- @Roba1993 made their first contribution in #5
Full Changelog: v0.1.1...v0.2.1
v0.1.1
v0.1.0
Full Changelog: https://github.com/paberr/wasmworker/commits/v0.1.0