From: Jérôme Benoit Date: Tue, 15 Aug 2023 14:12:21 +0000 (+0200) Subject: docs: add changelog entry X-Git-Tag: v2.6.26~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1a3e01ba9edf407586186692631fb554b500c026;p=poolifier.git docs: add changelog entry Signed-off-by: Jérôme Benoit --- diff --git a/CHANGELOG.md b/CHANGELOG.md index f897624e..77bd77a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Add kill handler to worker options allowing to execute custom code when worker is killed. +- Add listTaskFunctions() method to pool API. - SMTP server pool example: nodemailer. ## [2.6.25] - 2023-08-13 @@ -81,7 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Add `listTaskFunctions()` method to worker class. +- Add `listTaskFunctions()` method to worker API. ## [2.6.16] - 2023-07-12 @@ -728,15 +729,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