Skip to content
Browse files

Update README.md and package.json to version 2.0.0

  • Loading branch information...
1 parent 3292365 commit 7d8e79a4db518ff30f8839e6d975451bdf5062c2 @coopernurse committed
Showing with 9 additions and 2 deletions.
  1. +8 −1 README.md
  2. +1 −1 package.json
View
9 README.md
@@ -6,7 +6,7 @@
## 2.0 Release Warning
-The next npm release will remove support for variable argument callbacks. When you acquire
+The 2.0.0 release removed support for variable argument callbacks. When you acquire
a resource from the pool, your callback *must* accept two arguments: (err, obj)
Previously this library attempted to determine the arity of the callback, but this resulted
@@ -19,6 +19,13 @@ parameter order consistent with the factory.create callback.
## History
+ 2.0.0 - July 31 2012
+ - Non-backwards compatible change: remove adjustCallback
+ - acquire() callback must accept two params: (err, obj)
+ - Add optional 'min' param to factory object that specifies minimum number of
+ resources to keep in pool
+ - Merged #38 (package.json/Makefile changes - contributed by strk)
+
1.0.12 - June 27 2012
- Merged #37 (Clear remove idle timer after destroyAllNow - contributed by dougwilson)
View
2 package.json
@@ -1,7 +1,7 @@
{
"name": "generic-pool",
"description": "Generic resource pooling for Node.JS",
- "version": "1.0.12",
+ "version": "2.0.0",
"author": "James Cooper <james@bitmechanic.com>",
"contributors": [
{ "name": "James Cooper", "email": "james@bitmechanic.com" },

0 comments on commit 7d8e79a

Please sign in to comment.
Something went wrong with that request. Please try again.