We continue supporting the v2 of Uploadcare Widget. We will mostly be releasing patches with bug fixes.
The new version comes with the following updates:
captureattribute of the
input[type=file]element, we show buttons providing direct access to the camera instead of providing a video stream.
.uploadcare-draggingclass was not removed from the body when finished dragging.
UPLOADCARE_LIVEbehavior: when set to
true, which is a default, new
[role=uploadcare-uploader]elements on your page are initialized as widgets every ~100 ms which may cause devtools blinking. See issues #277, #281, #366, #384, #411 for details. This widget version 2.11.0 fixes the behavior.
integration: is used to hold info about a framework or plugin through which the widget was installed.
multipleMaxoption is now set to 1000 files, see docs for details.
X-UC-User-Agentheader holding info on widget version, public key, framework, and plugin.
We strongly advise updating to 2.11.0 or going all the way up to v3, see migration guide.
To install the latest v2:
npm install uploadcare-widget@2
<script src="https://ucarecdn.com/libs/widget/2.x/uploadcare.full.min.js" charset="utf-8"></script>
Cookies on Uploadcare
We have placed cookies on your device to improve your experience. Learn more about how this site works and our compliances