diff --git a/CHANGELOG.md b/CHANGELOG.md
index e50e8a82..9fe313c5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,8 @@ and this project adheres to
## [Unreleased]
+## [0.4.2] - 2024-05-08
+
### Changed
- Optimize task(s) stealing by dequeuing task(s) from the last prioritized
diff --git a/README.md b/README.md
index 1d8d09ed..7935e639 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.1/browser/mod.js'
+} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.2/browser/mod.js'
```
diff --git a/deno.json b/deno.json
index 8c46c6c4..a3b6bbd3 100644
--- a/deno.json
+++ b/deno.json
@@ -1,6 +1,6 @@
{
"name": "@poolifier/poolifier-web-worker",
- "version": "0.4.1",
+ "version": "0.4.2",
"exports": "./src/mod.ts",
"compilerOptions": {
"lib": ["deno.worker"],
diff --git a/dist/package.json b/dist/package.json
index a276ac3d..6fff1d2f 100644
--- a/dist/package.json
+++ b/dist/package.json
@@ -1,6 +1,6 @@
{
"name": "poolifier-web-worker",
- "version": "0.4.1",
+ "version": "0.4.2",
"description": "poolifier-web-worker",
"repository": {
"type": "git",
diff --git a/examples/deno/javascript/dynamicExample.js b/examples/deno/javascript/dynamicExample.js
index 587045eb..e82e0850 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.1'
+} from 'jsr:@poolifier/poolifier-web-worker@^0.4.2'
const pool = new DynamicThreadPool(
Math.floor(availableParallelism() / 2),
diff --git a/examples/deno/javascript/fixedExample.js b/examples/deno/javascript/fixedExample.js
index 0ae85b6a..cca7c66c 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.1'
+} from 'jsr:@poolifier/poolifier-web-worker@^0.4.2'
const pool = new FixedThreadPool(
availableParallelism(),
diff --git a/examples/deno/javascript/multiFunctionExample.js b/examples/deno/javascript/multiFunctionExample.js
index d1e0bcda..4c30ff1a 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.1'
+} from 'jsr:@poolifier/poolifier-web-worker@^0.4.2'
const pool = new FixedThreadPool(
availableParallelism(),
diff --git a/examples/deno/javascript/multiFunctionWorker.js b/examples/deno/javascript/multiFunctionWorker.js
index 6d00e887..2c8d16ec 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.1'
+import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.2'
function fn0(data) {
console.info('Executing fn0')
diff --git a/examples/deno/javascript/yourWorker.js b/examples/deno/javascript/yourWorker.js
index 7cbab3cf..25e35774 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.1'
+import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.2'
function yourFunction() {
for (let i = 0; i <= 1000; i++) {
diff --git a/examples/deno/typescript/pool.ts b/examples/deno/typescript/pool.ts
index 63a17631..c9d9c4b7 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.1'
+} from 'jsr:@poolifier/poolifier-web-worker@^0.4.2'
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 df908d29..917fdf5e 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.1'
+import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.2'
export interface MyData {
ok: 0 | 1
diff --git a/sonar-project.properties b/sonar-project.properties
index 10157be6..4f73848c 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.1
+sonar.projectVersion=0.4.2
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 371cf6b1..68bb38a9 100644
--- a/src/pools/version.ts
+++ b/src/pools/version.ts
@@ -1 +1 @@
-export const version = '0.4.1'
+export const version = '0.4.2'