- This pre-release is available in PyPI with
--preflag. - 0.6.0 → 0.7.0 Migration Guide.
- Calling callback each time file is uploaded in multi-file upload case (Fixes: #5, #20 & #44)
- Progress bar problems when uploading multiple files (Fixes: #84)
- Instead of returing
None, raisedash.exceptions.PreventUpdate. This should reduce errors seen in the browser console. PR 54 - Fixed
ImportErrorwhich was raised when trying to importdash_uploaderwhenpackagingwas not installed. PR 54
- resumable.js -> flowjs (Closes: #21)
⚠️ Backwards incompatible: Callback syntax (@du.callback) was changed to usestatusinstead offilenamesas the callback function argument. Support for@app.callbacksyntax dropped. See the 0.6.0 -> 0.7.0 Migration Guide for details.⚠️ Backwards incompatible: Changed the CSS class of the component to bedash-uploader-completed, instead ofdash-uploader-complete, when upload is completed.
- New
chunk_size,disabledandtext_disabledparameters fordu.Upload. Issue 41
- Added the
prevent_initial_call=Truefor alldu.callbacks. For Dash >= 1.12.0.
- Changing the parameter
disableDragAndDropby callbacks does not take effects. PR 42
du.HttpRequestHandlerwhich allows for custom HTTP POST and GET request handling. For example, custom validation logic is now possible! Used throughhttp_request_handlerparameter ofdu.configure_upload.
⚠️ Backwards incompatible changes: Changed the CSS classes of the component to bedash-uploader-default,dash-uploader-uploading, .. etc. instead ofresumable-default,resumable-uploading.
- Fixed some width related CSS issues in mobile mode. See: #19
- max_files parameter to du.Upload did not have effect (Related issue)
- Now dash-uploader works with
url_base_pathnameset inapp = dash.Dash(__name__, server=server, url_base_pathname='/somebase/'). (Related issue)
- Javascript updates (includes security updates)
- Importing
dash-uploaderwithdashversions<1.11.0was not possible. (Related issue)
- Javascript package security updates.
- New
@du.callbackdecorator for simple callback creation. - Experimental
max_filesparameter fordu.Upload. - Support for proxies; i.e. If app is running on
http://server.com/myapp, and dash application is configured usingrequests_pathname_prefix=myapp, this is handled automatically by the Upload component. Fixes #3.
- Uploading file with same name multiple times is now possible.
- Possibility to determine the uploader component API endpoint using the
upload_apiargument of theconfigure_uploadfunction.
- Upload folder for each file defined with a upload id (
upload_id), which may be defined by the user.
- Uploading file with similar name now overwrites the old file (previously, file chunks were uploaded, but never merged.)
- Removed potential cause of infinite wait
- Progressbar
- Loosened
dashrequirements;dash~=0.11.0->dash>=1.1.0. activeStylereplaced withuploadingStyle.
- Callback will now fired even multiple files are uploaded in a row. (Related Issue)
- Initial release based on the dash-resume-upload (0.0.4).
- Restarted project basing on the dash-component-boilerplate
- Hiding "Pause" and "Cancel" buttons when not uploading
- Clean, documented python interface for
Upload