Changes Report

Release History

VersionDateDescription
1.22007-02-13
1.1.12006-06-08Bugfix release
1.12005-12-24Portlet support, substantial refactoring and numerous bug fixes
1.02003-06-26Initial release


Release 1.2 - 2007-02-13

TypeChangesBy
fixMade Streams.asString static. Thanks to Aaron Freeman.jochen
updateEliminated duplicate code. Fixes FILEUPLOAD-109.jochen
addAdded a streaming API. Fixes FILEUPLOAD-112.jochen
fixEliminated the necessity of a content-length header. Fixes FILEUPLOAD-93.jochen
fixEliminated the limitation of a maximum size for a single header line. (The total size of all headers is already limited, so there's no need for another limit.) Fixes FILEUPLOAD-108. Thanks to Amichai Rothman.jochen
addAdded the ProgressListener, which allows to implement a progress bar. Fixes FILEUPLOAD-87.jochen
addAdded support for header continuation lines. Fixes FILEUPLOAD-111. Thanks to Amichai Rothman.jochen
addIt is now possible to limit the actual file size and not the request size. Fixes FILEUPLOAD-88. Thanks to Andrey Aristarkhov.jochen
addAdded the FileCleanerCleanup as an example for how to close down the FileCleaner's reaper thread nicely. Fixes FILEUPLOAD-120. Thanks to Henry Yandell.jochen
fixA descriptive NPE is now thrown, if the FileItemFactory has not been set. Fixes FILEUPLOAD-123.jochen

Release 1.1.1 - 2006-06-08

TypeChangesBy
fixCache disk file item size when it is moved to a new location. Fixes FILEUPLOAD-20.martinc
fixFile names were being inadvertently converted to lower case. Fixes FILEUPLOAD-30.martinc

Release 1.1 - 2005-12-24

TypeChangesBy
updateUpdates for FileUpload 1.1-RC1.martinc
addAdded release notes for FileUpload 1.1.martinc
updateUpdate the User Guide to document the "right" way of using FileUpload 1.1, rather than the older, and thus deprecated, ways that are compatible with FileUpload 1.0.martinc
addAdd this change log, including all changes since the Commons FileUpload 1.0 release.martinc
updateUpdate Commons IO dependency to version 1.1.martinc
addAdd custom PMD configuration.martinc
updateMake inner exception classes static, which they should have been all along.martinc
fixFix Checkstyle warnings.martinc
fixRemove Javadoc warnings. Fixes FILEUPLOAD-29. Thanks to Rahul Akolkar.martinc
updatemartinc
addAdd custom Checkstyle configuration.martinc
updateUpdate dependencies in POM, and add comments and scope.martinc
updateStandardise on @throws instead of having a mixture of that and @exception.martinc
fixMake DiskFileItem serializable. Thanks to Niall Pemberton for the suggestion and patch. Fixes FILEUPLOAD-50. Thanks to Niall Pemberton.martinc
updateMake the temporary file names unique across class loaders, not just within them, by including a UID in the file name.martinc
fixInclude the actual and permitted sizes in both the exception message and the exception itself. Fixes FILEUPLOAD-77.martinc
fixIf an explicit header encoding is not specified, use the one from the appropriate context (i.e. ServletRequest or ActionRequest). Fixes FILEUPLOAD-13.martinc
addAdd getCharacterEncoding to the request context.martinc
fixNull check and case insensitivity fixes. Fixes FILEUPLOAD-83.martinc
updatemartinc
fixFixes to POMs Fixes COMMONSSITE-2.dion
updateSetting source and target for Java 1.3mrdon
fixFix typos in Javadoc code examples. Fixes FILEUPLOAD-37.martinc
fixFix typos in exception messages.martinc
fixObtain request content type from container instead of headers. Fixes FILEUPLOAD-5.martinc
updateNew mock objects from Jetspeed-2, and new FileUpload test cases.sullis
addadded toString() methodssullis
addFix up the existing package.html file and add new ones for the newly introduced packages. Fairly minimal, but with a link to the user guide.martinc
updatemartinc
fixSpecify the encoding (ISO-8859-1) when converting the boundary to a byte array. Fixes FILEUPLOAD-4.martinc
updateConvert to Sun coding guidelines.martinc
updateDeferredFileOutputStream moved to Commons IO.martinc
fixWorkaround for Mac IE5 bug. Thanks to Justin Sampson for the patch and tests for this vexing issue. Fixes FILEUPLOAD-16. Thanks to Justin Sampson.martinc
fixHandle unquoted header parameters. Fixes FILEUPLOAD-104.martinc
addSome documentation on interaction with virus scanners. Fixes FILEUPLOAD-78.martinc
addMore unit tests from Justin Sampson. Fixes FILEUPLOAD-31. Thanks to Justin Sampson.martinc
updateUse FileCleaner from Commons IO to clean up temp files, rather than File.deleteOnExit(), which can cause serious problems in long-running processes. Fixes FILEUPLOAD-95.martinc
fixCheck that HTTP method is POST as part of multipart check. Fixes FILEUPLOAD-53.martinc
addSwitch to Commons IO version of DeferredFileOutputStream. Adding IO as a dependency will allow us to take advantage of other classes in that component to fix additional FileUpload bugs.martinc
addhandle quoted boundary specification. Fixes FILEUPLOAD-40.martinc
adduse case-independent comparisons for encoding types. Fixes FILEUPLOAD-18.martinc
fixFix comments to avoid break iterator complaints.martinc
fixFix typos in comments. Thanks to Yuji Yamano.martinc
addAdd support for character sets specified for individual parts. Fixes FILEUPLOAD-101. Thanks to Oleg Kalnichevski.martinc
updateChange to Apache License 2.0scolebourne
fixCorrect the comment for the no-args constructor to reflect the fact that a factory needs to be set before parsing uploads. Fixes FILEUPLOAD-22.martinc
updateCollapse some all but duplicated code.martinc
fixFix example showing FileItem.write to use a File object. Fixes FILEUPLOAD-72.jmcnally
fixCheck for null before attempting to close streams in write(). Fixes FILEUPLOAD-21. Thanks to Peter Chase.martinc
fixCorrection to sample code in the docs. Fixes FILEUPLOAD-67. Thanks to Paul Dalton.martinc

Release 1.0 - 2003-06-26

TypeChangesBy