Skip to content

Commit 43b9994

Browse files
committed
Prepare for the next release candidate
1 parent d9184ed commit 43b9994

3 files changed

Lines changed: 97 additions & 1 deletion

File tree

RELEASE-NOTES.txt

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,91 @@
11

22
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+
--------------------------------------
389

490
The Apache Commons IO team is pleased to announce the release of Apache Commons IO 2.22.0.
591

@@ -54,6 +140,7 @@ Have fun!
54140
------------------------------------------------------------------------------
55141

56142
Apache Commons IO 2.22.0 Release Notes
143+
--------------------------------------
57144

58145
The Apache Commons IO team is pleased to announce the release of Apache Commons IO 2.22.0.
59146

@@ -109,6 +196,7 @@ Have fun!
109196

110197

111198
Apache Commons IO 2.21.0 Release Notes
199+
--------------------------------------
112200

113201
The Apache Commons IO team is pleased to announce the release of Apache Commons IO 2.21.0.
114202

@@ -187,6 +275,7 @@ Have fun!
187275

188276

189277
Apache Commons IO 2.20.0 Release Notes
278+
--------------------------------------
190279

191280
The Apache Commons IO team is pleased to announce the release of Apache Commons IO 2.20.0.
192281

@@ -265,6 +354,7 @@ Have fun!
265354

266355

267356
Apache Commons IO 2.19.0 Release Notes
357+
--------------------------------------
268358

269359
Introduction
270360
------------
@@ -360,6 +450,7 @@ Have fun!
360450

361451

362452
Apache Commons IO 2.18.0 Release Notes
453+
--------------------------------------
363454

364455
Introduction
365456
------------
@@ -438,6 +529,7 @@ Apache Commons Team
438529

439530

440531
Apache Commons IO 2.17.0 Release Notes
532+
--------------------------------------
441533

442534
Introduction
443535
------------
@@ -528,6 +620,7 @@ Have fun!
528620

529621

530622
Apache Commons IO 2.16.1 Release Notes
623+
--------------------------------------
531624

532625
Introduction
533626
------------
@@ -580,6 +673,7 @@ Have fun!
580673

581674

582675
Apache Commons IO 2.16.1 Release Notes
676+
--------------------------------------
583677

584678
Introduction
585679
------------
@@ -631,6 +725,7 @@ Have fun!
631725

632726

633727
Apache Commons IO 2.16.0 Release Notes
728+
--------------------------------------
634729

635730
Introduction
636731
------------

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The <action> type attribute can be add,update,fix,remove.
4545
<title>Apache Commons IO Release Notes</title>
4646
</properties>
4747
<body>
48-
<release version="2.22.0" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required.">
48+
<release version="2.22.0" date="2026-04-19" description="This is a feature and maintenance release. Java 8 or later is required.">
4949
<!-- FIX -->
5050
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix Apache RAT plugin console warnings.</action>
5151
<action type="fix" dev="ggregory" due-to="Gary Gregory, Piotr P. Karwasz">ByteArraySeekableByteChannel.position(long) and truncate(long) shouldn't throw an IllegalArgumentException for a new positive position that's too large #817.</action>

src/changes/release-notes.vm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
## under the License.
1717

1818
Apache Commons IO ${version} Release Notes
19+
--------------------------------------
1920

2021
The ${developmentTeam} is pleased to announce the release of ${project.name} ${version}.
2122

0 commit comments

Comments
 (0)