Fixed
Details
Priority
MajorFix versions
25 Status
MergedComponents
Assignee
David HorwitzDavid HorwitzReporter
David HorwitzDavid HorwitzLabels
Details
Details
Priority
Fix versions
25 Status
Merged
Components
Assignee
David Horwitz
David HorwitzReporter
David Horwitz
David HorwitzLabels
Created last week
Updated last week
Resolved last week
Release 2.19.0 – 2025-04-08
Type
Changes
By
Deprecate constructor Counters.Counters() to be private in 4.0. Thanks to Gary Gregory.
ggregory
Deprecate constructor Charsets.Charsets() to be private in 4.0. Thanks to Gary Gregory.
ggregory
Pick up maven-antrun-plugin version from parent POM org.apache:apache. Thanks to Gary Gregory.
ggregory
Javadoc is missing its Overview page. Thanks to Gary Gregory.
ggregory
Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80). Thanks to Gary Gregory.
ggregory
Deprecate DeferredFileOutputStream.getStream() in favor of getOutputStream(). Thanks to Gary Gregory.
ggregory
Improve Javadoc for a BoundedInputStream builder() throwing IOException. Fixes IO-868. Thanks to Julian Reschke, Gary Gregory.
ggregory
Improve Javadoc for all implementations of AbstractOriginSupplier#get(). Fixes IO-868. Thanks to Julian Reschke, Gary Gregory.
ggregory
The Consumer to IOUtils.closeQuietly(Closeable, Consumer) now accepts Exception, not just IOException. Thanks to Gary Gregory.
ggregory
The Consumer to IOUtils.close(Closeable, IOConsumer) now accepts wrapped Exception, not just IOException. Thanks to Gary Gregory.
ggregory
Use Uncheck.getAsBoolean(IOBooleanSupplier) to avoid boxing and unboxing of boolean values. Thanks to Gary Gregory.
ggregory
Avoid unnecessary boxing and unboxing of long values in FileUtils.sizeOf(File). Thanks to Gary Gregory.
ggregory
Avoid unnecessary boxing and unboxing of int values in UncheckedBufferedReader.read(). Thanks to Gary Gregory.
ggregory
Avoid unnecessary boxing and unboxing of int values in UncheckedFilterInputStream.available() and read(). Thanks to Gary Gregory.
ggregory
Avoid unnecessary boxing and unboxing of int values in UncheckedFilterReader.read(). Thanks to Gary Gregory.
ggregory
FileChannels.contentEquals(FileChannel, FileChannel, int) can return false when comparing a non-blocking channel. Thanks to Gary Gregory.
ggregory
Deprecate FileChannels.contentEquals(FileChannel, FileChannel, int) in favor of FileChannels.contentEquals(SeekableByteChannel, SeekableByteChannel, int). Thanks to Gary Gregory.
ggregory
Improve performance of IOUtils.contentEquals(InputStream, InputStream) by about 13%. Thanks to Gary Gregory.
ggregory
PathUtils.copyFileToDirectory() across file systems #728. Fixes IO-870. Thanks to Gary Gregory.
ggregory
IOUtils.contentEquals is incorrect when InputStream.available under-reports. Fixes IO-871. Thanks to Éamonn McManus, Gary Gregory.
ggregory
java.lang.ArithmeticException: long overflow java.lang.Math.addExact(Math.java:932) at org.apache.commons.io.file.attribute.FileTimes.ntfsTimeToFileTime(FileTimes.java:164). See also https://issues.apache.org/jira/browse/MDEP-978 . Fixes IO-873. Thanks to Gary Gregory.
ggregory
java.lang.ArithmeticException: long overflow java.lang.Math.addExact(Math.java:932) at org.apache.commons.io.file.attribute.FileTimes.ntfsTimeToDate(long). Fixes IO-873. Thanks to Gary Gregory.
ggregory
FileTimes.toNtfsTime(*) methods can overflow result values. Thanks to Gary Gregory.
ggregory
Fix Javadoc for ChunkedOutputStream.Builder. Thanks to Gary Gregory.
ggregory
General Javadoc improvements. Thanks to Gary Gregory.
ggregory
Calling QueueInputStream.QueueInputStream(null) maps to the same kind of default blocking queue as QueueInputStream.Builder.setBlockingQueue(null). Thanks to Gary Gregory.
ggregory
CopyDirectoryVisitor creates incorrect file names when copying between different file systems that use different file system separators ("/" versus "\"); fixes PathUtils.copyDirectory(Path, Path, CopyOption...). Thanks to Gary Gregory.
ggregory
ThreadUtils.sleep(Duration) should handle the underlying OS time changing. Thanks to zhouchongwen, Gary Gregory.
ggregory
Add ThrottledInputStream.Builder.setMaxBytes(long, ChronoUnit). Fixes IO-860. Thanks to Nico Strecker, Gary Gregory.
ggregory
Add IOIterable. Thanks to Gary Gregory.
ggregory
ReversedLinesFileReader implements IOIterable<String>. Thanks to Gary Gregory.
ggregory
Add AbstractByteArrayOutputStream.write(CharSequence, Charset). Thanks to Gary Gregory.
ggregory
Add AbstractByteArrayOutputStream.write(byte[]). Thanks to Gary Gregory.
ggregory
Add RandomAccessFileOutputStream.getRandomAccessFile(). Thanks to Gary Gregory.
ggregory
Add ProxyInputStream.setReference(InputStream), was package-private setIn(InputStream). Thanks to Gary Gregory.
ggregory
Add ProxyOutputStream.setReference(OutputStream). Thanks to Gary Gregory.
ggregory
Add RandomAccessFileInputStream.copy(long, long, OutputStream). Thanks to Gary Gregory.
ggregory
Add ProxyOutputStream.Builder. Thanks to Gary Gregory.
ggregory
Add ByteOrderMark.matches(int[]). Thanks to Gary Gregory.
ggregory
Add BrokenOutputStream.BrokenOutputStream(Function<String>, Throwable>) and deprecate Supplier<String> constructor. Thanks to Gary Gregory.
ggregory
Add IOBooleanSupplier. Thanks to Gary Gregory.
ggregory
Add Uncheck.getAsBoolean(IOBooleanSupplier). Thanks to Gary Gregory.
ggregory
Add FileChannels.contentEquals(SeekableByteChannel, SeekableByteChannel, int). Thanks to Gary Gregory.
ggregory
Add FileChannels.contentEquals(ReadableByteChannel, ReadableByteChannel, int). Thanks to Gary Gregory.
ggregory
Add SimplePathVisitor.AbstractBuilder. Fixes IO-872. Thanks to Gary Gregory.
ggregory
Add CountingPathVisitor.AbstractBuilder and CountingPathVisitor.Builder. Fixes IO-872. Thanks to Gary Gregory.
ggregory
Add AccumulatorPathVisitor.Builder and builder(). Fixes IO-872. Thanks to Gary Gregory.
ggregory
Add PathUtils.contentEquals(FileSystem, FileSystem). Thanks to Gary Gregory.
ggregory
Bump commons.bytebuddy.version from 1.15.10 to 1.17.5 #710, #715, #720, #734, #735. Thanks to Dependabot, Gary Gregory.
ggregory
Bump commons-codec:commons-codec from 1.17.1 to 1.18.0. #717. Thanks to Gary Gregory.
ggregory
Bump org.apache.commons:commons-parent from 78 to 81. Thanks to Gary Gregory.
ggregory