- New
chunk_size
,disabled
andtext_disabled
parameters fordu.Upload
. Issue 41
- Added the
prevent_initial_call=True
for alldu.callback
s. For Dash >= 1.12.0.
- Changing the parameter
disableDragAndDrop
by callbacks does not take effects. PR 42
du.HttpRequestHandler
which allows for custom HTTP POST and GET request handling. For example, custom validation logic is now possible! Used throughhttp_request_handler
parameter ofdu.configure_upload
.
- Backwards incompatible changes: Changed the CSS classes of the component to be
dash-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_pathname
set inapp = dash.Dash(__name__, server=server, url_base_pathname='/somebase/')
. (Related issue)
- Javascript updates (includes security updates)
- Importing
dash-uploader
withdash
versions<1.11.0
was not possible. (Related issue)
- Javascript package security updates.
- New
@du.callback
decorator for simple callback creation. - Experimental
max_files
parameter 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_api
argument of theconfigure_upload
function.
- 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
dash
requirements;dash~=0.11.0
->dash>=1.1.0
. activeStyle
replaced 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