All releases are backward compatible unless noted otherwise.
- Updated required version of jQuery
- A bug in the FileUpload class meant that the uploadStartedAt property was being reset each time a chunk began uploading. It has now been fixed so that the property is set only once when the first chunk begins uploading. Some files and directories have also been moved or removed to make this repository's structure more consistent with other projects.
- File.lastModifiedDate has been deprecated (to be replaced by File.lastModified). Safari 10.0 is the first to remove this property, breaking file uploads. v0.0.19 fixes this breakage.
- Added detection for when a user is offline; in this case, any AJAX call will be immediately rejected with an error of type "InternetConnectionLost"
- Added support for parameterized uploads, making the toolkit suitable for use with different cloud service providers
- Allowing errors to pass on the DNAnexus custom "X-Request-ID" header
- Blacklisting host header
- Adding bower.json for inclusion in bower.io packages
- Adding retry/backoff logic when uploading a file part. This adds resiliency when errors or network outages occur
- Changes to api.uploadFilePart for compatibility with the DNAnexus file upload v2 API
- Small tweak for the DNAnexus file upload API v2
- Adding support for the DNAnexus file upload API v2
- Passing the server error object through when 503 status codes are received
- Fixing a rare condition where an AJAX request is automatically converted from POST to GET by jquery
- Addressing an issue where canceling large uploads in Firefox would exhaust the call stack.
- Fixing examples so that the script included in each example directory matches the script reference in code
- Adding minified versions of the libraries with the distribution
Removing reference to functions provided by Underscore.js; Underscore is no longer a dependency.
Implementing readBytes, and preventing upload of folders.
Extracting ajaxRequest into a top level resource. This release introduced an undocumented dependency on Underscore.js
Minor fixes and enhancements.
- Fixed a bug that prevented uploading 0 byte files
- Using a ResourcePool to manage file creation, making uploading of a large number of files more efficient
Several bug fixes, optimizations, and a couple new features. Backward compatible with 0.0.1.
- Extending window.DX if it already exists, to prevent clobbering it
- Fixing a major bug in the DX.Upload constructor with the access of the authToken
- Applying AWS max parts constraint
- Tracking and handling the aborted state, preventing unnecessary md5 computation and ajax requests
- Terminating MD5Worker objects on DX.Upload.destroy
- Rejecting the upload progress monitor when an upload is aborted
- Adding support for tags/properties on a per file basis. See the DX.Upload documentation.
- Fixing the checksum progress monitor notifications to be more accurate
- Adding field "uploadStartedAt" to track the time when the first part began uploading. This can be used to accurately measure elasped time
- initial release with basic API bindings and file upload support