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-io.git
The following commit(s) were added to refs/heads/master by this push:
new b7d68125 Prepare for the next release candidate
b7d68125 is described below
commit b7d681259e12d95763152af4335954c155466a19
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Nov 24 10:53:29 2023 -0500
Prepare for the next release candidate
---
README.md | 4 +--
RELEASE-NOTES.txt | 74 +++++++++++++++++++++++++++++++++++++++++++
pom.xml | 8 ++---
src/changes/changes.xml | 2 +-
src/site/xdoc/download_io.xml | 26 +++++++--------
5 files changed, 94 insertions(+), 20 deletions(-)
diff --git a/README.md b/README.md
index 1df3f119..94e20b68 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Apache Commons IO
[](https://github.com/apache/commons-io/actions/workflows/maven.yml)
[](https://app.codecov.io/gh/apache/commons-io)
[](https://maven-badges.herokuapp.com/maven-central/commons-io/commons-io/?gav=true)
-[](https://javadoc.io/doc/commons-io/commons-io/2.15.0)
+[](https://javadoc.io/doc/commons-io/commons-io/2.15.1)
[](https://github.com/apache/commons-io/actions/workflows/codeql-analysis.yml)
[](https://api.securityscorecards.dev/projects/github.com/apache/commons-io)
@@ -70,7 +70,7 @@ Alternatively, you can pull it from the central Maven
repositories:
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
- <version>2.15.0</version>
+ <version>2.15.1</version>
</dependency>
```
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index ec9b8070..2d437ace 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,3 +1,77 @@
+
+Apache Commons IO
+Version 2.15.1
+Release Notes
+
+INTRODUCTION:
+
+Commons IO is a package of Java utility classes like java.io.
+Classes in this package are considered to be so standard and of such high
+reuse as to justify existence in java.io.
+
+The Apache Commons IO library contains utility classes, stream
implementations, file filters,
+file comparators, endian transformation classes, and much more.
+
+Java 8 is required.
+
+Changes in this version include:
+
+
+Fixed Bugs:
+o Fix wrong issue id in change log #503. Thanks to Gregor Dschung.
+o Add test for FileChannels.contentEquals() #509. Thanks to Stephan
Markwalder, Gary Gregory.
+o Fix FileChannels.contentEquals(). Thanks to Gary Gregory.
+o Fix some Javadoc issues in LineIterator and IOUtils. Thanks to
Gary Gregory.
+o Simplify FileAlterationObserver internal processing. Thanks to
Gary Gregory.
+o Avoid NullPointerException in
RegexFileFilter.RegexFileFilter(Pattern). Thanks to Gary Gregory.
+o Avoid NullPointerException in RegexFileFilter.accept(Path,
BasicFileAttributes). Thanks to Gary Gregory.
+o Fix SpotBugs error: Class
org.apache.commons.io.filefilter.RegexFileFilter defines non-transient
non-serializable instance field pathToString
[org.apache.commons.io.filefilter.RegexFileFilter] In RegexFileFilter.java
SE_BAD_FIELD. Thanks to Gary Gregory.
+o Fix SpotBugs error: Class
org.apache.commons.io.filefilter.DelegateFileFilter defines non-transient
non-serializable instance field fileFilter
[org.apache.commons.io.filefilter.DelegateFileFilter] In
DelegateFileFilter.java SE_BAD_FIELD. Thanks to Gary Gregory.
+o Fix SpotBugs error: Class
org.apache.commons.io.filefilter.DelegateFileFilter defines non-transient
non-serializable instance field fileNameFilter
[org.apache.commons.io.filefilter.DelegateFileFilter] In
DelegateFileFilter.java SE_BAD_FIELD. Thanks to Gary Gregory.
+o Fix SpotBugs error:
org.apache.commons.io.function.IOStream$1.next() cannot throw
NoSuchElementException [org.apache.commons.io.function.IOStream$1] At
IOStream.java:[line 98] IT_NO_SUCH_ELEMENT. Thanks to Gary Gregory.
+o Fix SpotBugs error:
org.apache.commons.io.monitor.FileAlterationMonitor.getObservers() may expose
internal representation by returning FileAlterationMonitor.observers
[org.apache.commons.io.monitor.FileAlterationMonitor] At
FileAlterationMonitor.java:[line 124] EI_EXPOSE_REP. Thanks to Gary Gregory.
+o Fix SpotBugs error: Class
org.apache.commons.io.monitor.FileAlterationObserver defines non-transient
non-serializable instance field fileFilter
[org.apache.commons.io.monitor.FileAlterationObserver] In
FileAlterationObserver.java SE_BAD_FIELD. Thanks to Gary Gregory.
+o Fix SpotBugs error: Class
org.apache.commons.io.monitor.FileAlterationObserver defines non-transient
non-serializable instance field listeners
[org.apache.commons.io.monitor.FileAlterationObserver] In
FileAlterationObserver.java SE_BAD_FIELD. Thanks to Gary Gregory.
+o Fix SpotBugs error:
org.apache.commons.io.FileCleaningTracker.getDeleteFailures() may expose
internal representation by returning FileCleaningTracker.deleteFailures
[org.apache.commons.io.FileCleaningTracker] At FileCleaningTracker.java:[line
218] EI_EXPOSE_REP. Thanks to Gary Gregory.
+o Fix SpotBugs error:
org.apache.commons.io.IOExceptionList.getCauseList() may expose internal
representation by returning IOExceptionList.causeList
[org.apache.commons.io.IOExceptionList] At IOExceptionList.java:[line 118]
EI_EXPOSE_REP. Thanks to Gary Gregory.
+o Fix SpotBugs error:
org.apache.commons.io.IOExceptionList.getCauseList(Class) may expose internal
representation by returning IOExceptionList.causeList
[org.apache.commons.io.IOExceptionList] At IOExceptionList.java:[line 129]
EI_EXPOSE_REP. Thanks to Gary Gregory.
+o Fix SpotBugs error:
org.apache.commons.io.file.AccumulatorPathVisitor.getDirList() may expose
internal representation by returning AccumulatorPathVisitor.dirList
[org.apache.commons.io.file.AccumulatorPathVisitor] At
AccumulatorPathVisitor.java:[line 179] EI_EXPOSE_REP. Thanks to Gary Gregory.
+o Fix SpotBugs error:
org.apache.commons.io.file.AccumulatorPathVisitor.getFileList() may expose
internal representation by returning AccumulatorPathVisitor.fileList
[org.apache.commons.io.file.AccumulatorPathVisitor] At
AccumulatorPathVisitor.java:[line 188] EI_EXPOSE_REP. Thanks to Gary Gregory.
+o Fix SpotBugs error:
org.apache.commons.io.input.ObservableInputStream.getObservers() may expose
internal representation by returning ObservableInputStream.observers
[org.apache.commons.io.input.ObservableInputStream] At
ObservableInputStream.java:[line 187] EI_EXPOSE_REP. Thanks to Gary Gregory.
+o Fix SpotBugs error: Exception thrown in class
org.apache.commons.io.input.UnsynchronizedByteArrayInputStream at new
org.apache.commons.io.input.UnsynchronizedByteArrayInputStream(byte[], int)
will leave the constructor. The object under construction remains partially
initialized and may be vulnerable to Finalizer attacks.
[org.apache.commons.io.input.UnsynchronizedByteArrayInputStream,
org.apache.commons.io.input.UnsynchronizedByteArrayInputStream] At
UnsynchronizedByteArrayI [...]
+o Fix SpotBugs error: Exception thrown in class
org.apache.commons.io.input.UnsynchronizedByteArrayInputStream at new
org.apache.commons.io.input.UnsynchronizedByteArrayInputStream(byte[], int,
int) will leave the constructor. The object under construction remains
partially initialized and may be vulnerable to Finalizer attacks.
[org.apache.commons.io.input.UnsynchronizedByteArrayInputStream,
org.apache.commons.io.input.UnsynchronizedByteArrayInputStream] At
UnsynchronizedByteA [...]
+
+Changes:
+o Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1 #512.
Thanks to Gary Gregory.
+o Bump commons-lang3 from 3.13.0 to 3.14.0. Thanks to Gary Gregory.
+o Bump commons.bytebuddy.version from 1.14.9 to 1.14.10 #516. Thanks
to Dependabot.
+o Bump commons-parent from 64 to 65. Thanks to Dependabot.
+
+Compatibility with 2.6:
+Binary compatible: Yes.
+Source compatible: Yes.
+Semantic compatible: Yes.
+
+Commons IO 2.7 and up requires Java 8 or above.
+Commons IO 2.6 requires Java 7 or above.
+Commons IO 2.3 through 2.5 requires Java 6 or above.
+Commons IO 2.2 requires Java 5 or above.
+Commons IO 1.4 requires Java 1.3 or above.
+
+Historical list of changes:
https://commons.apache.org/proper/commons-io/changes-report.html
+
+For complete information on Apache Commons IO, including instructions on how
to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons IO website:
+
+https://commons.apache.org/proper/commons-io/
+
+Download page: https://commons.apache.org/proper/commons-io/download_io.cgi
+
+Have fun!
+-Apache Commons Team
+
+==============================================================================
+
Apache Commons IO
Version 2.15.0
Release Notes
diff --git a/pom.xml b/pom.xml
index bae48904..c6dd648f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,7 +52,7 @@ file comparators, endian transformation classes, and much
more.
<connection>scm:git:https://gitbox.apache.org/repos/asf/commons-io.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-io.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-io.git</url>
- <tag>rel/commons-io-2.15.0</tag>
+ <tag>rel/commons-io-2.15.1</tag>
</scm>
<developers>
@@ -314,9 +314,9 @@ file comparators, endian transformation classes, and much
more.
<commons.componentid>io</commons.componentid>
<commons.module.name>org.apache.commons.io</commons.module.name>
<commons.rc.version>RC1</commons.rc.version>
- <commons.bc.version>2.14.0</commons.bc.version>
- <commons.release.version>2.15.0</commons.release.version>
- <commons.release.next>2.15.1</commons.release.next>
+ <commons.bc.version>2.15.0</commons.bc.version>
+ <commons.release.version>2.15.1</commons.release.version>
+ <commons.release.next>2.15.2</commons.release.next>
<commons.release.desc>(requires Java 8)</commons.release.desc>
<commons.jira.id>IO</commons.jira.id>
<commons.jira.pid>12310477</commons.jira.pid>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9c36b246..9657c77f 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -47,7 +47,7 @@ The <action> type attribute can be add,update,fix,remove.
</properties>
<body>
- <release version="2.15.1" date="20YY-MM-DD" description="Java 8 is
required.">
+ <release version="2.15.1" date="2023-11-24" description="Java 8 is
required.">
<!-- FIX -->
<action dev="sebb" type="fix" due-to="Gregor Dschung">Fix wrong issue id
in change log #503.</action>
<action dev="ggregory" type="fix" due-to="Stephan Markwalder, Gary
Gregory">Add test for FileChannels.contentEquals() #509.</action>
diff --git a/src/site/xdoc/download_io.xml b/src/site/xdoc/download_io.xml
index 67171645..4d370c2a 100644
--- a/src/site/xdoc/download_io.xml
+++ b/src/site/xdoc/download_io.xml
@@ -113,32 +113,32 @@ limitations under the License.
</p>
</subsection>
</section>
- <section name="Apache Commons IO 2.15.0 (requires Java 8 or above)">
+ <section name="Apache Commons IO 2.15.1 (requires Java 8)">
<subsection name="Binaries">
<table>
<tr>
- <td><a
href="[preferred]/commons/io/binaries/commons-io-2.15.0-bin.tar.gz">commons-io-2.15.0-bin.tar.gz</a></td>
- <td><a
href="https://downloads.apache.org/commons/io/binaries/commons-io-2.15.0-bin.tar.gz.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/io/binaries/commons-io-2.15.0-bin.tar.gz.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/io/binaries/commons-io-2.15.1-bin.tar.gz">commons-io-2.15.1-bin.tar.gz</a></td>
+ <td><a
href="https://downloads.apache.org/commons/io/binaries/commons-io-2.15.1-bin.tar.gz.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/io/binaries/commons-io-2.15.1-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a
href="[preferred]/commons/io/binaries/commons-io-2.15.0-bin.zip">commons-io-2.15.0-bin.zip</a></td>
- <td><a
href="https://downloads.apache.org/commons/io/binaries/commons-io-2.15.0-bin.zip.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/io/binaries/commons-io-2.15.0-bin.zip.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/io/binaries/commons-io-2.15.1-bin.zip">commons-io-2.15.1-bin.zip</a></td>
+ <td><a
href="https://downloads.apache.org/commons/io/binaries/commons-io-2.15.1-bin.zip.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/io/binaries/commons-io-2.15.1-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
- <td><a
href="[preferred]/commons/io/source/commons-io-2.15.0-src.tar.gz">commons-io-2.15.0-src.tar.gz</a></td>
- <td><a
href="https://downloads.apache.org/commons/io/source/commons-io-2.15.0-src.tar.gz.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/io/source/commons-io-2.15.0-src.tar.gz.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/io/source/commons-io-2.15.1-src.tar.gz">commons-io-2.15.1-src.tar.gz</a></td>
+ <td><a
href="https://downloads.apache.org/commons/io/source/commons-io-2.15.1-src.tar.gz.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/io/source/commons-io-2.15.1-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
- <td><a
href="[preferred]/commons/io/source/commons-io-2.15.0-src.zip">commons-io-2.15.0-src.zip</a></td>
- <td><a
href="https://downloads.apache.org/commons/io/source/commons-io-2.15.0-src.zip.sha512">sha512</a></td>
- <td><a
href="https://downloads.apache.org/commons/io/source/commons-io-2.15.0-src.zip.asc">pgp</a></td>
+ <td><a
href="[preferred]/commons/io/source/commons-io-2.15.1-src.zip">commons-io-2.15.1-src.zip</a></td>
+ <td><a
href="https://downloads.apache.org/commons/io/source/commons-io-2.15.1-src.zip.sha512">sha512</a></td>
+ <td><a
href="https://downloads.apache.org/commons/io/source/commons-io-2.15.1-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>