Simplify worker choosing (#138)
[poolifier.git] / CHANGELOG.md
index 8479f0429b42ef98a0bdcfd38917728cda09f576..9a7d9427dc16e3b226afb26fa368870555981285 100644 (file)
@@ -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