From: Jérôme Benoit Date: Tue, 30 Apr 2024 19:34:59 +0000 (+0200) Subject: chore: v4.0.0 X-Git-Tag: v4.0.0 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f352cf387e9d4a445d2479cebe63ccd44d5fc194;p=poolifier.git chore: v4.0.0 --- diff --git a/CHANGELOG.md b/CHANGELOG.md index fad95b95..e9d570eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [4.0.0] - 2024-04-30 + ### Changed - Support per task function(s) priority and worker choice strategy definition via a task function object: `{ taskFunction: (data?: Data) => Response | Promise, priority?: number, strategy?: WorkerChoiceStrategy }`. diff --git a/jsr.json b/jsr.json index ee7f7c4b..dd410e67 100644 --- a/jsr.json +++ b/jsr.json @@ -1,7 +1,7 @@ { "$schema": "https://jsr.io/schema/config-file.v1.json", "name": "@poolifier/poolifier", - "version": "3.1.30", + "version": "4.0.0", "exports": "./src/index.ts", "publish": { "include": ["LICENSE", "README.md", "jsr.json", "src/**/*.ts"] diff --git a/package.json b/package.json index d1b5ffa9..c893eac1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package", "name": "poolifier", - "version": "3.1.30", + "version": "4.0.0", "description": "Fast and small Node.js Worker_Threads and Cluster Worker Pool", "license": "MIT", "type": "module", diff --git a/sonar-project.properties b/sonar-project.properties index 651ddf7f..b03ec371 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,7 +3,7 @@ sonar.organization=poolifier sonar.javascript.exclusions=lib/**/*.mjs sonar.javascript.lcov.reportPaths=coverage/lcov.info sonar.projectName=poolifier -sonar.projectVersion=3.1.30 +sonar.projectVersion=4.0.0 sonar.host.url=https://sonarcloud.io #sonar.sources=src sonar.sources=lib diff --git a/src/pools/version.ts b/src/pools/version.ts index 199d0bf5..91acebf8 100644 --- a/src/pools/version.ts +++ b/src/pools/version.ts @@ -1 +1 @@ -export const version = '3.1.30' +export const version = '4.0.0'