Skip to content

Commit

Permalink
Prepare release 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Oct 21, 2023
1 parent 9a78dee commit 42b213f
Show file tree
Hide file tree
Showing 12 changed files with 287 additions and 83 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 2.3.0

- 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

- `DataPayload#applyProperties` allows any object as input and the params are more relaxed. A first set of uit tests has been introduced.
Expand Down
319 changes: 257 additions & 62 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@
"keywords": [],
"homepage": "https://github.com/kaisalmen/three-wtm#README",
"volta": {
"node": "18.18.0",
"node": "18.18.2",
"npm": "9.8.1"
},
"devDependencies": {
"@types/node": "~18.18.03",
"@typescript-eslint/eslint-plugin": "~6.7.4",
"@types/node": "~18.18.6",
"@typescript-eslint/eslint-plugin": "~6.8.0",
"editorconfig": "~2.0.0",
"eslint": "~8.50.0",
"eslint": "~8.52.0",
"shx": "~0.3.4",
"typedoc": "~0.25.1",
"typedoc": "~0.25.2",
"typedoc-plugin-markdown": "~3.16.0",
"typescript": "~5.2.2",
"vite": "~4.4.10",
"vite": "~4.5.0",
"vitest": "~0.34.6"
},
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/helloWorldStandard.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<body>
<canvas id="example" style="width: 100%; height: 100vh;"></canvas>
<div id="info">Hello World: Standard Worker</div>
<script type="module" src="./src/helloWorld/HelloWorldStandard"></script>
<script type="module" src="./src/helloWorld/HelloWorldStandard.ts"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion packages/examples/helloWorldWorkerTask.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<body>
<canvas id="example" style="width: 100%; height: 100vh;"></canvas>
<div id="info">Hello World: WorkerTask Only</div>
<script type="module" src="./src/helloWorld/HelloWorldWorkerTask"></script>
<script type="module" src="./src/helloWorld/HelloWorldWorkerTask.ts"></script>
</body>
</html>
3 changes: 2 additions & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
},
"dependencies": {
"lil-gui": "~0.18.2",
"wtd-three-ext": "2.3.0-next.1",
"wtd-core": "~2.3.0",
"wtd-three-ext": "~2.3.0",
"wwobjloader2": "~6.0.2-next.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/potentially_infinite.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
<canvas id="example" style="width: 100%; height: 100vh;"></canvas>
<div id="info">Potentially Infinite Execution</div>
<div id="lil-gui" style="user-select: none; position: absolute; left: 0; top: 0; z-Index: 200;"></div>
<script type="module" src="./src/infinite/PotentiallyInfiniteExample"></script>
<script type="module" src="./src/infinite/PotentiallyInfiniteExample.ts"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions packages/examples/src/helloWorld/HelloWorldStandard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class HelloWorldStandardWorkerExample {

// register the standard worker
this.workerTaskDirector.registerTask(taskName, {
module: false,
module: true,
blob: false,
url: new URL(import.meta.env.DEV ? '../worker/generated/HelloWorldWorker-iife.js' : '../worker/generated/HelloWorldWorker-iife.js', import.meta.url)
url: new URL(import.meta.env.DEV ? '../worker/HelloWorldWorker.ts' : '../worker/generated/HelloWorldWorker-es.js', import.meta.url)
});

try {
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/threejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<body>
<canvas id="example" style="width: 100%; height: 100vh;"></canvas>
<div id="info">Three.js Example</div>
<script type="module" src="./src/threejs/Threejs"></script>
<script type="module" src="./src/threejs/Threejs.ts"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion packages/examples/transferables.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<body>
<canvas id="example" style="width: 100%; height: 100vh;"></canvas>
<div id="info">Transferables</div>
<script type="module" src="./src/transferables/TransferablesTestbed"></script>
<script type="module" src="./src/transferables/TransferablesTestbed.ts"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions packages/wtd-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wtd-core",
"version": "2.3.0-next.1",
"version": "2.3.0",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -41,7 +41,7 @@
"build": "npm run clean && npm run compile && npm run build:bundle"
},
"volta": {
"node": "18.18.0",
"node": "18.18.2",
"npm": "9.8.1"
},
"repository": {
Expand Down
10 changes: 5 additions & 5 deletions packages/wtd-three-ext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wtd-three-ext",
"version": "2.3.0-next.1",
"version": "2.3.0",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -41,15 +41,15 @@
"build": "npm run clean && npm run compile && npm run build:bundle"
},
"volta": {
"node": "18.18.0",
"node": "18.18.2",
"npm": "9.8.1"
},
"dependencies": {
"wtd-core": "2.3.0-next.1",
"three": "~0.156.0"
"wtd-core": "~2.3.0",
"three": "~0.157.0"
},
"devDependencies": {
"@types/three": "~0.156.0"
"@types/three": "~0.157.2"
},
"peerDependencies": {
"three": ">= 0.137.5 < 1"
Expand Down

0 comments on commit 42b213f

Please sign in to comment.