Skip to content

Commit 626e7e9

Browse files
committed
Prepare for the next release candidate
1 parent ffc86e4 commit 626e7e9

File tree

5 files changed

+87
-5
lines changed

5 files changed

+87
-5
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Apache Commons Lang, a package of Java utility classes for the
5454
standard as to justify existence in java.lang.
5555

5656
The code is tested using the latest revision of the JDK for supported
57-
LTS releases: 8, 11, 17 and 21 currently.
57+
LTS releases: 8, 11, 17, 21 and 25 currently.
5858
See https://github.com/apache/commons-lang/blob/master/.github/workflows/maven.yml
5959

6060
Please ensure your build environment is up-to-date and kindly report any build issues.

RELEASE-NOTES.txt

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,89 @@ Apache Commons Lang, a package of Java utility classes for the
3131
classes that are in java.lang's hierarchy, or are considered to be so
3232
standard as to justify existence in java.lang.
3333

34+
The code is tested using the latest revision of the JDK for supported
35+
LTS releases: 8, 11, 17, 21 and 25 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+
o LANG-1792: TypeUtils.toString() skips angle brackets for Class type. Thanks to Mykhailo Hryb, Gary Gregory.
65+
o Mention JDK 25 LTS as a tested version in the release notes #1485. Thanks to Sebastian Peters, Gary Gregory.
66+
67+
Changes:
68+
o Bump org.apache.commons:commons-parent from 88 to 92 #1472, #1484. Thanks to Gary Gregory, Dependabot.
69+
70+
71+
Historical list of changes: https://commons.apache.org/proper/commons-lang/changes.html
72+
73+
For complete information on Apache Commons Lang, including instructions on how to submit bug reports,
74+
patches, or suggestions for improvement, see the Apache Commons Lang website:
75+
76+
https://commons.apache.org/proper/commons-lang/
77+
78+
Download page: https://commons.apache.org/proper/commons-lang/download_lang.cgi
79+
80+
Have fun!
81+
Apache Commons Team
82+
83+
-----------------------------------------------------------------------------
84+
85+
Licensed to the Apache Software Foundation (ASF) under one or more
86+
contributor license agreements. See the NOTICE file distributed with
87+
this work for additional information regarding copyright ownership.
88+
The ASF licenses this file to You under the Apache License, Version 2.0
89+
(the "License"); you may not use this file except in compliance with
90+
the License. You may obtain a copy of the License at
91+
92+
https://www.apache.org/licenses/LICENSE-2.0
93+
94+
Unless required by applicable law or agreed to in writing, software
95+
distributed under the License is distributed on an "AS IS" BASIS,
96+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
97+
See the License for the specific language governing permissions and
98+
limitations under the License.
99+
100+
Apache Commons Lang 3.20.0 Release Notes
101+
----------------------------------------
102+
103+
The Apache Commons Lang team is pleased to announce the release of Apache Commons Lang 3.20.0.
104+
105+
Commons Lang is a set of utility functions and reusable components that should be useful in any Java environment.
106+
107+
Starting with Commons Lang 3.9, we target Java 8, using those features.
108+
109+
For advice on upgrading from 2.x to 3.x, see:
110+
111+
https://commons.apache.org/lang/article3_0.html
112+
113+
Apache Commons Lang, a package of Java utility classes for the
114+
classes that are in java.lang's hierarchy, or are considered to be so
115+
standard as to justify existence in java.lang.
116+
34117
The code is tested using the latest revision of the JDK for supported
35118
LTS releases: 8, 11, 17 and 21 currently.
36119
See https://github.com/apache/commons-lang/blob/master/.github/workflows/maven.yml

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
<uberjar.name>benchmarks</uberjar.name>
158158
<!-- Commons Release Plugin -->
159159
<commons.bc.version>3.19.0</commons.bc.version>
160-
<commons.rc.version>RC1</commons.rc.version>
160+
<commons.rc.version>RC2</commons.rc.version>
161161
<commons.release.isDistModule>true</commons.release.isDistModule>
162162
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/lang</commons.distSvnStagingUrl>
163163
<!-- JaCoCo: Don't make code coverage worse than: -->
@@ -313,7 +313,6 @@
313313
</plugin>
314314
</plugins>
315315
</build>
316-
317316
<reporting>
318317
<plugins>
319318
<plugin>

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="2025-11-10" description="This is a feature and maintenance release. Java 8 or later is required.">
47+
<release version="3.20.0" date="2025-11-12" 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>

0 commit comments

Comments
 (0)