Skip to content

Commit

Permalink
Update README.md and package.json to version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coopernurse committed Jul 31, 2012
1 parent 3292365 commit 7d8e79a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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" },
Expand Down

0 comments on commit 7d8e79a

Please sign in to comment.