X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=CHANGELOG.md;h=02624b45619c05a14917e0d3aa1fadc5e716d53c;hb=0ec231a10fe4a27f9428ebb356913873dba8b547;hp=f9ffd3756950b75a5f63a834a5df91695eb979e1;hpb=522eea0367c1381247471bc4393ae9c9de398120;p=poolifier.git diff --git a/CHANGELOG.md b/CHANGELOG.md index f9ffd375..02624b45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,50 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.0.0] - not released yet + +### Breaking Changes + +We changed some internal structures, but you shouldn't be too affected by them as these are internal changes. + +#### New `export` strategy + +```js +// Before +const DynamicThreadPool = require('poolifier/lib/dynamic') +// After +const { DynamicThreadPool } = require('poolifier/lib/dynamic') +``` + +But you should always prefer just using + +```js +const { DynamicThreadPool } = require('poolifier') +``` + +#### Internal (protected) methods renaming + +Those methods are not intended to be used from final users + +- `_chooseWorker` => `chooseWorker` +- `_newWorker` => `newWorker` +- `_execute` => `internalExecute` +- `_chooseWorker` => `chooseWorker` +- `_checkAlive` => `checkAlive` +- `_run` => `run` +- `_runAsync` => `runAsync` + +## [1.1.0] - 2020-21-05 + +### Added + +- ThreadWorker support async functions as option +- Various external library patches + ## [1.0.0] - 2020-24-01 ### Added - FixedThreadPool implementation - DynamicThreadPool implementation -- WorkerThread implementation to improve developer experience \ No newline at end of file +- WorkerThread implementation to improve developer experience