diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json index 708dbbfd..f56f694f 100644 --- a/.github/release-please/manifest.json +++ b/.github/release-please/manifest.json @@ -1,3 +1,3 @@ { - ".": "0.4.27" + ".": "0.4.28" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c411330..2c176f1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,34 @@ 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.28](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.27...v0.4.28) (2024-10-05) + + +### 🚀 Features + +* add deno 2.x.x support ([47dfca2](https://github.com/poolifier/poolifier-web-worker/commit/47dfca2a5f2db11cac95fb51298e6731e6cfb60e)) + + +### 🐞 Bug Fixes + +* **benchmarks:** add upper/lower values to BMF throughput ([d5ccee0](https://github.com/poolifier/poolifier-web-worker/commit/d5ccee0843c552153761f402d040908c4b8e1295)) +* **benchmarks:** fix BMF report upper/lower values ([c352783](https://github.com/poolifier/poolifier-web-worker/commit/c352783ecff743dc86649f02030be25fbef9e20c)) +* fix benchmarks report conversion to BMF format ([9d39cfe](https://github.com/poolifier/poolifier-web-worker/commit/9d39cfee5c200e176bcc5ce65fa79dd21ba3844f)) + + +### ✨ Polish + +* **benchmarks:** cleanup JS runtime detection code ([8bd7fa6](https://github.com/poolifier/poolifier-web-worker/commit/8bd7fa6277633047de2b10628c9cab2d2450179e)) +* cleanup multiple JS runtime support implementation ([ca64e63](https://github.com/poolifier/poolifier-web-worker/commit/ca64e63d6768eb55d234a375fc8c2a88337a5f8f)) +* cleanup task function ops validation ([766352d](https://github.com/poolifier/poolifier-web-worker/commit/766352d6396c7da5ade57f07514d5c57126febe8)) + + +### 🤖 Automation + +* **ci:** add deno 2.x.x RC ([a4c218d](https://github.com/poolifier/poolifier-web-worker/commit/a4c218dded5d1b8aaf409cbe8d9b4060ef1a5f7d)) +* **ci:** revert deno 2.x.x integration ([d0bf8a9](https://github.com/poolifier/poolifier-web-worker/commit/d0bf8a92a40cd8883e133f5d289a1b14eca4660a)) +* **deps:** Bump sonarsource/sonarcloud-github-action ([#68](https://github.com/poolifier/poolifier-web-worker/issues/68)) ([29df0a7](https://github.com/poolifier/poolifier-web-worker/commit/29df0a7a94e85ba2b4d724189701d83701e64e08)) + ## [0.4.27](https://github.com/poolifier/poolifier-web-worker/compare/v0.4.26...v0.4.27) (2024-09-08) ### ⚡ Performance diff --git a/README.md b/README.md index df6ec0bc..a15277b4 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.27/browser/mod.js' +} from 'https://cdn.jsdelivr.net/npm/poolifier-web-worker@0.4.28/browser/mod.js' ``` diff --git a/deno.json b/deno.json index 2b227c46..ffa5fc4a 100644 --- a/deno.json +++ b/deno.json @@ -1,9 +1,11 @@ { "name": "@poolifier/poolifier-web-worker", - "version": "0.4.27", + "version": "0.4.28", "exports": "./src/mod.ts", "compilerOptions": { - "lib": ["deno.worker"], + "lib": [ + "deno.worker" + ], "strict": true }, "tasks": { @@ -24,7 +26,9 @@ "documentation": "deno doc ./src/mod.ts" }, "test": { - "include": ["./tests/**/*.test.mjs"] + "include": [ + "./tests/**/*.test.mjs" + ] }, "fmt": { "semiColons": false, @@ -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" + ] } diff --git a/dist/package.json b/dist/package.json index cf279e6d..55d19f88 100644 --- a/dist/package.json +++ b/dist/package.json @@ -1,6 +1,6 @@ { "name": "poolifier-web-worker", - "version": "0.4.27", + "version": "0.4.28", "description": "poolifier-web-worker", "repository": { "type": "git", diff --git a/examples/deno/javascript/dynamicExample.js b/examples/deno/javascript/dynamicExample.js index 6ef23ad2..eaefb6ac 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.27' // x-release-please-version +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.28' // x-release-please-version const pool = new DynamicThreadPool( Math.floor(availableParallelism() / 2), diff --git a/examples/deno/javascript/fixedExample.js b/examples/deno/javascript/fixedExample.js index 6691225d..5351ff93 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.27' // x-release-please-version +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.28' // x-release-please-version const pool = new FixedThreadPool( availableParallelism(), diff --git a/examples/deno/javascript/multiFunctionExample.js b/examples/deno/javascript/multiFunctionExample.js index 69a9f214..6ca2dea6 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.27' // x-release-please-version +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.28' // x-release-please-version const pool = new FixedThreadPool( availableParallelism(), diff --git a/examples/deno/javascript/multiFunctionWorker.js b/examples/deno/javascript/multiFunctionWorker.js index a8ac20cc..6a534925 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.27' // x-release-please-version +import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.28' // x-release-please-version function fn0(data) { console.info('Executing fn0') diff --git a/examples/deno/javascript/yourWorker.js b/examples/deno/javascript/yourWorker.js index 962252f1..15b01015 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.27' // x-release-please-version +import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.28' // x-release-please-version function yourFunction() { for (let i = 0; i <= 1000; i++) { diff --git a/examples/deno/typescript/pool.ts b/examples/deno/typescript/pool.ts index 42504e30..c8c0a9e2 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.27' // x-release-please-version +} from 'jsr:@poolifier/poolifier-web-worker@^0.4.28' // x-release-please-version 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 b212df12..d33463bc 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.27' // x-release-please-version +import { ThreadWorker } from 'jsr:@poolifier/poolifier-web-worker@^0.4.28' // x-release-please-version export interface MyData { ok: 0 | 1 diff --git a/sonar-project.properties b/sonar-project.properties index 2fcbe690..aceba60c 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,7 +3,7 @@ sonar.organization=poolifier sonar.typescript.lcov.reportPaths=coverage/lcov.info sonar.projectName=poolifier-web-worker # x-release-please-start-version -sonar.projectVersion=0.4.27 +sonar.projectVersion=0.4.28 # x-release-please-end sonar.host.url=https://sonarcloud.io sonar.sources=src diff --git a/src/pools/version.ts b/src/pools/version.ts index 2ef38124..da0661b2 100644 --- a/src/pools/version.ts +++ b/src/pools/version.ts @@ -1,3 +1,3 @@ // x-release-please-start-version -export const version = '0.4.27' +export const version = '0.4.28' // x-release-please-end