diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json
index d8851c62..1aa5ed9e 100644
--- a/.github/release-please/manifest.json
+++ b/.github/release-please/manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.4.24"
+ ".": "0.4.25"
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9d786ddd..31c01438 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,34 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [0.4.25](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.24...v0.4.25) (2024-08-30)
+
+### ๐ Bug Fixes
+
+- handle properly small or zero `tasksStealingRatio`
+ ([ab6e570](https://github.com/poolifier/poolifier-web-worker/commit/ab6e5700b536a70bdef6accd66fce91f5e45cd69))
+
+### โจ Polish
+
+- move dynamic pool only getters to its own class
+ ([74970f2](https://github.com/poolifier/poolifier-web-worker/commit/74970f25d771c43eac26feb891305da0d73ba1b6))
+
+### ๐งช Tests
+
+- fix variable casing
+ ([a2727d7](https://github.com/poolifier/poolifier-web-worker/commit/a2727d7cea305b374232aa221698383c49d6d2b0))
+- refine pool event tests expectation
+ ([5bdf99a](https://github.com/poolifier/poolifier-web-worker/commit/5bdf99a7019550759e1ee369846eda83f049c4ef))
+
+### ๐ Documentation
+
+- cleanup code examples
+ ([28b119c](https://github.com/poolifier/poolifier-web-worker/commit/28b119c8bd08596863f44de4c4712963c5a6a8fc))
+- refine pool ready event emission condition
+ ([e7d0673](https://github.com/poolifier/poolifier-web-worker/commit/e7d0673f97e9302844aed9e7d7f1e6c5273ecbc3))
+- switch examples to top level await usage (ESM)
+ ([30781c3](https://github.com/poolifier/poolifier-web-worker/commit/30781c30f374e0e7585c5957ef9956e2c4851106))
+
## [0.4.24](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.23...v0.4.24) (2024-08-28)
### โก Performance
diff --git a/README.md b/README.md
index fe8eab40..e8f6947d 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.24/browser/mod.js'
+} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.25/browser/mod.js'
```
diff --git a/deno.json b/deno.json
index b9939c4c..f32bad72 100644
--- a/deno.json
+++ b/deno.json
@@ -1,9 +1,11 @@
{
"name": "@poolifier/poolifier-web-worker",
- "version": "0.4.24",
+ "version": "0.4.25",
"exports": "./src/mod.ts",
"compilerOptions": {
- "lib": ["deno.worker"],
+ "lib": [
+ "deno.worker"
+ ],
"strict": true
},
"tasks": {
@@ -24,7 +26,9 @@
"documentation": "deno doc ./src/mod.ts"
},
"test": {
- "include": ["./tests/**/*.test.mjs"]
+ "include": [
+ "./tests/**/*.test.mjs"
+ ]
},
"fmt": {
"semiColons": false,
@@ -38,8 +42,18 @@
"expect": "npm:expect@^29.7.0"
},
"publish": {
- "include": ["LICENSE", "README.md", "deno.json", "src/**/*.ts"]
+ "include": [
+ "LICENSE",
+ "README.md",
+ "deno.json",
+ "src/**/*.ts"
+ ]
},
"lock": false,
- "exclude": ["./coverage", "./dist/browser", "./dist/esm", "./npm"]
+ "exclude": [
+ "./coverage",
+ "./dist/browser",
+ "./dist/esm",
+ "./npm"
+ ]
}
diff --git a/dist/package.json b/dist/package.json
index af16dfb7..41c7184c 100644
--- a/dist/package.json
+++ b/dist/package.json
@@ -1,6 +1,6 @@
{
"name": "poolifier-web-worker",
- "version": "0.4.24",
+ "version": "0.4.25",
"description": "poolifier-web-worker",
"repository": {
"type": "git",
diff --git a/examples/deno/javascript/dynamicExample.js b/examples/deno/javascript/dynamicExample.js
index 3302ce42..e466ca95 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.24' // x-release-please-version
+} from 'jsr:@poolifier/poolifier-web-worker@^0.4.25' // x-release-please-version
const pool = new DynamicThreadPool(
Math.floor(availableParallelism() / 2),
diff --git a/examples/deno/javascript/fixedExample.js b/examples/deno/javascript/fixedExample.js
index 69fd8329..aa114ec7 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.24' // x-release-please-version
+} from 'jsr:@poolifier/poolifier-web-worker@^0.4.25' // x-release-please-version
const pool = new FixedThreadPool(
availableParallelism(),
diff --git a/examples/deno/javascript/multiFunctionExample.js b/examples/deno/javascript/multiFunctionExample.js
index 06f5dc92..83cb7acf 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.24' // x-release-please-version
+} from 'jsr:@poolifier/poolifier-web-worker@^0.4.25' // x-release-please-version
const pool = new FixedThreadPool(
availableParallelism(),
diff --git a/examples/deno/javascript/multiFunctionWorker.js b/examples/deno/javascript/multiFunctionWorker.js
index 24853be0..640bbac0 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.24' // x-release-please-version
+import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.25' // x-release-please-version
function fn0(data) {
console.info('Executing fn0')
diff --git a/examples/deno/javascript/yourWorker.js b/examples/deno/javascript/yourWorker.js
index a0c7d213..e4e061ab 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.24' // x-release-please-version
+import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.25' // x-release-please-version
function yourFunction() {
for (let i = 0; i <= 1000; i++) {
diff --git a/examples/deno/typescript/pool.ts b/examples/deno/typescript/pool.ts
index 9d2d88cb..e76621e5 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.24' // x-release-please-version
+} from 'jsr:@poolifier/poolifier-web-worker@^0.4.25' // x-release-please-version
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 56b3e0a6..d4d9a4cc 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.24' // x-release-please-version
+import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.25' // x-release-please-version
export interface MyData {
ok: 0 | 1
diff --git a/sonar-project.properties b/sonar-project.properties
index c978fb43..dc430b65 100644
--- a/sonar-project.properties
+++ b/sonar-project.properties
@@ -3,7 +3,7 @@ sonar.organization=poolifier
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.projectName=poolifier-web-worker
# x-release-please-start-version
-sonar.projectVersion=0.4.24
+sonar.projectVersion=0.4.25
# x-release-please-end
sonar.host.url=https://sonarcloud.io
sonar.sources=src
diff --git a/src/pools/version.ts b/src/pools/version.ts
index 18293263..52d15923 100644
--- a/src/pools/version.ts
+++ b/src/pools/version.ts
@@ -1,3 +1,3 @@
// x-release-please-start-version
-export const version = '0.4.24'
+export const version = '0.4.25'
// x-release-please-end