Skip to content

Commit

Permalink
Updated the CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Jan 5, 2024
1 parent f703acd commit 49203d3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
# Changelog

## 3.0.0 - 2023-12-2x
## 3.0.0 - 2024-01-05

- Make the worker lifecylce no longer mandatory if not using `WorkerTaskDirector`.
- Sent message with or without awaiting them.
- `WorkerTask` keeps track of messages that need to be awaited.
- API clean-up and code improvements
- 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](https://github.com/kaisalmen/wtd/blob/main/packages/examples/src/com/WorkerCom.ts) that demonstrates communication between workers utilizing message channels.


## 2.3.0 - 2023-10-21

- Added the possiblity to sent intermediate message from main to the worker if the worker is still executing.
Expand Down
4 changes: 3 additions & 1 deletion packages/wtd-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,6 @@ try {
}
```
Also refer to the full [README.md](https://github.com/kaisalmen/wtd/blob/main/README.md) in main [repository](https://github.com/kaisalmen/wtd).
Further information is found in the main [README](https://github.com/kaisalmen/wtd/blob/main/README.md) of the overall [repository](https://github.com/kaisalmen/wtd).
All changes are noted in the overall [CHANGELOG](https://github.com/kaisalmen/wtd/blob/main/CHANGELOG.md).
4 changes: 3 additions & 1 deletion packages/wtd-three-ext/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,6 @@ try {
}
```
Also refer to the full [README.md](https://github.com/kaisalmen/wtd/blob/main/README.md) in main [repository](https://github.com/kaisalmen/wtd).
Further information is found in the main [README](https://github.com/kaisalmen/wtd/blob/main/README.md) of the overall [repository](https://github.com/kaisalmen/wtd).
All changes are noted in the overall [CHANGELOG](https://github.com/kaisalmen/wtd/blob/main/CHANGELOG.md).

0 comments on commit 49203d3

Please sign in to comment.