docs: add changelog entry
[poolifier.git] / CHANGELOG.md
CommitLineData
522eea03 1# Changelog
2
3All notable changes to this project will be documented in this file.
4
d4abc60a 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
522eea03 6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
45a5a54c
JB
8## [Unreleased]
9
2111ec12
JB
10### Changed
11
12- Improve code documentation.
13- Code refactoring and cleanup for better maintainability and readability.
14
5c30b9d9
JB
15## [2.6.20] - 2023-07-21
16
10ecf8fd
JB
17### Fixed
18
19- Fix queued tasks redistribution on error task execution starvation.
4e377863 20- Ensure task queueing per worker condition is untangled from the pool busyness semantic.
10ecf8fd 21
aa9eede8
JB
22### Changed
23
7c89e6a4 24- Drastically reduce lookups by worker in the worker nodes.
aa9eede8 25
62485908
JB
26## [2.6.19] - 2023-07-20
27
2e2ef9c3
JB
28### Added
29
30- Dedicated internal communication channel for worker_threads pools.
31
8f4c9491
JB
32## [2.6.18] - 2023-07-19
33
8660b972
JB
34### Changed
35
36- Code refactoring and cleanup for better maintainability and readability. Bundle size is a bit smaller.
37
206a3519
JB
38## [2.6.17] - 2023-07-16
39
b4899fae
JB
40### Added
41
b569873d 42- Add `listTaskFunctions()` method to worker class.
b4899fae 43
58a06a6c
JB
44## [2.6.16] - 2023-07-12
45
2a69b8c5
JB
46### Fixed
47
80520ca4 48- Fix pool startup detection.
2a69b8c5
JB
49- Fix worker task functions handling.
50
b5900b02
JB
51## [2.6.15] - 2023-07-11
52
19dbc45b
JB
53### Added
54
55- Take into account worker node readiness in worker choice strategies.
56
4a0db581
JB
57## [2.6.14] - 2023-07-10
58
87e44747
JB
59### Fixed
60
61- Fix task function statistics tracking.
62
0265272f
JB
63## [2.6.13] - 2023-07-10
64
968a2e8c
JB
65### Added
66
67- Add per task function statistics tracking.
782299f8 68- Add public methods to manipulate the worker task functions at runtime.
968a2e8c 69
44c8c00f
JB
70## [2.6.12] - 2023-07-09
71
aa4bf4b2
JB
72### Fixed
73
74- Workaround import issue with `node:os` module in node 16.x.x.
75
b7cfced1
JB
76## [2.6.11] - 2023-07-09
77
d5024c00
JB
78### Fixed
79
80- Fix pool readiness semantic.
81
f313a208
JB
82## [2.6.10] - 2023-07-08
83
2431bdb4
JB
84### Fixed
85
86- Ensure workers are not recreated on error at pool startup.
87
88### Added
89
90- Add `ready` and `strategy` fields to pool information.
91- Add pool event `ready` to notify when the number of workers created in the pool has reached the maximum size expected and are ready.
caadbd41 92- Add dynamic pool sizing checks.
2431bdb4 93
369d0a51
JB
94## [2.6.9] - 2023-07-07
95
2845f2a5
JB
96### Fixed
97
98- Recreate the right worker type on uncaught exception.
99
100### Added
101
102- Add minimum and maximum to internal measurement statistics.
1dcf8b7b 103- Add `runTime` and `waitTime` to pool information.
75d3401a 104- Check worker inactive time only on dynamic worker.
2845f2a5 105
fc97d613
JB
106## [2.6.8] - 2023-07-03
107
92b1feaa
JB
108### Fixed
109
110- Brown paper bag release to fix version handling in pool information.
111
52d54060
JB
112## [2.6.7] - 2023-07-03
113
5bc91f3e
JB
114### Fixed
115
116- Ensure worker queued tasks at error are reassigned to other pool workers.
117
afe0d5bf
JB
118### Added
119
120- Add pool `utilization` ratio to pool information.
23ccf9d7 121- Add `version` to pool information.
e5b3047d 122- Add worker information to worker nodes.
afe0d5bf 123
f42c583f
JB
124## [2.6.6] - 2023-07-01
125
6961ca9a
JB
126### Added
127
128- Add safe helper `availableParallelism` to help sizing the pool.
129
3749facb
JB
130### Fixed
131
132- Ensure message handler is only registered in worker.
133
6fed2513
JB
134## [2.6.5] - 2023-06-27
135
c72f6987
JB
136### Known issues
137
70726c28 138- Cluster pools tasks execution are not working by using ESM files extension: https://github.com/poolifier/poolifier/issues/782
c72f6987
JB
139
140### Fixed
141
142- Artificial version bump to 2.6.5 to workaround publication issue.
143- Ensure cluster pool destroy() gracefully shutdowns worker's server.
144- Ensure pool event is emitted before task error promise rejection.
145- Fix queued tasks count computation.
146
147### Removed
148
2fbe1783 149- Remove unneeded worker_threads worker `MessageChannel` internal usage for IPC.
c72f6987 150
6426631b
JB
151## [2.6.4] - 2023-06-27
152
941f9a7c
JB
153### Known issues
154
70726c28 155- Cluster pools tasks execution are not working by using ESM files extension: https://github.com/poolifier/poolifier/issues/782
941f9a7c 156
2c039e43
JB
157### Fixed
158
159- Ensure cluster pool destroy() gracefully shutdowns worker's server.
160- Ensure pool event is emitted before task error promise rejection.
9c16fb4b 161- Fix queued tasks count computation.
2c039e43 162
941f9a7c
JB
163### Removed
164
2fbe1783 165- Remove unneeded worker_threads worker `MessageChannel` internal usage for IPC.
941f9a7c 166
bc1b0765
JB
167## [2.6.3] - 2023-06-19
168
a6a2dc4c
JB
169### Fixed
170
171- Ensure no tasks are queued when trying to soft kill a dynamic worker.
f0d7f803 172- Update strategies internals after statistics computation.
a6a2dc4c 173
7b56f532
JB
174### Changed
175
176- Optimize O(1) queue implementation.
177
b628596c
JB
178## [2.6.2] - 2023-06-12
179
a9e89d00
JB
180### Fixed
181
182- Fix new worker use after creation in dynamic pool given the current worker choice strategy.
183
4368a898
JB
184## [2.6.1] - 2023-06-10
185
931d43e2
JB
186### Added
187
188- Add worker choice strategy documentation: [README.md](./src/pools/selection-strategies/README.md).
189
f1c06930
JB
190### Fixed
191
192- Fix average statistics computation: ensure failed tasks are not accounted.
193
16671b07
JB
194## [2.6.0] - 2023-06-09
195
a1347286
JB
196### Added
197
5af9c0f7 198- Add `LEAST_ELU` worker choice strategy (experimental).
9adcefab 199- Add tasks ELU instead of runtime support to `FAIR_SHARE` worker choice strategy.
a1347286 200
1c6fe997
JB
201### Changed
202
203- Refactor pool worker node usage internals.
477f48e7 204- Breaking change: refactor worker choice strategy statistics requirements: the syntax of the worker choice strategy options has changed.
f63a9dda 205- Breaking change: pool information `info` property object fields have been renamed.
1c6fe997
JB
206
207### Fixed
208
209- Fix wait time accounting.
210- Ensure worker choice strategy `LEAST_BUSY` accounts also tasks wait time.
211- Ensure worker choice strategy `LEAST_USED` accounts also queued tasks.
212
aa07d6ee
JB
213## [2.5.4] - 2023-06-07
214
b6b32453
JB
215### Added
216
217- Add Event Loop Utilization (ELU) statistics to worker tasks usage.
218
219### Changed
220
221- Compute statistics at the worker level only if needed.
2fbe1783 222- Add `worker_threads` options to thread pool options.
b6b32453 223
272d4d8f
JB
224### Fixed
225
226- Make the `LEAST_BUSY` strategy only relies on task runtime.
227
ed47fb3d
JB
228## [2.5.3] - 2023-06-04
229
89a4abfd
JB
230### Changed
231
232- Refine pool information content.
b4213b7f 233- Limit pool internals public exposure.
89a4abfd 234
8a9febf5
JB
235## [2.5.2] - 2023-06-02
236
91ee39ed
JB
237### Added
238
239- Add `taskError` pool event for task execution error.
6b27d407 240- Add pool information `info` property to pool.
91ee39ed
JB
241- Emit pool information on `busy` and `full` pool events.
242
8babb151
JB
243## [2.5.1] - 2023-06-01
244
0e05c4dc
JB
245### Added
246
1f68cede 247- Add pool option `restartWorkerOnError` to restart worker on uncaught error. Default to `true`.
91ee39ed 248- Add `error` pool event for uncaught worker error.
0e05c4dc 249
a8766181
JB
250## [2.5.0] - 2023-05-31
251
e4543b14
JB
252### Added
253
254- Switch pool event emitter to `EventEmitterAsyncResource`.
6da80d38 255- Add tasks wait time accounting in per worker tasks usage.
5af9c0f7 256- Add interleaved weighted round robin `INTERLEAVED_WEIGHTED_ROUND_ROBIN` worker choice strategy (experimental).
e4543b14
JB
257
258### Changed
259
260- Renamed worker choice strategy `LESS_BUSY` to `LEAST_BUSY` and `LESS_USED` to `LEAST_USED`.
261
570efb11
JB
262## [2.4.14] - 2023-05-09
263
b0f28bad
JB
264### Fixed
265
266- Ensure no undefined task runtime can land in the tasks history.
267- Fix median computation implementation once again.
268
110b6d13
JB
269### Added
270
271- Unit tests for median and queue implementations.
272
72584880
JB
273## [2.4.13] - 2023-05-08
274
b0d6ed8f
JB
275### Fixed
276
e3058615 277- Fix worker choice strategy options validation.
b0d6ed8f
JB
278- Fix fair share worker choice strategy internals update: ensure virtual task end timestamp is computed at task submission.
279
06140c32
JB
280## [2.4.12] - 2023-05-06
281
a86b6df1
JB
282### Added
283
284- Support multiple task functions per worker.
08f3f44c 285- Add custom worker weights support to worker choice strategies options.
a86b6df1 286
29ee7e9a
JB
287### Changed
288
289- Use O(1) queue implementation for tasks queueing.
290
0682ba15
JB
291### Fixed
292
293- Fix median computation implementation.
294- Fix fair share worker choice strategy internals update.
295
936d53ec
JB
296## [2.4.11] - 2023-04-23
297
cb70b19d
JB
298### Changed
299
300- Optimize free worker finding in worker choice strategies.
301
15bb637a
JB
302## [2.4.10] - 2023-04-15
303
ef41a6e6
JB
304### Fixed
305
82ea6492 306- Fix typescript type definition for task function: ensure the input data is optional.
ef41a6e6
JB
307- Fix typescript type definition for pool execute(): ensure the input data is optional.
308
181eb2b4
JB
309## [2.4.9] - 2023-04-15
310
a20f0ba5
JB
311### Added
312
313- Add tasks queue enablement runtime setter to pool.
314- Add tasks queue options runtime setter to pool.
315- Add worker choice strategy options runtime setter to pool.
316
317### Changed
318
319- Remove the tasks queuing experimental status.
320
d4aeae5a
JB
321### Fixed
322
82ea6492 323- Fix task function type definition and validation.
2fc5cae3 324- Fix worker choice strategy options handling.
d4aeae5a 325
1d9e7023
JB
326## [2.4.8] - 2023-04-12
327
f9b4bbf8
JB
328### Fixed
329
330- Fix message between main worker and worker type definition for tasks.
331- Fix code documentation.
332
12ae3210
JB
333## [2.4.7] - 2023-04-11
334
7171d33f
JB
335### Added
336
337- Add worker tasks queue options to pool options.
338
e8bd29ce
JB
339### Fixed
340
341- Fix missing documentation.
342
42c7bc10
JB
343## [2.4.6] - 2023-04-10
344
681196cc
JB
345### Fixed
346
347- Ensure one task at a time is executed per worker with tasks queueing enabled.
1c6fe997 348- Properly count worker executing tasks with tasks queueing enabled.
681196cc 349
54d360e3
JB
350## [2.4.5] - 2023-04-09
351
3fafb1b2
JB
352### Added
353
9e775f96
JB
354- Use monotonic high resolution timer for worker tasks runtime.
355- Add worker tasks median runtime to statistics.
ff733df7 356- Add worker tasks queue (experimental).
3fafb1b2 357
92fa3eb6
JB
358## [2.4.4] - 2023-04-07
359
aee46736
JB
360### Added
361
362- Add `PoolEvents` enumeration and `PoolEvent` type.
363
36b5e78f
JB
364### Fixed
365
ff0c2b3e 366- Destroy worker only on alive check.
36b5e78f 367
9fb0f324
JB
368## [2.4.3] - 2023-04-07
369
28cf3617
JB
370### Fixed
371
372- Fix typedoc generation with inheritance.
373
848f0f27
JB
374## [2.4.2] - 2023-04-06
375
164d950a
JB
376### Added
377
378- Add `full` event to dynamic pool.
32417142 379- Keep worker choice strategy in memory for conditional reuse.
164d950a 380
78ab2555
JB
381### Fixed
382
383- Fix possible negative worker key at worker removal in worker choice strategies.
384
79aafe9f
JB
385## [2.4.1] - 2023-04-05
386
9cd39dd4
JB
387### Changed
388
389- Optimize worker choice strategy for dynamic pool.
390
965415bb
JB
391### Fixed
392
393- Ensure dynamic pool does not alter worker choice strategy expected behavior.
394
d8b60b1c
JB
395## [2.4.0] - 2023-04-04
396
c6bd2650
JB
397### Added
398
399- Add `LESS_BUSY` worker choice strategy.
400
401### Changed
402
403- Optimize worker storage in pool.
404- Optimize worker alive status check.
405- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
406- Optimize `LESS_USED` worker choice strategy.
407- Update benchmarks versus external threads pools.
408- Optimize tasks usage statistics requirements for worker choice strategy.
409
410### Fixed
411
412- Ensure trimmable characters are checked at pool initialization.
413- Fix message id integer overflow.
414- Fix pool worker removal in worker choice strategy internals.
415- Fix package publication with pnpm.
416
d0a3f018
JB
417## [2.4.0-3] - 2023-04-04
418
b2ede285
JB
419### Added
420
421- Add `LESS_BUSY` worker choice strategy.
422
423### Changed
424
425- Optimize worker storage in pool.
426- Optimize worker alive status check.
427- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
428- Optimize `LESS_USED` worker choice strategy.
429- Update benchmarks versus external threads pools.
430
431### Fixed
432
433- Ensure trimmable characters are checked at pool initialization.
434- Fix message id integer overflow.
435- Fix pool worker removal in worker choice strategy internals.
436- Fix package publication with pnpm.
437
a015ea40
JB
438## [2.4.0-2] - 2023-04-03
439
698f4bbc
JB
440### Added
441
442- Add `LESS_BUSY` worker choice strategy.
443
444### Changed
445
446- Optimize worker storage in pool.
447- Optimize worker alive status check.
448- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
449- Optimize `LESS_USED` worker choice strategy.
450
451### Fixed
452
453- Ensure trimmable characters are checked at pool initialization.
454- Fix message id integer overflow.
455- Fix pool worker removal in worker choice strategy internals.
456- Fix package publication with pnpm.
457
8fe15920
JB
458## [2.4.0-1] - 2023-04-03
459
5b301c28
JB
460### Added
461
462- Add `LESS_BUSY` worker choice strategy.
463
464### Changed
465
466- Optimize worker storage in pool.
467- Optimize worker alive status check.
468- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
469- Optimize `LESS_USED` worker choice strategy.
470
471### Fixed
472
473- Ensure trimmable characters are checked at pool initialization.
474- Fix message id integer overflow.
475- Fix pool worker removal in worker choice strategy internals.
476
2fb9ca9c
JB
477## [2.4.0-0] - 2023-04-03
478
168c526f
JB
479### Added
480
481- Add `LESS_BUSY` worker choice strategy.
482
1d71a908
JB
483### Changed
484
ffcbbad8 485- Optimize worker storage in pool.
1d71a908 486- Optimize worker alive status check.
65a60b3b 487- BREAKING CHANGE: Rename worker choice strategy `LESS_RECENTLY_USED` to `LESS_USED`.
737c6d97 488- Optimize `LESS_USED` worker choice strategy.
1d71a908 489
ffcbbad8
JB
490### Fixed
491
492- Ensure trimmable characters are checked at pool initialization.
b4e75778 493- Fix message id integer overflow.
97a2abc3 494- Fix pool worker removal in worker choice strategy internals.
ffcbbad8 495
08372738
JB
496## [2.3.10] - 2023-03-18
497
710826bc
JB
498### Fixed
499
500- Fix `exports` syntax for ESM and CommonJS.
501
502### Changed
503
504- Permit SemVer pre-release publication.
76e5ac6f 505
e4796ecd
JB
506## [2.3.10-2] - 2023-03-18
507
6abad580
JB
508### Fixed
509
510- Fix `exports` syntax for ESM and CommonJS.
511
a2ee98cc
JB
512## [2.3.10-1] - 2023-03-18
513
7e060cee
JB
514### Changed
515
90483887 516- Permit SemVer pre-release publication.
7e060cee 517
c81bfafb
JB
518## [2.3.10-0] - 2023-03-18
519
fe18768d
JB
520### Fixed
521
522- Fix `exports` syntax for ESM and CommonJS.
523
d7b78217
JB
524## [2.3.9] - 2023-03-18
525
ed6dd37f
JB
526### Changed
527
528- Introduce ESM module support along with CommonJS one.
529
530### Fixed
531
532- Fix brown paper bag bug referencing the same object literal.
533
68e2ad86
JB
534## [2.3.8] - 2023-03-18
535
ca6c7d70
JB
536### Changed
537
538- Switch internal benchmarking code to benny.
fbdedeb9
JB
539- Switch to TypeScript 5.x.x.
540- Switch rollup bundler plugins to core ones.
ed6dd37f 541- Switch to TSDoc syntax.
fbdedeb9 542- Enforce conventional commits.
ca6c7d70 543
d15211d4
JB
544### Fixed
545
546- Fix random integer generator.
fbdedeb9 547- Fix worker choice strategy pool type identification at initialization.
d15211d4 548
995705ea
JB
549## [2.3.7] - 2022-10-23
550
b953022b
JB
551### Changed
552
553- Switch to open collective FOSS project funding platform.
78cea37e
JB
554- Switch to ts-standard linter configuration on TypeScript code.
555
556### Fixed
557
558- Fixed missing async on pool execute method.
559- Fixed typing in TypeScript example.
560- Fixed types in unit tests.
b953022b 561
3b9f6953
JB
562## [2.3.6] - 2022-10-22
563
f80cead4
JB
564### Changed
565
566- Cleanup pool attributes and methods.
567- Refine error types thrown.
568
569### Fixed
570
571- Fix continuous integration build on windows.
572- Fix code coverage reporting by using c8 instead of nyc.
573
efc22107
JB
574## [2.3.5] - 2022-10-21
575
7a6a0a96
JB
576### Changed
577
a05c10de
JB
578- Improve benchmarks: add IO intensive task workload, add task size option, integrate code into linter.
579- Optimize tasks usage lookup implementation.
7a6a0a96 580
b4904890
JB
581### Fixed
582
583- Fix missed pool event emitter type export.
584- Fix typedoc documentation generation.
585
a875f8d1
JB
586## [2.3.4] - 2022-10-17
587
73cda448
JB
588### Added
589
590- Fully automate release process with release-it.
591
45a5a54c
JB
592### Changed
593
73cda448 594- Optimize fair share task scheduling algorithm implementation.
eb4a8a82 595- Update benchmarks versus external pools results with latest version.
45a5a54c 596
90ee1b18 597## [2.3.3] - 2022-10-15
1a76932b
JB
598
599### Added
600
601- Add support for [cluster settings](https://nodejs.org/api/cluster.html#cluster_cluster_settings) in cluster pool options.
602
90ee1b18 603## [2.3.2] - 2022-10-14
11df3590
JB
604
605### Changed
606
607- Optimize fair share worker selection strategy implementation.
608
609### Fixed
610
611- Fix WRR worker selection strategy: ensure the condition triggering the round robin can be fulfilled.
612
90ee1b18 613## [2.3.1] - 2022-10-13
23ff945a
JB
614
615### Added
616
617- Pool worker choice strategies:
618 - `WorkerChoiceStrategies.WEIGHTED_ROUND_ROBIN` strategy based on weighted round robin scheduling algorithm using tasks execution time for now.
619 - `WorkerChoiceStrategies.FAIR_SHARE` strategy based on fair share scheduling algorithm using tasks execution time for now.
620
90ee1b18 621## [2.2.2] - 2022-10-09
cb2b6c69
JB
622
623### Fixed
624
625- Fixed `README.md` file.
626
90ee1b18 627## [2.2.1] - 2022-10-08
bdacc2d2 628
bdaf31cd
JB
629### Added
630
631- Dynamic worker choice strategy change at runtime.
bdacc2d2 632
90ee1b18 633## [2.2.0] - 2022-01-05
7e0d447f
JB
634
635### Breaking Changes
636
637- Support only NodeJS version 16.x.x for cluster pool: upstream cluster API have changed on that version.
638
90ee1b18 639## [2.1.0] - 2021-08-29
35cf1c03
JB
640
641### Added
642
643- Add an optional pool option `messageHandler` to `PoolOptions<Worker>` for registering a message handler callback on each worker.
e088a00c
JB
644
645### Breaking Changes
646
647- `AbstractWorker` class `maxInactiveTime`, `killBehavior` and `async` attributes have been removed in favour of the same ones in the worker options `opts` public attribute.
648- `AbstractWorker` class `lastTask` attribute have been renamed to `lastTaskTimestamp`.
649- `AbstractWorker` class `interval` attribute have been renamed to `aliveInterval`.
c365b2d3 650- `AbstractWorker` class cannot be instantiated without specifying the `mainWorker` argument referencing the main worker.
e088a00c 651
90ee1b18 652## [2.0.2] - 2021-05-12
14916bf9
JB
653
654### Bug fixes
655
656- Fix `busy` event emission on fixed pool type
657
90ee1b18 658## [2.0.1] - 2021-03-16
7f685093
JB
659
660### Bug fixes
661
662- Check if pool options are properly set.
663- `busy` event is emitted on all pool types.
664
90ee1b18 665## [2.0.0] - 2021-03-01
fa0f5b28 666
f3f833ab 667### Bug fixes
d63d3be3 668
ddbeaffd 669- Now a thread/process by default is not deleted when the task submitted take more time than maxInactiveTime configured (issue #70).
d63d3be3 670
fa0f5b28
S
671### Breaking Changes
672
7f685093 673- `FullPool` event is now renamed to `busy`.
1927ee67 674- `maxInactiveTime` on `ThreadWorker` default behavior is now changed, if you want to keep the old behavior set `killBehavior` to `KillBehaviors.HARD`.
1a81f8af 675 _Find more details on our JSDoc._
ddbeaffd 676
1927ee67
APA
677- `maxTasks` option on `FixedThreadPool` and `DynamicThreadPool` is now removed since is no more needed.
678
ddbeaffd 679- We changed some internal structures, but you shouldn't be too affected by them as these are internal changes.
fa0f5b28 680
ec2ccfc8
JB
681### Pool options types declaration merge
682
683`FixedThreadPoolOptions` and `DynamicThreadPoolOptions` type declarations have been merged to `PoolOptions<Worker>`.
684
fa0f5b28
S
685#### New `export` strategy
686
687```js
688// Before
777b7824 689const DynamicThreadPool = require('poolifier/lib/dynamic')
fa0f5b28 690// After
777b7824 691const { DynamicThreadPool } = require('poolifier/lib/dynamic')
fa0f5b28
S
692```
693
694But you should always prefer just using
695
696```js
777b7824 697const { DynamicThreadPool } = require('poolifier')
fa0f5b28
S
698```
699
d3c8a1a8
S
700#### New type definitions for input data and response
701
6677a3d3 702For cluster worker and worker-thread pools, you can now only send and receive structured-cloneable data.
d3c8a1a8
S
703_This is not a limitation by poolifier but NodeJS._
704
3a4b605f 705#### Public property replacements
5c5a1fb7 706
3a4b605f 707`numWorkers` property is now `numberOfWorkers`
5c5a1fb7 708
280c2a77 709#### Internal (protected) properties and methods renaming
fa0f5b28 710
280c2a77
S
711These properties are not intended for end users
712
713- `id` => `nextMessageId`
714
715These methods are not intended for end users
fa0f5b28
S
716
717- `_chooseWorker` => `chooseWorker`
280c2a77 718- `_newWorker` => `createWorker`
fa0f5b28
S
719- `_execute` => `internalExecute`
720- `_chooseWorker` => `chooseWorker`
721- `_checkAlive` => `checkAlive`
722- `_run` => `run`
723- `_runAsync` => `runAsync`
724
90ee1b18 725## [1.1.0] - 2020-05-21
0312f71a
APA
726
727### Added
728
729- ThreadWorker support async functions as option
cf9aa6c3 730- Various external library patches
0312f71a 731
90ee1b18 732## [1.0.0] - 2020-01-24
522eea03 733
734### Added
735
736- FixedThreadPool implementation
737- DynamicThreadPool implementation
0312f71a 738- WorkerThread implementation to improve developer experience