Merge branch 'logo-and-readme' of https://github.com/pioardi/node-pool into logo...
[poolifier.git] / CHANGELOG.md
index 9a7d9427dc16e3b226afb26fa368870555981285..6e8e90a03a527a3192c64c8eb8ad6114009b5285 100644 (file)
@@ -31,12 +31,21 @@ const { DynamicThreadPool } = require('poolifier')
 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
+#### Public properties renaming
 
-Those methods are not intended to be used from final users
+- Thread Pool's `numWorkers` is now `numberOfWorkers`
+- Thread Pool's `nextWorker` is now `nextWorkerIndex`
+
+#### Internal (protected) properties and methods renaming
+
+These properties are not intended for end users
+
+- `id` => `nextMessageId`
+
+These methods are not intended for end users
 
 - `_chooseWorker` => `chooseWorker`
-- `_newWorker` => `newWorker`
+- `_newWorker` => `createWorker`
 - `_execute` => `internalExecute`
 - `_chooseWorker` => `chooseWorker`
 - `_checkAlive` => `checkAlive`