NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2921 most downloaded on npm
Generic resource pooling for Node.JS
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 1.9 years
Most releases are documented
notes for 47 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
16 years old
74 releases · first in 2011
fix: Add ready function type definition by @huajun07 in #295
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
fix #257 - pool.use now destroys resources on rejection, matching the docs.
pool.use now destroys resources on rejection, matching the docs.Nothing published for this version
fix #251 - silence bluebird warning about side-effect only handler (@sandfox)
fix #159 - pool.clear can no longer "skip" clearing up resources when called early in pool lifecycle (@sandfox)
update nodejs versions tested by travis
fix pool.use to resolve after user supplied function has finished. (@asannes)
pool.use to resolve after user supplied function has finished. (@asannes)prevent timed-out resource requests from being issued resources (@rebareba)
- #218 fix numerous docblock annotations and minor errors in internal classes (@geovanisouza92)
add use method to simplify basic pool usage (@san00)
use method to simplify basic pool usage (@san00)add isBorrowedResource method to check if objects are currently on loan from pool (@C-h-e-r-r-y)
isBorrowedResource method to check if objects are currently on loan from pool (@C-h-e-r-r-y)fix undefined and annoying autostart=false behaviour (@sushantdhiman)
autostart=false behaviour (@sushantdhiman)autostart behaviour (@sandfox)fix warning when using bluebird promise impl (@benny-medflyt)
fix #173 where pool would not attempt to dispense reources upon pool.destroy
pool.destroyfix drain code to correctly wait on borrowed resources (@drew-r)
fix faulty Promise detection where user supplied promise lib would be ignored
internal refactoring and comment improvements
- Readme tidy up - Add missing changelog entry
Add Readme link for legacy branch
Inject dependencies into Pool to allow easier user extension
Passthrough Pool's promise impl to deferreds so they are used internally and exposed correctly on pool.acquire (@eide)
This is pretty big and the migration guide in the README has more detailed set of changes!
poolCreate factory method instead of constructor.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Use domain.bind to preserve domain context (@LewisJEllis)
Travis now runs and fails lint checks (@kevinburke)
Documented previously created/fixed bug #122 (thanks @jasonrhodes)
Merged #118 - closes #110 - optional eslinting for test and lib using "standard" ruleset
Documentation fixes and widened number of nodejs versions tested on travis
Merged #105 - allow asynchronous validate functions (contributed by @felipou)
Merged #106 - fix condition where non "resource pool" created objects could be returned to the pool. (contributed by @devzer01)
Merged #104 - fix #103 - condition where pool can create > specified max number of connections (contributed by @devzer01)
Merged #92 - add getMaxPoolSize function (contributed by platypusMaximus)
fix README error about priority queueing (spotted by @kmdm)
Merged #72 - Add optional returnToHead flag, if true, resources are returned to head of queue (stack like behaviour) upon release (contributed by cali
Merged #64 - Fix for not removing idle objects (contributed by PiotrWpl)
Merged #56/#57 - Add optional refreshIdle flag. If false, idle resources at the pool minimum will not be destroyed/re-created. (contributed by wshaver
Fix #51, #48 - createResource() should check for null clientCb in err case (contributed by pooyasencha)
Fix #44 - leak of 'err' and 'obj' in createResource()
Your coding agent can read these notes before it upgrades. Set up the MCP server →