Skip to content

Commit b6ef53f

Browse files
committed
Prepare for the next release candidate
1 parent bd20740 commit b6ef53f

File tree

4 files changed

+120
-7
lines changed

4 files changed

+120
-7
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ Making Changes
6161

6262
+ Create a _topic branch_ for your isolated work.
6363
* Usually you should base your branch from the `master` branch.
64-
* A good topic branch name can be the JIRA bug ID plus a keyword, for example, `BEANUTILS-123-InputStream`.
64+
* A good topic branch name can be the JIRA bug ID plus a keyword, e.g. `BEANUTILS-123-InputStream`.
6565
* If you have submitted multiple JIRA issues, try to maintain separate branches and pull requests.
6666
+ Make commits of logical units.
6767
* Make sure your commit messages are meaningful and in the proper format. Your commit message should contain the key of the JIRA issue.
68-
* For example, `[BEANUTILS-123] Close input stream earlier`
68+
* For example, `[BEANUTILS-123] Close input stream sooner`
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.

README.md

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

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

@@ -68,7 +68,7 @@ Alternatively, you can pull it from the central Maven repositories:
6868
<dependency>
6969
<groupId>org.apache.commons</groupId>
7070
<artifactId>commons-beanutils2</artifactId>
71-
<version>2.0.0-M1</version>
71+
<version>2.0.0-M2</version>
7272
</dependency>
7373
```
7474

@@ -90,7 +90,7 @@ There are some guidelines which will make applying PRs easier for us:
9090
+ 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.
9191
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
9292
+ Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks.
93-
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false`
93+
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
9494

9595
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
9696
You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md).

RELEASE-NOTES.txt

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,62 @@
1+
Apache Commons BeanUtils 2.0.0-M2
2+
Release Notes
3+
4+
The Apache Commons BeanUtils team is pleased to announce the release of Apache Commons BeanUtils 2.0.0-M2.
5+
6+
Apache Commons BeanUtils provides an easy-to-use but flexible wrapper around reflection and introspection.
7+
8+
This is a major release and requires Java 8.
9+
10+
Changes in this version include:
11+
12+
New features:
13+
o Add org.apache.commons.beanutils.SuppressPropertiesBeanIntrospector.SUPPRESS_DECLARING_CLASS. Thanks to Gary Gregory.
14+
15+
Fixed Bugs:
16+
o Javadoc is missing its Overview page. Thanks to Gary Gregory.
17+
o Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80). Thanks to Gary Gregory.
18+
o The class org.apache.commons.beanutils2.PropertyUtils is now final (the class only contains static methods). Thanks to Gary Gregory.
19+
o The constructor org.apache.commons.beanutils2.PropertyUtils is now private (the class only contains static methods). Thanks to Gary Gregory.
20+
o The class org.apache.commons.beanutils2.locale.LocaleConvertUtils is now final (the class only contains static methods). Thanks to Gary Gregory.
21+
o The constructor org.apache.commons.beanutils2.locale.LocaleConvertUtils is now private (the class only contains static methods). Thanks to Gary Gregory.
22+
o The class org.apache.commons.beanutils2.locale.LocaleBeanUtils is now final (the class only contains static methods). Thanks to Gary Gregory.
23+
o The constructor org.apache.commons.beanutils2.locale.LocaleBeanUtils is now private (the class only contains static methods). Thanks to Gary Gregory.
24+
o The class org.apache.commons.beanutils2.MethodUtils is now final (the class only contains static methods). Thanks to Gary Gregory.
25+
o The constructor org.apache.commons.beanutils2.MethodUtils is now private (the class only contains static methods). Thanks to Gary Gregory.
26+
o The class org.apache.commons.beanutils2.ConvertUtils is now final (the class only contains static methods). Thanks to Gary Gregory.
27+
o The constructor org.apache.commons.beanutils2.ConvertUtils is now private (the class only contains static methods). Thanks to Gary Gregory.
28+
o The class org.apache.commons.beanutils2.ConstructorUtils is now final (the class only contains static methods). Thanks to Gary Gregory.
29+
o The constructor org.apache.commons.beanutils2.ConstructorUtils is now private (the class only contains static methods). Thanks to Gary Gregory.
30+
o The class LocaleBeanUtils no longer extends BeanUtils (both classes only contains static methods). Thanks to Gary Gregory.
31+
o The class org.apache.commons.beanutils2.BeanUtils is now final (the class only contains static methods). Thanks to Gary Gregory.
32+
o The constructor org.apache.commons.beanutils2.BeanUtils is now private (the class only contains static methods). Thanks to Gary Gregory.
33+
o BeanComparator.compare(T, T) now throws IllegalArgumentException instead of RuntimeException to wrap all cases of ReflectiveOperationException. Thanks to Gary Gregory.
34+
o MappedMethodReference.get() now throws IllegalStateException instead of RuntimeException to wrap cases of NoSuchMethodException. Thanks to Gary Gregory.
35+
o ResultSetIterator.get(String) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
36+
o ResultSetIterator.hasNext() now throws IllegalStateException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
37+
o ResultSetIterator.next() now throws IllegalStateException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
38+
o ResultSetIterator.set(String, Object) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
39+
o ResultSetIterator.set(String, String, Object) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
40+
41+
Changes:
42+
o Bump org.apache.commons:commons-parent from 78 to 84 #348. Thanks to Gary Gregory, Dependabot.
43+
o Bump commons-logging:commons-logging from 1.3.4 to 1.3.5. Thanks to Gary Gregory.
44+
o Bump org.apache.commons:commons-collections4 from 4.5.0-M3 to 4.5.0. Thanks to Gary Gregory.
45+
46+
47+
Historical list of changes: https://commons.apache.org/proper/commons-beanutils//changes.html
48+
49+
For complete information on Apache Commons BeanUtils, including instructions on how to submit bug reports,
50+
patches, or suggestions for improvement, see the Apache Commons BeanUtils website:
51+
52+
https://commons.apache.org/proper/commons-beanutils/
53+
54+
Download it from https://commons.apache.org/proper/commons-beanutils//download_beanutils.cgi
55+
56+
Have fun!
57+
-Apache Commons BeanUtils team
58+
59+
-----------------------------------------------------------------------------
160
Apache Commons BeanUtils 2.0.0-M1 Release Notes
261
-----------------------------------------------
362

@@ -95,7 +154,61 @@ https://commons.apache.org/proper/commons-beanutils/
95154
Download it from https://commons.apache.org/proper/commons-beanutils/download_beanutils.cgi
96155

97156
-----------------------------------------------------------------------------
157+
Apache Commons BeanUtils 1.11.0 Release Notes
158+
---------------------------------------------
159+
160+
The Apache Commons BeanUtils team is pleased to announce the release of Apache Commons BeanUtils 1.11.0.
161+
162+
Apache Commons BeanUtils provides an easy-to-use but flexible wrapper around reflection and introspection.
163+
164+
This is a maintenance release and requires Java 8.
165+
166+
Changes in this version include:
98167

168+
New features:
169+
o Add org.apache.commons.beanutils.SuppressPropertiesBeanIntrospector.SUPPRESS_DECLARING_CLASS. Thanks to Gary Gregory.
170+
171+
Fixed Bugs:
172+
o BeanComparator.compare(T, T) now throws IllegalArgumentException instead of RuntimeException to wrap all cases of ReflectiveOperationException. Thanks to Gary Gregory.
173+
o MappedMethodReference.get() now throws IllegalStateException instead of RuntimeException to wrap cases of NoSuchMethodException. Thanks to Gary Gregory.
174+
o ResultSetIterator.get(String) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
175+
o ResultSetIterator.hasNext() now throws IllegalStateException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
176+
o ResultSetIterator.next() now throws IllegalStateException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
177+
o ResultSetIterator.set(String, Object) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
178+
o ResultSetIterator.set(String, String, Object) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory.
179+
180+
Changes:
181+
o Bump org.apache.commons:commons-parent from 81 to 84. Thanks to Gary Gregory.
182+
o Bump commons-logging:commons-logging from 1.3.4 to 1.3.5. Thanks to Gary Gregory.
183+
184+
185+
Historical list of changes: https://commons.apache.org/proper/commons-beanutils/changes.html
186+
187+
For complete information on Apache Commons BeanUtils, including instructions on how to submit bug reports,
188+
patches, or suggestions for improvement, see the Apache Commons BeanUtils website:
189+
190+
https://commons.apache.org/proper/commons-beanutils
191+
192+
Download it from https://commons.apache.org/proper/commons-beanutils/download_beanutils.cgi
193+
194+
Have fun!
195+
-Apache Commons BCEL team
196+
197+
Feedback
198+
--------
199+
Open source works best when you give feedback:
200+
201+
https://commons.apache.org/beanutils
202+
203+
Please direct all bug reports to JIRA:
204+
205+
https://issues.apache.org/jira/browse/BEANUTILS
206+
207+
Or subscribe to the commons-user mailing list
208+
209+
The Apache Commons Team
210+
211+
-----------------------------------------------------------------------------
99212
Apache Commons BeanUtils 1.10.1 Release Notes
100213
---------------------------------------------
101214

src/changes/changes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<title>Apache Commons BeanUtils Release Notes</title>
2828
</properties>
2929
<body>
30-
<release version="2.0.0-M2" date="YYYY-MM-DD" description="This is a major release and requires Java 8.">
30+
<release version="2.0.0-M2" date="2025-05-25" description="This is a major release and requires Java 8.">
3131
<!-- FIX -->
3232
<action type="fix" dev="ggregory" due-to="Gary Gregory">Javadoc is missing its Overview page.</action>
3333
<action type="fix" dev="ggregory" due-to="Gary Gregory">Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80).</action>
@@ -259,7 +259,7 @@
259259
Do not implement Serializable.
260260
</action>
261261
</release>
262-
<release version="1.11.0" date="YYYY-MM-DD" description="This is a maintenance release and requires Java 8.">
262+
<release version="1.11.0" date="2025-05-25" description="This is a maintenance release and requires Java 8.">
263263
<!-- FIX -->
264264
<action type="fix" dev="ggregory" due-to="Gary Gregory">BeanComparator.compare(T, T) now throws IllegalArgumentException instead of RuntimeException to wrap all cases of ReflectiveOperationException.</action>
265265
<action type="fix" dev="ggregory" due-to="Gary Gregory">MappedMethodReference.get() now throws IllegalStateException instead of RuntimeException to wrap cases of NoSuchMethodException.</action>

0 commit comments

Comments
 (0)