|
1 | 1 |
|
2 | 2 | Apache Commons IO 2.22.0 Release Notes |
| 3 | +-------------------------------------- |
| 4 | + |
| 5 | +The Apache Commons IO team is pleased to announce the release of Apache Commons IO 2.22.0. |
| 6 | + |
| 7 | +Introduction |
| 8 | +------------ |
| 9 | + |
| 10 | +The Apache Commons IO library contains utility classes, stream implementations, file filters, |
| 11 | +file comparators, endian transformation classes, and much more. |
| 12 | + |
| 13 | +This is a feature and maintenance release. Java 8 or later is required. |
| 14 | + |
| 15 | +New features |
| 16 | +------------ |
| 17 | + |
| 18 | +o Add and use IOUtils.closeQuietlySuppress(Closeable, Throwable) #818. Thanks to Gary Gregory, Piotr P. Karwasz. |
| 19 | +o Add ProxyWriter.setReference(Writer). Thanks to Gary Gregory. |
| 20 | +o Add ProxyWriter.unwrap(). Thanks to Gary Gregory. |
| 21 | +o Add ProxyReader.setReference(Reader). Thanks to Gary Gregory. |
| 22 | +o Add ProxyReader.unrwap(). Thanks to Gary Gregory. |
| 23 | +o IO-883: ByteArraySeekableByteChannel should optionally configure a read-only channel. Thanks to Konrad Windszus, Gary Gregory, Makarand Hinge. |
| 24 | +o IO-883: Add ByteArraySeekableByteChannel.Builder and builder(). Thanks to Gary Gregory. |
| 25 | +o IO-883: Add AbstractStreamBuilder.getByteArray(). Thanks to Gary Gregory. |
| 26 | +o CloseShieldInputStream now supports a custom close shield as a function #836. Thanks to Gary Gregory. |
| 27 | +o Add FlushShieldOutputStream to workaround issues in generic code that ends up calling third parties like like org.tukaani.xz.LZMAOutputStream.flush(). Thanks to Gary Gregory. |
| 28 | +o Add filter channels. Thanks to Gary Gregory. |
| 29 | + |
| 30 | +Fixed Bugs |
| 31 | +---------- |
| 32 | + |
| 33 | +o Fix Apache RAT plugin console warnings. Thanks to Gary Gregory. |
| 34 | +o ByteArraySeekableByteChannel.position(long) and truncate(long) shouldn't throw an IllegalArgumentException for a new positive position that's too large #817. Thanks to Gary Gregory, Piotr P. Karwasz. |
| 35 | +o Fix malformed Javadoc comments. Thanks to Gary Gregory. |
| 36 | +o ReadAheadInputStream.close() doesn't always close its filtered input stream. Thanks to Stanislav Fort, Gary Gregory. |
| 37 | +o ReadAheadInputStream now restores the current thread's interrupt flag when catching InterruptedException. Thanks to Gary Gregory. |
| 38 | +o FileAlterationMonitor.stop(long) now restores the current thread's interrupt flag when catching InterruptedException. Thanks to Gary Gregory. |
| 39 | +o FileCleaningTracker now restores the current thread's interrupt flag when catching InterruptedException. Thanks to Gary Gregory. |
| 40 | +o ThreadMonitor.run() now restores the current thread's interrupt flag when catching InterruptedException. Thanks to Gary Gregory. |
| 41 | +o ThrottledInputStream.throttle() now restores the current thread's interrupt flag when catching InterruptedException. Thanks to Gary Gregory. |
| 42 | +o ThrottledInputStream.throttle() doesn't preserve the original InterruptedException as the cause of its InterruptedIOException. Thanks to Gary Gregory. |
| 43 | +o All thread names are now prefixed with "commons-io-". Thanks to Gary Gregory. |
| 44 | +o IO-639: ReversedLinesFileReader does not read first line if its empty #829. Thanks to Kishor, Mashrur Mia. |
| 45 | +o IO-886: Fixed incorrect regular expression in PathUtils.RelativeSortedPaths.extractKey(String, String). Thanks to Peter De Maeyer. |
| 46 | +o Fix typos in Javadoc of FileUtils and related test classes #833. Thanks to Martin Wiesner. |
| 47 | +o IO-887: WriterOutputStream from a builder fails on malformed or unmappable input bytes. Thanks to Daniel Vega, Gary Gregory. |
| 48 | +o BoundedReader now extends ProxyReader. Thanks to Gary Gregory. |
| 49 | +o AbstractStreamBuilder.setOpenOptions(OpenOption...) now makes a defensive copy of its input array. Thanks to Gary Gregory. |
| 50 | +o IO-885: Path visits follow links #832. Thanks to Peter De Maeyer, Gary Gregory. |
| 51 | +o BOMInputStream fail-fast and tracks its ByteOrderMark as a final #835. Thanks to Gary Gregory. |
| 52 | +o Refactor UnixLineEndingInputStream and WindowsLineEndingInputStream for duplication. Thanks to Gary Gregory. |
| 53 | +o IO-857: [Javadoc] PathUtils.cleanDirectory() methods vs FileUtils. Thanks to Peter De Maeyer, Gary Gregory. |
| 54 | +o Fix JaCoCo report generation (code coverage). Thanks to Gary Gregory. |
| 55 | +o AbstractStreamBuilder.setBufferSizeDefault(int) now resets to default for input less than or equal to zero. Thanks to Gary Gregory. |
| 56 | + |
| 57 | +Changes |
| 58 | +------- |
| 59 | + |
| 60 | +o Bump org.apache.commons:commons-parent from 91 to 98 #816. Thanks to Gary Gregory, Dependabot. |
| 61 | +o Bump commons-codec:commons-codec from 1.19.0 to 1.21.0 #812. Thanks to Gary Gregory, Dependabot. |
| 62 | +o Bump commons.bytebuddy.version from 1.17.8 to 1.18.8 #814, #820, #838. Thanks to Gary Gregory, Dependabot. |
| 63 | +o Bump commons-lang3 from 3.19.0 to 3.20.0. Thanks to Gary Gregory, Dependabot. |
| 64 | + |
| 65 | + |
| 66 | +Commons IO 2.7 and up requires Java 8 or above. |
| 67 | +Commons IO 2.6 requires Java 7 or above. |
| 68 | +Commons IO 2.3 through 2.5 requires Java 6 or above. |
| 69 | +Commons IO 2.2 requires Java 5 or above. |
| 70 | +Commons IO 1.4 requires Java 1.3 or above. |
| 71 | + |
| 72 | +Historical list of changes: https://commons.apache.org/proper/commons-io/changes.html |
| 73 | + |
| 74 | +For complete information on Apache Commons IO, including instructions on how to submit bug reports, |
| 75 | +patches, or suggestions for improvement, see the Apache Commons IO website: |
| 76 | + |
| 77 | +https://commons.apache.org/proper/commons-io/ |
| 78 | + |
| 79 | +Download page: https://commons.apache.org/proper/commons-io/download_io.cgi |
| 80 | + |
| 81 | +Have fun! |
| 82 | +-Apache Commons Team |
| 83 | + |
| 84 | +------------------------------------------------------------------------------ |
| 85 | + |
| 86 | + |
| 87 | +Apache Commons IO 2.22.0 Release Notes |
| 88 | +-------------------------------------- |
3 | 89 |
|
4 | 90 | The Apache Commons IO team is pleased to announce the release of Apache Commons IO 2.22.0. |
5 | 91 |
|
@@ -54,6 +140,7 @@ Have fun! |
54 | 140 | ------------------------------------------------------------------------------ |
55 | 141 |
|
56 | 142 | Apache Commons IO 2.22.0 Release Notes |
| 143 | +-------------------------------------- |
57 | 144 |
|
58 | 145 | The Apache Commons IO team is pleased to announce the release of Apache Commons IO 2.22.0. |
59 | 146 |
|
@@ -109,6 +196,7 @@ Have fun! |
109 | 196 |
|
110 | 197 |
|
111 | 198 | Apache Commons IO 2.21.0 Release Notes |
| 199 | +-------------------------------------- |
112 | 200 |
|
113 | 201 | The Apache Commons IO team is pleased to announce the release of Apache Commons IO 2.21.0. |
114 | 202 |
|
@@ -187,6 +275,7 @@ Have fun! |
187 | 275 |
|
188 | 276 |
|
189 | 277 | Apache Commons IO 2.20.0 Release Notes |
| 278 | +-------------------------------------- |
190 | 279 |
|
191 | 280 | The Apache Commons IO team is pleased to announce the release of Apache Commons IO 2.20.0. |
192 | 281 |
|
@@ -265,6 +354,7 @@ Have fun! |
265 | 354 |
|
266 | 355 |
|
267 | 356 | Apache Commons IO 2.19.0 Release Notes |
| 357 | +-------------------------------------- |
268 | 358 |
|
269 | 359 | Introduction |
270 | 360 | ------------ |
@@ -360,6 +450,7 @@ Have fun! |
360 | 450 |
|
361 | 451 |
|
362 | 452 | Apache Commons IO 2.18.0 Release Notes |
| 453 | +-------------------------------------- |
363 | 454 |
|
364 | 455 | Introduction |
365 | 456 | ------------ |
@@ -438,6 +529,7 @@ Apache Commons Team |
438 | 529 |
|
439 | 530 |
|
440 | 531 | Apache Commons IO 2.17.0 Release Notes |
| 532 | +-------------------------------------- |
441 | 533 |
|
442 | 534 | Introduction |
443 | 535 | ------------ |
@@ -528,6 +620,7 @@ Have fun! |
528 | 620 |
|
529 | 621 |
|
530 | 622 | Apache Commons IO 2.16.1 Release Notes |
| 623 | +-------------------------------------- |
531 | 624 |
|
532 | 625 | Introduction |
533 | 626 | ------------ |
@@ -580,6 +673,7 @@ Have fun! |
580 | 673 |
|
581 | 674 |
|
582 | 675 | Apache Commons IO 2.16.1 Release Notes |
| 676 | +-------------------------------------- |
583 | 677 |
|
584 | 678 | Introduction |
585 | 679 | ------------ |
@@ -631,6 +725,7 @@ Have fun! |
631 | 725 |
|
632 | 726 |
|
633 | 727 | Apache Commons IO 2.16.0 Release Notes |
| 728 | +-------------------------------------- |
634 | 729 |
|
635 | 730 | Introduction |
636 | 731 | ------------ |
|
0 commit comments