Skip to content

Commit

Permalink
Prepare for 2.11.0 RC1.
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jul 9, 2021
1 parent ded7f22 commit 914ec63
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 19 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Apache Commons IO
[![GitHub Actions Status](https://github.com/apache/commons-io/workflows/Java%20CI/badge.svg)](https://github.com/apache/commons-io/actions)
[![Coverage Status](https://coveralls.io/repos/apache/commons-io/badge.svg)](https://coveralls.io/r/apache/commons-io)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/commons-io/commons-io/badge.svg)](https://maven-badges.herokuapp.com/maven-central/commons-io/commons-io/)
[![Javadocs](https://javadoc.io/badge/commons-io/commons-io/2.10.0.svg)](https://javadoc.io/doc/commons-io/commons-io/2.10.0)
[![Javadocs](https://javadoc.io/badge/commons-io/commons-io/2.11.0.svg)](https://javadoc.io/doc/commons-io/commons-io/2.11.0)

The Apache Commons IO library contains utility classes, stream implementations, file filters,
file comparators, endian transformation classes, and much more.
Expand All @@ -69,7 +69,7 @@ Alternatively you can pull it from the central Maven repositories:
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.10.0</version>
<version>2.11.0</version>
</dependency>
```

Expand Down
78 changes: 78 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,80 @@
Apache Commons IO
Version 2.11.0
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.

==============================================================================
Apache Commons IO Version 2.11.0
==============================================================================
Java 8 required.

Changes in this version include:


Fixed Bugs:
o IO-741: FileUtils.listFiles does not list matching files if File parameter is a symbolic link. Thanks to Zach Sherman.
o IO-724: FileUtils#deleteDirectory(File) exception Javadoc inaccurate update #245. Thanks to liran2000.
o Minor changes #243. Thanks to Arturo Bernal.
o Replace construction of FileInputStream and FileOutputStream objects with Files NIO APIs. #221. Thanks to Arturo Bernal.
o Fix IndexOutOfBoundsException in IOExceptionList constructors. Thanks to Gary Gregory.
o Remove IOException from the method signatures that no longer throw IOException.
This maintains binary compatibility but not source compatibility.
- FilenameUtils
directoryContains(String, String)
- BoundedReader
BoundedReader(java.io.Reader, int)
- IOUtils
lineIterator(java.io.InputStream, Charset)
lineIterator(java.io.InputStream, String)
toByteArray(String)
toInputStream(CharSequence, String)
toInputStream(String, String)
toString(byte[])
toString(byte[], String) Thanks to Gary Gregory.

Changes:
o Add SymbolicLinkFileFilter. Thanks to Gary Gregory.
o Add test to make sure the setter of AndFileFilter works correctly #244. Thanks to trncate.
o Add XmlStreamReader(Path). Thanks to Gary Gregory.
o Bump mockito-inline from 3.11.0 to 3.11.2 #247. Thanks to Dependabot.
o Bump jmh.version from 1.27 to 1.32 #237. Thanks to Dependabot.
o Bump spotbugs from 4.2.3 to 4.3.0 #249. Thanks to Dependabot.

Compatibility with 2.6:
Binary compatible: Yes.
Source compatible: Yes.
Semantic compatible: Yes.

Commons IO 2.9.0 requires Java 8.
Commons IO 2.8.0 requires Java 8.
Commons IO 2.7 requires Java 8.
Commons IO 2.6 requires Java 7.
Commons IO 2.5 requires Java 6.
Commons IO 2.4 requires Java 6.
Commons IO 2.3 requires Java 6.
Commons IO 2.2 requires Java 5.
Commons IO 1.4 requires Java 1.3.

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 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.10.0
Expand Down Expand Up @@ -62,6 +139,7 @@ Download page: https://commons.apache.org/proper/commons-io/download_io.cgi
Have fun!
-Apache Commons Team


Apache Commons IO
Version 2.8.0
Release Notes
Expand Down
2 changes: 1 addition & 1 deletion src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The <action> type attribute can be add,update,fix,remove.
</properties>

<body>
<release version="2.11.0" date="2021-MM-DD" description="Java 8 required.">
<release version="2.11.0" date="2021-07-09" description="Java 8 required.">
<!-- FIX -->
<action issue="IO-741" dev="ggregory" type="fix" due-to="Zach Sherman">
FileUtils.listFiles does not list matching files if File parameter is a symbolic link.
Expand Down
26 changes: 13 additions & 13 deletions src/site/xdoc/download_io.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,32 +113,32 @@ limitations under the License.
</p>
</subsection>
</section>
<section name="Apache Commons IO 2.10.0 (requires Java 8)">
<section name="Apache Commons IO 2.11.0 (requires Java 8)">
<subsection name="Binaries">
<table>
<tr>
<td><a href="[preferred]/commons/io/binaries/commons-io-2.10.0-bin.tar.gz">commons-io-2.10.0-bin.tar.gz</a></td>
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.10.0-bin.tar.gz.sha512">sha512</a></td>
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.10.0-bin.tar.gz.asc">pgp</a></td>
<td><a href="[preferred]/commons/io/binaries/commons-io-2.11.0-bin.tar.gz">commons-io-2.11.0-bin.tar.gz</a></td>
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.11.0-bin.tar.gz.sha512">sha512</a></td>
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.11.0-bin.tar.gz.asc">pgp</a></td>
</tr>
<tr>
<td><a href="[preferred]/commons/io/binaries/commons-io-2.10.0-bin.zip">commons-io-2.10.0-bin.zip</a></td>
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.10.0-bin.zip.sha512">sha512</a></td>
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.10.0-bin.zip.asc">pgp</a></td>
<td><a href="[preferred]/commons/io/binaries/commons-io-2.11.0-bin.zip">commons-io-2.11.0-bin.zip</a></td>
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.11.0-bin.zip.sha512">sha512</a></td>
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.11.0-bin.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
<subsection name="Source">
<table>
<tr>
<td><a href="[preferred]/commons/io/source/commons-io-2.10.0-src.tar.gz">commons-io-2.10.0-src.tar.gz</a></td>
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.10.0-src.tar.gz.sha512">sha512</a></td>
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.10.0-src.tar.gz.asc">pgp</a></td>
<td><a href="[preferred]/commons/io/source/commons-io-2.11.0-src.tar.gz">commons-io-2.11.0-src.tar.gz</a></td>
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.11.0-src.tar.gz.sha512">sha512</a></td>
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.11.0-src.tar.gz.asc">pgp</a></td>
</tr>
<tr>
<td><a href="[preferred]/commons/io/source/commons-io-2.10.0-src.zip">commons-io-2.10.0-src.zip</a></td>
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.10.0-src.zip.sha512">sha512</a></td>
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.10.0-src.zip.asc">pgp</a></td>
<td><a href="[preferred]/commons/io/source/commons-io-2.11.0-src.zip">commons-io-2.11.0-src.zip</a></td>
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.11.0-src.zip.sha512">sha512</a></td>
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.11.0-src.zip.asc">pgp</a></td>
</tr>
</table>
</subsection>
Expand Down
19 changes: 16 additions & 3 deletions src/site/xdoc/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ limitations under the License.
</properties>
<body>
<!-- ================================================== -->
<section name="Commons IO">
<section name="Apache Commons IO">
<p>
Commons IO is a library of utilities to assist with developing IO functionality.
Apache Commons IO is a library of utilities to assist with developing IO functionality.
</p>
<p>
There are six main areas included:
Expand Down Expand Up @@ -85,6 +85,19 @@ There are six main areas included:
<!-- ================================================== -->
<section name="Releases">

<subsection name="Commons IO 2.11.0 (requires Java 8)">
<p>
Commons IO 2.11.0 requires a minimum of Java 8 -
<a href="https://commons.apache.org/io/download_io.cgi">Download now!</a>
</p>
<p>
View the
<a href="changes-report.html">Release Notes</a>
and
<a href="apidocs/index.html">Javadoc API documents</a>
</p>
</subsection>

<subsection name="Commons IO 2.10.0 (requires Java 8)">
<p>
Commons IO 2.10.0 requires a minimum of Java 8 -
Expand All @@ -94,7 +107,7 @@ There are six main areas included:
View the
<a href="changes-report.html">Release Notes</a>
and
<a href="apidocs/index.html">Javadoc API documents</a>
<a href="https://javadoc.io/doc/commons-io/commons-io/2.10.0/index.html">Javadoc API documents</a>
</p>
</subsection>

Expand Down

0 comments on commit 914ec63

Please sign in to comment.