20
0
This commit is contained in:
Fridrich Strba
2026-05-06 09:27:19 +02:00
parent d812a256ae
commit d51ea284c8
7 changed files with 79 additions and 16 deletions
+66
View File
@@ -1,3 +1,69 @@
-------------------------------------------------------------------
Wed May 6 07:16:05 UTC 2026 - Fridrich Strba <fstrba@suse.com>
- Upgrade to 2.22.0
* New features
+ Add and use IOUtils.closeQuietlySuppress(Closeable, Throwable)
+ Add ProxyWriter.setReference(Writer)
+ Add ProxyWriter.unwrap()
+ Add ProxyReader.setReference(Reader)
+Add ProxyReader.unrwap()
+ IO-883: ByteArraySeekableByteChannel should optionally
configure a read-only channel
+ IO-883: Add ByteArraySeekableByteChannel.Builder and builder()
+ IO-883: Add AbstractStreamBuilder.getByteArray()
+ CloseShieldInputStream now supports a custom close shield as
a function
+ Add FlushShieldOutputStream to workaround issues in generic
code that ends up calling third parties like like
org.tukaani.xz.LZMAOutputStream.flush()
+ Add filter channels
* Fixed Bugs
+ Fix Apache RAT plugin console warnings
+ ByteArraySeekableByteChannel.position(long) and truncate(long)
shouldn't throw an IllegalArgumentException for a new positive
position that's too large
+ Fix malformed Javadoc comments
+ ReadAheadInputStream.close() doesn't always close its filtered
input stream
+ ReadAheadInputStream now restores the current thread's
interrupt flag when catching InterruptedException
+ FileAlterationMonitor.stop(long) now restores the current
thread's interrupt flag when catching InterruptedException
+ FileCleaningTracker now restores the current thread's
interrupt flag when catching InterruptedException
+ ThreadMonitor.run() now restores the current thread's
interrupt flag when catching InterruptedException
+ ThrottledInputStream.throttle() now restores the current
thread's interrupt flag when catching InterruptedException
+ ThrottledInputStream.throttle() doesn't preserve the original
InterruptedException as the cause of its
InterruptedIOException
+ All thread names are now prefixed with "commons-io-"
+ IO-639: ReversedLinesFileReader does not read first line if
its empty
+ IO-886: Fixed incorrect regular expression in
PathUtils.RelativeSortedPaths.extractKey(String, String)
+ Fix typos in Javadoc of FileUtils and related test classes
+ IO-887: WriterOutputStream from a builder fails on malformed
or unmappable input bytes
+ BoundedReader now extends ProxyReader
+ AbstractStreamBuilder.setOpenOptions(OpenOption...) now makes
a defensive copy of its input array
+ IO-885: Path visits follow links
+ BOMInputStream fail-fast and tracks its ByteOrderMark as a final
+ Refactor UnixLineEndingInputStream and
WindowsLineEndingInputStream for duplication
+ IO-857: [Javadoc] PathUtils.cleanDirectory() methods vs FileUtils
+ Fix JaCoCo report generation (code coverage)
+ AbstractStreamBuilder.setBufferSizeDefault(int) now resets to
default for input less than or equal to zero
* Changes
+ Bump org.apache.commons:commons-parent from 91 to 98
+ Bump commons-codec:commons-codec from 1.19.0 to 1.21.0
+ Bump commons.bytebuddy.version from 1.17.8 to 1.18.8
+ Bump commons-lang3 from 3.19.0 to 3.20.0
-------------------------------------------------------------------
Fri Feb 6 12:48:41 UTC 2026 - Fridrich Strba <fstrba@suse.com>
+1 -1
View File
@@ -19,7 +19,7 @@
%define base_name io
%define short_name commons-%{base_name}
Name: apache-%{short_name}
Version: 2.21.0
Version: 2.22.0
Release: 0
Summary: Utilities to assist with developing IO functionality
License: Apache-2.0
+1 -1
View File
@@ -10,7 +10,7 @@
<property name="project.groupId" value="commons-io"/>
<property name="project.artifactId" value="commons-io"/>
<property name="project.version" value="2.21.0"/>
<property name="project.version" value="2.22.0"/>
<property name="project.name" value="Apache Commons IO"/>
<property name="project.description" value="The Apache Commons IO library
contains utility classes, stream implementations, file filters,
Binary file not shown.
-11
View File
@@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAmkKYa0ACgkQhv3H4qES
YsvkdAf+PLhq9xoLyKDxMVYZf+mZg+4cdD0+iJm74CdhGPm6SYJytQ7UYEn8FXYN
VEbWddB9O6y3Vh4Zal4IQKAmztCwNiMzrtvENaGozyRN3H8ENEMMu6NU1LxxJTTE
IKPQfCushQxvmmSBdb5TVp58LyER587Batad8QR2DZIxAqnDyRYqzuPD7LpK4qDW
tBkLBYiyo8MtvIO3oTml7QnJc1qpP/ft1VpDC19BLT1GcCnB84PkdgokocgQwbsJ
EJq8URYI+wiSaD64aYH5KTRXZzYdS4GjqM/pd15DKEwl9GFzl03e7huCjRB3r8Qi
YGsOPWv/5Ow0wnlWgWxkzdHGuhWi3w==
=OFkH
-----END PGP SIGNATURE-----
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
-----BEGIN PGP SIGNATURE-----
iJEEABYKADkWIQT03VnJAUi9xSvrkKRTCqXyXCUBHwUCaeTEEhsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwwLDMACgkQUwql8lwlAR9sRAEAvrM5uz2uTrO2HkRgWkfL
ucWbHaTeou3X/dyQMDNQLyoA/3iqm/9ACoK3EnrJq7U2E+5IxgaPYZbT28lQIC/3
ZR4F
=z/46
-----END PGP SIGNATURE-----