Skip to content

Commit 95a9d15

Browse files
chore(master): release 0.5.4 (#86)
* chore(master): release 0.5.4 * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 715ebd8 commit 95a9d15

File tree

14 files changed

+61
-18
lines changed

14 files changed

+61
-18
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.5.3"
2+
".": "0.5.4"
33
}

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,35 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [0.5.4](https://github.com/poolifier/poolifier-web-worker/compare/v0.5.3...v0.5.4) (2025-07-09)
10+
11+
### 🐞 Bug Fixes
12+
13+
- ensure dynamic worker can't be created at pool destroy
14+
([bec7b83](https://github.com/poolifier/poolifier-web-worker/commit/bec7b83a4f09a24f77d2fded262d25adfa3df1a0))
15+
- ensure worker kill message response is not handled by the generic listener
16+
([5214130](https://github.com/poolifier/poolifier-web-worker/commit/5214130b550628c131da778d8afe62cf83d9426c))
17+
18+
### ✨ Polish
19+
20+
- add worker strategy name to help UTs debug
21+
([e445aa7](https://github.com/poolifier/poolifier-web-worker/commit/e445aa7352f00a1ff195d531a07103a2c3887db5))
22+
- cleanup task function ops method
23+
([dcdb30a](https://github.com/poolifier/poolifier-web-worker/commit/dcdb30aad38938d792300b7300fd23ba39a935bf))
24+
- improve messaging worker id check error message
25+
([e1fbde5](https://github.com/poolifier/poolifier-web-worker/commit/e1fbde51b64d3b7de5c266ceb72b770331864404))
26+
- refine waitWorkerNodeEvents() API
27+
([41acf6b](https://github.com/poolifier/poolifier-web-worker/commit/41acf6bf39f1308f8609b3651b10a5f9b73091ed))
28+
29+
### 🧪 Tests
30+
31+
- add explainatory comment
32+
([0776b29](https://github.com/poolifier/poolifier-web-worker/commit/0776b29e288d9286d0eee1f36d11ffad0eda9799))
33+
- skip flaky test only the targeted OS
34+
([5bd7a88](https://github.com/poolifier/poolifier-web-worker/commit/5bd7a88111681516f08e0071d512668957217aee))
35+
- skip flaky tests on GH CI
36+
([cbb7ee2](https://github.com/poolifier/poolifier-web-worker/commit/cbb7ee2745ae25c020d8af2dd46ac72be52d76b5))
37+
938
## [0.5.3](https://github.com/poolifier/poolifier-web-worker/compare/v0.5.2...v0.5.3) (2025-07-07)
1039

1140
### 🐞 Bug Fixes

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ for more details**:
149149
<!-- deno-fmt-ignore -->
150150

151151
```js
152-
<script type="module">import { ThreadWorker } from 'https://cdn.jsdelivr.net/npm/[email protected].3/browser/mod.js'</script>
152+
<script type="module">import { ThreadWorker } from 'https://cdn.jsdelivr.net/npm/[email protected].4/browser/mod.js'</script>
153153
```
154154

155155
```js
@@ -159,7 +159,7 @@ import {
159159
DynamicThreadPool,
160160
FixedThreadPool,
161161
PoolEvents,
162-
} from 'https://cdn.jsdelivr.net/npm/[email protected].3/browser/mod.js'
162+
} from 'https://cdn.jsdelivr.net/npm/[email protected].4/browser/mod.js'
163163
</script>
164164
```
165165

deno.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "@poolifier/poolifier-web-worker",
3-
"version": "0.5.3",
3+
"version": "0.5.4",
44
"exports": "./src/mod.ts",
55
"compilerOptions": {
6-
"lib": ["deno.worker"],
6+
"lib": [
7+
"deno.worker"
8+
],
79
"strict": true
810
},
911
"tasks": {
@@ -24,7 +26,9 @@
2426
"documentation": "deno doc ./src/mod.ts"
2527
},
2628
"test": {
27-
"include": ["./tests/**/*.test.mjs"]
29+
"include": [
30+
"./tests/**/*.test.mjs"
31+
]
2832
},
2933
"fmt": {
3034
"semiColons": false,
@@ -37,8 +41,18 @@
3741
"@std/testing": "jsr:@std/testing@^1.0.14"
3842
},
3943
"publish": {
40-
"include": ["LICENSE", "README.md", "deno.json", "src/**/*.ts"]
44+
"include": [
45+
"LICENSE",
46+
"README.md",
47+
"deno.json",
48+
"src/**/*.ts"
49+
]
4150
},
4251
"lock": false,
43-
"exclude": ["./coverage", "./dist/browser", "./dist/esm", "./npm"]
52+
"exclude": [
53+
"./coverage",
54+
"./dist/browser",
55+
"./dist/esm",
56+
"./npm"
57+
]
4458
}

dist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "poolifier-web-worker",
3-
"version": "0.5.3",
3+
"version": "0.5.4",
44
"description": "poolifier-web-worker",
55
"repository": {
66
"type": "git",

examples/deno/javascript/dynamicExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
availableParallelism,
33
DynamicThreadPool,
44
PoolEvents,
5-
} from 'jsr:@poolifier/poolifier-web-worker@^0.5.3' // x-release-please-version
5+
} from 'jsr:@poolifier/poolifier-web-worker@^0.5.4' // x-release-please-version
66

77
const pool = new DynamicThreadPool(
88
Math.floor(availableParallelism() / 2),

examples/deno/javascript/fixedExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {
22
availableParallelism,
33
FixedThreadPool,
44
PoolEvents,
5-
} from 'jsr:@poolifier/poolifier-web-worker@^0.5.3' // x-release-please-version
5+
} from 'jsr:@poolifier/poolifier-web-worker@^0.5.4' // x-release-please-version
66

77
const pool = new FixedThreadPool(
88
availableParallelism(),

examples/deno/javascript/multiFunctionExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
availableParallelism,
33
FixedThreadPool,
4-
} from 'jsr:@poolifier/poolifier-web-worker@^0.5.3' // x-release-please-version
4+
} from 'jsr:@poolifier/poolifier-web-worker@^0.5.4' // x-release-please-version
55

66
const pool = new FixedThreadPool(
77
availableParallelism(),

examples/deno/javascript/multiFunctionWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.5.3' // x-release-please-version
1+
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.5.4' // x-release-please-version
22

33
function fn0(data) {
44
console.info('Executing fn0')

examples/deno/javascript/yourWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.5.3' // x-release-please-version
1+
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.5.4' // x-release-please-version
22

33
function yourFunction() {
44
for (let i = 0; i <= 1000; i++) {

0 commit comments

Comments
 (0)