Skip to content

Commit 2b25490

Browse files
committed
Prepare for the next release candidate
1 parent 1db7018 commit 2b25490

File tree

6 files changed

+84
-33
lines changed

6 files changed

+84
-33
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Making Changes
6969
+ Respect the original code style:
7070
+ Only use spaces for indentation; you can check for unnecessary whitespace with `git diff` before committing.
7171
+ 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 first.
72-
+ Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. This may not always be possible but is a best practice.
72+
+ Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. This may not always be possible but is a best-practice.
7373
Unit tests are typically in the `src/test/java` directory.
7474
+ Run a successful build using the default [Maven](https://maven.apache.org/) goal with `mvn`; that's `mvn` on the command line by itself.
7575
+ Write a pull request description that is detailed enough to understand what the pull request does, how, and why.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Apache Commons Lang
4545

4646
[![Java CI](https://github.com/apache/commons-lang/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-lang/actions/workflows/maven.yml)
4747
[![Maven Central](https://img.shields.io/maven-central/v/org.apache.commons/commons-lang3?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.commons/commons-lang3)
48-
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-lang3/3.19.0.svg)](https://javadoc.io/doc/org.apache.commons/commons-lang3/3.19.0)
48+
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-lang3/3.20.0.svg)](https://javadoc.io/doc/org.apache.commons/commons-lang3/3.20.0)
4949
[![CodeQL](https://github.com/apache/commons-lang/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-lang/actions/workflows/codeql-analysis.yml)
5050
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-lang/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-lang)
5151

@@ -76,7 +76,7 @@ Alternatively, you can pull it from the central Maven repositories:
7676
<dependency>
7777
<groupId>org.apache.commons</groupId>
7878
<artifactId>commons-lang3</artifactId>
79-
<version>3.19.0</version>
79+
<version>3.20.0</version>
8080
</dependency>
8181
```
8282

RELEASE-NOTES.txt

Lines changed: 66 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,72 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616

17+
Apache Commons Lang 3.20.0 Release Notes
18+
----------------------------------------
19+
20+
The Apache Commons Lang team is pleased to announce the release of Apache Commons Lang 3.20.0.
21+
22+
Commons Lang is a set of utility functions and reusable components that should be useful in any Java environment.
23+
24+
Starting with Commons Lang 3.9, we target Java 8, using those features.
25+
26+
For advice on upgrading from 2.x to 3.x, see:
27+
28+
https://commons.apache.org/lang/article3_0.html
29+
30+
Apache Commons Lang, a package of Java utility classes for the
31+
classes that are in java.lang's hierarchy, or are considered to be so
32+
standard as to justify existence in java.lang.
33+
34+
The code is tested using the latest revision of the JDK for supported
35+
LTS releases: 8, 11, 17 and 21 currently.
36+
See https://github.com/apache/commons-lang/blob/master/.github/workflows/maven.yml
37+
38+
Please ensure your build environment is up-to-date and kindly report any build issues.
39+
40+
This is a feature and maintenance release. Java 8 or later is required.
41+
42+
Changes in this version include:
43+
44+
New features:
45+
o Add SystemProperties.getPath(String, Supplier<Path>). Thanks to Gary Gregory.
46+
o Add JavaVersion.JAVA_25. Thanks to Gary Gregory.
47+
o Add JavaVersion.JAVA_26. Thanks to Gary Gregory.
48+
o Add SystemUtils.IS_JAVA_25. Thanks to Gary Gregory.
49+
o Add SystemUtils.IS_JAVA_26. Thanks to Gary Gregory.
50+
o Add MutablePair.ofNonNull(Map.Entry). Thanks to jack5505, Gary Gregory.
51+
o Add TimedSemaphore.builder(), Builder, and deprecate constructors. Thanks to Gary Gregory.
52+
o LANG-1504: Adding labels and history to split StopWatch #1473. Thanks to Edwin Delgado H, Gary Gregory.
53+
54+
Fixed Bugs:
55+
o Optimize ObjectToStringComparator.compare() method #1449. Thanks to mayuming, Gary Gregory.
56+
o [javadoc] Improve StringUtils Javadoc #1450. Thanks to Marcono1234, Gary Gregory.
57+
o Fix internal inverted logic in private isEnum() method and correct its usage in getFirstEnum() #1454. Thanks to mayuming, Gary Gregory.
58+
o Use accessors in ToStringStyle so subclasses can effectively override them. Thanks to William Degrange, Gary Gregory, Rob Spoor.
59+
o `LocaleUtils.toLocale(String)` for a 2 letter country code now returns a value instead of throwing an `IllegalArgumentException`. Thanks to jack5505, Gary Gregory.
60+
o Fix typo in StringUtils.trunctate() IllegalArgumentException message and test assertion messages. Thanks to mayuming, Gary Gregory.
61+
o Fix test fixture in ReflectionDiffBuilderTest.testTransientFieldDifference() #1464. Thanks to mayuming, Gary Gregory.
62+
o LANG-1789: NullPointerException when generating NoSuchMethodException in MethodUtils. Thanks to Hylke van der Schaaf, Gary Gregory.
63+
o LANG-1786: Map deprecated TimeZone short IDs and avoid JRE WARNINGs to the console #1483. Thanks to Daniel Migowski, Gary Gregory, Lenny Primak.
64+
65+
Changes:
66+
o Bump org.apache.commons:commons-parent from 88 to 91 #1472. Thanks to Gary Gregory, Dependabot.
67+
68+
69+
Historical list of changes: https://commons.apache.org/proper/commons-lang/changes.html
70+
71+
For complete information on Apache Commons Lang, including instructions on how to submit bug reports,
72+
patches, or suggestions for improvement, see the Apache Commons Lang website:
73+
74+
https://commons.apache.org/proper/commons-lang/
75+
76+
Download page: https://commons.apache.org/proper/commons-lang/download_lang.cgi
77+
78+
Have fun!
79+
Apache Commons Team
80+
81+
-----------------------------------------------------------------------------
82+
1783
Apache Commons Lang 3.19.0 Release Notes
1884
----------------------------------------
1985

@@ -140,21 +206,6 @@ Apache Commons Team
140206

141207
-----------------------------------------------------------------------------
142208

143-
Licensed to the Apache Software Foundation (ASF) under one or more
144-
contributor license agreements. See the NOTICE file distributed with
145-
this work for additional information regarding copyright ownership.
146-
The ASF licenses this file to You under the Apache License, Version 2.0
147-
(the "License"); you may not use this file except in compliance with
148-
the License. You may obtain a copy of the License at
149-
150-
https://www.apache.org/licenses/LICENSE-2.0
151-
152-
Unless required by applicable law or agreed to in writing, software
153-
distributed under the License is distributed on an "AS IS" BASIS,
154-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
155-
See the License for the specific language governing permissions and
156-
limitations under the License.
157-
158209
Apache Commons Lang 3.18.0 Release Notes
159210
----------------------------------------
160211

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The <action> type attribute can be add,update,fix,remove.
4444
<title>Apache Commons Lang Release Notes</title>
4545
</properties>
4646
<body>
47-
<release version="3.20.0" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required.">
47+
<release version="3.20.0" date="2025-11-10" description="This is a feature and maintenance release. Java 8 or later is required.">
4848
<!-- FIX -->
4949
<action type="fix" dev="ggregory" due-to="mayuming, Gary Gregory">Optimize ObjectToStringComparator.compare() method #1449.</action>
5050
<action type="fix" dev="ggregory" due-to="Marcono1234, Gary Gregory">[javadoc] Improve StringUtils Javadoc #1450.</action>

src/changes/release-notes.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ See the License for the specific language governing permissions and
3232
limitations under the License.
3333

3434
${project.name} ${version} Release Notes
35-
------------------------------------------------
35+
----------------------------------------
3636

3737
The ${developmentTeam} is pleased to announce the release of ${project.name} ${version}.
3838

src/site/xdoc/download_lang.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -115,32 +115,32 @@ limitations under the License.
115115
</p>
116116
</subsection>
117117
</section>
118-
<section name="Apache Commons Lang 3.19.0 (Java 8+)">
118+
<section name="Apache Commons Lang 3.20.0 (Java 8+)">
119119
<subsection name="Binaries">
120120
<table>
121121
<tr>
122-
<td><a href="[preferred]/commons/lang/binaries/commons-lang3-3.19.0-bin.tar.gz">commons-lang3-3.19.0-bin.tar.gz</a></td>
123-
<td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.19.0-bin.tar.gz.sha512">sha512</a></td>
124-
<td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.19.0-bin.tar.gz.asc">pgp</a></td>
122+
<td><a href="[preferred]/commons/lang/binaries/commons-lang3-3.20.0-bin.tar.gz">commons-lang3-3.20.0-bin.tar.gz</a></td>
123+
<td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.20.0-bin.tar.gz.sha512">sha512</a></td>
124+
<td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.20.0-bin.tar.gz.asc">pgp</a></td>
125125
</tr>
126126
<tr>
127-
<td><a href="[preferred]/commons/lang/binaries/commons-lang3-3.19.0-bin.zip">commons-lang3-3.19.0-bin.zip</a></td>
128-
<td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.19.0-bin.zip.sha512">sha512</a></td>
129-
<td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.19.0-bin.zip.asc">pgp</a></td>
127+
<td><a href="[preferred]/commons/lang/binaries/commons-lang3-3.20.0-bin.zip">commons-lang3-3.20.0-bin.zip</a></td>
128+
<td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.20.0-bin.zip.sha512">sha512</a></td>
129+
<td><a href="https://downloads.apache.org/commons/lang/binaries/commons-lang3-3.20.0-bin.zip.asc">pgp</a></td>
130130
</tr>
131131
</table>
132132
</subsection>
133133
<subsection name="Source">
134134
<table>
135135
<tr>
136-
<td><a href="[preferred]/commons/lang/source/commons-lang3-3.19.0-src.tar.gz">commons-lang3-3.19.0-src.tar.gz</a></td>
137-
<td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.19.0-src.tar.gz.sha512">sha512</a></td>
138-
<td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.19.0-src.tar.gz.asc">pgp</a></td>
136+
<td><a href="[preferred]/commons/lang/source/commons-lang3-3.20.0-src.tar.gz">commons-lang3-3.20.0-src.tar.gz</a></td>
137+
<td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.20.0-src.tar.gz.sha512">sha512</a></td>
138+
<td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.20.0-src.tar.gz.asc">pgp</a></td>
139139
</tr>
140140
<tr>
141-
<td><a href="[preferred]/commons/lang/source/commons-lang3-3.19.0-src.zip">commons-lang3-3.19.0-src.zip</a></td>
142-
<td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.19.0-src.zip.sha512">sha512</a></td>
143-
<td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.19.0-src.zip.asc">pgp</a></td>
141+
<td><a href="[preferred]/commons/lang/source/commons-lang3-3.20.0-src.zip">commons-lang3-3.20.0-src.zip</a></td>
142+
<td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.20.0-src.zip.sha512">sha512</a></td>
143+
<td><a href="https://downloads.apache.org/commons/lang/source/commons-lang3-3.20.0-src.zip.asc">pgp</a></td>
144144
</tr>
145145
</table>
146146
</subsection>

0 commit comments

Comments
 (0)