This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-text.git
commit 502c4c41be5671681b58a9b50297f99737e8ea93 Author: Gary Gregory <[email protected]> AuthorDate: Thu Dec 4 15:53:32 2025 +0000 Prepare for the next release candidate --- README.md | 6 ++-- RELEASE-NOTES.txt | 59 ++++++++++++++++++++++++++++++++++++++-- src/changes/changes.xml | 4 +-- src/changes/release-notes.vm | 2 +- src/site/xdoc/download_text.xml | 28 +++++++++---------- src/site/xdoc/issue-tracking.xml | 2 +- src/site/xdoc/mail-lists.xml | 2 +- 7 files changed, 79 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 81333cf3..3cd07a15 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Apache Commons Text [](https://github.com/apache/commons-text/actions/workflows/maven.yml) [](https://search.maven.org/artifact/org.apache.commons/commons-text) -[](https://javadoc.io/doc/org.apache.commons/commons-text/1.14.0) +[](https://javadoc.io/doc/org.apache.commons/commons-text/1.15.0) [](https://github.com/apache/commons-text/actions/workflows/codeql-analysis.yml) [](https://api.securityscorecards.dev/projects/github.com/apache/commons-text) @@ -69,7 +69,7 @@ Alternatively, you can pull it from the central Maven repositories: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-text</artifactId> - <version>1.14.0</version> + <version>1.15.0</version> </dependency> ``` @@ -90,7 +90,7 @@ There are some guidelines which will make applying PRs easier for us: + Respect the existing code style for each file. + Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. + Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`. -+ Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks. ++ Before you push a PR, run `mvn` (without arguments). This runs the default goal which contains all build checks. + To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco` If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas). diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index f3e14716..f299b314 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -14,8 +14,63 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. +Apache Commons Text 1.15.0 Release Notes +---------------------------------------- + +The Apache Commons Text team is pleased to announce the release of Apache Commons Text 1.15.0. + +Apache Commons Text is a set of utility functions and reusable components for processing +and manipulating text in a Java environment. + +Release 1.15.0. This is a feature and maintenance release. Java 8 or later is required. + + +New features +------------ + +* Add experimental CycloneDX VEX file #683. Thanks to Piotr P. Karwasz, Gary Gregory. +* TEXT-235: Add Damerau-Levenshtein distance #687. Thanks to LorgeN, Gary Gregory. +* Add unit tests to increase coverage #719. Thanks to Michael Hausegger, Gary Gregory. +* Add new test for CharSequenceTranslator#with() #725. Thanks to Michael Hausegger, Gary Gregory. +* Add tests and assertions to org.apache.commons.text.similarity to get to 100% code coverage #727, #728. Thanks to Michael Hausegger. + +Fixed Bugs +---------- + +* Fix exception message typo in XmlStringLookup.XmlStringLookup(Map, Path...). Thanks to Gary Gregory. +* TEXT-236: Inserting at the end of a TextStringBuilder throws a StringIndexOutOfBoundsException. Thanks to Pierre Post, Sumit Bera, Alex Herbert, Gary Gregory. +* Fix TextStringBuilderTest.testAppendToCharBuffer() to use proper argument type #724. Thanks to Michael Hausegger. +* Fix Apache RAT plugin console warnings. Thanks to Gary Gregory. +* Fix site XML to use version 2.0.0 XML schema. Thanks to Gary Gregory. +* Removed unreachable threshold verification code in src/main/java/org/apache/commons/text/similarity #730. Thanks to Michael Hausegger. +* Enable secure processing for the XML parser in XmlStringLookup in case the underlying JAXP implementation doesn't #729. Thanks to 김민재 (minjas0507), Gary Gregory, Piotr Karwasz. + +Changes +------- + +* Bump org.apache.commons:commons-parent from 85 to 93 #704, #723, #726. Thanks to Gary Gregory. +* Bump commons.bytebuddy.version from 1.17.6 to 1.18.2 #696, #722. Thanks to Gary Gregory. +* Bump graalvm.version from 24.2.2 to 25.0.1 #703, #716. Thanks to Gary Gregory, Dependabot. +* Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.20.0. Thanks to Gary Gregory. +* Bump commons-io:commons-io from 2.20.0 to 2.21.0. Thanks to Gary Gregory. + + +Historical list of changes: https://commons.apache.org/proper/commons-text/changes.html + +For complete information on Apache Commons Text, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons Text website: + +https://commons.apache.org/proper/commons-text + +Download page: https://commons.apache.org/proper/commons-text/download_text.cgi + +Have fun! +-Apache Commons Team + +----------------------------------------------------------------------------- + Apache Commons Text 1.14.0 Release Notes ------------------------------------------------- +---------------------------------------- The Apache Commons Text team is pleased to announce the release of Apache Commons Text 1.14.0. @@ -327,7 +382,7 @@ New features * TEXT-207: Add DoubleFormat utility. * TEXT-190: Document negative limit for WordUtils abbreviate method Thanks to Benjamin Bing. -* TEXT-188: Speed up LevenshteinDistance with threshold by exiting early Thanks to Jakob Vesterstr�m. +* TEXT-188: Speed up LevenshteinDistance with threshold by exiting early Thanks to Jakob Vesterstrøm. * TEXT-185: Release Notes page hasn't been updated for 1.9 release yet. Thanks to Larry West, Gary Gregory. * Add StrBuilder.isNotEmpty(). Thanks to Gary Gregory. diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 9a4b221e..3f2071af 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 Text Changes</title> </properties> <body> - <release version="1.15.0" date="YYYY-MM-DD" description="Release 1.15.0. This is a feature and maintenance release. Java 8 or later is required."> + <release version="1.15.0" date="2025-12-04" description="Release 1.15.0. This is a feature and maintenance release. Java 8 or later is required."> <!-- FIX --> <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix exception message typo in XmlStringLookup.XmlStringLookup(Map, Path...).</action> <action type="fix" dev="ggregory" due-to="Pierre Post, Sumit Bera, Alex Herbert, Gary Gregory" issue="TEXT-236">Inserting at the end of a TextStringBuilder throws a StringIndexOutOfBoundsException.</action> @@ -53,7 +53,7 @@ The <action> type attribute can be add,update,fix,remove. <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix Apache RAT plugin console warnings.</action> <action type="fix" dev="ggregory" due-to="Gary Gregory">Fix site XML to use version 2.0.0 XML schema.</action> <action type="fix" dev="ggregory" due-to="Michael Hausegger">Removed unreachable threshold verification code in src/main/java/org/apache/commons/text/similarity #730.</action> - <action type="fix" dev="ggregory" due-to="김민재, Gary Gregory, Piotr Karwasz">Enable secure processing for the XML parser in XmlStringLookup in case the underlying JAXP implementation doesn't #729.</action> + <action type="fix" dev="ggregory" due-to="김민재 (minjas0507Z), Gary Gregory, Piotr Karwasz">Enable secure processing for the XML parser in XmlStringLookup in case the underlying JAXP implementation doesn't #729.</action> <!-- ADD --> <action type="add" dev="ggregory" due-to="Piotr P. Karwasz, Gary Gregory">Add experimental CycloneDX VEX file #683.</action> <action type="add" dev="ggregory" due-to="LorgeN, Gary Gregory" issue="TEXT-235">Add Damerau-Levenshtein distance #687.</action> diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm index c9f6686a..35e7a381 100644 --- a/src/changes/release-notes.vm +++ b/src/changes/release-notes.vm @@ -32,7 +32,7 @@ See the License for the specific language governing permissions and limitations under the License. ${project.name} ${version} Release Notes ------------------------------------------------- +---------------------------------------- The ${developmentTeam} is pleased to announce the release of ${project.name} ${version}. diff --git a/src/site/xdoc/download_text.xml b/src/site/xdoc/download_text.xml index 4f7cbc7c..e2a425aa 100644 --- a/src/site/xdoc/download_text.xml +++ b/src/site/xdoc/download_text.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="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> + xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> <properties> <title>Download Apache Commons Text</title> <author email="[email protected]">Apache Commons Team</author> @@ -115,32 +115,32 @@ limitations under the License. </p> </subsection> </section> - <section name="Apache Commons Text 1.14.0 (Java 8+)"> + <section name="Apache Commons Text 1.15.0 (Java 8+)"> <subsection name="Binaries"> <table> <tr> - <td><a href="[preferred]/commons/text/binaries/commons-text-1.14.0-bin.tar.gz">commons-text-1.14.0-bin.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.14.0-bin.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.14.0-bin.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/text/binaries/commons-text-1.15.0-bin.tar.gz">commons-text-1.15.0-bin.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.15.0-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.15.0-bin.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/text/binaries/commons-text-1.14.0-bin.zip">commons-text-1.14.0-bin.zip</a></td> - <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.14.0-bin.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.14.0-bin.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/text/binaries/commons-text-1.15.0-bin.zip">commons-text-1.15.0-bin.zip</a></td> + <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.15.0-bin.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.15.0-bin.zip.asc">pgp</a></td> </tr> </table> </subsection> <subsection name="Source"> <table> <tr> - <td><a href="[preferred]/commons/text/source/commons-text-1.14.0-src.tar.gz">commons-text-1.14.0-src.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.14.0-src.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.14.0-src.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/text/source/commons-text-1.15.0-src.tar.gz">commons-text-1.15.0-src.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.15.0-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.15.0-src.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/text/source/commons-text-1.14.0-src.zip">commons-text-1.14.0-src.zip</a></td> - <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.14.0-src.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.14.0-src.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/text/source/commons-text-1.15.0-src.zip">commons-text-1.15.0-src.zip</a></td> + <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.15.0-src.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.15.0-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 9ef2de7e..83219a0d 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="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> + xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> <properties> <title>Apache Commons Text 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 c8734db5..806e21bb 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="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> + xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd"> <properties> <title>Apache Commons Text Mailing Lists</title> <author email="[email protected]">Apache Commons Team</author>
