Skip to content

Commit dcdd277

Browse files
committed
Prepare for release.
1 parent 022246b commit dcdd277

3 files changed

Lines changed: 111 additions & 15 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Apache Commons IO
4646
[![Build Status](https://travis-ci.org/apache/commons-io.svg)](https://travis-ci.org/apache/commons-io)
4747
[![Coverage Status](https://coveralls.io/repos/apache/commons-io/badge.svg)](https://coveralls.io/r/apache/commons-io)
4848
[![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/)
49-
[![Javadocs](https://javadoc.io/badge/commons-io/commons-io/2.7.svg)](https://javadoc.io/doc/commons-io/commons-io/2.7)
49+
[![Javadocs](https://javadoc.io/badge/commons-io/commons-io/2.8.0.svg)](https://javadoc.io/doc/commons-io/commons-io/2.8.0)
5050

5151
The Apache Commons IO library contains utility classes, stream implementations, file filters,
5252
file comparators, endian transformation classes, and much more.
@@ -68,7 +68,7 @@ Alternatively you can pull it from the central Maven repositories:
6868
<dependency>
6969
<groupId>commons-io</groupId>
7070
<artifactId>commons-io</artifactId>
71-
<version>2.7</version>
71+
<version>2.8.0</version>
7272
</dependency>
7373
```
7474

RELEASE-NOTES.txt

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,99 @@
1+
Apache Commons IO
2+
Version 2.8.0
3+
Release Notes
4+
5+
INTRODUCTION:
6+
7+
Commons IO is a package of Java utility classes like java.io.
8+
Classes in this package are considered to be so standard and of such high
9+
reuse as to justify existence in java.io.
10+
11+
The Apache Commons IO library contains utility classes, stream implementations, file filters,
12+
file comparators, endian transformation classes, and much more.
13+
14+
==============================================================================
15+
Apache Commons IO Version 2.8.0
16+
==============================================================================
17+
Java 8 required.
18+
19+
Changes in this version include:
20+
21+
New features:
22+
o Add org.apache.commons.io.input.CircularInputStream. Thanks to Gary Gregory.
23+
o Add org.apache.commons.io.file.PathUtils.cleanDirectory(Path, FileVisitOption...). Thanks to Gary Gregory.
24+
o Add org.apache.commons.io.file.PathUtils.deleteDirectory(Path, FileVisitOption...). Thanks to Gary Gregory.
25+
o Add NullAppendable. Thanks to Gary Gregory.
26+
o Add PathUtils.getAclEntryList(Path). Thanks to Gary Gregory.
27+
o Null-guard IOUtils.close(Closeable, IOConsumer). Thanks to Gary Gregory.
28+
o Add ReversedLinesFileReader.readLines(int). Thanks to Gary Gregory.
29+
o Add ReversedLinesFileReader.toString(int). Thanks to Gary Gregory.
30+
o IO-684: Add PathUtils.delete(Path, DeleteOption...).
31+
Add PathUtils.deleteDirectory(Path, DeleteOption...).
32+
Add PathUtils.deleteFile(Path, DeleteOption...).
33+
Add PathUtils.setReadOnly(Path, boolean, LinkOption...).
34+
Add CleaningPathVisitor.CleaningPathVisitor(PathCounters, DeleteOption[], String...).
35+
Add DeletingPathVisitor.DeletingPathVisitor(PathCounters, DeleteOption[], String...). Thanks to Gary Gregory, Robin Jansohn.
36+
o Add RandomAccessFileInputStream. Thanks to Gary Gregory.
37+
o IO-681: IOUtils.close(Closeable) should allow a list of closeables.
38+
o Add IOUtils.consume(InputStream). Thanks to Gary Gregory.
39+
o IO-676: Add isFileNewer() and isFileOlder() methods that support the Java 8 Date/Time API. #124. Thanks to Isira Seneviratne, Gary Gregory.
40+
o Add a MarkShieldInputStream #119. Thanks to Adam Retter, Gary Gregory.
41+
o Deprecate IOUtils.LINE_SEPARATOR in favor of Java 7's System.lineSeparator(). Thanks to Gary Gregory.
42+
43+
Fixed Bugs:
44+
o CharSequenceReader.skip should return 0 instead of EOF on stream end #123. Thanks to Rob Spoor, Jochen Wiedmann.
45+
o Implement CharSequenceReader.ready() #122. Thanks to Rob Spoor.
46+
o IO-669: Fix code smells; fix typos #115. Thanks to XenoAmess, Gary Gregory.
47+
o Add caching for required charsets #120. Thanks to Jerome Wolff, Gary Gregory.
48+
o IO-673: Make some simplifications #121. Thanks to Jerome Wolff.
49+
o IO-674: InfiniteCircularInputStream is not infinite if its input buffer contains -1. Thanks to Gary Gregory.
50+
o IO-675: InfiniteCircularInputStream throws a divide-by-zero exception when reading if its input buffer is size 0. Thanks to Gary Gregory.
51+
o IO-677: FileSystem.getCurrent() does not return the correct enum. Thanks to Gary Gregory.
52+
o IO-679: input.AbstractCharacterFilterReader passes count of chars read #132. Thanks to proneel.
53+
o IO-683: CircularBufferInputStream.read() fails to convert byte to unsigned int
54+
o Fix SpotBugs issues in org.apache.commons.io.FileUtils. Thanks to Gary Gregory.
55+
o IO-672: Copying a File sets last modified date to 01 January 1970.
56+
o IO-676: Prevent NullPointerException in ReversedLinesFileReader constructors #117. Thanks to Michael Ernst, Gary Gregory.
57+
58+
Changes:
59+
o Replace FindBugs with SpotBugs. Thanks to Gary Gregory.
60+
o maven-checkstyle-plugin 3.1.0 -> 3.1.1. Thanks to Gary Gregory.
61+
o Update tests from org.apache.commons:commons-lang3 3.10 to 3.11. Thanks to Gary Gregory.
62+
o Update commons-parent from 50 to 51 #129. Thanks to Gary Gregory.
63+
o Update actions/checkout from v1 to v2.3.1 #126. Thanks to Gary Gregory.
64+
o Update junit-pioneer from 0.6.0 to 0.8.0, #127, #135. Thanks to Gary Gregory.
65+
o Update mockito-core from 3.3.3 to 3.5.9 #128, #133, #145, #149, #151. Thanks to Gary Gregory.
66+
o Update spotbugs from 4.0.6 to 4.1.1 #134. Thanks to Dependabot.
67+
o Update junit-pioneer from 0.8.0 to 0.9.0 #138. Thanks to Dependabot.
68+
o Update actions/checkout from v2.3.1 to v2.3.2 #140. Thanks to Dependabot.
69+
o Update actions/setup-java from v1.4.0 to v1.4.2 #141, #148. Thanks to Dependabot.
70+
71+
Compatibility with 2.7:
72+
Binary compatible: Yes.
73+
Source compatible: Yes.
74+
Semantic compatible: Yes.
75+
76+
Commons IO 2.7 requires Java 8.
77+
Commons IO 2.6 requires Java 7.
78+
Commons IO 2.5 requires Java 6.
79+
Commons IO 2.4 requires Java 6.
80+
Commons IO 2.3 requires Java 6.
81+
Commons IO 2.2 requires Java 5.
82+
Commons IO 1.4 requires Java 1.3.
83+
84+
Historical list of changes: https://commons.apache.org/proper/commons-io/changes-report.html
85+
86+
For complete information on Apache Commons IO, including instructions on how to submit bug reports,
87+
patches, or suggestions for improvement, see the Apache Apache Commons IO website:
88+
89+
https://commons.apache.org/proper/commons-io/
90+
91+
Download page: https://commons.apache.org/proper/commons-io/download_io.cgi
92+
93+
Have fun!
94+
-Apache Commons Team
95+
96+
==============================================================================
197

298
Apache Commons IO
399
Version 2.7

src/site/xdoc/download_io.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -113,32 +113,32 @@ limitations under the License.
113113
</p>
114114
</subsection>
115115
</section>
116-
<section name="Apache Commons IO 2.7 (requires Java 8)">
116+
<section name="Apache Commons IO 2.8.0 (requires Java 8)">
117117
<subsection name="Binaries">
118118
<table>
119119
<tr>
120-
<td><a href="[preferred]/commons/io/binaries/commons-io-2.7-bin.tar.gz">commons-io-2.7-bin.tar.gz</a></td>
121-
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.7-bin.tar.gz.sha512">sha512</a></td>
122-
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.7-bin.tar.gz.asc">pgp</a></td>
120+
<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>
121+
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.8.0-bin.tar.gz.sha512">sha512</a></td>
122+
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.8.0-bin.tar.gz.asc">pgp</a></td>
123123
</tr>
124124
<tr>
125-
<td><a href="[preferred]/commons/io/binaries/commons-io-2.7-bin.zip">commons-io-2.7-bin.zip</a></td>
126-
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.7-bin.zip.sha512">sha512</a></td>
127-
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.7-bin.zip.asc">pgp</a></td>
125+
<td><a href="[preferred]/commons/io/binaries/commons-io-2.8.0-bin.zip">commons-io-2.8.0-bin.zip</a></td>
126+
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.8.0-bin.zip.sha512">sha512</a></td>
127+
<td><a href="https://www.apache.org/dist/commons/io/binaries/commons-io-2.8.0-bin.zip.asc">pgp</a></td>
128128
</tr>
129129
</table>
130130
</subsection>
131131
<subsection name="Source">
132132
<table>
133133
<tr>
134-
<td><a href="[preferred]/commons/io/source/commons-io-2.7-src.tar.gz">commons-io-2.7-src.tar.gz</a></td>
135-
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.7-src.tar.gz.sha512">sha512</a></td>
136-
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.7-src.tar.gz.asc">pgp</a></td>
134+
<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>
135+
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.8.0-src.tar.gz.sha512">sha512</a></td>
136+
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.8.0-src.tar.gz.asc">pgp</a></td>
137137
</tr>
138138
<tr>
139-
<td><a href="[preferred]/commons/io/source/commons-io-2.7-src.zip">commons-io-2.7-src.zip</a></td>
140-
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.7-src.zip.sha512">sha512</a></td>
141-
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.7-src.zip.asc">pgp</a></td>
139+
<td><a href="[preferred]/commons/io/source/commons-io-2.8.0-src.zip">commons-io-2.8.0-src.zip</a></td>
140+
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.8.0-src.zip.sha512">sha512</a></td>
141+
<td><a href="https://www.apache.org/dist/commons/io/source/commons-io-2.8.0-src.zip.asc">pgp</a></td>
142142
</tr>
143143
</table>
144144
</subsection>

0 commit comments

Comments
 (0)