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-configuration.git
The following commit(s) were added to refs/heads/master by this push: new 7c73ab21 Prepare for the next release candidate 7c73ab21 is described below commit 7c73ab21f0d3a7063c9f5229cfb4a27f17b393f2 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jun 7 13:28:15 2024 +0000 Prepare for the next release candidate --- README.md | 8 ++-- RELEASE-NOTES.txt | 72 ++++++++++++++++++++++++++++++++ src/changes/changes.xml | 2 +- src/site/xdoc/download_configuration.xml | 26 ++++++------ 4 files changed, 91 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 83ce3124..a0276fdf 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Apache Commons Configuration [](https://github.com/apache/commons-configuration/actions/workflows/maven.yml) [](https://app.codecov.io/gh/apache/commons-configuration) [](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-configuration2/?gav=true) -[](https://javadoc.io/doc/org.apache.commons/commons-configuration2/2.10.1) +[](https://javadoc.io/doc/org.apache.commons/commons-configuration2/2.11.0) [](https://github.com/apache/commons-configuration/actions/workflows/codeql-analysis.yml) [](https://api.securityscorecards.dev/projects/github.com/apache/commons-configuration) @@ -69,7 +69,7 @@ Alternatively, you can pull it from the central Maven repositories: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-configuration2</artifactId> - <version>2.10.1</version> + <version>2.11.0</version> </dependency> ``` @@ -89,7 +89,9 @@ There are some guidelines which will make applying PRs easier for us: + No tabs! Please use spaces for indentation. + Respect the existing code style for each file. + 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```. ++ 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` 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 32865a2e..d4eb5bc1 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,4 +1,76 @@ Apache Commons Configuration +Version 2.11.0 +Release Notes + +Introducing Apache Commons Configuration +---------------------------------------- + +This document contains the release notes for this version of the Commons +Configuration component. It describes the changes since the previous version. +The Commons Configuration software library provides a generic configuration +interface which enables an application to read configuration data from a variety +of sources. + +Tools to assist in the reading of configuration/preferences files in various formats; requires Java 8. + +Minor release with new features and updated dependencies; requires Java 8 or above. + +Changes in this version include: + +New features +------------ + +* CONFIGURATION-844: Add support for empty sections #408. Thanks to Thomas Steiner, Gary Gregory. +* Add ImmutableConfiguration.containsValue(Object). Thanks to Rikkarth, Gary Gregory. + +Fixed Bugs +---------- + +* Fail-fast with a NullPointerException if DataConfiguration.DataConfiguration(Configuration) is called with null. Thanks to Gary Gregory. +* Fail-fast with a NullPointerException if XMLPropertiesConfiguration.XMLPropertiesConfiguration(Element) is called with null. Thanks to Gary Gregory. +* Fail-fast with a NullPointerException if a SubsetConfiguration constructor is called with a null Configuration. Thanks to Gary Gregory. +* CONFIGURATION-843: Methods should not be empty #393. Thanks to Gary Gregory. +* Guard MapConfiguration against null maps #381. Thanks to Heewon Lee, Gary Gregory. +* Fail-fast with a NullPointerException if AppletConfiguration(Applet) is called with null. Thanks to Gary Gregory. +* Fail-fast with a NullPointerException if ServletConfiguration(Servlet) is called with null. Thanks to Gary Gregory. +* Fail-fast with a NullPointerException if ServletConfiguration(ServletConfig) is called with null. Thanks to Gary Gregory. +* Fail-fast with a NullPointerException if ServletContextConfiguration(Servlet) is called with null. Thanks to Gary Gregory. +* Fail-fast with a NullPointerException if ServletContextConfiguration(ServletContext) is called with null. Thanks to Gary Gregory. +* Fail-fast with a NullPointerException if ServletFilterConfiguration(FilterConfig) is called with null. Thanks to Gary Gregory. +* Fail-fast with a NullPointerException if ServletRequestConfiguration(ServletRequest) is called with null. Thanks to Gary Gregory. +* Deprecate DatabaseConfiguration.getDatasource() in favor of getDataSource(). Thanks to Gary Gregory. +* Fix PMD DynamicCombinedConfiguration in AbstractImmutableNodeHandler. Thanks to Gary Gregory. +* Fix PMD DynamicCombinedConfiguration in AbstractListDelimiterHandler. Thanks to Gary Gregory. +* Fix PMD DynamicCombinedConfiguration in DefaultPrefixLookupsHolder. Thanks to Gary Gregory. +* Fix PMD DynamicCombinedConfiguration in DynamicCombinedConfiguration. Thanks to Gary Gregory. +* Fix PMD DynamicCombinedConfiguration in PropertiesConfiguration. Thanks to Gary Gregory. +* CONFIGURATION-846: Restore previous behavior allowing Spring to inject multiple values #425. Thanks to Andrea Bollini, Gary Gregory, Tim Donohue, kbarlowgw. +* CONFIGURATION-847: Property with an empty string value was not processed #431. Thanks to Andrea Bollini, Gary Gregory, Tim Donohue, kbarlowgw. + +Changes +------- + +* Bump commons-logging:commons-logging from 1.3.0 to 1.3.2 #390, #418. Thanks to Dependabot. +* Bump commons-io:commons-io from 2.15.1 to 2.16.1 #394, #400. Thanks to Dependabot. +* Bump org.apache.commons:commons-parent from 67 to 70 #396. Thanks to Dependabot. +* Bump slf4j.version from 2.0.12 to 2.0.13 #403. Thanks to Dependabot. +* Bump org.apache.commons:commons-text from 1.11.0 to 1.12.0 #404. Thanks to Dependabot. +* Bump spring.version from 5.3.33 to 5.3.35 #424. Thanks to Gary Gregory. +* Bump commons-codec:commons-codec from 1.16.1 to 1.17.0. Thanks to Gary Gregory. +* Bump com.fasterxml.jackson.core:jackson-databind from 2.17.0 to 2.17.1 #417. Thanks to Gary Gregory. + + +Historical list of changes: https://commons.apache.org/proper/commons-configuration/changes-report.html + +For complete information on Apache Commons Configuration, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Apache Commons Configuration website: + +https://commons.apache.org/proper/commons-configuration/ + +Download it from https://commons.apache.org/proper/commons-configuration//download_configuration.cgi + +----------------------------------------------------------------------------- +Apache Commons Configuration Version 2.10.1 Release Notes diff --git a/src/changes/changes.xml b/src/changes/changes.xml index e3cd7c0d..92a88aee 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -23,7 +23,7 @@ <author email="d...@commons.apache.org">Apache Commons Community</author> </properties> <body> - <release version="2.11.0" date="YYYY-MM-DD" description="Minor release with new features and updated dependencies; requires Java 8 or above."> + <release version="2.11.0" date="2024-06-07" description="Minor release with new features and updated dependencies; requires Java 8 or above."> <!-- ADD --> <action type="add" issue="CONFIGURATION-844" dev="ggregory" due-to="Thomas Steiner, Gary Gregory">Add support for empty sections #408.</action> <action type="add" dev="ggregory" due-to="Rikkarth, Gary Gregory">Add ImmutableConfiguration.containsValue(Object).</action> diff --git a/src/site/xdoc/download_configuration.xml b/src/site/xdoc/download_configuration.xml index cfb31dc4..7cdf5301 100644 --- a/src/site/xdoc/download_configuration.xml +++ b/src/site/xdoc/download_configuration.xml @@ -113,32 +113,32 @@ limitations under the License. </p> </subsection> </section> - <section name="Apache Commons Configuration 2.10.1 (Java 8 or above)"> + <section name="Apache Commons Configuration 2.11.0 (Java 8 or above)"> <subsection name="Binaries"> <table> <tr> - <td><a href="[preferred]/commons/configuration/binaries/commons-configuration2-2.10.1-bin.tar.gz">commons-configuration2-2.10.1-bin.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/configuration/binaries/commons-configuration2-2.10.1-bin.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/configuration/binaries/commons-configuration2-2.10.1-bin.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/configuration/binaries/commons-configuration2-2.11.0-bin.tar.gz">commons-configuration2-2.11.0-bin.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/configuration/binaries/commons-configuration2-2.11.0-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/configuration/binaries/commons-configuration2-2.11.0-bin.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/configuration/binaries/commons-configuration2-2.10.1-bin.zip">commons-configuration2-2.10.1-bin.zip</a></td> - <td><a href="https://downloads.apache.org/commons/configuration/binaries/commons-configuration2-2.10.1-bin.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/configuration/binaries/commons-configuration2-2.10.1-bin.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/configuration/binaries/commons-configuration2-2.11.0-bin.zip">commons-configuration2-2.11.0-bin.zip</a></td> + <td><a href="https://downloads.apache.org/commons/configuration/binaries/commons-configuration2-2.11.0-bin.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/configuration/binaries/commons-configuration2-2.11.0-bin.zip.asc">pgp</a></td> </tr> </table> </subsection> <subsection name="Source"> <table> <tr> - <td><a href="[preferred]/commons/configuration/source/commons-configuration2-2.10.1-src.tar.gz">commons-configuration2-2.10.1-src.tar.gz</a></td> - <td><a href="https://downloads.apache.org/commons/configuration/source/commons-configuration2-2.10.1-src.tar.gz.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/configuration/source/commons-configuration2-2.10.1-src.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/configuration/source/commons-configuration2-2.11.0-src.tar.gz">commons-configuration2-2.11.0-src.tar.gz</a></td> + <td><a href="https://downloads.apache.org/commons/configuration/source/commons-configuration2-2.11.0-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/configuration/source/commons-configuration2-2.11.0-src.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/configuration/source/commons-configuration2-2.10.1-src.zip">commons-configuration2-2.10.1-src.zip</a></td> - <td><a href="https://downloads.apache.org/commons/configuration/source/commons-configuration2-2.10.1-src.zip.sha512">sha512</a></td> - <td><a href="https://downloads.apache.org/commons/configuration/source/commons-configuration2-2.10.1-src.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/configuration/source/commons-configuration2-2.11.0-src.zip">commons-configuration2-2.11.0-src.zip</a></td> + <td><a href="https://downloads.apache.org/commons/configuration/source/commons-configuration2-2.11.0-src.zip.sha512">sha512</a></td> + <td><a href="https://downloads.apache.org/commons/configuration/source/commons-configuration2-2.11.0-src.zip.asc">pgp</a></td> </tr> </table> </subsection>