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-beanutils.git
The following commit(s) were added to refs/heads/master by this push: new b6ef53fc Prepare for the next release candidate b6ef53fc is described below commit b6ef53fc985ecda80d056e6fc5919b902864d7c3 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sun May 25 13:32:01 2025 +0000 Prepare for the next release candidate --- CONTRIBUTING.md | 4 +- README.md | 6 +-- RELEASE-NOTES.txt | 113 ++++++++++++++++++++++++++++++++++++++++++++++++ src/changes/changes.xml | 4 +- 4 files changed, 120 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4729dea5..b50eb949 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,11 +61,11 @@ Making Changes + Create a _topic branch_ for your isolated work. * Usually you should base your branch from the `master` branch. - * A good topic branch name can be the JIRA bug ID plus a keyword, for example, `BEANUTILS-123-InputStream`. + * A good topic branch name can be the JIRA bug ID plus a keyword, e.g. `BEANUTILS-123-InputStream`. * If you have submitted multiple JIRA issues, try to maintain separate branches and pull requests. + Make commits of logical units. * Make sure your commit messages are meaningful and in the proper format. Your commit message should contain the key of the JIRA issue. - * For example, `[BEANUTILS-123] Close input stream earlier` + * For example, `[BEANUTILS-123] Close input stream sooner` + Respect the original code style: + Only use spaces for indentation; you can check for unnecessary whitespace with `git diff` before committing. + 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. diff --git a/README.md b/README.md index 46762a56..2e8c760e 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Apache Commons BeanUtils [](https://github.com/apache/commons-beanutils/actions/workflows/maven.yml) [](https://search.maven.org/artifact/org.apache.commons/commons-beanutils2) -[](https://javadoc.io/doc/org.apache.commons/commons-beanutils2/2.0.0-M1) +[](https://javadoc.io/doc/org.apache.commons/commons-beanutils2/2.0.0-M2) [](https://github.com/apache/commons-beanutils/actions/workflows/codeql-analysis.yml) [](https://api.securityscorecards.dev/projects/github.com/apache/commons-beanutils) @@ -68,7 +68,7 @@ Alternatively, you can pull it from the central Maven repositories: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-beanutils2</artifactId> - <version>2.0.0-M1</version> + <version>2.0.0-M2</version> </dependency> ``` @@ -90,7 +90,7 @@ There are some guidelines which will make applying PRs easier for us: + 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. + Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`. + Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks. -+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false` ++ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco` If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas). You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md). diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 7c141ec7..03aefb73 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,3 +1,62 @@ +Apache Commons BeanUtils 2.0.0-M2 +Release Notes + +The Apache Commons BeanUtils team is pleased to announce the release of Apache Commons BeanUtils 2.0.0-M2. + +Apache Commons BeanUtils provides an easy-to-use but flexible wrapper around reflection and introspection. + +This is a major release and requires Java 8. + +Changes in this version include: + +New features: +o Add org.apache.commons.beanutils.SuppressPropertiesBeanIntrospector.SUPPRESS_DECLARING_CLASS. Thanks to Gary Gregory. + +Fixed Bugs: +o Javadoc is missing its Overview page. Thanks to Gary Gregory. +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. +o The class org.apache.commons.beanutils2.PropertyUtils is now final (the class only contains static methods). Thanks to Gary Gregory. +o The constructor org.apache.commons.beanutils2.PropertyUtils is now private (the class only contains static methods). Thanks to Gary Gregory. +o The class org.apache.commons.beanutils2.locale.LocaleConvertUtils is now final (the class only contains static methods). Thanks to Gary Gregory. +o The constructor org.apache.commons.beanutils2.locale.LocaleConvertUtils is now private (the class only contains static methods). Thanks to Gary Gregory. +o The class org.apache.commons.beanutils2.locale.LocaleBeanUtils is now final (the class only contains static methods). Thanks to Gary Gregory. +o The constructor org.apache.commons.beanutils2.locale.LocaleBeanUtils is now private (the class only contains static methods). Thanks to Gary Gregory. +o The class org.apache.commons.beanutils2.MethodUtils is now final (the class only contains static methods). Thanks to Gary Gregory. +o The constructor org.apache.commons.beanutils2.MethodUtils is now private (the class only contains static methods). Thanks to Gary Gregory. +o The class org.apache.commons.beanutils2.ConvertUtils is now final (the class only contains static methods). Thanks to Gary Gregory. +o The constructor org.apache.commons.beanutils2.ConvertUtils is now private (the class only contains static methods). Thanks to Gary Gregory. +o The class org.apache.commons.beanutils2.ConstructorUtils is now final (the class only contains static methods). Thanks to Gary Gregory. +o The constructor org.apache.commons.beanutils2.ConstructorUtils is now private (the class only contains static methods). Thanks to Gary Gregory. +o The class LocaleBeanUtils no longer extends BeanUtils (both classes only contains static methods). Thanks to Gary Gregory. +o The class org.apache.commons.beanutils2.BeanUtils is now final (the class only contains static methods). Thanks to Gary Gregory. +o The constructor org.apache.commons.beanutils2.BeanUtils is now private (the class only contains static methods). Thanks to Gary Gregory. +o BeanComparator.compare(T, T) now throws IllegalArgumentException instead of RuntimeException to wrap all cases of ReflectiveOperationException. Thanks to Gary Gregory. +o MappedMethodReference.get() now throws IllegalStateException instead of RuntimeException to wrap cases of NoSuchMethodException. Thanks to Gary Gregory. +o ResultSetIterator.get(String) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. +o ResultSetIterator.hasNext() now throws IllegalStateException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. +o ResultSetIterator.next() now throws IllegalStateException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. +o ResultSetIterator.set(String, Object) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. +o ResultSetIterator.set(String, String, Object) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. + +Changes: +o Bump org.apache.commons:commons-parent from 78 to 84 #348. Thanks to Gary Gregory, Dependabot. +o Bump commons-logging:commons-logging from 1.3.4 to 1.3.5. Thanks to Gary Gregory. +o Bump org.apache.commons:commons-collections4 from 4.5.0-M3 to 4.5.0. Thanks to Gary Gregory. + + +Historical list of changes: https://commons.apache.org/proper/commons-beanutils//changes.html + +For complete information on Apache Commons BeanUtils, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons BeanUtils website: + +https://commons.apache.org/proper/commons-beanutils/ + +Download it from https://commons.apache.org/proper/commons-beanutils//download_beanutils.cgi + +Have fun! +-Apache Commons BeanUtils team + +----------------------------------------------------------------------------- Apache Commons BeanUtils 2.0.0-M1 Release Notes ----------------------------------------------- @@ -95,7 +154,61 @@ https://commons.apache.org/proper/commons-beanutils/ Download it from https://commons.apache.org/proper/commons-beanutils/download_beanutils.cgi ----------------------------------------------------------------------------- +Apache Commons BeanUtils 1.11.0 Release Notes +--------------------------------------------- + +The Apache Commons BeanUtils team is pleased to announce the release of Apache Commons BeanUtils 1.11.0. + +Apache Commons BeanUtils provides an easy-to-use but flexible wrapper around reflection and introspection. + +This is a maintenance release and requires Java 8. + +Changes in this version include: +New features: +o Add org.apache.commons.beanutils.SuppressPropertiesBeanIntrospector.SUPPRESS_DECLARING_CLASS. Thanks to Gary Gregory. + +Fixed Bugs: +o BeanComparator.compare(T, T) now throws IllegalArgumentException instead of RuntimeException to wrap all cases of ReflectiveOperationException. Thanks to Gary Gregory. +o MappedMethodReference.get() now throws IllegalStateException instead of RuntimeException to wrap cases of NoSuchMethodException. Thanks to Gary Gregory. +o ResultSetIterator.get(String) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. +o ResultSetIterator.hasNext() now throws IllegalStateException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. +o ResultSetIterator.next() now throws IllegalStateException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. +o ResultSetIterator.set(String, Object) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. +o ResultSetIterator.set(String, String, Object) now throws IllegalArgumentException instead of RuntimeException to wrap cases of SQLException. Thanks to Gary Gregory. + +Changes: +o Bump org.apache.commons:commons-parent from 81 to 84. Thanks to Gary Gregory. +o Bump commons-logging:commons-logging from 1.3.4 to 1.3.5. Thanks to Gary Gregory. + + +Historical list of changes: https://commons.apache.org/proper/commons-beanutils/changes.html + +For complete information on Apache Commons BeanUtils, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons BeanUtils website: + +https://commons.apache.org/proper/commons-beanutils + +Download it from https://commons.apache.org/proper/commons-beanutils/download_beanutils.cgi + +Have fun! +-Apache Commons BCEL team + +Feedback +-------- +Open source works best when you give feedback: + + https://commons.apache.org/beanutils + +Please direct all bug reports to JIRA: + + https://issues.apache.org/jira/browse/BEANUTILS + +Or subscribe to the commons-user mailing list + +The Apache Commons Team + +----------------------------------------------------------------------------- Apache Commons BeanUtils 1.10.1 Release Notes --------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index e0ee838b..f5be6438 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -27,7 +27,7 @@ <title>Apache Commons BeanUtils Release Notes</title> </properties> <body> - <release version="2.0.0-M2" date="YYYY-MM-DD" description="This is a major release and requires Java 8."> + <release version="2.0.0-M2" date="2025-05-25" description="This is a major release and requires Java 8."> <!-- FIX --> <action type="fix" dev="ggregory" due-to="Gary Gregory">Javadoc is missing its Overview page.</action> <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 @@ Do not implement Serializable. </action> </release> - <release version="1.11.0" date="YYYY-MM-DD" description="This is a maintenance release and requires Java 8."> + <release version="1.11.0" date="2025-05-25" description="This is a maintenance release and requires Java 8."> <!-- FIX --> <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> <action type="fix" dev="ggregory" due-to="Gary Gregory">MappedMethodReference.get() now throws IllegalStateException instead of RuntimeException to wrap cases of NoSuchMethodException.</action>