From 1a3e01ba9edf407586186692631fb554b500c026 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 15 Aug 2023 16:12:21 +0200 Subject: [PATCH] docs: add changelog entry MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- CHANGELOG.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.34.1