X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=CHANGELOG.md;h=644025f2dc797c1e147844eb455a580be5efbe30;hb=5c53dee9aab38beaa8506351619fd5871d47fc2b;hp=77bd77a69f9fca0824f824dbabe8b1f4099408b9;hpb=1a3e01ba9edf407586186692631fb554b500c026;p=poolifier.git diff --git a/CHANGELOG.md b/CHANGELOG.md index 77bd77a6..644025f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.6.28] - 2023-08-16 + +### Fixed + +- Ensure pool workers are properly initialized. + +### Added + +- HTTP server pool examples: express-cluster, express-hybrid. + +### Changed + +- Remove now useless branching in worker hot code path. + +## [2.6.27] - 2023-08-15 + +### Fixed + +- Add `KillHandler` type definition to exported types. + +### Added + +- Add `destroy` event to pool API. + +## [2.6.26] - 2023-08-15 + ### Added - Add kill handler to worker options allowing to execute custom code when worker is killed. -- Add listTaskFunctions() method to pool API. +- Add `listTaskFunctions()` method to pool API. - SMTP server pool example: nodemailer. ## [2.6.25] - 2023-08-13 @@ -729,15 +755,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ```js // Before -const DynamicThreadPool = require("poolifier/lib/dynamic"); +const DynamicThreadPool = require('poolifier/lib/dynamic') // After -const { DynamicThreadPool } = require("poolifier/lib/dynamic"); +const { DynamicThreadPool } = require('poolifier/lib/dynamic') ``` But you should always prefer just using ```js -const { DynamicThreadPool } = require("poolifier"); +const { DynamicThreadPool } = require('poolifier') ``` #### New type definitions for input data and response