|
1 | 1 |
|
| 2 | +Apache Commons IO 2.18.0 Release Notes |
| 3 | + |
| 4 | +Introduction |
| 5 | +------------ |
| 6 | + |
| 7 | +The Apache Commons IO library contains utility classes, stream implementations, file filters, |
| 8 | +file comparators, endian transformation classes, and much more. |
| 9 | + |
| 10 | +Version 2.18.0: Java 8 is required. |
| 11 | + |
| 12 | +New features |
| 13 | +------------ |
| 14 | + |
| 15 | +o Add @FunctionalInterface to ClassNameMatcher. Thanks to Gary Gregory. |
| 16 | +o Add ValidatingObjectInputStream.Builder and ValidatingObjectInputStream.builder(). Thanks to Gary Gregory. |
| 17 | +o Add a "Safe Deserialization" section to the User Guide for the site. Thanks to Gary Gregory. |
| 18 | +o Add IORandomAccessFile. Thanks to Gary Gregory. |
| 19 | +o Add RandomAccessFileMode.io(String). Thanks to Gary Gregory. |
| 20 | +o Add FileAlterationObserver.Builder() and deprecate most constructors. Thanks to Gary Gregory. |
| 21 | +o Add IOUtils.readLines(CharSequence). Thanks to Gary Gregory. |
| 22 | +o Add ValidatingObjectInputStream.ObjectStreamClassPredicate to allow configuration reuse. Thanks to Gary Gregory. |
| 23 | +o Add RandomAccessFileMode.accept(Path, IOConsumer<RandomAccessFile>). Thanks to Gary Gregory. |
| 24 | +o Add RandomAccessFileMode.apply(Path, IOFunction<RandomAccessFile>, T). Thanks to Gary Gregory. |
| 25 | +o Add IOIntConsumer. Thanks to Gary Gregory. |
| 26 | +o IO-861: Add ProxyInputStream.AbstractBuilder. Supports setting a consumer for ProxyInputStream.afterRead(int). Thanks to Gary Gregory. |
| 27 | +o Add support to AutoCloseInputStream for setting a consumer for ProxyInputStream.afterRead(int). Thanks to Gary Gregory. |
| 28 | +o Add support to BOMInputStream for setting a consumer for ProxyInputStream.afterRead(int). Thanks to Gary Gregory. |
| 29 | +o IO-861: Add support to BoundedInputStream for setting a consumer for ProxyInputStream.afterRead(int). Thanks to Gary Gregory. |
| 30 | +o IO-861: Add support to BoundedInputStream for setting a consumer for BoundedInputStream.onMaxLength(long, long). Thanks to Gary Gregory. |
| 31 | +o Add support to ChecksumInputStream for setting a consumer for ProxyInputStream.afterRead(int). Thanks to Gary Gregory. |
| 32 | +o Add support to ThrottledInputStream for setting a consumer for ProxyInputStream.afterRead(int). Thanks to Gary Gregory. |
| 33 | +o Add support to ObservableInputStream for setting a consumer for ProxyInputStream.afterRead(int). Thanks to Gary Gregory. |
| 34 | +o Add support to MessageDigestCalculatingInputStream for setting a consumer for ProxyInputStream.afterRead(int). Thanks to Gary Gregory. |
| 35 | +o Add support to MessageDigestInputStream for setting a consumer for ProxyInputStream.afterRead(int). Thanks to Gary Gregory. |
| 36 | + |
| 37 | +Fixed Bugs |
| 38 | +---------- |
| 39 | + |
| 40 | +o Clean ups in unit tests. Thanks to Gary Gregory. |
| 41 | +o Fix some Javadoc issues. Thanks to Gary Gregory. |
| 42 | +o RandomAccessFileMode.toString() is more helpful for debugging when it inherits from Enum. Thanks to Gary Gregory. |
| 43 | +o Fix implicit narrowing conversion in compound assignment in UnsynchronizedBufferedReader.skip(long). Thanks to Gary Gregory. |
| 44 | +o IO-860: Missing reserved file names in FileSystem.WINDOWS (superscript digits for COM and LPT). Thanks to Stefan Feenstra, Gary Gregory. |
| 45 | +o IO-856: FileUtils.listFiles(final File, String[], boolean) can throw NoSuchFileException #697, #699. Thanks to Thomas Hartwig, Gary Gregory. |
| 46 | +o IO-859: FileUtils.forceDelete on non-existent file on Windows throws IOException rather than FileNotFoundException. Thanks to JD Dean, Gary Gregory. |
| 47 | +o Use Unicode escapes for superscript characters. #701. Thanks to �amonn McManus. |
| 48 | +o IO-863: Recent incompatible change to FileUtils.listFiles re extensions, see also IO-856. Thanks to �amonn McManus, Gary Gregory. |
| 49 | +o IO-857: Javadoc: Update details for PathUtils "clean" behavior. Thanks to Dmitry, Gary Gregory. |
| 50 | + |
| 51 | +Changes |
| 52 | +------- |
| 53 | + |
| 54 | +o Bump org.apache.commons:commons-parent from 74 to 78 #670, #676, #679, #688. Thanks to Gary Gregory. |
| 55 | +o Bump commons.bytebuddy.version from 1.15.1 to 1.15.10 #672, #673, #685, #686, #694, #696, #698. Thanks to Gary Gregory. |
| 56 | +o Update AbstractStreamBuilder getters from protected to public. Thanks to Gary Gregory. |
| 57 | + |
| 58 | + |
| 59 | +Commons IO 2.7 and up requires Java 8 or above. |
| 60 | +Commons IO 2.6 requires Java 7 or above. |
| 61 | +Commons IO 2.3 through 2.5 requires Java 6 or above. |
| 62 | +Commons IO 2.2 requires Java 5 or above. |
| 63 | +Commons IO 1.4 requires Java 1.3 or above. |
| 64 | + |
| 65 | +Historical list of changes: https://commons.apache.org/proper/commons-io/changes-report.html |
| 66 | + |
| 67 | +For complete information on Apache Commons IO, including instructions on how to submit bug reports, |
| 68 | +patches, or suggestions for improvement, see the Apache Commons IO website: |
| 69 | + |
| 70 | +https://commons.apache.org/proper/commons-io/ |
| 71 | + |
| 72 | +Download page: https://commons.apache.org/proper/commons-io/download_io.cgi |
| 73 | + |
| 74 | +Have fun! |
| 75 | +-Apache Commons Team |
| 76 | + |
| 77 | +------------------------------------------------------------------------------ |
| 78 | + |
| 79 | + |
2 | 80 | Apache Commons IO 2.17.0 Release Notes |
3 | 81 |
|
4 | 82 | Introduction |
|
0 commit comments