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-lang.git
commit b64f71df6dabe0bc144715fabc82c311cf9eb8f0 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Aug 24 18:39:56 2024 +0000 Prepare for the next release candidate --- README.md | 4 +-- RELEASE-NOTES.txt | 69 +++++++++++++++++++++++++++++++++++++++++ src/changes/changes.xml | 2 +- src/site/xdoc/download_lang.xml | 26 ++++++++-------- 4 files changed, 85 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 61f2275dd..f43853a55 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Apache Commons Lang [](https://github.com/apache/commons-lang/actions/workflows/maven.yml) [](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-lang3/?gav=true) -[](https://javadoc.io/doc/org.apache.commons/commons-lang3/3.16.0) +[](https://javadoc.io/doc/org.apache.commons/commons-lang3/3.17.0) [](https://github.com/apache/commons-lang/actions/workflows/codeql-analysis.yml) [](https://api.securityscorecards.dev/projects/github.com/apache/commons-lang) @@ -76,7 +76,7 @@ Alternatively, you can pull it from the central Maven repositories: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> - <version>3.16.0</version> + <version>3.17.0</version> </dependency> ``` diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 562220acf..73118959f 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -15,6 +15,75 @@ See the License for the specific language governing permissions and limitations under the License. + Apache Commons Lang + Version 3.17.0 + Release Notes + + +The Apache Commons team is pleased to announce Apache Commons Lang Version 3.17.0. + +Commons Lang is a set of utility functions and reusable components that should be useful in any Java environment. + +Starting with Commons Lang 3.9, we target Java 8, using those features. + +For advice on upgrading from 2.x to 3.x, see: + + https://commons.apache.org/lang/article3_0.html + +Apache Commons Lang, a package of Java utility classes for the +classes that are in java.lang's hierarchy, or are considered to be so +standard as to justify existence in java.lang. + +The code is tested using the latest revision of the JDK for supported +LTS releases: 8, 11, 17 and 21 currently. +See https://github.com/apache/commons-lang/blob/master/.github/workflows/maven.yml + +Please ensure your build environment is up-to-date and kindly report any build issues. + +This is a feature and maintenance release. Java 8 or later is required. + +Changes in this version include: + +New features: +o RandomUtils.secure() now uses SecureRandom() instead of SecureRandom.getInstanceStrong(). Thanks to Gary Gregory. +o RandomStringUtils.secure() now uses SecureRandom() instead of SecureRandom.getInstanceStrong(). Thanks to Gary Gregory. +o Remove unused exception from deprecated StringUtils.toString(byte[], String). Thanks to Gary Gregory. +o Make RandomUtils.insecure() public. Thanks to Gary Gregory. +o Add RandomUtils.secureStrong(). Thanks to Gary Gregory. +o Add RandomStringUtils.secureStrong(). Thanks to Gary Gregory. +o Add CalendarUtils.toLocalDateTime(Calendar). Thanks to Gary Gregory. +o Add CalendarUtils.toLocalDateTime(). Thanks to Gary Gregory. +o Add CalendarUtils.toZonedDateTime(Calendar). Thanks to Gary Gregory. +o Add CalendarUtils.toZonedDateTime(). Thanks to Gary Gregory. +o Add CalendarUtils.toOffsetDateTime(Calendar). Thanks to Gary Gregory. +o Add CalendarUtils.toOffsetDateTime(). Thanks to Gary Gregory. + +Fixed Bugs: +o LANG-1760: Using RandomStringUtils.insecure() still leads to using the secure() random. Thanks to Marco Hoek, Gary Gregory. +o Deprecate static RandomUtils.next*() methods in favor or .secure() and .insecure() versions. Thanks to Gary Gregory. +o Deprecate static RandomStringUtils.random*() methods in favor or .secure() and .insecure() versions. Thanks to Gary Gregory. + +Changes: +o Bump org.hamcrest:hamcrest from 2.2 to 3.0 #1255. Thanks to Gary Gregory, Dependabot. +o Bump org.easymock:easymock from 5.3.0 to 5.4.0 #1256. Thanks to Gary Gregory, Dependabot. +o Bump org.codehaus.mojo:exec-maven-plugin from 3.3.0 to 3.4.1 #1262, #1264. Thanks to Gary Gregory, Dependabot. +o Bump org.apache.commons:commons-parent from 72 to 73 #1265. Thanks to Gary Gregory, Dependabot. + + +Historical list of changes: https://commons.apache.org/proper/commons-lang/changes-report.html + +For complete information on Apache Commons Lang, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons Lang website: + +https://commons.apache.org/proper/commons-lang/ + +Download page: https://commons.apache.org/proper/commons-lang/download_lang.cgi + +Have fun! +Apache Commons Team + +----------------------------------------------------------------------------- + Apache Commons Lang Version 3.16.0 Release Notes diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 5dd47c31e..d92eb6fa1 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 Lang Release Notes</title> </properties> <body> - <release version="3.17.0" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required."> + <release version="3.17.0" date="2024-08-24" description="This is a feature and maintenance release. Java 8 or later is required."> <!-- FIX --> <action issue="LANG-1760" type="fix" dev="ggregory" due-to="Marco Hoek, Gary Gregory">Using RandomStringUtils.insecure() still leads to using the secure() random.</action> <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate static RandomUtils.next*() methods in favor or .secure() and .insecure() versions.</action> diff --git a/src/site/xdoc/download_lang.xml b/src/site/xdoc/download_lang.xml index 1a7b6644e..6ebd9eccd 100644 --- a/src/site/xdoc/download_lang.xml +++ b/src/site/xdoc/download_lang.xml @@ -113,32 +113,32 @@ limitations under the License. </p> </subsection> </section> - <section name="Apache Commons Lang 3.16.0 (Java 8+)"> + <section name="Apache Commons Lang 3.17.0 (Java 8+)"> <subsection name="Binaries"> <table> <tr> - <td><a href="[preferred]/commons/lang/binaries/commons-lang3-3.16.0-bin.tar.gz">commons-lang3-3.16.0-bin.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.16.0-bin.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.16.0-bin.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/lang/binaries/commons-lang3-3.17.0-bin.tar.gz">commons-lang3-3.17.0-bin.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.17.0-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.17.0-bin.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/lang/binaries/commons-lang3-3.16.0-bin.zip">commons-lang3-3.16.0-bin.zip</a></td> - <td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.16.0-bin.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.16.0-bin.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/lang/binaries/commons-lang3-3.17.0-bin.zip">commons-lang3-3.17.0-bin.zip</a></td> + <td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.17.0-bin.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.17.0-bin.zip.asc">pgp</a></td> </tr> </table> </subsection> <subsection name="Source"> <table> <tr> - <td><a href="[preferred]/commons/lang/source/commons-lang3-3.16.0-src.tar.gz">commons-lang3-3.16.0-src.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.16.0-src.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.16.0-src.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/lang/source/commons-lang3-3.17.0-src.tar.gz">commons-lang3-3.17.0-src.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.17.0-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.17.0-src.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/lang/source/commons-lang3-3.16.0-src.zip">commons-lang3-3.16.0-src.zip</a></td> - <td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.16.0-src.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.16.0-src.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/lang/source/commons-lang3-3.17.0-src.zip">commons-lang3-3.17.0-src.zip</a></td> + <td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.17.0-src.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.17.0-src.zip.asc">pgp</a></td> </tr> </table> </subsection>