## Changelog

### [v4.14.0](https://github.com/panates/lightning-pool/compare/v4.13.0...v4.14.0) - 

#### 🚀 New Features

- feat: Replace benchmark-tests with a proper benchmark suite @Eray Hanoğlu 

#### 🪲 Fixes

- fix: Correct release/close/ensureMin bugs and cut hot-path allocations in Pool @Eray Hanoğlu 

#### 📖 Documentation Changes

- docs: Split API reference into doc/API.md, add generated doc/BENCHMARKS.md @Eray Hanoğlu 
- docs: Add CLAUDE.md with graphify usage guidelines @Eray Hanoğlu 

### [v4.13.0](https://github.com/panates/lightning-pool/compare/v4.12.0...v4.13.0) -  27 August 2026 

### [v4.12.0](https://github.com/panates/lightning-pool/compare/v4.11.1...v4.12.0) -  4 December 2025 

#### 🛠 Refactoring and Updates

- refactor: Now any closed pool can be started again @Eray Hanoğlu 

### [v4.11.1](https://github.com/panates/lightning-pool/compare/v4.11.0...v4.11.1) -  2 May 2025 

#### 💬 General Changes

- dev: Fixed circular typing dependencies @Eray Hanoğlu 
- doc: Fixed ci-test badge @Eray Hanoğlu 
- dev: Added git+ to repository url @Eray Hanoğlu 

### [v4.11.0](https://github.com/panates/lightning-pool/compare/v4.10.1...v4.11.0) -  2 May 2025 

### [v4.10.1](https://github.com/panates/lightning-pool/compare/v4.10.0...v4.10.1) -  28 January 2025 

#### 🛠 Refactoring and Updates

- refactor: Updated dependencies @Eray Hanoğlu 
- refactor: Updated dependencies @Eray Hanoğlu 

### [v4.10.0](https://github.com/panates/lightning-pool/compare/v4.9.0...v4.10.0) -  15 October 2024 

- fix: pool.close does not wait for asynchronous resources to be destroyed

### [v4.9.0](https://github.com/panates/lightning-pool/compare/v4.8.0...v4.9.0) -  15 October 2024 

- fix: Pool does not destroy resources unless started.

### [v4.8.0](https://github.com/panates/lightning-pool/compare/v4.7.3...v4.8.0) -  20 August 2024 

#### 💬 General Changes

- Fixed compatibility for "Node16" and "NodeNext" moduleResolution options @Eray Hanoğlu 

### [v4.7.3](https://github.com/panates/lightning-pool/compare/v4.7.2...v4.7.3) -  12 August 2024 

#### 💬 General Changes

- Applied publint to check package.json @Eray Hanoğlu 

### [v4.7.2](https://github.com/panates/lightning-pool/compare/v4.7.1...v4.7.2) -  12 August 2024 

#### 💬 General Changes

- Added "node" moduleResolution support @Eray Hanoğlu 
- Added "node" moduleResolution support @Eray Hanoğlu 

### [v4.7.1](https://github.com/panates/lightning-pool/compare/v4.7.0...v4.7.1) -  12 August 2024 

#### 💬 General Changes

- Applied publint to check package.json @Eray Hanoğlu 

### [v4.7.0](https://github.com/panates/lightning-pool/compare/v4.6.1...v4.7.0) -  12 August 2024 

#### 🪲 Fixes

- Fix: Added package.json in esm directory which overwrite "type" property to "module" @Eray Hanoğlu 

### [v4.6.1](https://github.com/panates/lightning-pool/compare/v4.6.0...v4.6.1) -  12 August 2024 

### [v4.6.0](https://github.com/panates/lightning-pool/compare/v4.5.0...v4.6.0) -  12 August 2024 

#### 💬 General Changes

- Rollback to ES2020 @Eray Hanoğlu 

### [v4.5.0](https://github.com/panates/lightning-pool/compare/v4.4.3...v4.5.0) -  9 August 2024 

#### 💬 General Changes

- Made ready for Node16 moduleResolution @Eray Hanoğlu 

### [v4.4.3](https://github.com/panates/lightning-pool/compare/v4.4.2...v4.4.3) -  3 August 2024 

#### 💬 General Changes

- Fixed files config @Eray Hanoğlu 

### [v4.4.2](https://github.com/panates/lightning-pool/compare/v4.4.1...v4.4.2) -  3 August 2024 

#### 💬 General Changes

- Fixed typings config @Eray Hanoğlu 

### [v4.4.1](https://github.com/panates/lightning-pool/compare/v4.4.0...v4.4.1) -  3 August 2024 

#### 💬 General Changes

- Added "tslib" to dependencies @Eray Hanoğlu 
- Added "factoryCreateOptions" argument to .acquire() method. This argument will be passed to factory.create method @Eray Hanoğlu 
- Revert "Added "factoryCreateOptions" argument to .acquire() method. This argument will be passed to factory.create method" @Eray Hanoğlu 

### [v4.4.0](https://github.com/panates/lightning-pool/compare/v4.3.0...v4.4.0) -  29 July 2024 

#### 💬 General Changes

- Revert "Added "factoryCreateOptions" argument to .acquire() method. This argument will be passed to factory.create method" @Eray Hanoğlu 

### [v4.3.0](https://github.com/panates/lightning-pool/compare/v4.2.2...v4.3.0) -  29 July 2024 

#### 💬 General Changes

- Moved lint config to @panates/eslint-config-ts @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 
- Added "factoryCreateOptions" argument to .acquire() method. This argument will be passed to factory.create method @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 
- Updated node versions @Eray Hanoğlu 
- Updated node versions @Eray Hanoğlu 
- Updated node versions @Eray Hanoğlu 
- Updated node versions @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 
- Updated node versions @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 
- Updated node versions @Eray Hanoğlu 
- Updated config @Eray Hanoğlu 

### [v4.2.2](https://github.com/panates/lightning-pool/compare/v4.2.1...v4.2.2) -  10 September 2023 

#### 💬 General Changes

- updated dependencies @Eray Hanoğlu 

### [v4.2.1](https://github.com/panates/lightning-pool/compare/v4.2.0...v4.2.1) -  9 January 2023 

#### 💬 General Changes

- updated dependencies @Eray Hanoğlu 

### [v4.2.0](https://github.com/panates/lightning-pool/compare/v4.1.0...v4.2.0) -  14 October 2022 

#### 💬 General Changes

- Fixed typing @Eray Hanoğlu 

### [v4.1.0](https://github.com/panates/lightning-pool/compare/v4.0.0...v4.1.0) -  22 September 2022 

#### 💬 General Changes

- Fixed exports for multi module support @Eray Hanoğlu 
- Update CircleCI config @Eray Hanoğlu 
- Update CircleCI config @Eray Hanoğlu 
- Update CircleCI config @Eray Hanoğlu 
- Update CircleCI config @Eray Hanoğlu 
- Update CircleCI config @Eray Hanoğlu 
- Update CircleCI confi @Eray Hanoğlu 
- Update CircleCI config @Eray Hanoğlu 

## [v4.0.0](https://github.com/panates/lightning-pool/compare/v3.1.4...v4.0.0) -  17 September 2022 

#### 💬 General Changes

- Added ESM module support @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 

### [v3.1.4](https://github.com/panates/lightning-pool/compare/v3.1.3...v3.1.4) -  20 July 2022 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v3.1.3](https://github.com/panates/lightning-pool/compare/v3.1.2...v3.1.3) -  3 July 2021 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v3.1.2](https://github.com/panates/lightning-pool/compare/v3.1.1...v3.1.2) -  30 May 2021 

#### 💬 General Changes

- Lint @Eray Hanoğlu 

### [v3.1.1](https://github.com/panates/lightning-pool/compare/v3.1.0...v3.1.1) -  17 March 2021 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 

### [v3.1.0](https://github.com/panates/lightning-pool/compare/v3.0.1...v3.1.0) -  9 December 2020 

#### 💬 General Changes

- Added releaseAsync() and destroyAsync() for async release operations. @Eray Hanoğlu 
- Updated node versions @Eray Hanoğlu 

### [v3.0.1](https://github.com/panates/lightning-pool/compare/v3.0.0...v3.0.1) -  19 November 2020 

#### 💬 General Changes

- Moved all codebase to TypeScript @Eray Hanoğlu 
- Updated readme @Eray Hanoğlu 
- Immediately destroy resource when force it true @Eray Hanoğlu 

## [v3.0.0](https://github.com/panates/lightning-pool/compare/v2.4.0...v3.0.0) -  19 November 2020 

#### 💬 General Changes

- Moved all codebase to TypeScript @Eray Hanoğlu 

### [v2.4.0](https://github.com/panates/lightning-pool/compare/v2.3.0...v2.4.0) -  17 November 2020 

#### 💬 General Changes

- Added waitTerminateTime to close() method. Now the pool can wait for given time before terminating the pool. @Eray Hanoğlu 

### [v2.3.0](https://github.com/panates/lightning-pool/compare/v2.2.0...v2.3.0) -  9 October 2020 

#### 💬 General Changes

- Removed resetOnReturn option. Reset will be executed if factory has reset method. @Eray Hanoğlu 
- Removed resetOnReturn option. Reset will be executed if factory has reset method. @Eray Hanoğlu 

### [v2.2.0](https://github.com/panates/lightning-pool/compare/v2.1.13...v2.2.0) -  1 October 2020 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v2.1.13](https://github.com/panates/lightning-pool/compare/v2.1.12...v2.1.13) -  30 September 2020 

#### 💬 General Changes

- Updated typing @Eray Hanoğlu 

### [v2.1.12](https://github.com/panates/lightning-pool/compare/v2.1.11...v2.1.12) -  25 September 2020 

#### 💬 General Changes

- Updated typing @Eray Hanoğlu 

### [v2.1.11](https://github.com/panates/lightning-pool/compare/v2.1.10...v2.1.11) -  24 September 2020 

#### 💬 General Changes

- Updated typing @Eray Hanoğlu 

### [v2.1.10](https://github.com/panates/lightning-pool/compare/v2.1.9...v2.1.10) -  22 September 2020 

#### 💬 General Changes

- Updated typing @Eray Hanoğlu 

### [v2.1.9](https://github.com/panates/lightning-pool/compare/v2.1.8...v2.1.9) -  22 September 2020 

#### 💬 General Changes

- Updated typing @Eray Hanoğlu 

### [v2.1.8](https://github.com/panates/lightning-pool/compare/v2.1.7...v2.1.8) -  22 September 2020 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v2.1.7](https://github.com/panates/lightning-pool/compare/v2.1.6...v2.1.7) -  18 August 2020 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v2.1.6](https://github.com/panates/lightning-pool/compare/v2.1.5...v2.1.6) -  16 July 2020 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 

### [v2.1.5](https://github.com/panates/lightning-pool/compare/v2.1.4...v2.1.5) -  9 April 2020 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v2.1.4](https://github.com/panates/lightning-pool/compare/v2.1.3...v2.1.4) -  9 April 2020 

### [v2.1.3](https://github.com/panates/lightning-pool/compare/v2.1.2...v2.1.3) -  13 December 2019 

- [PoolRequest] make callback optional

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v2.1.2](https://github.com/panates/lightning-pool/compare/v2.1.1...v2.1.2) -  29 August 2019 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v2.1.1](https://github.com/panates/lightning-pool/compare/v2.1.0...v2.1.1) -  6 August 2019 

#### 💬 General Changes

- No need calling stop to exiting program. @Eray Hanoğlu 

### [v2.1.0](https://github.com/panates/lightning-pool/compare/v2.0.10...v2.1.0) -  6 August 2019 

#### 💬 General Changes

- Added typings for TypeScript @Eray Hanoğlu 

### [v2.0.10](https://github.com/panates/lightning-pool/compare/v2.0.9...v2.0.10) -  11 April 2019 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v2.0.9](https://github.com/panates/lightning-pool/compare/v2.0.8...v2.0.9) -  11 February 2019 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 

### [v2.0.8](https://github.com/panates/lightning-pool/compare/v2.0.7...v2.0.8) -  14 December 2018 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 
- [-] Fixed assert.rejects and assert.doesNotReject error for old node versions @Eray Hanoğlu 
- [-] Fixed test a bug @Eray Hanoğlu 

### [v2.0.7](https://github.com/panates/lightning-pool/compare/v2.0.6...v2.0.7) -  26 November 2018 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 

### [v2.0.6](https://github.com/panates/lightning-pool/compare/v2.0.4...v2.0.6) -  26 November 2018 

#### 💬 General Changes

- Updated dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoğlu 

### [v2.0.4](https://github.com/panates/lightning-pool/compare/v2.0.1...v2.0.4) -  13 October 2018 

#### 💬 General Changes

- Updated dev dependencies @Eray Hanoğlu 
- Updated dependencies @Eray Hanoglu 
- Fixed travis script @Eray Hanoğlu 
- Coverage optimizations @Eray Hanoğlu 
- Updated travis script @Eray Hanoğlu 
- Updated travis script @Eray Hanoğlu 
- Updated dev dependencies @Eray Hanoğlu 
- - Fixed inline documentation @Eray Hanoglu 

### [v2.0.1](https://github.com/panates/lightning-pool/compare/v2.0.0...v2.0.1) -  27 August 2018 

#### 💬 General Changes

- * Updated benchmark. Removed advanced-pool comparison (it is so slow to compare) @Eray Hanoglu 
- * Updated benchmark. Removed advanced-pool comparison (it is so slow to compare) @Eray Hanoglu 
- - Fix: State does not set to ACQUIRED after validate @Eray Hanoglu 
- * Updated benchmark. Removed advanced-pool comparison (it is so slow to compare) @Eray Hanoglu 

## [v2.0.0](https://github.com/panates/lightning-pool/compare/v1.2.0...v2.0.0) -  13 August 2018 

#### 💬 General Changes

- * Removed obsolete callback support. Now factory works with promises only. @Eray Hanoglu 

### [v1.2.0](https://github.com/panates/lightning-pool/compare/v1.1.2...v1.2.0) -  10 August 2018 

#### 💬 General Changes

- * Moved to JavaScript ES6 @Eray Hanoglu 

### [v1.1.2](https://github.com/panates/lightning-pool/compare/v1.1.1...v1.1.2) -  12 March 2018 

#### 💬 General Changes

- Updated dependencies @Eray Hanoglu 

### [v1.1.1](https://github.com/panates/lightning-pool/compare/v1.1.0...v1.1.1) -  12 March 2018 

#### 💬 General Changes

- Updated dependencies @Eray Hanoglu 
- Removed redundant export @Eray Hanoglu 

### [v1.1.0](https://github.com/panates/lightning-pool/compare/v1.0.4...v1.1.0) -  10 January 2018 

#### 💬 General Changes

- Renamed "stop" with "close" @Eray Hanoglu 

### [v1.0.4](https://github.com/panates/lightning-pool/compare/v1.0.3...v1.0.4) -  10 January 2018 

#### 💬 General Changes

- [fix] Added missed EventEmitter.apply @Eray Hanoglu 

### [v1.0.3](https://github.com/panates/lightning-pool/compare/v1.0.2...v1.0.3) -  10 January 2018 

#### 💬 General Changes

- [fix] Fix throwing error when use "min" @Eray Hanoglu 
- [fix] Fix invalid assert code @Eray Hanoglu 

### [v1.0.2](https://github.com/panates/lightning-pool/compare/v1.0.1...v1.0.2) -  13 November 2017 

#### 💬 General Changes

- Shutdown process improved. @Eray Hanoglu 

### v1.0.1

#### 💬 General Changes

- First release @Eray Hanoglu 
- Initial commit @Eray Hanoglu 
- First release @Eray Hanoglu 
- First release @Eray Hanoglu 
- First release @Eray Hanoglu 
