generic-pool
Advanced tools
Comparing version 3.0.0-alpha.6 to 3.0.0-alpha.7
# Change Log | ||
## [3.0.0] - October xx 2016 | ||
- This is pretty big and the migration guide in the README has more detailed set of changes! | ||
- switch support to nodejs v4 and above | ||
- change external interfaces to use promises instead of callbacks | ||
- remove logging | ||
- decouple create/destroy operations from acquire/release operations | ||
- pool should now be created via `poolCreate` factory method instead of constructor. | ||
- huge internal rewrite and flow control changes | ||
- Pool is now an eventEmitter | ||
## [2.4.2] - March 26 2016 | ||
@@ -110,2 +120,3 @@ - Travis now runs and fails lint checks (@kevinburke) | ||
[unreleased]: https://github.com/coopernurse/node-pool/compare/v2.4.2...HEAD | ||
[3.0.0]: https://github.com/coopernurse/node-pool/compare/v2.4.1...v3.0.0 | ||
[2.4.2]: https://github.com/coopernurse/node-pool/compare/v2.4.1...v2.4.2 | ||
@@ -112,0 +123,0 @@ [2.4.1]: https://github.com/coopernurse/node-pool/compare/v2.4.0...v2.4.1 |
@@ -11,2 +11,3 @@ 'use strict' | ||
const PooledResource = require('./PooledResource') | ||
const DLLArray = require('./DLLArray') | ||
@@ -72,3 +73,3 @@ /** | ||
*/ | ||
this._availableObjects = [] | ||
this._availableObjects = new DLLArray() | ||
@@ -75,0 +76,0 @@ /** |
{ | ||
"name": "generic-pool", | ||
"description": "Generic resource pooling for Node.JS", | ||
"version": "3.0.0-alpha.6", | ||
"version": "3.0.0-alpha.7", | ||
"author": "James Cooper <james@bitmechanic.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -9,6 +9,9 @@ [![build status](https://secure.travis-ci.org/coopernurse/node-pool.png)](http://travis-ci.org/coopernurse/node-pool) | ||
**Node.js Version Warning** | ||
Generic-Pool v3 requires a nodejs version of at least 4 | ||
**V3 upgrade warning** | ||
Version 3 contains many breaking changes. The differences are mostly minor and I hope easy to accomodate. There is a very rough and basic [upgrade guide](https://gist.github.com/sandfox/5ca20648b60a0cb959638c0cd6fcd02d) I've written, improvements and other attempts most welcome. | ||
## History | ||
@@ -15,0 +18,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81061
1952
382