fix: add types fileds to package.json exports
[poolifier.git] / CHANGELOG.md
index b2d3b81106d5a9ad712bbf738cb04ff853a36131..dd4b79681a224c036a351ddf5f3791831a956614 100644 (file)
@@ -7,6 +7,65 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+## Changed
+
+- Structure markdown documentation (PR #811).
+
+## Fixed
+
+- Add missing `types` field to package.json `exports`.
+
+## [2.6.21] - 2023-08-03
+
+### Changed
+
+- Improve code documentation.
+- Code refactoring and cleanup for better maintainability and readability.
+
+## [2.6.20] - 2023-07-21
+
+### Fixed
+
+- Fix queued tasks redistribution on error task execution starvation.
+- Ensure task queueing per worker condition is untangled from the pool busyness semantic.
+
+### Changed
+
+- Drastically reduce lookups by worker in the worker nodes.
+
+## [2.6.19] - 2023-07-20
+
+### Added
+
+- Dedicated internal communication channel for worker_threads pools.
+
+## [2.6.18] - 2023-07-19
+
+### Changed
+
+- Code refactoring and cleanup for better maintainability and readability. Bundle size is a bit smaller.
+
+## [2.6.17] - 2023-07-16
+
+### Added
+
+- Add `listTaskFunctions()` method to worker class.
+
+## [2.6.16] - 2023-07-12
+
+### Fixed
+
+- Fix pool startup detection.
+- Fix worker task functions handling.
+
+## [2.6.15] - 2023-07-11
+
+### Added
+
+- Take into account worker node readiness in worker choice strategies.
+
+## [2.6.14] - 2023-07-10
+
 ### Fixed
 
 - Fix task function statistics tracking.
@@ -97,7 +156,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Removed
 
-- Remove unneeded worker-threads worker `MessageChannel` internal usage for IPC.
+- Remove unneeded worker_threads worker `MessageChannel` internal usage for IPC.
 
 ## [2.6.4] - 2023-06-27
 
@@ -113,7 +172,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Removed
 
-- Remove unneeded worker-threads worker `MessageChannel` internal usage for IPC.
+- Remove unneeded worker_threads worker `MessageChannel` internal usage for IPC.
 
 ## [2.6.3] - 2023-06-19
 
@@ -170,7 +229,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Changed
 
 - Compute statistics at the worker level only if needed.
-- Add `worker-threads` options to thread pool options.
+- Add `worker_threads` options to thread pool options.
 
 ### Fixed
 
@@ -254,7 +313,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Fixed
 
-- Fix typescript type definition for worker function: ensure the input data is optional.
+- Fix typescript type definition for task function: ensure the input data is optional.
 - Fix typescript type definition for pool execute(): ensure the input data is optional.
 
 ## [2.4.9] - 2023-04-15
@@ -271,7 +330,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Fixed
 
-- Fix worker function type definition and validation.
+- Fix task function type definition and validation.
 - Fix worker choice strategy options handling.
 
 ## [2.4.8] - 2023-04-12
@@ -448,7 +507,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Fixed
 
-- Fix `exports` syntax for ESM and CommonJS.
+- Fix package.json `exports` syntax for ESM and CommonJS.
 
 ### Changed
 
@@ -458,7 +517,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Fixed
 
-- Fix `exports` syntax for ESM and CommonJS.
+- Fix package.json `exports` syntax for ESM and CommonJS.
 
 ## [2.3.10-1] - 2023-03-18
 
@@ -470,7 +529,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Fixed
 
-- Fix `exports` syntax for ESM and CommonJS.
+- Fix package.json `exports` syntax for ESM and CommonJS.
 
 ## [2.3.9] - 2023-03-18
 
@@ -585,7 +644,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Breaking Changes
 
-- Support only NodeJS version 16.x.x for cluster pool: upstream cluster API have changed on that version.
+- Support only Node.js version 16.x.x for cluster pool: upstream cluster API have changed on that version.
 
 ## [2.1.0] - 2021-08-29
 
@@ -651,7 +710,7 @@ const { DynamicThreadPool } = require('poolifier')
 #### New type definitions for input data and response
 
 For cluster worker and worker-thread pools, you can now only send and receive structured-cloneable data.  
-_This is not a limitation by poolifier but NodeJS._
+_This is not a limitation by poolifier but Node.js._
 
 #### Public property replacements