You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/04/13 13:14:51 UTC
(commons-text) branch master updated: Prepare for the next release candidate
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 ca368c1e Prepare for the next release candidate
ca368c1e is described below
commit ca368c1e2b8c9184936494d0081fa77ca8fa8cd6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Apr 13 13:14:47 2024 +0000
Prepare for the next release candidate
---
CONTRIBUTING.md | 5 ++--
README.md | 5 ++--
RELEASE-NOTES.txt | 65 +++++++++++++++++++++++++++++++++++++++++
pom.xml | 4 ++-
src/changes/changes.xml | 2 +-
src/changes/release-notes.vm | 3 --
src/site/xdoc/download_text.xml | 26 ++++++++---------
7 files changed, 86 insertions(+), 24 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7683e3fa..df929998 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,13 +49,13 @@ Getting Started
---------------
+ Make sure you have a [JIRA account](https://issues.apache.org/jira/).
-+ Make sure you have a [GitHub account](https://github.com/signup/free).
++ Make sure you have a [GitHub account](https://github.com/signup/free). This is not essential, but makes providing patches much easier.
+ If you're planning to implement a new feature it makes sense to discuss your changes on the [dev list](https://commons.apache.org/mail-lists.html) first. This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Commons Text's scope.
+ Submit a [Jira Ticket][jira] for your issue, assuming one does not already exist.
+ Clearly describe the issue including steps to reproduce when it is a bug.
+ Make sure you fill in the earliest version that you know has the issue.
+ Find the corresponding [repository on GitHub](https://github.com/apache/?query=commons-),
-[fork](https://help.github.com/articles/fork-a-repo/) and check out your forked repository.
+[fork](https://help.github.com/articles/fork-a-repo/) and check out your forked repository. If you don't have a GitHub account, you can still clone the Commons repository.
Making Changes
--------------
@@ -109,7 +109,6 @@ Additional Resources
+ [General GitHub documentation](https://help.github.com/)
+ [GitHub pull request documentation](https://help.github.com/articles/creating-a-pull-request/)
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
-+ `#apache-commons` IRC channel on `irc.freenode.net`
[cla]:https://www.apache.org/licenses/#clas
[jira]:https://issues.apache.org/jira/browse/TEXT
diff --git a/README.md b/README.md
index f5e56e3b..5ef6bc71 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Apache Commons Text
[](https://github.com/apache/commons-text/actions/workflows/maven.yml)
[](https://app.codecov.io/gh/apache/commons-text)
[](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-text/?gav=true)
-[](https://javadoc.io/doc/org.apache.commons/commons-text/1.11.0)
+[](https://javadoc.io/doc/org.apache.commons/commons-text/1.12.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.11.0</version>
+ <version>1.12.0</version>
</dependency>
```
@@ -111,7 +111,6 @@ Additional Resources
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/TEXT)
+ [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD)
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
-+ `#apache-commons` IRC channel on `irc.freenode.org`
Apache Commons Components
-------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 72634f57..7b059a86 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -15,6 +15,71 @@ See the License for the specific language governing permissions and
limitations under the License.
+Apache Commons Text Version 1.12.0 Release Notes
+------------------------------------------------
+
+This document contains the release notes for the 1.12.0 version of 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.
+
+Release 1.12.0. Requires Java 8 or above.
+
+New features
+------------
+
+* Add StringLookupFactory.fileStringLookup(Path...) and deprecated fileStringLookup(). Thanks to Gary Gregory.
+* Add StringLookupFactory.propertiesStringLookup(Path...) and deprecated propertiesStringLookup(). Thanks to Gary Gregory.
+* Add StringLookupFactory.xmlStringLookup(Map, Path...) and deprecated xmlStringLookup() and xmlStringLookup(Map). Thanks to Gary Gregory.
+* Add StringLookupFactory.builder() for fencing Path resolution of the file, properties and XML lookups. Thanks to Gary Gregory.
+* Add DoubleFormat.Builder.get() as Builder now implements Supplier. Thanks to Gary Gregory.
+
+Fixed Bugs
+----------
+
+* TEXT-232: WordUtils.containsAllWords?() may throw PatternSyntaxException. Thanks to Arnout Engelen, Gary Gregory.
+* TEXT-175: Fix regression for determining whitespace in WordUtils #519. Thanks to David Lavati, seanfabs, Gary Gregory, Bruno P. Kinoshita.
+* Deprecate Builder in favor of Supplier. Thanks to Gary Gregory.
+
+Changes
+-------
+
+* Bump commons-lang3 from 3.13.0 to 3.14.0. Thanks to Gary Gregory.
+* Bump commons.bytebuddy.version from 1.14.9 to 1.14.13 #476, #482, #505, #521. Thanks to Dependabot.
+* Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.2.0 #474, #508. Thanks to Dependabot.
+* Bump commons-io from 2.15.0 to 2.16.1 #522, #527. Thanks to Gary Gregory.
+* Bump commons-parent from 64 to 69 #524. Thanks to Gary Gregory.
+* Bump org.assertj:assertj-core from 3.24.2 to 3.25.3. Thanks to Dependabot.
+
+Historical list of changes: https://commons.apache.org/proper/commons-text/changes-report.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
+
+-----------------------------------------------------------------------------
+
+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
+
+http://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/pom.xml b/pom.xml
index 7367e4b3..fc465c8d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,9 @@
<artifactId>commons-text</artifactId>
<version>1.12.0-SNAPSHOT</version>
<name>Apache Commons Text</name>
- <description>Apache Commons Text is a library focused on algorithms working on strings.</description>
+ <description>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.
+ </description>
<url>https://commons.apache.org/proper/commons-text</url>
<properties>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index b7a848f2..1dbaa61a 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.12.0" date="YYYY-MM-DD" description="Release 1.12.0. Requires Java 8 or above.">
+ <release version="1.12.0" date="2024-04-13" description="Release 1.12.0. Requires Java 8 or above.">
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">Add StringLookupFactory.fileStringLookup(Path...) and deprecated fileStringLookup().</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add StringLookupFactory.propertiesStringLookup(Path...) and deprecated propertiesStringLookup().</action>
diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm
index eea357db..d5c8cc0f 100644
--- a/src/changes/release-notes.vm
+++ b/src/changes/release-notes.vm
@@ -36,9 +36,6 @@ ${project.name} Version ${version} Release Notes
------------------------------------------------
This document contains the release notes for the ${version} version of Apache Commons Text.
-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.
-
$introduction.replaceAll("(?<!\015)\012", "
").replaceAll("(?m)^ +","")
diff --git a/src/site/xdoc/download_text.xml b/src/site/xdoc/download_text.xml
index 183c6cd1..165dd2fc 100644
--- a/src/site/xdoc/download_text.xml
+++ b/src/site/xdoc/download_text.xml
@@ -113,32 +113,32 @@ limitations under the License.
</p>
</subsection>
</section>
- <section name="Apache Commons Text 1.11.0 (Java 8+)">
+ <section name="Apache Commons Text 1.12.0 (Java 8+)">
<subsection name="Binaries">
<table>
<tr>
- <td><a href="[preferred]/commons/text/binaries/commons-text-1.11.0-bin.tar.gz">commons-text-1.11.0-bin.tar.gz</a></td>
- <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.11.0-bin.tar.gz.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.11.0-bin.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/text/binaries/commons-text-1.12.0-bin.tar.gz">commons-text-1.12.0-bin.tar.gz</a></td>
+ <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.12.0-bin.tar.gz.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.12.0-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/text/binaries/commons-text-1.11.0-bin.zip">commons-text-1.11.0-bin.zip</a></td>
- <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.11.0-bin.zip.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.11.0-bin.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/text/binaries/commons-text-1.12.0-bin.zip">commons-text-1.12.0-bin.zip</a></td>
+ <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.12.0-bin.zip.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/text/binaries/commons-text-1.12.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.11.0-src.tar.gz">commons-text-1.11.0-src.tar.gz</a></td>
- <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.11.0-src.tar.gz.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.11.0-src.tar.gz.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/text/source/commons-text-1.12.0-src.tar.gz">commons-text-1.12.0-src.tar.gz</a></td>
+ <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.12.0-src.tar.gz.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.12.0-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a href="[preferred]/commons/text/source/commons-text-1.11.0-src.zip">commons-text-1.11.0-src.zip</a></td>
- <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.11.0-src.zip.sha512">sha512</a></td>
- <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.11.0-src.zip.asc">pgp</a></td>
+ <td><a href="[preferred]/commons/text/source/commons-text-1.12.0-src.zip">commons-text-1.12.0-src.zip</a></td>
+ <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.12.0-src.zip.sha512">sha512</a></td>
+ <td><a href="https://downloads.apache.org/commons/text/source/commons-text-1.12.0-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>