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
commit dcdd2778ced1bc2e62de32684216156f5b2a0bf1 Author: Gary Gregory <[email protected]> AuthorDate: Sat Sep 5 21:26:54 2020 -0400 Prepare for release. --- README.md | 4 +- RELEASE-NOTES.txt | 96 +++++++++++++++++++++++++++++++++++++++++++ src/site/xdoc/download_io.xml | 26 ++++++------ 3 files changed, 111 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 92050f0..7ad8bb0 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Apache Commons IO [](https://travis-ci.org/apache/commons-io) [](https://coveralls.io/r/apache/commons-io) [](https://maven-badges.herokuapp.com/maven-central/commons-io/commons-io/) -[](https://javadoc.io/doc/commons-io/commons-io/2.7) +[](https://javadoc.io/doc/commons-io/commons-io/2.8.0) The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more. @@ -68,7 +68,7 @@ Alternatively you can pull it from the central Maven repositories: <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> - <version>2.7</version> + <version>2.8.0</version> </dependency> ``` diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index ef0c26b..28d02c8 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,3 +1,99 @@ +Apache Commons IO +Version 2.8.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.8.0 +============================================================================== +Java 8 required. + +Changes in this version include: + +New features: +o Add org.apache.commons.io.input.CircularInputStream. Thanks to Gary Gregory. +o Add org.apache.commons.io.file.PathUtils.cleanDirectory(Path, FileVisitOption...). Thanks to Gary Gregory. +o Add org.apache.commons.io.file.PathUtils.deleteDirectory(Path, FileVisitOption...). Thanks to Gary Gregory. +o Add NullAppendable. Thanks to Gary Gregory. +o Add PathUtils.getAclEntryList(Path). Thanks to Gary Gregory. +o Null-guard IOUtils.close(Closeable, IOConsumer). Thanks to Gary Gregory. +o Add ReversedLinesFileReader.readLines(int). Thanks to Gary Gregory. +o Add ReversedLinesFileReader.toString(int). Thanks to Gary Gregory. +o IO-684: Add PathUtils.delete(Path, DeleteOption...). + Add PathUtils.deleteDirectory(Path, DeleteOption...). + Add PathUtils.deleteFile(Path, DeleteOption...). + Add PathUtils.setReadOnly(Path, boolean, LinkOption...). + Add CleaningPathVisitor.CleaningPathVisitor(PathCounters, DeleteOption[], String...). + Add DeletingPathVisitor.DeletingPathVisitor(PathCounters, DeleteOption[], String...). Thanks to Gary Gregory, Robin Jansohn. +o Add RandomAccessFileInputStream. Thanks to Gary Gregory. +o IO-681: IOUtils.close(Closeable) should allow a list of closeables. +o Add IOUtils.consume(InputStream). Thanks to Gary Gregory. +o IO-676: Add isFileNewer() and isFileOlder() methods that support the Java 8 Date/Time API. #124. Thanks to Isira Seneviratne, Gary Gregory. +o Add a MarkShieldInputStream #119. Thanks to Adam Retter, Gary Gregory. +o Deprecate IOUtils.LINE_SEPARATOR in favor of Java 7's System.lineSeparator(). Thanks to Gary Gregory. + +Fixed Bugs: +o CharSequenceReader.skip should return 0 instead of EOF on stream end #123. Thanks to Rob Spoor, Jochen Wiedmann. +o Implement CharSequenceReader.ready() #122. Thanks to Rob Spoor. +o IO-669: Fix code smells; fix typos #115. Thanks to XenoAmess, Gary Gregory. +o Add caching for required charsets #120. Thanks to Jerome Wolff, Gary Gregory. +o IO-673: Make some simplifications #121. Thanks to Jerome Wolff. +o IO-674: InfiniteCircularInputStream is not infinite if its input buffer contains -1. Thanks to Gary Gregory. +o IO-675: InfiniteCircularInputStream throws a divide-by-zero exception when reading if its input buffer is size 0. Thanks to Gary Gregory. +o IO-677: FileSystem.getCurrent() does not return the correct enum. Thanks to Gary Gregory. +o IO-679: input.AbstractCharacterFilterReader passes count of chars read #132. Thanks to proneel. +o IO-683: CircularBufferInputStream.read() fails to convert byte to unsigned int +o Fix SpotBugs issues in org.apache.commons.io.FileUtils. Thanks to Gary Gregory. +o IO-672: Copying a File sets last modified date to 01 January 1970. +o IO-676: Prevent NullPointerException in ReversedLinesFileReader constructors #117. Thanks to Michael Ernst, Gary Gregory. + +Changes: +o Replace FindBugs with SpotBugs. Thanks to Gary Gregory. +o maven-checkstyle-plugin 3.1.0 -> 3.1.1. Thanks to Gary Gregory. +o Update tests from org.apache.commons:commons-lang3 3.10 to 3.11. Thanks to Gary Gregory. +o Update commons-parent from 50 to 51 #129. Thanks to Gary Gregory. +o Update actions/checkout from v1 to v2.3.1 #126. Thanks to Gary Gregory. +o Update junit-pioneer from 0.6.0 to 0.8.0, #127, #135. Thanks to Gary Gregory. +o Update mockito-core from 3.3.3 to 3.5.9 #128, #133, #145, #149, #151. Thanks to Gary Gregory. +o Update spotbugs from 4.0.6 to 4.1.1 #134. Thanks to Dependabot. +o Update junit-pioneer from 0.8.0 to 0.9.0 #138. Thanks to Dependabot. +o Update actions/checkout from v2.3.1 to v2.3.2 #140. Thanks to Dependabot. +o Update actions/setup-java from v1.4.0 to v1.4.2 #141, #148. Thanks to Dependabot. + +Compatibility with 2.7: +Binary compatible: Yes. +Source compatible: Yes. +Semantic compatible: Yes. + +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.7 diff --git a/src/site/xdoc/download_io.xml b/src/site/xdoc/download_io.xml index 25d8415..df9924c 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.7 (requires Java 8)"> + <section name="Apache Commons IO 2.8.0 (requires Java 8)"> <subsection name="Binaries"> <table> <tr> - <td><a href="[preferred]/commons/io/binaries/commons-io-2.7-bin.tar.gz">commons-io-2.7-bin.tar.gz</a></td> - <td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.7-bin.tar.gz.sha512">sha512</a></td> - <td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.7-bin.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/io/binaries/commons-io-2.8.0-bin.tar.gz">commons-io-2.8.0-bin.tar.gz</a></td> + <td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.8.0-bin.tar.gz.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.8.0-bin.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/io/binaries/commons-io-2.7-bin.zip">commons-io-2.7-bin.zip</a></td> - <td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.7-bin.zip.sha512">sha512</a></td> - <td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.7-bin.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/io/binaries/commons-io-2.8.0-bin.zip">commons-io-2.8.0-bin.zip</a></td> + <td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.8.0-bin.zip.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.8.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.7-src.tar.gz">commons-io-2.7-src.tar.gz</a></td> - <td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.7-src.tar.gz.sha512">sha512</a></td> - <td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.7-src.tar.gz.asc">pgp</a></td> + <td><a href="[preferred]/commons/io/source/commons-io-2.8.0-src.tar.gz">commons-io-2.8.0-src.tar.gz</a></td> + <td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.8.0-src.tar.gz.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.8.0-src.tar.gz.asc">pgp</a></td> </tr> <tr> - <td><a href="[preferred]/commons/io/source/commons-io-2.7-src.zip">commons-io-2.7-src.zip</a></td> - <td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.7-src.zip.sha512">sha512</a></td> - <td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.7-src.zip.asc">pgp</a></td> + <td><a href="[preferred]/commons/io/source/commons-io-2.8.0-src.zip">commons-io-2.8.0-src.zip</a></td> + <td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.8.0-src.zip.sha512">sha512</a></td> + <td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.8.0-src.zip.asc">pgp</a></td> </tr> </table> </subsection>
