## [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<Response>, priority?: number, strategy?: WorkerChoiceStrategy }`.
{
"$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"]
{
"$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",
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
-export const version = '3.1.30'
+export const version = '4.0.0'