From cd088abf7e88204897c8c1bcee08cc03509bad26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 10 May 2024 18:39:51 +0200 Subject: [PATCH] chore: prepare 0.4.4 release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- CHANGELOG.md | 2 ++ README.md | 4 ++-- deno.json | 2 +- dist/package.json | 2 +- examples/deno/javascript/dynamicExample.js | 2 +- examples/deno/javascript/fixedExample.js | 2 +- examples/deno/javascript/multiFunctionExample.js | 2 +- examples/deno/javascript/multiFunctionWorker.js | 2 +- examples/deno/javascript/yourWorker.js | 2 +- examples/deno/typescript/pool.ts | 2 +- examples/deno/typescript/worker.ts | 2 +- sonar-project.properties | 2 +- src/pools/version.ts | 2 +- 13 files changed, 15 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 343bf3f5..1f2a25dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ and this project adheres to ## [Unreleased] +## [0.4.4] - 2024-05-10 + ### Fixed - Avoid queued tasks redistribution on the errored worker node. diff --git a/README.md b/README.md index 34ee0347..40a54f13 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ for more details**: ```js - + ``` ```js @@ -158,7 +158,7 @@ import { DynamicThreadPool, FixedThreadPool, PoolEvents, -} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.3/browser/mod.js' +} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.4/browser/mod.js' ``` diff --git a/deno.json b/deno.json index cb429438..6108998c 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@poolifier/poolifier-web-worker", - "version": "0.4.3", + "version": "0.4.4", "exports": "./src/mod.ts", "compilerOptions": { "lib": ["deno.worker"], diff --git a/dist/package.json b/dist/package.json index a831cb32..682260a3 100644 --- a/dist/package.json +++ b/dist/package.json @@ -1,6 +1,6 @@ { "name": "poolifier-web-worker", - "version": "0.4.3", + "version": "0.4.4", "description": "poolifier-web-worker", "repository": { "type": "git", diff --git a/examples/deno/javascript/dynamicExample.js b/examples/deno/javascript/dynamicExample.js index 477f13d3..c0b6f5f7 100644 --- a/examples/deno/javascript/dynamicExample.js +++ b/examples/deno/javascript/dynamicExample.js @@ -2,7 +2,7 @@ import { availableParallelism, DynamicThreadPool, PoolEvents, -} from 'jsr:@poolifier/poolifier-web-worker@^0.4.3' +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.4' const pool = new DynamicThreadPool( Math.floor(availableParallelism() / 2), diff --git a/examples/deno/javascript/fixedExample.js b/examples/deno/javascript/fixedExample.js index cbcb0580..02f6e356 100644 --- a/examples/deno/javascript/fixedExample.js +++ b/examples/deno/javascript/fixedExample.js @@ -2,7 +2,7 @@ import { availableParallelism, FixedThreadPool, PoolEvents, -} from 'jsr:@poolifier/poolifier-web-worker@^0.4.3' +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.4' const pool = new FixedThreadPool( availableParallelism(), diff --git a/examples/deno/javascript/multiFunctionExample.js b/examples/deno/javascript/multiFunctionExample.js index 3b80b329..e9e023f0 100644 --- a/examples/deno/javascript/multiFunctionExample.js +++ b/examples/deno/javascript/multiFunctionExample.js @@ -1,7 +1,7 @@ import { availableParallelism, FixedThreadPool, -} from 'jsr:@poolifier/poolifier-web-worker@^0.4.3' +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.4' const pool = new FixedThreadPool( availableParallelism(), diff --git a/examples/deno/javascript/multiFunctionWorker.js b/examples/deno/javascript/multiFunctionWorker.js index 964dc47e..ffac5f8c 100644 --- a/examples/deno/javascript/multiFunctionWorker.js +++ b/examples/deno/javascript/multiFunctionWorker.js @@ -1,4 +1,4 @@ -import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.3' +import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.4' function fn0(data) { console.info('Executing fn0') diff --git a/examples/deno/javascript/yourWorker.js b/examples/deno/javascript/yourWorker.js index 37c515c4..c9acce77 100644 --- a/examples/deno/javascript/yourWorker.js +++ b/examples/deno/javascript/yourWorker.js @@ -1,4 +1,4 @@ -import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.3' +import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.4' function yourFunction() { for (let i = 0; i <= 1000; i++) { diff --git a/examples/deno/typescript/pool.ts b/examples/deno/typescript/pool.ts index 0a432034..2f79fd6d 100644 --- a/examples/deno/typescript/pool.ts +++ b/examples/deno/typescript/pool.ts @@ -2,7 +2,7 @@ import { availableParallelism, DynamicThreadPool, FixedThreadPool, -} from 'jsr:@poolifier/poolifier-web-worker@^0.4.3' +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.4' import type { MyData, MyResponse } from './worker.ts' const workerFileURL = new URL('./worker.ts', import.meta.url) diff --git a/examples/deno/typescript/worker.ts b/examples/deno/typescript/worker.ts index 25a0e244..6f8c7a7d 100644 --- a/examples/deno/typescript/worker.ts +++ b/examples/deno/typescript/worker.ts @@ -1,4 +1,4 @@ -import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.3' +import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.4' export interface MyData { ok: 0 | 1 diff --git a/sonar-project.properties b/sonar-project.properties index 60dde8f2..e0e81d00 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -2,7 +2,7 @@ sonar.projectKey=poolifier_poolifier-web-worker sonar.organization=poolifier sonar.javascript.lcov.reportPaths=coverage/lcov.info sonar.projectName=poolifier-web-worker -sonar.projectVersion=0.4.3 +sonar.projectVersion=0.4.4 sonar.host.url=https://sonarcloud.io sonar.sources=src sonar.tests=tests diff --git a/src/pools/version.ts b/src/pools/version.ts index ef6c1bf3..3a70b2b1 100644 --- a/src/pools/version.ts +++ b/src/pools/version.ts @@ -1 +1 @@ -export const version = '0.4.3' +export const version = '0.4.4'