|
| 1 | +Apache Commons IO |
| 2 | +Version 2.13.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 | +Java 8 required. |
| 15 | + |
| 16 | +Changes in this version include: |
| 17 | + |
| 18 | +New features: |
| 19 | +o Add CharSequenceInputStream.Builder. Thanks to Gary Gregory. |
| 20 | +o Add ChunkedOutputStream.Builder. Thanks to Gary Gregory. |
| 21 | +o Add AbstractStreamBuilder.setOpenOptions(OpenOption...). Thanks to Gary Gregory. |
| 22 | +o Add some missing conversions to AbstractOrigin subclasses. Thanks to Gary Gregory. |
| 23 | +o Add AbstractOrigin.getByteArray(long, int). Thanks to Gary Gregory. |
| 24 | +o Add and use RandomAccessFiles. Thanks to Gary Gregory. |
| 25 | +o Add AbstractOrigin.size(). Thanks to Gary Gregory. |
| 26 | +o Add PathUtils.EMPTY_FILE_ATTRIBUTE_ARRAY. Thanks to Gary Gregory. |
| 27 | +o Add CharSequenceInputStream.Builder.setCharsetEncoder(CharsetEncoder). Thanks to Gary Gregory. |
| 28 | +o Add CharsetEncoders.toCharsetEncoder(CharsetEncoder, Supplier<CharsetEncoder>). Thanks to Gary Gregory. |
| 29 | + |
| 30 | +Fixed Bugs: |
| 31 | +o IO-791: Regression in FileUtils.touch() - no longer creates parent directories. Thanks to Chad Wilson, Gary Gregory. |
| 32 | +o ByteArrayOrigin should be able convert a byte[] to a ByteArrayInputStream. Thanks to Gary Gregory. |
| 33 | +o AbstractOriginSupplier.checkOrigin() now throws IllegalStateException instead of NullPointerException. Thanks to Gary Gregory. |
| 34 | +o IO-796: FileAlreadyExistsException in PathUtils.createParentDirectories(Path, LinkOption, FileAttribute...). Thanks to Giacomo Boccardo, Gary Gregory. |
| 35 | +o Only read the relevant portion of a file in AbstractOrigin.FileOrigin.getByteArray(long, int) Thanks to Gary Gregory. |
| 36 | +o Only read the relevant portion of a file in AbstractOrigin.PathOrigin.getByteArray(long, int) Thanks to Gary Gregory. |
| 37 | +o IO-798: DeferredFileOutputStream throws exception when system temp dir is a symlink. Thanks to Shai Shapira, Gary Gregory. |
| 38 | +o ReaderInputStream.Builder.setCharsetEncoder(null) should reset to a default object, not throw an NPE. Thanks to Gary Gregory. |
| 39 | +o ReaderInputStream.Builder.setCharset(null) should reset to a default object, not throw an NPE. Thanks to Gary Gregory. |
| 40 | + |
| 41 | +Changes: |
| 42 | +o Bump commons-parent from 57 to 58. Thanks to Gary Gregory, Dependabot. |
| 43 | + |
| 44 | +Compatibility with 2.6: |
| 45 | +Binary compatible: Yes. |
| 46 | +Source compatible: Yes. |
| 47 | +Semantic compatible: Yes. |
| 48 | + |
| 49 | +Commons IO 2.9.0 requires Java 8. |
| 50 | +Commons IO 2.8.0 requires Java 8. |
| 51 | +Commons IO 2.7 requires Java 8. |
| 52 | +Commons IO 2.6 requires Java 7. |
| 53 | +Commons IO 2.5 requires Java 6. |
| 54 | +Commons IO 2.4 requires Java 6. |
| 55 | +Commons IO 2.3 requires Java 6. |
| 56 | +Commons IO 2.2 requires Java 5. |
| 57 | +Commons IO 1.4 requires Java 1.3. |
| 58 | + |
| 59 | +Historical list of changes: https://commons.apache.org/proper/commons-io/changes-report.html |
| 60 | + |
| 61 | +For complete information on Apache Commons IO, including instructions on how to submit bug reports, |
| 62 | +patches, or suggestions for improvement, see the Apache Commons IO website: |
| 63 | + |
| 64 | +https://commons.apache.org/proper/commons-io/ |
| 65 | + |
| 66 | +Download page: https://commons.apache.org/proper/commons-io/download_io.cgi |
| 67 | + |
| 68 | +Have fun! |
| 69 | +-Apache Commons Team |
| 70 | + |
1 | 71 | Apache Commons IO |
2 | 72 | Version 2.12.0 |
3 | 73 | Release Notes |
4 | 74 |
|
| 75 | +============================================================================== |
| 76 | + |
5 | 77 | INTRODUCTION: |
6 | 78 |
|
7 | 79 | Commons IO is a package of Java utility classes like java.io. |
|
0 commit comments