commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1660200 - in /commons/proper/dbcp/trunk: RELEASE-NOTES.txt dbcp-RC.sh dbcp-pre-RC.sh dbcp-release.sh src/site/xdoc/download_dbcp.xml
Date Mon, 16 Feb 2015 20:49:31 GMT
Author: psteitz
Date: Mon Feb 16 20:49:31 2015
New Revision: 1660200

URL: http://svn.apache.org/r1660200
Log:
Prepare for 2.1 release.

Modified:
    commons/proper/dbcp/trunk/RELEASE-NOTES.txt
    commons/proper/dbcp/trunk/dbcp-RC.sh
    commons/proper/dbcp/trunk/dbcp-pre-RC.sh
    commons/proper/dbcp/trunk/dbcp-release.sh
    commons/proper/dbcp/trunk/src/site/xdoc/download_dbcp.xml

Modified: commons/proper/dbcp/trunk/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/RELEASE-NOTES.txt?rev=1660200&r1=1660199&r2=1660200&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/RELEASE-NOTES.txt (original)
+++ commons/proper/dbcp/trunk/RELEASE-NOTES.txt Mon Feb 16 20:49:31 2015
@@ -1,27 +1,47 @@
               Apache Apache Commons DBCP
-                  Version 2.0.1
+                  Version 2.1
                  RELEASE NOTES
 
-The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons
DBCP 2.0.1.
+The Apache Commons DBCP team is pleased to announce the release of Apache Apache Commons
DBCP 2.1.
 
 Apache Commons DBCP software implements Database Connection Pooling.
 
-This is a bug fix release.
+This is minor release, including bug fixes and enhancements. Note that
+ one of the enhancements (DBCP-423) is to implement AutoCloseable in
+ BasicDataSource, PoolingDataSource and the InstanceKeyDataSource
+ implementations.
 
 Changes in this version include:
 
+New features:
+o DBCP-426:  Added invalidateConnection method to BasicDataSource. Thanks to Kasper Sørensen.
+o DBCP-427:  Added fastFailValidation property to PooloableConnection, configurable in
+             BasicDataSource.  When set to true, connections that have previously thrown
+             fatal disconnection errors will fail validation immediately (no driver calls).
Thanks to Vladimir Konkov.
 
 Fixed Bugs:
-o            Small performance improvements when returning connections to the pool.
-o DBCP-414:  Fixed DelegatingStatement close to ensure closed statements do not retain references
-             to pooled prepared statements. Due to finalization code added in 2.0, this was
causing
-             pooled prepared statements to be closed by GC while in use by clients. Thanks
to Pasi Eronen.
-o DBCP-417:  Fixed connection leak when managed connections are closed during transactions.
-o DBCP-418:  Enable PoolableConnection class to load without JMX.
+o DBCP-420:  InstanceKeyDataSource discards native SQLException when given password does
not match
+             password used to create the connection.
+o            Correct some Javadoc references to Apache Commons Pool 2 classes that
+             have changed names since Pool 1.x.
+o            Do not ignore the configured custom eviction policy when creating a
+             BasicDataSource.
+o DBCP-428:  Unsuccessful Connection enlistment in XA Transaction ignored by TransactionContext.
Thanks to Vladimir Konkov.
+o DBCP-432:  Changed BasicDataSource createDataSource method to ensure that initialization
+             completes before clients get reference to newly created instances.
+o DBCP-433:  Fixed connection leak when SQLException is thrown while enlisting an XA
+             transaction. Thanks to Vladimir Konkov.
+o DBCP-434:  Setting jmxName to null should suppress JMX registration of connection
+             and statement pools.
 
 Changes:
-o DBCP-412:  Added check in PoolingDataSource constructor to ensure that the connection factory
-             and pool are properly linked.
+o DBCP-422:  Update Apache Commons Logging to 1.2 from 1.1.3.
+o DBCP-424:  Made expired connection logging configurable in BasicDataSource.  Setting
+             logExpiredConnections to false suppresses expired connection log messages.
+o DBCP-423:  Made Datasources implement AutoCloseable.
+o            Eliminated synchronization in BasicDataSource getNumActive, getNumIdle methods.
+o DBCP-435:  Added property name verification to BasicDataSourceFactory. References including
+             obsolete or unrecognized properties now generate log messages. Thanks to Denixx
Baykin.
 
 
 For complete information on Apache Commons DBCP, including instructions on how to submit
bug reports,

Modified: commons/proper/dbcp/trunk/dbcp-RC.sh
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/dbcp-RC.sh?rev=1660200&r1=1660199&r2=1660200&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/dbcp-RC.sh (original)
+++ commons/proper/dbcp/trunk/dbcp-RC.sh Mon Feb 16 20:49:31 2015
@@ -28,7 +28,7 @@
 # $Revision$ $Date$
 # -----------------------------------------------------------------------------
 # Set script variables
-version=2.0.1
+version=2.1
 repo_path=~/.m2/repository/org/apache/commons/commons-dbcp2/${version}
 release_path=~/dbcp-rc  #checkout of https://dist.apache.org/repos/dist/dev/commons/dbcp
 #

Modified: commons/proper/dbcp/trunk/dbcp-pre-RC.sh
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/dbcp-pre-RC.sh?rev=1660200&r1=1660199&r2=1660200&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/dbcp-pre-RC.sh (original)
+++ commons/proper/dbcp/trunk/dbcp-pre-RC.sh Mon Feb 16 20:49:31 2015
@@ -25,6 +25,6 @@
 #
 # $Revision$ $Date$
 # ----------------------------------------------------------------------------
-version=2.0.1
+version=2.1
 mvn changes:announcement-generate -Prelease-notes -Dchanges.version=${version}
 mvn commons:download-page -Dcommons.componentid=dbcp  # Override to get download_dbcp

Modified: commons/proper/dbcp/trunk/dbcp-release.sh
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/dbcp-release.sh?rev=1660200&r1=1660199&r2=1660200&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/dbcp-release.sh (original)
+++ commons/proper/dbcp/trunk/dbcp-release.sh Mon Feb 16 20:49:31 2015
@@ -31,8 +31,8 @@
 # $Revision$ $Date$
 # -----------------------------------------------------------------------------
 # Set script variables
-version=2.0.1        # version being released
-last_version=2.0   # previous version, will be replaced in README.html
+version=2.1       # version being released
+last_version=2.0.1  # previous version, will be replaced in README.html
 rc_path=~/dbcp-rc  # checkout of https://dist.apache.org/repos/dist/dev/commons/dbcp
 release_path=~/dbcp-release #https://dist.apache.org/repos/dist/release/commons/dbcp
 #

Modified: commons/proper/dbcp/trunk/src/site/xdoc/download_dbcp.xml
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/site/xdoc/download_dbcp.xml?rev=1660200&r1=1660199&r2=1660200&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/site/xdoc/download_dbcp.xml (original)
+++ commons/proper/dbcp/trunk/src/site/xdoc/download_dbcp.xml Mon Feb 16 20:49:31 2015
@@ -95,32 +95,32 @@ limitations under the License.
       </p>
     </subsection>
     </section>
-    <section name="Apache Commons DBCP 2.0.1 for JDBC 4.1 (Java 7.0+)">
+    <section name="Apache Commons DBCP 2.1 for JDBC 4.1 (Java 7.0+)">
       <subsection name="Binaries">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/dbcp/binaries/commons-dbcp2-2.0.1-bin.tar.gz">commons-dbcp2-2.0.1-bin.tar.gz</a></td>
-              <td><a href="http://www.apache.org/dist/commons/dbcp/binaries/commons-dbcp2-2.0.1-bin.tar.gz.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/dbcp/binaries/commons-dbcp2-2.0.1-bin.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/dbcp/binaries/commons-dbcp2-2.1-bin.tar.gz">commons-dbcp2-2.1-bin.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/dbcp/binaries/commons-dbcp2-2.1-bin.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/dbcp/binaries/commons-dbcp2-2.1-bin.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/dbcp/binaries/commons-dbcp2-2.0.1-bin.zip">commons-dbcp2-2.0.1-bin.zip</a></td>
-              <td><a href="http://www.apache.org/dist/commons/dbcp/binaries/commons-dbcp2-2.0.1-bin.zip.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/dbcp/binaries/commons-dbcp2-2.0.1-bin.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/dbcp/binaries/commons-dbcp2-2.1-bin.zip">commons-dbcp2-2.1-bin.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/dbcp/binaries/commons-dbcp2-2.1-bin.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/dbcp/binaries/commons-dbcp2-2.1-bin.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>
       <subsection name="Source">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/dbcp/source/commons-dbcp2-2.0.1-src.tar.gz">commons-dbcp2-2.0.1-src.tar.gz</a></td>
-              <td><a href="http://www.apache.org/dist/commons/dbcp/source/commons-dbcp2-2.0.1-src.tar.gz.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/dbcp/source/commons-dbcp2-2.0.1-src.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/dbcp/source/commons-dbcp2-2.1-src.tar.gz">commons-dbcp2-2.1-src.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/dbcp/source/commons-dbcp2-2.1-src.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/dbcp/source/commons-dbcp2-2.1-src.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/dbcp/source/commons-dbcp2-2.0.1-src.zip">commons-dbcp2-2.0.1-src.zip</a></td>
-              <td><a href="http://www.apache.org/dist/commons/dbcp/source/commons-dbcp2-2.0.1-src.zip.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/dbcp/source/commons-dbcp2-2.0.1-src.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/dbcp/source/commons-dbcp2-2.1-src.zip">commons-dbcp2-2.1-src.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/dbcp/source/commons-dbcp2-2.1-src.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/dbcp/source/commons-dbcp2-2.1-src.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>



Mime
View raw message