released date: 2024/2/18
WARNING: New major upstream release (backwards incompatible!).
- Remove the deprecated
dropzone.load()method. - Added more options to customize messages.
- Drop Python 2 support.
- Add an
idparameter fordropzone.style()to support customize unique styles for multiple dropzones in one page (#53). - Upgrade Dropzone.js to 5.9.3 version.
released date: 2021/5/1
- Add a
idparameter fordropzone.create()anddropzone.config()to support customize element id and putting multiple dropzones in one page.
released date: 2019/8/4
- Fix CSRF protect bug when in form (#29).
released date: 2018/8/24
- Built-in resources behaviour will not based on
FLASK_ENV. - Add support to pass configuration variable directly with
dropzone.config(), see documentation for more details.
released date: 2018/8/7
- Add a proper documentation.
- Fix KeyError Exception if ENV isn't defined.
released date: 2018/7/21
- Change CDN provider to jsDelivr.
- Built-in resources will be used when
FLASK_ENVset todevelopment.
released date: 2018/7/20
actionindropzone.create()can be URL or endpoint,action_viewwas deprecated.- Add support to upload all dropped files when specific button (
name="upload") was clicked. - Add configuration variable
DROPZONE_UPLOAD_ON_CLICK,DROPZONE_UPLOAD_ACTION,DROPZONE_UPLOAD_BTN_ID. - Add configuration variable
DROPZONE_IN_FORM,DROPZONE_UPLOAD_ACTIONto support create dropzone inside<form>. - Add configuration variable
DROPZONE_TIMEOUT. - Add
custom_initandcustom_optionsparameters indropzone.config()to support pass custom JavaScript.
released date: 2018/6/8
- Change built-in resource's url path to
dropzone/static/...to prevent conflict with user's static path.
released date: 2018/5/28
dropzone.load()method was deprecated due to inflexible. Now it's divided into three methods: * Useload_css()to load css resources. * Useload_js()to load js resources. * Useconfig()to configure Dropzone. * Besides, we recommend user to manage the resources manually.- Add basic unit tests.
released date: 2018/3/23
- Add support to use custom resources with
js_urlandcss_urlparam inload(). - Fix built-in static bug (#11).
- Use package instead of module.
released date: 2018/2/17
- Add support to integrate with CSRFProtect (enabled via
DROPZONE_ENABLE_CSRForcsrfflag indropzone.create()). - Fix bug:
Falsein JavaScript. - Bump built-in resource's version to 5.2.0
- Add
actionargument indropzone.create(). For example,dropzone.create(action=url_for('upload')).
- New configuration options:
DROPZONE_UPLOAD_MULTIPLE,DROPZONE_PARALLEL_UPLOADS,DROPZONE_REDIRECT_VIEW. - Fix local static files bug.
- Add support for automatic redirection when upload was conmplete.
WARNING: New major upstream release (backwards incompatible!).
- Method
include_dropzone()rename toload(). - Add a
create()method to create dropzone form. - Add a
style()method to add style to upload area. - Use
action_viewargument (increate()) to set action url. - Dropzonejs version increase to 5.1.1.
- PEP8 and bug fix.
- Documentation fix.
- Upload address fix.
- Delete useless code.
- Add more configuration options.
- Support local resource serve.
- Add basic documentation.
- Initial release.