|
| 1 | + |
| 2 | +Apache Commons IO |
| 3 | +Version 2.14.0 |
| 4 | +Release Notes |
| 5 | + |
| 6 | +INTRODUCTION: |
| 7 | + |
| 8 | +Commons IO is a package of Java utility classes like java.io. |
| 9 | +Classes in this package are considered to be so standard and of such high |
| 10 | +reuse as to justify existence in java.io. |
| 11 | + |
| 12 | +The Apache Commons IO library contains utility classes, stream implementations, file filters, |
| 13 | +file comparators, endian transformation classes, and much more. |
| 14 | + |
| 15 | +Java 8 required. |
| 16 | + |
| 17 | +Changes in this version include: |
| 18 | + |
| 19 | +New features: |
| 20 | +o Add DeferredFileOutputStream.getPath(). Thanks to Gary Gregory. |
| 21 | +o Add FileCleaningTracker.track(Path, Object[, FileDeleteStrategy]). Thanks to Gary Gregory. |
| 22 | +o Add IOUtils.skip[Fully](InputStream, long, Supplier<byte[]>). Thanks to Gary Gregory. |
| 23 | +o Add FilesUncheck.find(Path, int, BiPredicate%lt;Path, BasicFileAttributes>, FileVisitOption...) Thanks to Gary Gregory. |
| 24 | +o Add IOIntSupplier. Thanks to Gary Gregory. |
| 25 | +o Add IOLongSupplier. Thanks to Gary Gregory. |
| 26 | +o Add Uncheck.getAsInt(IOIntSupplier [, Supplier<String>]). Thanks to Gary Gregory. |
| 27 | +o Add Uncheck.getAsLong(IOLongSupplier [, Supplier<String>]). Thanks to Gary Gregory. |
| 28 | +o Add Uncheck.run(IORunnable, Supplier<String>) Thanks to Gary Gregory. |
| 29 | +o Add Uncheck.get(IOSupplier, Supplier<String>) Thanks to Gary Gregory. |
| 30 | +o IOFileFilter now also extends java.nio.file.PathMatcher. Thanks to Gary Gregory. |
| 31 | +o Add PathMatcherFileFilter to adapt java.nio.file.PathMatcher. Thanks to Gary Gregory. |
| 32 | +o Add ThresholdingOutputStream.getOutputStream() and deprecate getStream(). Thanks to Gary Gregory. |
| 33 | +o Add DeferredFileOutputStream.Builder.setOutputFile(Path). Thanks to Gary Gregory. |
| 34 | +o Add DeferredFileOutputStream.Builder.setDirectory(Path). Thanks to Gary Gregory. |
| 35 | +o Add AbstractStreamBuilder.setBufferSizeChecker(IntToIntFunction). Thanks to Gary Gregory. |
| 36 | +o Add AbstractStreamBuilder.setBufferSizeMax(int). Thanks to Gary Gregory. |
| 37 | + |
| 38 | +Fixed Bugs: |
| 39 | +o IO-799: ReaderInputStream.read() throws an exception instead of returning -1 when called again after returning -1. Thanks to Jeroen van der Vegt, Gary Gregory. |
| 40 | +o IO-804: FileUtils.forceMkdirParent() Javadoc is incorrect. Thanks to Elliotte Rusty Harold, Gary Gregory. |
| 41 | +o [StepSecurity] ci: Harden GitHub Actions #461. Thanks to step-security-bot, Gary Gregory. |
| 42 | +o MagicNumberFileFilter.accept(Path, BasicFileAttributes) doesn't its byteOffset before reading. Thanks to Gary Gregory. |
| 43 | +o Javadoc improvements. Thanks to Gary Gregory. |
| 44 | +o Spelling #468. Thanks to Josh Soref, Gary Gregory. |
| 45 | +o Use assertThrows #475. Thanks to Jakub Kupczyk. |
| 46 | + |
| 47 | +Changes: |
| 48 | +o Bump jimfs from 1.2 to 1.3.0 #465 (tests). Thanks to Dependabot. |
| 49 | +o Bump commons-parent from 58 to 62. Thanks to Gary Gregory. |
| 50 | +o Bump commons-lang3 from 3.12 to 3.13.0. Thanks to Gary Gregory. |
| 51 | + |
| 52 | +Compatibility with 2.6: |
| 53 | +Binary compatible: Yes. |
| 54 | +Source compatible: Yes. |
| 55 | +Semantic compatible: Yes. |
| 56 | + |
| 57 | +Commons IO 2.9.0 requires Java 8. |
| 58 | +Commons IO 2.8.0 requires Java 8. |
| 59 | +Commons IO 2.7 requires Java 8. |
| 60 | +Commons IO 2.6 requires Java 7. |
| 61 | +Commons IO 2.5 requires Java 6. |
| 62 | +Commons IO 2.4 requires Java 6. |
| 63 | +Commons IO 2.3 requires Java 6. |
| 64 | +Commons IO 2.2 requires Java 5. |
| 65 | +Commons IO 1.4 requires Java 1.3. |
| 66 | + |
| 67 | +Historical list of changes: https://commons.apache.org/proper/commons-io/changes-report.html |
| 68 | + |
| 69 | +For complete information on Apache Commons IO, including instructions on how to submit bug reports, |
| 70 | +patches, or suggestions for improvement, see the Apache Commons IO website: |
| 71 | + |
| 72 | +https://commons.apache.org/proper/commons-io/ |
| 73 | + |
| 74 | +Download page: https://commons.apache.org/proper/commons-io/download_io.cgi |
| 75 | + |
| 76 | +Have fun! |
| 77 | +-Apache Commons Team |
| 78 | + |
| 79 | +============================================================================== |
| 80 | + |
1 | 81 | Apache Commons IO |
2 | 82 | Version 2.13.0 |
3 | 83 | Release Notes |
|
0 commit comments