Skip to content

Commit d4819b3

Browse files
chore(master): release 0.4.22 (#61)
* chore(master): release 0.4.22 * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 5c504d4 commit d4819b3

File tree

14 files changed

+46
-18
lines changed

14 files changed

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

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ 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.4.22](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.21...v0.4.22) (2024-08-26)
10+
11+
### 🐞 Bug Fixes
12+
13+
- ensure no deleted dynamic worker can be used to steal task(s)
14+
([5c504d4](https://github.com/poolifier/poolifier-web-worker/commit/5c504d4960df7e8540bf60282d14c57c6ca07eb5))
15+
16+
### ✨ Polish
17+
18+
- cleanup worker node back pressure detection implementation
19+
([1e0e4b5](https://github.com/poolifier/poolifier-web-worker/commit/1e0e4b5fe86713aacaa5348557bc58f2a7e7be3e))
20+
- cleanup worker node state conditions check
21+
([5d8036c](https://github.com/poolifier/poolifier-web-worker/commit/5d8036cbc745b0fb568673022190b47c0485e969))
22+
923
## [0.4.21](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.20...v0.4.21) (2024-08-24)
1024

1125
### 🐞 Bug Fixes

README.md

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

150150
```js
151-
<script type="module">import { ThreadWorker } from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.21/browser/mod.js'</script>
151+
<script type="module">import { ThreadWorker } from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.22/browser/mod.js'</script>
152152
```
153153

154154
```js
@@ -158,7 +158,7 @@ import {
158158
DynamicThreadPool,
159159
FixedThreadPool,
160160
PoolEvents,
161-
} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.21/browser/mod.js'
161+
} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.22/browser/mod.js'
162162
</script>
163163
```
164164

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.4.21",
3+
"version": "0.4.22",
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,
@@ -38,8 +42,18 @@
3842
"expect": "npm:expect@^29.7.0"
3943
},
4044
"publish": {
41-
"include": ["LICENSE", "README.md", "deno.json", "src/**/*.ts"]
45+
"include": [
46+
"LICENSE",
47+
"README.md",
48+
"deno.json",
49+
"src/**/*.ts"
50+
]
4251
},
4352
"lock": false,
44-
"exclude": ["./coverage", "./dist/browser", "./dist/esm", "./npm"]
53+
"exclude": [
54+
"./coverage",
55+
"./dist/browser",
56+
"./dist/esm",
57+
"./npm"
58+
]
4559
}

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.4.21",
3+
"version": "0.4.22",
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.4.21' // x-release-please-version
5+
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.22' // 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.4.21' // x-release-please-version
5+
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.22' // 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.4.21' // x-release-please-version
4+
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.22' // 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.4.21' // x-release-please-version
1+
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.22' // 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.4.21' // x-release-please-version
1+
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.22' // x-release-please-version
22

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

0 commit comments

Comments
 (0)