Releases: andywer/threads.js
Releases · andywer/threads.js
v1.0.0-beta.6
Minor update. Ships a new option to set a URL prefix which is an important feature to be able to create client-side libraries based on threads.js
. This way you can load the worker file from unpkg.com
or similar.
Features
- Add
_baseURL
option to web workers (#156)
v1.0.0-beta.5
v1.0.0-beta.4
v1.0.0-beta.3
Updated beta release shipping auto-transpiling support for TypeScript workers. See https://threads.js.org/usage#typescript.
New features
- Auto-transpile TypeScript workers using
ts-node
in node.js (#113) - Added additional JSDoc documentation
Chores
- Updated dependency versions
v1.0.0-beta.1
Fixed the threads/worker
module (#127).
v1.0.0-beta
First public beta of v1.0 tagged as latest
. v1.0 is a complete rewrite of the library.
Features
- Implement
spawn
- Implement
Worker
- Implement
Thread.*
utils - Implement
expose
- Implement platform: node 12
worker_threads
- Implement platform: node < 12 via
tiny-worker
- Implement platform: web (browsers)
- Implement transferable object support
- Implement
Pool
- Add tests for usage with webpack
- Implement cancelling pool tasks
- Provide a convenient way to stream results
- Finish documentation