This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch POOL_2_X in repository https://gitbox.apache.org/repos/asf/commons-pool.git
commit fab3e026f95e220be6508eabbcbfa024b5215348 Author: Gary Gregory <[email protected]> AuthorDate: Mon Dec 29 12:55:41 2025 +0000 Prepare for the next release candidate --- README.md | 4 ++-- RELEASE-NOTES.txt | 43 ++++++++++++++++++++++++++++++++++++++++ src/changes/changes.xml | 2 +- src/site/xdoc/download_pool.xml | 28 +++++++++++++------------- src/site/xdoc/issue-tracking.xml | 2 +- src/site/xdoc/mail-lists.xml | 2 +- 6 files changed, 62 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 55b5c12b..251111bb 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Apache Commons Pool [](https://github.com/apache/commons-pool/actions/workflows/maven.yml) [](https://search.maven.org/artifact/org.apache.commons/commons-pool2) -[](https://javadoc.io/doc/org.apache.commons/commons-pool2/2.13.0) +[](https://javadoc.io/doc/org.apache.commons/commons-pool2/2.13.1) [](https://github.com/apache/commons-pool/actions/workflows/codeql-analysis.yml) [](https://api.securityscorecards.dev/projects/github.com/apache/commons-pool) @@ -68,7 +68,7 @@ Alternatively, you can pull it from the central Maven repositories: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId> - <version>2.13.0</version> + <version>2.13.1</version> </dependency> ``` diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index b1a27677..1b3eabf6 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,3 +1,46 @@ +Apache Commons Pool 2.13.1 Release Notes +---------------------------------------- + +The Apache Commons Pool team is pleased to announce the release of Apache Commons Pool 2.13.1. + +Apache Commons Pool provides an object-pooling API and several object-pool implementations. +Version 2 contains a completely rewritten pooling implementation compared to the 1.x series. +In addition to performance and scalability improvements, version 2 includes robust instance +tracking and pool monitoring. + +Versions 2.7.x and up require Java 8 or later. +Version 2.6.x requires Java 7 or above. +Version 2.5.x requires Java 7 or above. +Version 2.0 requires 6 or above. + +NOTE: The MBean interfaces (DefaultPooledObjectInfoMBean, GenericKeyedObjectPoolMXBean, + and GenericKeyedObjectPoolMXBean) exist only to define the attributes and methods + that will be made available via JMX. Clients must not implement them as + they are subject to change between major, minor, and patch version releases of + Commons Pool. Clients that implement any of these interfaces may not + be able to upgrade to a new minor or patch release without requiring code + changes. + +${d} + +Changes in version 2.13.1 include: + + +Fixed Bugs: +o POOL-427: The fix for POOL-425 introduced a regression where addObject fails when maxIdle is negative (indicating no limit). Thanks to Raju Gupta. +o POOL-426: GenericObjectPool addObject can cause maxIdle to be exceeded. Thanks to Raju Gupta. + + + +For complete information on Apache Commons Pool, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons Pool website: + +https://commons.apache.org/proper/commons-pool/ + +Download page: https://commons.apache.org/proper/commons-pool/download_pool.cgi + +----------------------------------------------------------------------------------------------- + Apache Commons Pool 2.13.0 Release Notes ---------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index c95c1f8c..beb765fe 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -45,7 +45,7 @@ The <action> type attribute can be add,update,fix,remove. <title>Apache Commons Pool Release Notes</title> </properties> <body> - <release version="2.13.1" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required."> + <release version="2.13.1" date="2025-12-29" description="This is a feature and maintenance release. Java 8 or later is required."> <!-- FIX --> <action type="fix" issue="POOL-427" dev="psteitz" due-to="Raju Gupta"> The fix for POOL-425 introduced a regression where addObject fails when maxIdle is negative (indicating no limit).</action> <action type="fix" issue="POOL-426" dev="psteitz" due-to="Raju Gupta">GenericObjectPool addObject can cause maxIdle to be exceeded.</action> diff --git a/src/site/xdoc/download_pool.xml b/src/site/xdoc/download_pool.xml index 089ce449..07f42f1b 100644 --- a/src/site/xdoc/download_pool.xml +++ b/src/site/xdoc/download_pool.xml @@ -58,7 +58,7 @@ limitations under the License. --> <document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> + xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> <properties> <title>Download Apache Commons Pool</title> <author email="[email protected]">Apache Commons Team</author> @@ -115,32 +115,32 @@ limitations under the License. </p> </subsection> </section> - <section name="Apache Commons Pool 2.13.0 (Java 8 or above)"> + <section name="Apache Commons Pool 2.13.1 (Java 8 or above)"> <subsection name="Binaries"> <table> <tr> - <td><a href="[preferred]/commons/pool/binaries/commons-pool2-2.13.0-bin.tar.gz">commons-pool2-2.13.0-bin.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/pool/binaries/commons-pool2-2.13.0-bin.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/pool/binaries/commons-pool2-2.13.0-bin.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/pool/binaries/commons-pool2-2.13.1-bin.tar.gz">commons-pool2-2.13.1-bin.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/pool/binaries/commons-pool2-2.13.1-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/pool/binaries/commons-pool2-2.13.1-bin.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/pool/binaries/commons-pool2-2.13.0-bin.zip">commons-pool2-2.13.0-bin.zip</a></td> - <td><a href="https://downloads.apache.org/commons/pool/binaries/commons-pool2-2.13.0-bin.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/pool/binaries/commons-pool2-2.13.0-bin.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/pool/binaries/commons-pool2-2.13.1-bin.zip">commons-pool2-2.13.1-bin.zip</a></td> + <td><a href="https://downloads.apache.org/commons/pool/binaries/commons-pool2-2.13.1-bin.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/pool/binaries/commons-pool2-2.13.1-bin.zip.asc">pgp</a></td> </tr> </table> </subsection> <subsection name="Source"> <table> <tr> - <td><a href="[preferred]/commons/pool/source/commons-pool2-2.13.0-src.tar.gz">commons-pool2-2.13.0-src.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/pool/source/commons-pool2-2.13.0-src.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/pool/source/commons-pool2-2.13.0-src.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/pool/source/commons-pool2-2.13.1-src.tar.gz">commons-pool2-2.13.1-src.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/pool/source/commons-pool2-2.13.1-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/pool/source/commons-pool2-2.13.1-src.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/pool/source/commons-pool2-2.13.0-src.zip">commons-pool2-2.13.0-src.zip</a></td> - <td><a href="https://downloads.apache.org/commons/pool/source/commons-pool2-2.13.0-src.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/pool/source/commons-pool2-2.13.0-src.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/pool/source/commons-pool2-2.13.1-src.zip">commons-pool2-2.13.1-src.zip</a></td> + <td><a href="https://downloads.apache.org/commons/pool/source/commons-pool2-2.13.1-src.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/pool/source/commons-pool2-2.13.1-src.zip.asc">pgp</a></td> </tr> </table> </subsection> diff --git a/src/site/xdoc/issue-tracking.xml b/src/site/xdoc/issue-tracking.xml index ee99de56..8d4bad32 100644 --- a/src/site/xdoc/issue-tracking.xml +++ b/src/site/xdoc/issue-tracking.xml @@ -43,7 +43,7 @@ limitations under the License. --> <document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> + xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> <properties> <title>Apache Commons Pool Issue tracking</title> <author email="[email protected]">Apache Commons Team</author> diff --git a/src/site/xdoc/mail-lists.xml b/src/site/xdoc/mail-lists.xml index 59156542..c1af08d2 100644 --- a/src/site/xdoc/mail-lists.xml +++ b/src/site/xdoc/mail-lists.xml @@ -41,7 +41,7 @@ limitations under the License. --> <document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> + xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> <properties> <title>Apache Commons Pool Mailing Lists</title> <author email="[email protected]">Apache Commons Team</author>
