Release 2.8.0 – 2020-09-05
Type | Changes | By |
---|---|---|
Add org.apache.commons.io.input.CircularInputStream. Thanks to Gary Gregory. | ggregory | |
Add org.apache.commons.io.file.PathUtils.cleanDirectory(Path, FileVisitOption…). Thanks to Gary Gregory. | ggregory | |
Add org.apache.commons.io.file.PathUtils.deleteDirectory(Path, FileVisitOption…). Thanks to Gary Gregory. | ggregory | |
Add NullAppendable. Thanks to Gary Gregory. | ggregory | |
CharSequenceReader.skip should return 0 instead of EOF on stream end #123. Thanks to Rob Spoor, Jochen Wiedmann. | ggregory | |
Implement CharSequenceReader.ready() #122. Thanks to Rob Spoor. | ggregory | |
Fix code smells; fix typos #115. Fixes IO-669. Thanks to XenoAmess, Gary Gregory. | ggregory | |
Add caching for required charsets #120. Thanks to Jerome Wolff, Gary Gregory. | ggregory | |
Make some simplifications #121. Fixes IO-673. Thanks to Jerome Wolff. | ggregory | |
InfiniteCircularInputStream is not infinite if its input buffer contains -1. Fixes IO-674. Thanks to Gary Gregory. | ggregory | |
InfiniteCircularInputStream throws a divide-by-zero exception when reading if its input buffer is size 0. Fixes IO-675. Thanks to Gary Gregory. | ggregory | |
FileSystem.getCurrent() does not return the correct enum. Fixes IO-677. Thanks to Gary Gregory. | ggregory | |
input.AbstractCharacterFilterReader passes count of chars read #132. Fixes IO-679. Thanks to proneel. | ggregory | |
Add PathUtils.getAclEntryList(Path). Thanks to Gary Gregory. | ggregory | |
Null-guard IOUtils.close(Closeable, IOConsumer). Thanks to Gary Gregory. | ggregory | |
Add ReversedLinesFileReader.readLines(int). Thanks to Gary Gregory. | ggregory | |
Add ReversedLinesFileReader.toString(int). Thanks to Gary Gregory. | ggregory | |
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…). Fixes IO-684. Thanks to Gary Gregory, Robin Jansohn. | ggregory | |
CircularBufferInputStream.read() fails to convert byte to unsigned int. Fixes IO-683. | sebb | |
Fix SpotBugs issues in org.apache.commons.io.FileUtils. Thanks to Gary Gregory. | ggregory | |
Add RandomAccessFileInputStream. Thanks to Gary Gregory. | ggregory | |
IOUtils.close(Closeable) should allow a list of closeables. Fixes IO-681. | sebb | |
Copying a File sets last modified date to 01 January 1970. Fixes IO-672. | sebb | |
Add IOUtils.consume(InputStream). Thanks to Gary Gregory. | ggregory | |
Add isFileNewer() and isFileOlder() methods that support the Java 8 Date/Time API. #124. Fixes IO-676. Thanks to Isira Seneviratne, Gary Gregory. | ggregory | |
Prevent NullPointerException in ReversedLinesFileReader constructors #117. Fixes IO-676. Thanks to Michael Ernst, Gary Gregory. | ggregory | |
Add a MarkShieldInputStream #119. Thanks to Adam Retter, Gary Gregory. | ggregory | |
Deprecate IOUtils.LINE_SEPARATOR in favor of Java 7’s System.lineSeparator(). Thanks to Gary Gregory. | ggregory | |
Replace FindBugs with SpotBugs. Thanks to Gary Gregory. | ggregory | |
maven-checkstyle-plugin 3.1.0 -> 3.1.1. Thanks to Gary Gregory. | ggregory | |
Update tests from org.apache.commons:commons-lang3 3.10 to 3.11. Thanks to Gary Gregory. | ggregory | |
Update commons-parent from 50 to 51 #129. Thanks to Gary Gregory. | ggregory | |
Update actions/checkout from v1 to v2.3.1 #126. Thanks to Gary Gregory. | ggregory | |
Update junit-pioneer from 0.6.0 to 0.8.0, #127, #135. Thanks to Gary Gregory. | ggregory | |
Update mockito-core from 3.3.3 to 3.5.9 #128, #133, #145, #149, #151. Thanks to Gary Gregory. | ggregory | |
Update spotbugs from 4.0.6 to 4.1.1 #134. Thanks to Dependabot. | ggregory | |
Update junit-pioneer from 0.8.0 to 0.9.0 #138. Thanks to Dependabot. | ggregory | |
Update actions/checkout from v2.3.1 to v2.3.2 #140. Thanks to Dependabot. | ggregory | |
Update actions/setup-java from v1.4.0 to v1.4.2 #141, #148. Thanks to Dependabot. | ggregory |
转自 https://commons.apache.org/proper/commons-io/changes-report.html,https://commons.apache.org/proper/commons-io/
Binaries
commons-io-2.8.0-bin.tar.gz | sha512 | pgp |
commons-io-2.8.0-bin.zip | sha512 | pgp |
Source
commons-io-2.8.0-src.tar.gz | sha512 | pgp |
commons-io-2.8.0-src.zip | sha512 | pgp |
转自 https://commons.apache.org/proper/commons-io/download_io.cgi