- Add support for MacOS 14+ filenames (PR #21 by @brentmartinmiller, fix #20)
- Add custom type definition (PR #19 by @doberkofler, fix #7)
- Readme improvements (PR #15 by @jules-w2)
- Use setAttributes() for setting the aria-label
- Fix SASS deprecation warnings with version 1.77.7 (PR #14 by Jules)
- Fix import statements in README.md (fix #16)
- Mention the need for secure context in README (fix #13)
- Upgrade
@swc/helpersfrom 0.5.11 to 0.5.12
Fix bug where using an ID for selecting the dropzone element would make the lib crash. fix #12
A very small patch release with a fix regarding the form attribute of the hidden input field. See dropzone#2300. PR #11 by @bancer.
A small patch release with an important bugfix that was asked by the community for a long time:
- fix: parallelChunkUploads should respect parallelUploads. fix dropzone#2030 (based on PR dropzone#2249 by @labor4)
A small patch release with an important bugfix that was asked by the community for a long time:
- Fix issue with exif resizing of thumbnail that messed up the files. fix dropzone#1967 PR dropzone#2001 by @kaymes
With this release, we drop deprecated and old things, and bring back the test suite.
If you have acceptedMimeTypes in your options, replace it with acceptedFiles. This option was deprecated 3 years ago, and has now be completely removed.
- All tests now run: a previous change made it run only one single test! (by using
describe.only()instead ofdescribe()) - The test suite now runs on each commit in a GH Action
- Remove a dependency on
just-extend: useObject.assign()instead - Simplify greatly the browser detection and remove blockedBrowser code that only targeted opera 12 from 12 years ago
- Removed some IE related code and simplified some code paths as we now expect a decent enough browser
- Some code cleanup: remove unused variables
- Use crypto.randomUUID instead of a custom function
- Run CodeQL only in src/
- Update cypress config
- Upgrade dependencies
- Add SECURITY.md file (and enable security settings on repository)
- Add more files to .npmignore: no need to distribute parcel-cache or documentation files
- Remove composer.json
- Try and fix the publish on npm action (it worked).
- Upgrade publish action version. Try and fix the publish on npm action.
- No issues were reported with alpha versions, so this is the (maintained) stable version now. There are no changes from alpha2.
- README changes
This is the first release of this fork. Mainly to test if publish action runs fine.
- upgrade some dependencies
- add github actions
- fix improper grammer PR dropzone#2211 by @Offlein
- Send at least one chunk if filesize is 0. Fix for dropzone#1982. PR dropzone#2153 by @Forceu
- fix typos. fix dropzone#2140
- add arialabel to hidden input
- Add
binaryBodysupport (thanks to @patrickbussmann and @meg1502).- This adds full support for AWS S3 Multipart Upload.
- There is an example setup for this now in
test/test-sites/2-integrations.
- Dropzone is dropping IE support! If you still need to support IE, please use
5.9.3. You can download it here: https://github.com/dropzone/dropzone/releases/download/v5.9.3/dist.zip Dropzone.autoDiscoverhas been removed! If you want to auto discover your elements, invokeDropzone.discover()after your HTML has loaded and it will do the same.- The
dropzone-amd-modulefiles have been removed. There is now adropzone.jsand adropzone.mjsin the dist folder. - The
min/folder has been removed.dropzone.min.jsis now the only file that is minimized. - Remove
Dropzone.extendand replace by thejust-extendpackage. - There is no more
Dropzone.version.
- Fix incorrect resize method used for creating thumbnails of existing files (thanks to @gplwhite)
- Handle
xhr.readyStatein thesubmitRequestfunction and don't attempt to send if it's not1(OPENED). (thanks to @bobbysmith007)
- Fix the way upload progress is calculated when using chunked uploads. (thanks to @ckovey)
- Properly handle when timeout is null or 0
- Make the default of timeout null
- Fix custom event polyfill for IE11
- Fix build to use ES5 instead of ES6, which was broken due to webpack upgrade. (thanks to @fukayatsu)
- Dropzone now also triggers custom events on the DOM element. The custom events
are the same as the events you can listen on with Dropzone but start with
dropzone:. (thanks to @1cg) - Moved the
./src/options.jspreviewTemplate in its ownpreview-template.htmlfile. - Switched to yarn as the primary package manager (shouldn't affect anybody that is not working Dropzone itself).
- Revert
dist/min/*.cssfiles to be nameddist/min/*.min.css. - Setup bower releases.
- Rename
blacklistedBrowserstoblockedBrowsers(but still acceptblacklistedBrowsersfor legacy). - Add automatic trigger for packagist deployment.
- Fix links in
package.json.
- Prevent hidden input field from getting focus (thanks to @sinedied)
- Fix documentation of
maxFilesize(thanks to @alxndr-w) - Fix build issues so the UMD module can be imported properly
- Add
disablePreviewsoption. - Fix IE problems with Symbols.
- WARNING: This release had issues because the .js files couldn't be imported as AMD/CommonJS packages properly. The standalone version worked fine though. I have retracted this version from npm but have left the release on GitHub.
- Base the calculation of the chunks to send on the transformed files
- Properly display seconds (instead of ms) in error message when timeout is reached
- Properly handle it when
options.methodis a function (there was a bug, which always assumed that it was a String) (thanks to @almdac) - Fix orientation on devices that already handle it properly (thanks to @nosegrind)
- Handle additionalParams when they are an Array the way it's expected (thanks to @wiz78)
- Check for
stringin error message type instead ofString(thanks to @RuQuentin)
- Fix issue with IE (thanks to @Bjego)
- Cleanup the SVGs used to remove IDs and sketch attributes Since SVGs are duplicated this resulted in duplicate IDs being used.
- Add a dedicated
displayExistingFilemethod to make it easier to display server files. - Fix an error where chunked uploads don't work as expected when transforming files before uploading.
- Make the default text a button so it's discoverable by keyboard.
- Re-released due to missing javascript files
- Removes
npmdependency that got added by mistake
- Timeout now generates an error (thanks to @mmollick)
- Fix duplicate iteration of error processing (#159 thanks @darkland)
- Fixed bootstrap example (@thanks to @polosatus)
- The
addedfilesevent now triggers after each individualaddedfileevent when dragging files into the dropzone, which is the same behavior as when clicking it.
- Correct photo orientation before uploading (if enabled) (thanks to @nosegrind)
- Remove a potential memory leak in some browsers by keeping a reference to
xhrinside the individual chunk objects (thanks to @clayton2) - Allow HTML in the remove links (thanks to @christianklemp)
hiddenInputContainercan now be anHtmlElementin addition to a selector String (thanks to @WAmeling)- Fix default values on website (since the last deployment, the default values all stated
null)
- Fix IE11 issue when dropping files
- Fix broken npm release of 5.3.0
- Add
dictUploadCanceledoption (thanks to @Fohlen) - Fix issue with drag'n'drop on Safari and IE10 (thanks to @taylorryan)
- Fix issues with resizing if SVG files are dropped (thanks to @saschagros)
- Migrated from coffeescript to ES6!
- Added chunked file uploading! The highly requested chunked uploads are now available. Checkout the
chunkingoption documentation for more information. - Fixed a faulty
console.warning(should beconsole.warn) - If an input field doesn't have a name, don't include it when sending the form (thanks to @remyj38)
- Opera on Windows Phone is now also blacklisted (thanks to @dracos1)
- If a custom preview element is used, it is now properly handled when it doesn't have a parent (thanks to @uNmAnNeR)
- Fix issue where showing files already on the server fails, due to the missing
file.upload.filename - Fix issue where
file.upload.filenamegets removed after the file uploaded completed - Properly handle
arraybufferandblobresponses
- Add possibility to translate file sizes. (#16 thanks to @lerarybak for that)
- Fix duplicate filenames in multiple file uploads (#15)
- The
renameFilenameoption has been deprecated. UserenameFileinstead (which also has a slightly different function signature) - The
renameFileoption now stores the new name infile.upload.filename(#1)
- Add missing dist/ folder to npm.
- Add support for browser image resizing! Yes, really. The new options are:
resizeWidth,resizeHeight,resizeMimeTypeandresizeQuality. Thanks a lot to MD Systems for donating the money to make this a reality. - Fix IE11 issue with
options.timeout - Resolve an issue that occurs in the iOS squashed image fix, where some transparent PNGs are stretched inaccurately
- Add
options.timeout
Added Changelog. Sorry that this didn't happen sooner.