X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=CHANGELOG.md;h=9a7d9427dc16e3b226afb26fa368870555981285;hb=afbc1e280c219008e0afeddc6bf4ae2d00a85b2e;hp=8479f0429b42ef98a0bdcfd38917728cda09f576;hpb=fa0f5b28a536f2bc5ebe395a0bac90b8a35d149e;p=poolifier.git diff --git a/CHANGELOG.md b/CHANGELOG.md index 8479f042..9a7d9427 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,18 +15,23 @@ We changed some internal structures, but you shouldn't be too affected by them a ```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') ``` -#### Internal (protected) methods has renamed +#### New type definitions for input data and response + +For cluster and thread pools, you can now only send and receive serializable `JSON` data. +_This is not a limitation by poolifier but NodeJS._ + +#### Internal (protected) methods renaming Those methods are not intended to be used from final users