Skip to content

Commit 303d9e7

Browse files
committed
Prepare for the next release candidate
1 parent 44da05d commit 303d9e7

File tree

5 files changed

+102
-113
lines changed

5 files changed

+102
-113
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@
4141
Contributing to Apache Commons Collections
4242
======================
4343

44-
You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to
45-
the open source community. Before you dig right into the code there are a few guidelines that we need contributors to
46-
follow so that we can have a chance of keeping on top of things.
44+
Have you found a bug or have an idea for a cool new feature? Contributing code is a great way to give something back to the open-source community.
45+
Before you dig right into the code, we need contributors to follow a few guidelines to have a chance of keeping on top of things.
4746

4847
Getting Started
4948
---------------
@@ -62,7 +61,7 @@ Making Changes
6261

6362
+ Create a _topic branch_ for your isolated work.
6463
* Usually you should base your branch on the `master` branch.
65-
* A good topic branch name can be the JIRA bug id plus a keyword, e.g. `COLLECTIONS-123-InputStream`.
64+
* A good topic branch name can be the JIRA bug ID plus a keyword, e.g. `COLLECTIONS-123-InputStream`.
6665
* If you have submitted multiple JIRA issues, try to maintain separate branches and pull requests.
6766
+ Make commits of logical units.
6867
* Make sure your commit messages are meaningful and in the proper format. Your commit message should contain the key of the JIRA issue.
@@ -72,7 +71,7 @@ Making Changes
7271
+ 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.
7372
+ Check for unnecessary whitespace with `git diff` -- check before committing.
7473
+ Make sure you have added the necessary tests for your changes, typically in `src/test/java`.
75-
+ Run all the tests with `mvn clean verify` to assure nothing else was accidentally broken.
74+
+ Run all the tests with `mvn clean verify` to ensure nothing else was accidentally broken.
7675

7776
Making Trivial Changes
7877
----------------------

README.md

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

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

@@ -62,20 +62,20 @@ Getting the latest release
6262
--------------------------
6363
You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-collections/download_collections.cgi).
6464

65-
Alternatively, you can pull it from the central Maven repositories:
65+
Alternatively, you can pull it from the central Maven repositories:
6666

6767
```xml
6868
<dependency>
6969
<groupId>org.apache.commons</groupId>
7070
<artifactId>commons-collections4</artifactId>
71-
<version>4.5.0-M2</version>
71+
<version>4.5.0-M3</version>
7272
</dependency>
7373
```
7474

7575
Building
7676
--------
7777

78-
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
78+
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
7979
The required Java version is found in the `pom.xml` as the `maven.compiler.source` property.
8080

8181
From a command shell, run `mvn` without arguments to invoke the default Maven goal to run all tests and checks.

RELEASE-NOTES.txt

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,83 @@
1+
Apache Commons Collections 4.5.0-M3 RELEASE NOTES
2+
-------------------------------------------------
3+
4+
The Apache Commons Collections package contains types that extend and augment the Java Collections Framework.
5+
6+
This is a feature and maintenance release. Java 8 or later is required.
7+
8+
Changes in this version
9+
-----------------------
10+
11+
New features
12+
------------
13+
14+
* LayerManager.Builder implements Supplier. Thanks to Gary Gregory.
15+
* Add CollectionUtils.duplicateList(Collection). Thanks to Gary Gregory, hemanth0525.
16+
* Add CollectionUtils.duplicateSet(Collection). Thanks to Gary Gregory, hemanth0525.
17+
* Add CollectionUtils.duplicateSequencedSet(Collection). Thanks to Gary Gregory, hemanth0525.
18+
* Add HashBag.HashBag(Iterable). Thanks to Gary Gregory.
19+
* Add TreeBag.TreeBag(Iterable). Thanks to Gary Gregory.
20+
* COLLECTIONS-858: Add CartesianProductIterator #509. Thanks to Alexey Pelykh, Alex Herbert, Gary Gregory.
21+
* Add missing methods in AbstractMapTests. Thanks to Gary Gregory.
22+
* COLLECTIONS-700: Add ConcurrentReferenceHashMap. Thanks to Gary Gregory.
23+
* Add commons.easymock.version to parameterize EasyMock version. Thanks to Gary Gregory.
24+
* COLLECTIONS-869: Add org.apache.commons.collections4.IteratorUtils.chainedIterator(Iterator<? extends Iterator<? extends E>>). Thanks to Gary Gregory.
25+
* COLLECTIONS-533: Add ArrayListValuedLinkedHashMap #560. Thanks to Peter De Maeyer.
26+
* Add missing test AbstractIteratorTest.testForEachRemaining(). Thanks to Gary Gregory.
27+
* Add FilterIterator.removeNext() #564. Thanks to Gary Gregory, Claude Warren.
28+
* COLLECTIONS-870: Add ExtendedIterator and tests #564. Thanks to Claude Warren, Gary Gregory.
29+
* Refactor ExtendedIterator and FilterIterator with a new interface IteratorOperations. Thanks to Gary Gregory.
30+
* COLLECTIONS-871: Add LinkedHashSetValuedLinkedHashMap #565. Thanks to Peter De Maeyer.
31+
32+
Fixed Bugs
33+
----------
34+
35+
* COLLECTIONS-857: Complete bloom filter documentation #507. Thanks to Claude Warren.
36+
* Package private AbstractEmptyIterator implements ResettableIterator so subclasses don't. Thanks to Gary Gregory.
37+
* Deprecate AbstractEmptyIterator.add(E) without replacement. Thanks to Gary Gregory.
38+
* Add missing Javadocs. Thanks to Gary Gregory.
39+
* PatriciaTrie constructor reuse the stateless singleton StringKeyAnalyzer.INSTANCE. Thanks to Gary Gregory.
40+
* Deprecate StringKeyAnalyzer.StringKeyAnalyzer() in favor of StringKeyAnalyzer.INSTANCE. Thanks to Gary Gregory.
41+
* [Functional] FunctorUtils.validate(Closure...) is now FunctorUtils.validate(Consumer...). Thanks to Gary Gregory.
42+
* [Functional] FunctorUtils.validate(Predicate...) is now FunctorUtils.validate(java.util.function.Predicate...). Thanks to Gary Gregory.
43+
* [Functional] FunctorUtils.validate(Transformer...) is now FunctorUtils.validate(Function...). Thanks to Gary Gregory.
44+
* Increase test coverage for ListUtils #517. Thanks to Dávid Szigecsán. Gary Gregory.
45+
* Use the Junit (Jupiter) API #518. Thanks to Dávid Szigecsán.
46+
* BloomFilterExtractor.flatten() should throw an exception instead of returning null. Thanks to Gary Gregory, Alex Herbert.
47+
* Improve WrappedBloomFilterTest. All tests now assert copy() the same way. Thanks to Gary Gregory, Claude Warren.
48+
* COLLECTIONS-860: Javadoc CollectionBag.add* to throw ClassCastException. Thanks to Gary Gregory, Daniele.
49+
* Fix generics in IteratorChain.IteratorChain(Collection). Thanks to Gary Gregory.
50+
* Fix generics in org.apache.commons.collections4.IteratorUtils.chainedIterator(Collection). Thanks to Gary Gregory.
51+
* COLLECTIONS-856: Javadoc: Document interaction between peek and filter iterator #515. Thanks to Benjamin Confino, Gary Gregory.
52+
* COLLECTIONS-815: Javadoc: Update ClosureUtils Javadoc to match runtime. Thanks to Elia Bertolina, Gary Gregory.
53+
* COLLECTIONS-815: Javadoc: Update ClosureUtils Javadoc to match runtime. Thanks to Gary Gregory.
54+
* COLLECTIONS-777: Migrate to JUnit 5. Thanks to Gary Gregory.
55+
* Fix NullPointerException in FilterIterator.setNextObject(). Thanks to Gary Gregory.
56+
* EqualPredicate.test(Object) should return true if the parameter is the same object as given the constructor. Thanks to Gary Gregory.
57+
58+
Changes
59+
-------
60+
61+
* Bump org.apache.commons:commons-parent from 71 to 78 #534, #545, #550 #555, #566. Thanks to Gary Gregory.
62+
* COLLECTIONS-857: Update bloom filter documentation #508. Thanks to Claude Warren.
63+
* Bump commons-codec:commons-codec from 1.17.0 to 1.17.1 #514. Thanks to Dependabot, Gary Gregory.
64+
* Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0 #516, #525, #535. Thanks to Dependabot, Gary Gregory.
65+
* Bump org.hamcrest:hamcrest from 2.2 to 3.0 #522, #532. Thanks to Dependabot, Gary Gregory.
66+
* Bump com.google.guava:guava-testlib from 33.2.1-jre to 33.3.1-jre #531, #549. Thanks to Dependabot, Gary Gregory.
67+
* Bump MathJax from 2.7.2 to 2.7.9. Thanks to Gary Gregory.
68+
* [test] Bump org.easymock:easymock from 5.3.0 to 5.5.0 #521, #576. Thanks to Dependabot, Gary Gregory.
69+
* [test] Bump commons-io:commons-io from 2.16.1 to 2.18.0 #544, #575. Thanks to Dependabot, Gary Gregory.
70+
71+
72+
For complete information on Apache Commons Collections, including instructions on how to submit bug reports,
73+
patches, or suggestions for improvement, see the Apache Commons Collections website:
74+
75+
https://commons.apache.org/proper/commons-collections/
76+
77+
Download page: https://commons.apache.org/proper/commons-collections/download_collections.cgi
78+
79+
-----------------------------------------------------------------------------
80+
181
Apache Commons Collections 4.5.0-M2 RELEASE NOTES
282
-------------------------------------------------
383

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<title>Apache Commons Collections Release Notes</title>
2323
</properties>
2424
<body>
25-
<release version="4.5.0-M3" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required.">
25+
<release version="4.5.0-M3" date="2024-12-15" description="This is a feature and maintenance release. Java 8 or later is required.">
2626
<!-- FIX -->
2727
<action issue="COLLECTIONS-857" type="fix" dev="ggregory" due-to="Claude Warren">Complete bloom filter documentation #507.</action>
2828
<action type="fix" dev="ggregory" due-to="Gary Gregory">Package private AbstractEmptyIterator implements ResettableIterator so subclasses don't.</action>

0 commit comments

Comments
 (0)