Skip to content

Commit

Permalink
chore(master): release 0.4.26 (#65)
Browse files Browse the repository at this point in the history
* chore(master): release 0.4.26

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
jerome-benoit and autofix-ci[bot] committed Sep 6, 2024
1 parent fb1ec6f commit 28d8efb
Show file tree
Hide file tree
Showing 14 changed files with 51 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/release-please/manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.4.25"
".": "0.4.26"
}
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ 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.26](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.25...v0.4.26) (2024-09-06)

### ⚡ Performance

- optimize backpressure task(s) stealing conditions
([75ddbb8](https://github.com/poolifier/poolifier-web-worker/commit/75ddbb89038ca0df1a05a4879ebde041dcaee97f))

### ✨ Polish

- add `isWorkerNodeStealing()` helper
([508b201](https://github.com/poolifier/poolifier-web-worker/commit/508b2015bba43e2019b0d2aadca1eaa468609295))
- factor out stealing ratio conditions check into an helper
([17369b6](https://github.com/poolifier/poolifier-web-worker/commit/17369b636797daff75a1a14e4a3a8d8451b5fabd))

### 🧪 Tests

- cleanup error handling expectations
([ecf101e](https://github.com/poolifier/poolifier-web-worker/commit/ecf101edc4ffecb34e316c4a74b5e36bc85d27e6))

## [0.4.25](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.24...v0.4.25) (2024-08-30)

### 🐞 Bug Fixes
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.25/browser/mod.js'</script>
<script type="module">import { ThreadWorker } from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.26/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.25/browser/mod.js'
} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.26/browser/mod.js'
</script>
```

Expand Down
24 changes: 19 additions & 5 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "@poolifier/poolifier-web-worker",
"version": "0.4.25",
"version": "0.4.26",
"exports": "./src/mod.ts",
"compilerOptions": {
"lib": ["deno.worker"],
"lib": [
"deno.worker"
],
"strict": true
},
"tasks": {
Expand All @@ -24,7 +26,9 @@
"documentation": "deno doc ./src/mod.ts"
},
"test": {
"include": ["./tests/**/*.test.mjs"]
"include": [
"./tests/**/*.test.mjs"
]
},
"fmt": {
"semiColons": false,
Expand All @@ -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"
]
}
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.25",
"version": "0.4.26",
"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.25' // x-release-please-version
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.26' // x-release-please-version

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.25' // x-release-please-version
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.26' // x-release-please-version

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.25' // x-release-please-version
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.26' // x-release-please-version

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.25' // x-release-please-version
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.26' // x-release-please-version

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.25' // x-release-please-version
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.26' // x-release-please-version

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.25' // x-release-please-version
} from 'jsr:@poolifier/poolifier-web-worker@^0.4.26' // x-release-please-version
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.25' // x-release-please-version
import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.26' // x-release-please-version

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 @@ -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.25
sonar.projectVersion=0.4.26
# x-release-please-end
sonar.host.url=https://sonarcloud.io
sonar.sources=src
Expand Down
2 changes: 1 addition & 1 deletion src/pools/version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// x-release-please-start-version
export const version = '0.4.25'
export const version = '0.4.26'
// x-release-please-end

0 comments on commit 28d8efb

Please sign in to comment.