Only allow primitive JSON for transfer between worker and main worker (#128)
[poolifier.git] / CHANGELOG.md
index 02624b45619c05a14917e0d3aa1fadc5e716d53c..9a7d9427dc16e3b226afb26fa368870555981285 100644 (file)
@@ -26,6 +26,11 @@ But you should always prefer just using
 const { DynamicThreadPool } = require('poolifier')
 ```
 
+#### 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