Skip to content

Releases: kaisalmen/wtd

3.0.0 - 2024-01-05

07 Jan 16:33
Compare
Choose a tag to compare

npm packages:

Changes:

  • Sent message with or without awaiting them.
    • WorkerTask keeps track of messages that need to be awaited.
  • API clean-up and code improvements:
    • WorkerTask contains async code improvements and it keeps track of outstanding messages (new)
    • Use configuration objects instead of long number of arguments
    • Move static functions of classes to independent funtions
    • Better function and class names
  • Added helper functions for creating an OffscreenCanvas and delegating events to the worker.
  • Extracted Payload from DataPayload and created RawPayload for supporting plain messages.
  • Added offscreen canvas related funcitonality and utilities:
    • Provide framework independent worker and message payload extensions (OffscreenWorker and OffscreenPayload) (wtd-core)
    • MainEventProxy allows configurable event delegation to a Worker (wtd-core)
    • ElementProxyReceiver can be used to simulate a canvas in a Worker (wtd-three-ext)
  • Added new example Inter-Worker Communication that demonstrates communication between workers utilizing message channels.

2.3.0 - 2023-10-21

23 Dec 10:11
Compare
Choose a tag to compare

npm packages:

Changes:

  • Added the possiblity to sent intermediate message from main to the worker if the worker is still executing.
  • Usage of await everwhere instead of Promise.then()
  • Moved WorkerTaskWorker to its own file
  • Code Cleanup
  • Updated dependencies

2.2.0

29 Jan 21:35
Compare
Choose a tag to compare

2.1.0

13 Oct 20:37
Compare
Choose a tag to compare

2.0.0

25 May 18:35
Compare
Choose a tag to compare

V1.0.1

04 Oct 20:09
Compare
Choose a tag to compare
  • three.js is no longer a peerDependency. It is just a dependency.
  • Updated devDependencies to resolve potential security issues.

npm package: https://www.npmjs.com/package/three-wtm/v/1.0.1

V1.0.0: First official release

20 Jun 21:00
Compare
Choose a tag to compare