From: Gary Gregory <ggregory(a)apache.org>
Subject: [ANNOUNCEMENT] Apache Commons IO 2.1 Released
Date: October 10, 2011 5:13:43 PM GMT+02:00
To: announce(a)apache.org, dev(a)commons.apache.org, user(a)commons.apache.org
The Commons IO team is pleased to announce the Commons IO 2.1 release!
The Commons IO library contains utility classes, stream implementations, file filters,
file comparators and endian classes.
This is a drop-in replacement for 2.0.1. A list of the 7 new features, 1 change and 7 bug
fixes in this release are found in the
release notes and below.
https://commons.apache.org/io/changes-report.html#a2.1
For general information on Commons IO please visit the website:
http://commons.apache.org/io/
The latest version may be downloaded from the following page:
http://commons.apache.org/io/download_io.cgi
Thanks again to all involved in the release, both Commons users and
Commons developers.
= New features since 2.0.1 =
o Use standard Maven directory layout Issue: IO-285. Thanks to ggregory.
o Add IOUtils API toString for URL and URI to get contents Issue: IO-284. Thanks to
ggregory.
Could be useful to replace our XWiki.getURLContent() implementation.
Thanks
-Vincent
o Add API FileUtils.copyFile(File input, OutputStream
output) Issue: IO-282. Thanks to ggregory.
o FileAlterationObserver has no getter for FileFilter Issue: IO-262.
o Add FileUtils.getFile API with varargs parameter Issue: IO-261.
o Add new APPEND parameter for writing string into files Issue: IO-182.
o Add new read method "toByteArray" to handle InputStream with known size.
Issue: IO-251. Thanks to Marco Albini.
= Fixed Bugs since 2.0.1 =
o Dubious use of mkdirs() return code Issue: IO-280. Thanks to sebb.
o ReaderInputStream enters infinite loop when it encounters an unmappable character
Issue: IO-277.
o FileUtils.moveFile() JavaDoc should specify FileExistsException thrown Issue: IO-264.
o ClassLoaderObjectInputStream does not handle Proxy classes Issue: IO-260.
o Tailer returning partial lines when reaching EOF before EOL Issue: IO-274. Thanks to
Frank Grimes.
o FileUtils.copyFile() throws IOException when copying large files to a shared directory
(on Windows) Issue: IO-266. Thanks to Igor Smereka.
o FileSystemUtils.freeSpaceKb throws exception for Windows volumes with no visible
files.
Improve coverage by also looking for hidden files. Issue: IO-263. Thanks to Gil
Adam.
= Changes since 2.0.1 =
o FileAlterationMonitor.stop(boolean allowIntervalToFinish) Issue: IO-259.
Gary, on behalf of the Apache Commons community
--
E-Mail: garydgregory(a)gmail.com | ggregory(a)apache.org
JUnit in Action, 2nd Ed:
http://bit.ly/ECvg0
Spring Batch in Action:
http://bit.ly/bqpbCK
Blog:
http://garygregory.wordpress.com
Home:
http://garygregory.com/
Tweet!
http://twitter.com/GaryGregory