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
The following commit(s) were added to refs/heads/master by this push:
new 4d26c2d7 Prepare for the next release candidate
4d26c2d7 is described below
commit 4d26c2d7560e29d5e069f66728e8ecbaf414d79a
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sun Jul 20 13:34:00 2025 +0000
Prepare for the next release candidate
---
README.md | 10 ++--
RELEASE-NOTES.txt | 105 ++++++++++++++++++++++------------------
src/changes/changes.xml | 2 +-
src/site/xdoc/download_text.xml | 26 +++++-----
4 files changed, 76 insertions(+), 67 deletions(-)
diff --git a/README.md b/README.md
index 7487c1f2..81333cf3 100644
--- a/README.md
+++ b/README.md
@@ -45,12 +45,12 @@ 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.13.1)
+[](https://javadoc.io/doc/org.apache.commons/commons-text/1.14.0)
[](https://github.com/apache/commons-text/actions/workflows/codeql-analysis.yml)
[](https://api.securityscorecards.dev/projects/github.com/apache/commons-text)
-Apache Commons Text is a set of utility functions and reusable components for
the purpose of processing
- and manipulating text that should be of use in a Java environment.
+Apache Commons Text is a set of utility functions and reusable components for
processing
+ and manipulating text in a Java environment.
Documentation
-------------
@@ -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.13.1</version>
+ <version>1.14.0</version>
</dependency>
```
@@ -91,7 +91,7 @@ There are some guidelines which will make applying PRs easier
for us:
+ 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.
-+ To see the code coverage report, regardless of coverage failures, run `mvn
clean site -Dcommons.jacoco.haltOnFailure=false`
++ 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).
You can learn more about contributing via GitHub in our [contribution
guidelines](CONTRIBUTING.md).
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index fdec18aa..f3e14716 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -14,6 +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.14.0 Release Notes
+------------------------------------------------
+
+The Apache Commons Text team is pleased to announce the release of Apache
Commons Text 1.14.0.
+
+Apache Commons Text is a set of utility functions and reusable components for
processing
+and manipulating text in a Java environment.
+
+Release 1.14.0. Requires Java 8 or above.
+
+
+New features
+------------
+
+* Interface StringLookup now extends UnaryOperator<String>. Thanks
to Gary Gregory.
+* Interface TextRandomProvider extends IntUnaryOperator. Thanks to
Gary Gregory.
+* Add RandomStringGenerator.Builder.usingRandom(IntUnaryOperator).
Thanks to Gary Gregory.
+* Add PMD check to default Maven goal. Thanks to Gary Gregory.
+* Add
org.apache.commons.text.RandomStringGenerator.Builder.setAccumulate(boolean).
Thanks to Gary Gregory.
+
+Fixed Bugs
+----------
+
+* Fix PMD UnnecessaryFullyQualifiedName in StringLookupFactory.
Thanks to Gary Gregory.
+* Fix PMD UnnecessaryFullyQualifiedName in
DefaultStringLookupsHolder. Thanks to Gary Gregory.
+* Fix PMD UnnecessaryFullyQualifiedName in PropertiesStringLookup.
Thanks to Gary Gregory.
+* Fix PMD UnnecessaryFullyQualifiedName in
JavaPlatformStringLookup. Thanks to Gary Gregory.
+* Fix PMD UnnecessaryFullyQualifiedName in StringSubstitutor.
Thanks to Gary Gregory.
+* Fix PMD UnnecessaryFullyQualifiedName in StrSubstitutor. Thanks
to Gary Gregory.
+* Fix PMD UnnecessaryFullyQualifiedName in AlphabetConverter.
Thanks to Gary Gregory.
+* Fix PMD AvoidBranchingStatementAsLastInLoop in TextStringBuilder.
Thanks to Gary Gregory.
+* Fix PMD AvoidBranchingStatementAsLastInLoop in StrBuilder. Thanks
to Gary Gregory.
+*
org.apache.commons.text.translate.LookupTranslator.LookupTranslator(Map
CharSequence>) now throws NullPointerException instead of
java.security.InvalidParameterException. Thanks to Gary Gregory.
+
+Changes
+-------
+
+* Bump org.apache.commons:commons-parent from 81 to 85 #668. Thanks
to Dependabot, Gary Gregory.
+* Bump commons-io:commons-io from 2.18.0 to 2.20.0. Thanks to Gary
Gregory.
+* Bump graalvm.version from 24.2.0 to 24.2.2 #665, #681. Thanks to
Dependabot, Gary Gregory.
+* Bump commons.bytebuddy.version from 1.17.5 to 1.17.6 (#677).
Thanks to Dependabot.
+* Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 #680.
Thanks to Dependabot.
+
+
+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.13.1 Release Notes
----------------------------------------
@@ -53,22 +110,6 @@ Have fun!
-----------------------------------------------------------------------------
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-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 Version 1.13.0 Release Notes
------------------------------------------------
@@ -141,22 +182,6 @@ Have fun!
-----------------------------------------------------------------------------
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-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 Version 1.12.0 Release Notes
------------------------------------------------
@@ -206,22 +231,6 @@ Have fun!
-----------------------------------------------------------------------------
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
-https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-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 Version 1.11.0 Release Notes
------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index bfd08972..5406a317 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.14.0" date="YYYY-MM-DD" description="Release 1.14.0.
Requires Java 8 or above.">
+ <release version="1.14.0" date="2025-07-20" description="Release 1.14.0.
Requires Java 8 or above.">
<!-- FIX -->
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD
UnnecessaryFullyQualifiedName in StringLookupFactory.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD
UnnecessaryFullyQualifiedName in DefaultStringLookupsHolder.</action>
diff --git a/src/site/xdoc/download_text.xml b/src/site/xdoc/download_text.xml
index c16a6f02..12c6a1a0 100644
--- a/src/site/xdoc/download_text.xml
+++ b/src/site/xdoc/download_text.xml
@@ -115,32 +115,32 @@ limitations under the License.
</p>
</subsection>
</section>
- <section name="Apache Commons Text 1.13.1 (Java 8+)">
+ <section name="Apache Commons Text 1.14.0 (Java 8+)">
<subsection name="Binaries">
<table>
<tr>
- <td><a
href="[preferred]/commons/text/binaries/commons-text-1.13.1-bin.tar.gz">commons-text-1.13.1-bin.tar.gz</a></td>
- <td><a
href="https://downloads.apache.org/commons/text/binaries/commons-text-1.13.1-bin.tar.gz.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/text/binaries/commons-text-1.13.1-bin.tar.gz.asc">pgp</a></td>
+ <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>
</tr>
<tr>
- <td><a
href="[preferred]/commons/text/binaries/commons-text-1.13.1-bin.zip">commons-text-1.13.1-bin.zip</a></td>
- <td><a
href="https://downloads.apache.org/commons/text/binaries/commons-text-1.13.1-bin.zip.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/text/binaries/commons-text-1.13.1-bin.zip.asc">pgp</a></td>
+ <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>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a
href="[preferred]/commons/text/source/commons-text-1.13.1-src.tar.gz">commons-text-1.13.1-src.tar.gz</a></td>
- <td><a
href="https://downloads.apache.org/commons/text/source/commons-text-1.13.1-src.tar.gz.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/text/source/commons-text-1.13.1-src.tar.gz.asc">pgp</a></td>
+ <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>
</tr>
<tr>
- <td><a
href="[preferred]/commons/text/source/commons-text-1.13.1-src.zip">commons-text-1.13.1-src.zip</a></td>
- <td><a
href="https://downloads.apache.org/commons/text/source/commons-text-1.13.1-src.zip.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/text/source/commons-text-1.13.1-src.zip.asc">pgp</a></td>
+ <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>
</tr>
</table>
</subsection>