Skip to content

Commit

Permalink
chore: prepare 0.4.4 release
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
  • Loading branch information
jerome-benoit committed May 10, 2024
1 parent c656d24 commit cd088ab
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 13 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ for more details**:
<!-- deno-fmt-ignore -->

```js
<script type="module">import { ThreadWorker } from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.3/browser/mod.js'</script>
<script type="module">import { ThreadWorker } from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.4/browser/mod.js'</script>
```

```js
Expand All @@ -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'
</script>
```

Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "poolifier-web-worker",
"version": "0.4.3",
"version": "0.4.4",
"description": "poolifier-web-worker",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/dynamicExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/fixedExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/multiFunctionExample.js
Original file line number Diff line number Diff line change
@@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/multiFunctionWorker.js
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/javascript/yourWorker.js
Original file line number Diff line number Diff line change
@@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/typescript/pool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion examples/deno/typescript/worker.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/pools/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '0.4.3'
export const version = '0.4.4'

0 comments on commit cd088ab

Please sign in to comment.