From 79b32ae6a85d575597aa03f861657fd77807066e Mon Sep 17 00:00:00 2001 From: Ben Page Date: Fri, 6 May 2016 10:40:13 -0500 Subject: [PATCH] 1.0.0 --- README.md | 29 +++++++++++++++++------------ package.json | 4 ++-- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 931f052..a3db0aa 100644 --- a/README.md +++ b/README.md @@ -100,29 +100,34 @@ The following method is added to the Tedious [Connection](http://pekim.github.co ### Connection.release() Release the connect back to the pool to be used again -## Version 0.3.9 Changes +## Changelog + +### Version 1.0.0 +* No changes from v0.3.9. + +### Version 0.3.9 * bug fix only -## Version 0.3.7 Changes +### Version 0.3.7 * bug fix only -## Version 0.3.6 Changes +### Version 0.3.6 * bug fix only -## Version 0.3.5 Changes +### Version 0.3.5 * `poolConfig` option `min` is limited to less than `max` -## Version 0.3.4 Changes +### Version 0.3.4 * `poolConfig` option `min` supports being set to 0 -## Version 0.3.3 Changes +### Version 0.3.3 * Ignore calls to connection.release() on a connection that has been closed or not part of the connection pool. -## Version 0.3.2 Changes +### Version 0.3.2 * Calls connection.reset() when the connection is released to the pool. This is very unlikely to cause anyone trouble. * Added a callback argument to connectionPool.drain() -## Version 0.3.0 Changes +### Version 0.3.0 * Removed dependency on the `generic-pool` node module. * Added `poolConfig` options `retryDelay` * Added `poolConfig` options `aquireTimeout` **(Possibly Breaking)** @@ -132,7 +137,7 @@ Release the connect back to the pool to be used again * The behavior of the err parameter of the callback passed to `acquire()` has changed. It only returns errors related to acquiring a connection not Tedious Connection errors. Connection errors can happen anytime the pool is being filled and could go unnoticed if only passed the the callback. Subscribe to the `'error'` event on the pool to be notified of all connection errors. **(Possibly Breaking)** * `PooledConnection` object removed. -## Version 0.2.x Breaking Changes -* To acquire a connection, call on `acquire()` on a `ConnectionPool` rather than `requestConnection()`. -* After acquiring a `PooledConnection`, do not wait for the `'connected'` event. The connection is received connected. -* Call `release()` on a `PooledConnection` to release the it back to the pool. `close()` permanently closes the connection (as `close()` behaves in in tedious). +### Version 0.2.x +* To acquire a connection, call on `acquire()` on a `ConnectionPool` rather than `requestConnection()`. **(Breaking)** +* After acquiring a `PooledConnection`, do not wait for the `'connected'` event. The connection is received connected. **(Breaking)** +* Call `release()` on a `PooledConnection` to release the it back to the pool. `close()` permanently closes the connection (as `close()` behaves in in tedious). **(Breaking)** diff --git a/package.json b/package.json index b72d4f9..80a8b01 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tedious-connection-pool", - "version": "0.3.9", + "version": "1.0.0", "description": "Connection Pool for tedious.", "main": "lib/connection-pool.js", "scripts": { @@ -17,7 +17,7 @@ ], "author": { "name": "Ben Page", - "email": "ben.page@openreign.com" + "email": "ben.page@openreign.com" }, "contributors": [ {