Changes Report

Release History

Version Date Description
2.0 October 20, 2008 Java 5.0 release
1.5.0
1.4.1 December 3, 2005 fix release to restore jdk 1.3 compatability
1.4.0 May 7, 2005 Some additions and enhancements
1.3.0 December 15, 2004 many fixes and enhancements
1.3.0-dev July 28, 2004 regression fix
1.2.2 June 25, 2004 fix release
1.2.1 May 6, 2004 fix release
1.2.0 April 30, 2004 autodetection of system for listings
1.1.1 TBD last jdk1.1 compatible release
1.1.0 October 23, 2003 many enhancements and bug fixes
1.0.0 February 23, 2003 first jakarta-commons release


Release 2.0 - October 20, 2008

Type Changes By
update Add null check in TelnetClient::disconnect(). rwinston
remove Remove deprecated FTPFileIterator and FTPFileList classes. rwinston
add Add connection timeout functionality to SocketClient. rwinston
update Make the KeyManager and TrustManager settable (niklas@protocol7.com). rwinston
update Patch FTPSClient to set default SSLServerSocketFactory. Thanks niklas@protocol7.com rwinston
fix Patch to prevent TFTPClient dropping last packet. Thanks palm@poplarware.com Fixes NET-68 . rwinston
update Change isConnected() method to delegate to underlying socket connection. rwinston
add FTPS (TLS and SSL) is now supported. Thanks to Jose Juan Montiel, Paul Ferraro, and Satoshi Ishigami. rwinston
update Commons::Net now uses Maven 2. The project.xml has been replaced with a pom.xml, and the source tree layout has been changed accordingly. rwinston
remove Removed old ftp2 proposal directories. rwinston
update Commons::Net now uses JDK regex functionality, saving on an extra [oro] dependency. There are now no external dependencies required. rwinston
fix Various syntactic issues (FindBugs issues, JDK 5.0 generics support) rwinston
fix Applied Rob Hasselbaum's rhasselbaum -> alumni.ithaca.edu patch for PR 38688 fixing a TelnetInputStream hang. dfs
update Exposed control connection of FTP class via _controlInput_ and _controlOutput_ protected member variables in response to PR 38309 reported by josejuan.montiel@gmail.com. dfs
fix Reverted PR 32859 patch to TFTPClient because it caused final packets to not be sent. dfs
update Make FTPClient extend SocketClient instead of TelnetClient. From jhindsley@providerlink.com Fixes NET-36 . rwinston
fix Adds an "e" symbolic link flag to the Unix FTP parser. From denisgaebler@netscape.net Fixes NET-39 . rwinston
fix Allow hidden files to be listed. Thanks to mario@ops.co.at Fixes NET-119 . rwinston
update Remove reflective check for Socket::isConnected() (no longer needed) rwinston
add Added WindowSizeOptionHandler for TelnetClient. Thanks to yuvalkashtan@gmail.com Fixes NET-136 . rwinston
update Refactored *Client classes under net/ package into separate subpackages, and move PrintCommandListener out of the examples/ package. rwinston
add Added an ant target to the Maven build to generate an FTP-only jar file, for clients who wish to use only FTP-based functionality. rwinston
update Custom SocketFactory interface has been replaced with the JDK SocketFactory implementation. Added ServerSocketFactory instance to SocketClient. rwinston
update Removed redundant FTP.IMAGE_FILE_TYPE flag. rwinston
update Added heavily updated MVSFTPEntryParser from henrik.sorensen@balcab.ch rwinston
remove Removed deprecated classes FTPFileListParser, FTPFileListParserImpl, and DefaultFTPFileListParser. Also removed associated deprecated methods from FTPClient. rwinston
fix Added encoding to FingerClient. From Ulrich Mayring. Fixes NET-164 . rwinston
fix Catch BindException in RCommandClient::connect(). Fixes NET-24 . rwinston
fix Add encoding specifier to SMTPClient. Fixes NET-178 . rwinston
add Add setters for socket send/receive buffer size to SocketClient. rwinston
fix Fix PASV specifiers that broke previously. From Chris Eagle. Fixes NET-177 . rwinston
fix Catch NPE in FTP parser factory method. Fixes NET-182 . rwinston
fix Don't bind a UDP socket to NTP protocol port. Fixes NET-172 . rwinston
fix Better handling of user and group names with embedded spaces in FTP listings. rwinston
fix Add configurable multiline parsing. Fixes NET-173 . rwinston
fix Add fix for broken leap year date parsing. Fixes NET-188 . rwinston
add Add SubnetUtils class (suggested by Kenny McLeod) rwinston
fix Add Unix-type handling for UNKNOWN Type: L8 syst() message systems. Fixes NET-169 . rwinston
fix Allow FTPTimestampParserImpl to take a predefined Calendar instance representing current time. Fixes NET-198 . rwinston
fix Replace Exception with IOException Fixes NET-194 . sebb
update VMS file permission parsing Fixes NET-214 . sebb
fix TelnetInputStream swallows interruptedexception as IOException Fixes NET-208 . sebb
fix the data connection socket is not closed when an IOException occurred Fixes NET-223 . sebb
fix ParserInitializationException when connecting to a Unix FTP server: comparison string must be upper case Fixes NET-230 . sebb
fix FTPFileEntryParserImpl.preParse() doesn't remove unparsable entries at the end of the file list Fixes NET-225 . sebb

Release 1.5.0 -

Type Changes By
fix TelnetInputStream.java: Applied Rob Hasselbaum's rhasselbaum@alumni.ithaca.edu patch for PR 38688 fixing a TelnetInputStream hang. Fixes NET-3 . dfs
fix TelnetInputStream.java: Fixing another potential deadlock for telnet and FTP (patch courtesy Rob Hasselbaum). Fixes NET-73 . rwinston
update FTP.java: Exposed control connection of FTP class via _controlInput_ and _controlOutput_ protected member variables in response to PR 38309 reported by josejuan.montiel@gmail.com. Fixes NET-57 . dfs
fix TFTPClient.java: Fix bug causing final packets to not be sent. Fixes NET-68 . rwinston
fix TFTPClient.java: Fix sendFile() (related to NET-68). Fixes NET-161 . rwinston
fix TFTPClient.java: block number wraparound. Fixes NET-181 . rwinston
fix UNIXFTPEntryParser.java: support for group names with spaces (patch courtesy D. Kilzer). Fixes NET-16 . scohen
fix DefaultFTPFileEntryParserFactory.java: Wrap NoClassDefFoundError in FTP parser exception when ORO is not available. Fixes NET-62 . scohen
add FTPClient.java: Fix closing FTP ServerSocket after timeout Fixes NET-33 . rwinston
add FTPClientConfig.java: Added an FTP parser for Netware FTP servers. Tested on Novell Netware 6.5. rwinston
fix FTPTimestampParserImpl.java: Fix leap year date parsing bug. Fixes NET-188 . rwinston
fix Article.java: Fix minor issues with NNTP parsing. rwinston

Release 1.4.1 - December 3, 2005

Type Changes By
fix Applied patches for defect 37113. Code incompatible with jdk 1.3. Original patch submitted by Andrea Rombald scohen
fix Applied patches for defect 37522. updated project.xml to correct compatibility level. scohen

Release 1.4.0 - May 7, 2005

Type Changes By
fix Fixed typo in method name. FTP.removeCommandListener() was missing the L. Problem reported by Per.Lindberger@linkon.se. dfs
fix Applied fix for PR 33942 and PR 31793. Original patch submitted by mario@ops.co.at rwinston
fix TFTPClient was ignoring final ACK (PR 32859). Thanks to perttu.auramo@ekahau.com rwinston
fix Applied fix for ACL parsing in the FTP client (PR 33972). Submitted by robertalasch@yahoo.com rwinston
fix Added missing NTP/SNTP unit tests to the codebase. rwinston
fix Applied fix for POP3Client returning empty reply strings (PR 34133). Thanks to sammy_c@lineone.net dfs
fix NTP port parameter was being ignored (PR 34219). Fixed by felix.eichhorn@3soft.de rwinston
add An FTP parser for MVS was added. Submitted by wnoto@openfinance.com scohen
add Added functionality for extensible parsing of FTP responses, using a configurable format string. This should enable the FTP client to operate across many different locales and date formats. scohen

Release 1.3.0 - December 15, 2004

Type Changes By
fix Applied patch for PR 31793. Thanks to mario@ops.co.at rwinston
add Added message threading functionality to the NNTP client. rwinston
update Added return code 521 to FTPReply.java - this should obviate the need for the Ant FTP task to manually declare it. rwinston
fix Add explicit notify() in TelnetInputStream::read(), so available() returns an accurate value. Thanks to tpalkot@gmail.com. rwinston
add Added SNTP/NTP components into the Commons-Net codebase, courtesy of Jason Matthews. rwinston
add Added POP3 test suite, courtesy of Mike George mike.george@comcast.net. rwinston
fix Applied fix for FTPClient returning null for certain timestamp formats (BUG #30737) scohen
fix Build.xml fixes - dont include example classes in redistributable .jar, remove test dependency from javadoc target, and exclude private members from generated javadoc. rwinston
fix Fixed bug in TFTPClient::setMaxTimeout(), spotted by steve@widge.net rwinston
fix Some changes to facilitate compilation under JDK 5.0 dfs
fix Return correct NNTP article count when high and low watermarks are 0. Spotted by jmordax@terra.es rwinston
fix Remove trailing null byte in TFTP packets. Thanks to gerard.dens@alcatel.be rwinston
fix Many javadoc fixes. dfs
update Allow FTPClient to set transfer buffer size. rwinston
update Ensure consistent handling of encoding throughout FTPClient operations. Patch submitted by leif@tanukisoftware.com. rwinston
fix Fix TelnetClient zombie thread issue dfs

Release 1.3.0-dev - July 28, 2004

Type Changes By
fix Fixed regression from migration to new parsers. Most of the new parsers parsed the file size as an integer instead of a long. Changed all of them to set the size to long. This problem was detected by the reporter of: http://issues.apache.org/bugzilla/show_bug.cgi?id=30345 dfs

Release 1.2.2 - June 25, 2004

Type Changes By
fix fixed bug in the way FTPClient.listFiles worked when a directory was not specified. Current directory was not being 'remembered'. This was most problematic in the dependent ftp task of Ant. scohen
fix fixed handling of certain unusual "special" file types in the Unix parser. scohen

Release 1.2.1 - May 6, 2004

Type Changes By
fix changed code that rendered package uncompilable under JDK 1.2 scohen

Release 1.2.0 - April 30, 2004

Type Changes By
fix Mario Ivankovits mario@ops.co.at added functionality supporting correct handling of the "dirstyle" attribute of NT and OS400 servers that allows them to mimic Unix ftp servers. and a bug fix affecting handling of sticky and suid bits on Unix FTP servers. scohen
add Mario Ivankovits mario@ops.co.at added parser for OS400. scohen
fix Added a functional junit test testing list parsing against real servers and fix several bugs found through this test. jbrekke,scohen
add to add the XHDR extended NNTP command. dfs
update Deprecated FTPFileListParser interface, DefaultFTPFileListParser class, and the FTPClient.listFiles methods that accepted an FTPFileListParser parameter. These deprecated classes and methods will be removed in version 2.0. scohen,dfs
add Added org.apache.commons.net.parser.FTPFileEntryParserFactory interface and a default implementation: DefaultFTPFileEntryParserFactory. This addition facilitates the autodetection of which FTPFileEntryParser to use to generate listings. FTPClient.listFiles methods were added that implement autodetection. scohen

Release 1.1.1 - TBD

Type Changes By
fix Removed all JDK 1.1 incompatibilities that had been introduced unintentionally in previous versions. Release 1.1.1 is the last JDK 1.1 compatible release. Any future 1.1.x maintenance releases will remain JDK !.1 compatible, but version 1.2 may break compatibility and will be guaranteed to work with only J2SE 1.2 and later. scohen

Release 1.1.0 - October 23, 2003

Type Changes By
add Rory Winston Rory.Winston@telewest.co.uk provided patches to add the following extended NNTP commands to NNTPClient: XOVER, AUTHINFO USER, AUTHINFO PASS, and LIST ACTIVE. dfs
fix Changed connection hooks for FTP, SMTP, POP3, and NNTP classes to force use of an 8-bit US-ASCII superset (ISO-8859-1) for protocol communication. This was necessary because InputStreamReader and OutputStreamWriter use the default client-side character set encoding. fasselin@ca.ibm.com reported failure of SMTP on OS/390 which has EBCDIC as the native character set. dfs
fix where the space between user name and group is omitted. dfs
fix Applied patch from Stephane Este-Gracias sestegra@free.fr that fixes the parsing of VMS listings by VMSFTPEntryParser.. dfs
fix If the buffer queue run full, the run() method sometimes hangs forever. Changed wait() to wait(100) as with other changes in TelnetInputStream. Fix submitted From: J. Matysiak ( j.matysiak@cenit.de ). brekke
fix FTP.smnt(String dir) was not passing on the dir to the SMNT command as an argument. brekke
add Added a link to the FAQ currently hosted on the Apache Wiki. brekke
update Changed package private NNTP._reader and NNTP._writer member variables to protected NNTP._reader_ and NNTP._writer_ variables as suggested by issue report 16995 to facilitate extending NNTPClient functionality in subclasses. dfs
update Changed name of FTPClient.__openDataConnection() to FTPClient._openDataConnection_() to remain consistent with the convention in the code that protected members are of the form _foo_. At some point __openDataConnection() had been changed from private to protected. dfs
add Added terminal option support to the telnet client with tests. From Bruno D'Avanzo ( b.davanzo@inwind.it ). brekke
add New parsers merged with mainline with support for old list parsers. scohen

Release 1.0.0 - February 23, 2003

Type Changes By
add Added a migration document for moving from NetComponents to Commons/Net. brekke
fix Moved the ftp2 tree with tests to a proposal directory and setup a build for that code. This can grow in this area so users don't think it is production ready. brekke
fix Cleaned up license header on some source. dfs
fix Moved .io and .util to .net.io and .net.util in preparation for 1.0 release. dfs
fix Fixed typo in NNTP.removeProtocolCommandListener() method name. It was missing an L. From: joev@atg.com. dfs
add Various site updates including this changes doc and publish date information. brekke
fix Patch for restarting FTP file transfers. The offset was not being sent immediately before the data transfer command on account. The bug was apparently introduced in NetComponents when it was decided to always send a PORT command before each data transfer to avoid socket reuse problems on Windows. From: Tapan Karecha ( tapan@india.hp.com ). dfs
fix Applied a fix for potential deadlock in TelnetInputStream by changing a wait() to a wait(100). From: Tapan Karecha ( tapan@india.hp.com ). dfs
update FTP examples now use passive ftp connections. dfs