3.21.8 (2024-10-03)
- fixed the bug with audio and video capture for the camera. Use deviceId instead of groupId. (ec387f4)
3.21.7 (2024-08-27)
3.21.6 (2024-08-26)
3.21.5 (2024-08-08)
No changes
3.21.4 (2024-07-26)
- do not override
isImage
flag when s3 bucket is enabled (725d836) - Update de.js (#964)
- fix german translation (966)
3.21.2 (2023-06-06)
No changes
3.21.1 (2023-06-06)
No changes
3.21.0 (2022-11-23)
- add
originalVideoInfo
,originalContentInfo
andmetadata
properties to thefileInfo
object (#945) (f568260). Check out our docs for more info.
3.20.1 (2022-11-16)
- remove jquery usage at the module root scope, this caused an error
TypeError: $__default.default.extend is not a function
in some environments. (#941) (34f3e74)
3.20.0 (2022-10-17)
3.19.0 (2022-08-29)
- do not use inline styles inside icons to prevent
unsafe-hashes
CSP flag usage (5af1ced)
3.18.0 (2022-08-02)
3.17.2 (2022-04-04)
3.17.1 (2022-03-16)
3.17.0 (2022-02-10)
3.16.0 (2021-12-23)
3.15.0 (2021-11-26)
3.14.0 (2021-11-16)
3.13.0 (2021-11-16)
3.12.0 (2021-10-13)
- added support to enable only camera photos (1aa0619)
- allow to pass settings object to the live initialization methods (#870) (b23d446)
- show uploading errors to the end-user (#857) (064213b)
3.11.5 (2021-09-13)
3.11.4 (2021-09-10)
3.11.3 (2021-07-14)
- Upgrade jquery to v3.6.0 due to security issue. See #849.
3.11.2 (2021-06-24)
3.11.1 (2021-06-24)
3.11.0 (2021-03-10)
- shrink: add support for shrink resolution higher than 5 megapixels (#804)
3.10.4 (2021-03-09)
3.10.3 (2021-03-09)
- fix ui elements height calculation on safari (#813)
3.10.2 (2020-08-04)
- improve image/video detection in preview tab (#776) (d0ecb09)
- update PT, DE, NL locales (#774) (f3364d6)
3.10.1 (2020-07-07)
3.10.0 (2020-06-23)
- applied exif to preview images only when browsers haven't done that yet (#764) (13f8e12)
- camera-tab constraints updated to actual specs (#765) (c434100)
3.9.2 (2020-06-10)
- fix single widget drag and drop (#749) (8b3e833)
- stop video processing when widget changes state (#741) (128e4db)
- update facebook logo (#754) (af1db51)
- upload only one dropped file when widget in single mode (#740) (68be990)
- fixed wrong npm release
- added videoPreferredMimeTypes setting for camera tab. See #736
- Disabled focus controlling in panel mode. See #698.
- Updated Ukrainian locale. Thanks to @smartianin. See #678.
- Removed prototype pollution from Pusher source. See #704.
- Fixed variable name in Pusher's
subscribeAll
. See #707.
- openDialog() failed with
settings is undefined
error. See #668.
- Escaping special symbols in filenames to avoid XSS attacks. See #643.
- Migrated from CoffeeScript to JavaScript. See #567.
- Switched to ES Modules instead of namespaces. See #569.
- Migrated templates to tagged HTML strings from EJS. See #603.
- Improved widget accessibility. Big thanks to @erin-doyle. See #594, #595 and #611.
- Updated Spanish locale. Thanks to @HerrLindner. See #550.
- Updated German locale. Thanks to @thomasklemm. See #580.
- Fixed effects tab locales. See #613.
- Error
F.document is not a function
on initialization. See #563.
- Improve accessibility. See #554.
- New locale was added: Ukrainian (
uk
). See #548.
- Fixed transparency lost when shrinking images before uploading. See #549.
- Do not show warning when global public key not set. See #546.
- Google Photos icon geometry was fixed. See #541.
- Google Photos icon was updated. See #540.
- Fix broken minified bundle. See #539.
- Upgrade jquery to v3.4.1 due to security issue. See #535.
- New value
onedrive
for thetabs
option to define OneDrive tab. We continue to support theskydrive
value, but it will be replaced byonedrive
. - Added missing translations to the Spanish (
es
) locale. See #529.
- Specified the right license in
package.json
like in theLICENSE
file. - Keyboard only users can navigate the dialog now. See #524.
- Fixed typo in the German (
de
) locale. See #530.
- Fixed multipart uploading when
imagesOnly
flag is set. - The default threshold for multipart uploads was dropped from 25 to 10 megabytes.
- Validators now run more frequently for each file than before. See #511.
- Enabled
imageSmoothingQuality
API forimageShrink
for Google Chrome - Fixed the file extension of the recorded video on the camera tab. Now it reflects a video container with fallback to "avi". See #516.
- Fixed typo and improved grammar in the Dutch (
nl
) locale. See #504. - Fixed work in the
strict mode
. See #523.
3.6.1 - 2018-09-21
- Fixed error
Cannot read property 'type' of null
that often occurs together with the grecaptcha2. See issue #500.
3.6.0 - 2018-07-26
- New locales: Greek (
el
), Vietnamese (vi
). See #498.
- Url to Uploadcare in the “powered by” section.
- Use a bit more sharp Facebook logo to make it perfect. See #496
3.5.1 - 2018-07-10
- Now use the correct Facebook logo, consistent with the Facebook brand guidelines.
3.5.0 - 2018-06-28
- New configuration options:
audioBitsPerSecond
andvideoBitsPerSecond
. They allow you to adjust the quality of video recording on the camera tab.
- Start using the Keep a Changelog format
for the changelog at the
HISTORY.markdown
file. - Dropbox icon was updated.
- Double call of
dialog.progress
, see #481.
3.4.0 - 2018-05-23
- New configuration options:
previewProxy
andpreviewUrlCallback
. Check out our docs for more info. - The
AUTHORS.txt
file to the repo to give credit to those contributing to the project. Yoo-hoo, thanks folks 💛
- Updated README:
- New sections: “Security issues” and “Feedback.”
- References to the widget v2.
- Table of contents.
- Updated the package description.
- A not-working button that removes an entry from the file list in a multi-file mode in Edge.
- Displaying a wrong image when a set of files gets dragged and dropped onto a widget in a single-file mode, issue #443.
- Video seeking in Chrome, #460.
- Multipart uploading: no extra headers are now sent.
- Previewing videos in Safari on iOS, see #463.
- The
this.settings is undefined
error when using theloadFileGroup
function.
- Added new locales: Romain (
ro
), Slovak (sk
), Serbian (sr
). - Updated locales: Swedish (
sv
), Polish (pl
). - Added default limit of 1000 files for
multipleMax
. - Fixed preview: now the widget doesn't create a preview image if
previewStep
is off. - Added the new option
integration
for set up info about framework and plugin through which the widget is installed. - Updated requests to Uploadcare Upload API, added the
X-UC-User-Agent
header with info about version of the widget, public key, framework, and plugin. - Updated README:
- added link to the new angular wrapper,
- update links to docs,
- added info about how to use own custom locale immediately
- Fixed French (
fr
) locale. - Fixed camera tab: now,
if device and browser support the
capture
attribute for theinput[type=file]
element, instead of the video stream, we show only the buttons that give direct access to the camera.
- Fixed Swedish (
sv
) locale. - Fixed XHR requests: added responseType to XHR requests to prevent Firefox from parsing responses as XML.
- Fixed autocrop: now if multiple is turned on and the crop is specified, crop auto applies to a last uploaded file.
- Fixed the problem with drag&drop when the class
.uploadcare--dragging
was not removed from the body when dragging was finished.
- Added the
.uploadcare--panel__powered_by
block inside.uploadcare--panel__content
. - Fixed the blinking problem with
UPLOADCARE_LIVE=true
, see #277, #281, #366, #384, #411. - Fixed the bug with menu in iOS 11, see #417.
- Update value of the
--color-base
variable in the config of styles. - Updated bundled styles:
- removed the
-webkit
prefix fortransition
, - added the prefix for Edge for
::placeholder
of.uploadcare--input
.
- removed the
- Updated README:
- changed logo of Uploadcare,
- added shield with the current version of npm package.
-
Fixed the error of the stream from a webcam in Safari 11. Now the camera tab with taking photos works in Safari 11.
-
Updated function for start the stream from a webcam: added using the
navigator.mediaDevices.getUserMedia
method if a browser supports these. -
Updated the video element, which used for the stream: use the
muted
attribute in HTML template instead of setting up thevolume
property in JS. -
Fixed stop video stream: if a browser supports the
getTracks
method, call thestop
only for tracks, not for the stream, because MediaStream.stop deprecated. -
Fixed preview images in the list of files in
multiple
mode: using just one double-sized version of an image insrc
instead of usingsrcset
attribute. Now there are high-quality images in browsers that don’t support thesrcset
attribute. -
Fixed README: fixed protocol of image URL for the badge of StackShare.
- Fixed the disappearance of the footer on the preview tab in IE and Firefox, if users pick a lot of files, issue #409.
- Fixed typo in Spanish (
es
) locale.
- Fixed styles to avoid inheriting global styles from
button
ordiv[role=button]
for classes:uploadcare--button
uploadcare--button_muted
uploadcare--button_overlay
uploadcare--button_primary
uploadcare--button_primary
uploadcare--crop-sizes__item
uploadcare--widget__button
uploadcare--widget__button_type_open
- Updated README: added StackShare badge.
- Fixed Portuguese (
pt
) locale. - Fixed closing of the dialog when double-clicking on the tabs menu.
- Added Korean locale.
- Updated Arabic locale.
- Added the attribute
type=button
for thefile-source
buttons. - Fixed problems with scrolling and footer's buttons on the iframe tabs (like an Instagram) in Safari for iOS.
- Fixed background styles for the dialog and panel.
- Added font styles for the panel.
- Fixed adding the
uploadcare--page
class to the body when used theopenPanel
method. - Fixed width of the opened mobile menu in UC Browser.
- Fixed placement of elements in the footer in multiple mode in old browsers like an IE 10.
- Fixed README:
- fixed name of default bundle,
- moved npm install before CDN,
- removed React code,
- replaced the image about widget's screenshots with the gif about the widget in action.
- Fixed the
Cannot read property 'tabs' of undefined
error, issue #388 - Fixed the
jQuery.Deferred exception: this.state is not a function
error, issue #387 - Removed
dialog_menu-hidden
, addedpanel_menu-hidden
instead; now, if the panel doesn't have tabs, thepanel_menu-hidden
class is added to the panel - Updated README: added screenshots and description about browser support
- All classes now have the
uploadcare--
prefix insteaduploadcare-
- Changed all HTML markup, used the classical BEM methodology
- Updated all styles, used flexbox for layout
- Used PostCSS post processing of styles instead Sass
- All styles now divided into blocks, see the
app/assets/stylesheets/uploadcare/blocks
folder - Drop IE < 10 support
- New design of the widget and the dialog
- Updated README, development guide moved to
DEVELOPMENT.md
- Added args for PreviewTab constructor and change few methods to public
- Removed all
png
images - Used SVG sprite for icons, all icons now SVG inline
- All buttons except
menu__item
andcrop-sizes__item
elements, usebutton
tag insteaddiv
- Added focus for all buttons and they are tabbable now
- Updated English (en) locale, added new captions
- Migration guide from v2 to v3 here
- The
AUTHORS.txt
file to the repo to give credit to those contributing to the project. Yoo-hoo, thanks folks 💛
- Updated README:
- New sections: “Security issues” and “Feedback.”
- References to the widget v3.
- Table of contents.
- Updated the package description.
- Displaying a wrong image when a set of files gets dragged and dropped onto a widget in a single-file mode, issue #443.
- Video seeking in Chrome, #460.
- Multipart uploading: no extra headers are now sent.
- Previewing videos in Safari on iOS, see #463.
- The
this.settings is undefined
error when using theloadFileGroup
function.
- Added default limit of 1000 files for
multipleMax
. - Fixed preview: now the widget doesn't create a preview image if
previewStep
is off. - Added the new option
integration
for set up info about framework and plugin through which the widget is installed. - Updated requests to Uploadcare Upload API, added the
X-UC-User-Agent
header with info about version of the widget, public key, framework, and plugin. - Fixed camera tab: now,
if device and browser support the
capture
attribute for theinput[type=file]
element, instead of the video stream, we show only the buttons that give direct access to the camera. - Fixed XHR requests: added responseType to XHR requests to prevent Firefox from parsing responses as XML.
- Fixed autocrop: now if multiple is turned on and the crop is specified, crop auto applies to a last uploaded file.
- Fixed the problem with drag&drop when the class
.uploadcare-dragging
was not removed from the body when dragging was finished. - Fixed the blinking problem with
UPLOADCARE_LIVE=true
, see #277, #281, #366, #384, #411. - Fixed the error of the stream from a webcam in Safari 11. Now the camera tab with taking photos works in Safari 11.
- Updated function for start the stream from a webcam:
added using the
navigator.mediaDevices.getUserMedia
method if a browser supports these. - Updated the video element, which used for the stream:
use the
muted
attribute in HTML template instead of setting up thevolume
property in JS. - Fixed stop video stream: if a browser supports the
getTracks
method, call thestop
only for tracks, not for the stream, because MediaStream.stop deprecated.
- Added camera translations to Portuguese (pt) locale
- Fixed JS for jQuery 3 compatibility. Now we support jQuery 3.x
- Fixed
/group/
request for cases when signed uploads are enabled - Fixed sending message in iframe
- Fixed French locale
- Fixed critical image loading bug in Firefox 50
- Instagram icon is updated
- Fixed tabs visual style
- Fixed Swedish locale
- Fixed the preview orientation for some images.
- Fixed image size on crop tab in IE 11
- Fixed tabs overflow in Safari
- Fixed the
Widget
constructor error message. - Added the
_name
attribute forMultipleWidget
andWidget
classes. - Added using
imageSmoothingQuality
property where it's supported (except Chrome due to worst quality) instead of our resampling algorithm. - Added the Google Photos tab
- Update jQuery dependency. We don't support 3.0.0 just yet.
- Built-in jQuery upgraded to 2.2.4.
- Added Estonian locale.
UPLOADCARE_SECURE_SIGNATURE
andUPLOADCARE_SECURE_EXPIRE
settings for secure uploads.- Further Browserify/Webpack compatibility improvements.
- Removed deprecated
uploadcare.whenReady
function.
- Preview for video captured from the camera.
- Fast image preview for files from the camera.
- Fixed the permissions request screen on the camera tab.
- Fixed
uploadcare.locales
list. - Fixed
uploadcare.start
function in API build.
- Now you can capture video right from the camera tab if browser is capable (latest Firefox and Google Chrome at the moment).
- We've switched from YUI Compressor to UglifyJS and CSSO. Minified size is reduced up to 15%, gzipped size up to 8%.
- CommonJS and Browserify compatibility added.
- New library builds (in addition to
uploadcare
anduploadcare.all
):uploadcare.api
— without jQuery and UI. Only upload API client.uploadcare.lang.en
— stripped localization to reduce size, only English is included.uploadcare.ie8
— with jQuery 1.12.1 (IE8 does not work with jQuery 2+).
- Camera tab is disabled on non HTTPS sites due to the latest browsers' rules.
- The widget constructors raise errors if no elements ware matched for provided selector and prints warning if more than one element is matched.
- Built-in jQuery upgraded to 2.2.1.
- File's MIME type is exposed to Javascript info.
- Fixed 404 error in console when dialog is used without crop and preview step.
- Image crop and preview for local files now works before uploading. This greatly improves user experience.
- Autoperfixer is used. Many of unnecessary prefixed properties are removed.
- Versioned file names are no longer supported:
https://ucarecdn.com/widget/2.5.9/uploadcare/uploadcare-2.5.9.js
Only unversioned:https://ucarecdn.com/widget/2.5.9/uploadcare/uploadcare.js
- All files (not just uploaded from URLs) now have
sourceInfo
property in JavaScript API. - Updated Danish locale.
- Widget replaces
window.uploadcare
with new version even if it already exists. This solves some compatibility problems. - New dialog's footer design.
- Fixed "cannot read property 'getVideoTracks' of undefined" error in case when camera is blocked.
- Droped files are appended to widget's list of uploaded files instead of replacing it.
- Fixed camera revoking in Google Chrome 47.
- New option
multipleMaxStrict
.
- Crop presets are moved to the top of crop dialog on mobile layout.
- It was impossible to clear widget with both
multiple
andclearable
options after loading a bad group UUID. - Settings like
cdnBase
,urlBase
,socialBase
andscriptBase
now can be relative.
- New option
UPLOADCARE_PASS_WINDOW_OPEN
to work with Cordova InAppBrowser. - Added Czech locale.
- Updated Taiwan locale.
- Updated Spanish locale.
- Updated Polish locale.
- Fixed the dialog disappearing in some cases in the mobile layout.
- Show remove button on uploading error when widget is clearable.
- Optimize parallel uploading of big amount of files at once.
- Accept
data-crop="true"
as free.
- New Swedish locale.
- File info pooling optimization.
- Multipart uploading tuning via settings.
- File uploading logging via
debugUploads
settings.
- The choose file button occasionally was not clickable on iOS 8.
- HTTPS is default protocol for CDN.
- Fixed
onDialogOpen
event which did not fire when files were dropped. - Optimized info loading for files uploaded from URLs.
- Internal
uploadcare.namespace
function accepts namespace name withoutuploadcare
prefix. I.e.uploadcare.files.utils
becomesfiles.utils
.
- Fixed uploading from url for large files.
- Fixes in English, Russian and German locales.
uploadcare.start()
is fixed and accepts global settings again.
- Built-in jQuery upgraded to 2.1.4. This automatically means that widget version with built-in jQuery will no longer work in IE8. But we still support IE8 in version without built-in jQuery.
- Uploadcare doesn't expose and doesn't use global
window.JST
object anymore. This enhances widget isolation on the page.
- Prevent infinity loop when multiupload dialog is used with crop with some ratio and uploaded image is already has this ratio.
- Correct reading of EXIF data from some corrupeted JPEGs.
- New crop visual style.
- Updated Spanish locale.
- Updated Catalan locale.
- New Azerbaijan locale.
- New Catalan locale. Incomplete.
- Updated Taiwan locale.
- Updated Turkish locale.
- jQuery updated to 1.11.3.
- Fixed version with builtin jQuery.
- Camera are revoked when user switches on another tab if page runs over HTTPS.
- Clicking to image in dialog led to opening of two crop dialogs in some cases.
- Dialog api change: undocumented
fileColl.onAnyDone
,fileColl.onAnyFail
andonAnyProgress
become a functions with guarantee of callback execution for each object infileColl
.
- New preview page for multiple images (when flag imagesOnly is set).
- Crop now works with multiple files (even when flag imagesOnly is not set).
- New Italian locale.
- Camera tab is hidden for mobile layout now. Mobile devices have camera or regular file tab.
- New
widget.onDialogOpen
callback. - Role plugin removed from built-in jQuery.
@some-role
can't be used anymore in selectors passed to API methods. Use[role="some-role"]
instead. - Fixed jQuery bug related to promises. jquery/jquery#2013 Progress was not shown in some cases with crop.
uploadcare.initialize()
now initializes widgets in whole document, not only 'body' descendants.- Custom events
#{status}.uploadcare
are fired on widget instead of form. (works with built-in jQuery only).
- Fixed "also choose file from" list on mobile layout.
- Fixed live initialization (when a new widget is added to the page after loading). Broken since 2.1.0.
- Restored compatibility with IE8. Broken since 2.1.0.
- Traditional Chinese locale (zhTW).
- Hidden tabs (camera, for example) excluded from list of sources on first dialog's tab.
- New method in dialog api:
isTabVisible()
. - New callback in dialog api:
onTabVisibility
. Triggered when some tab is showed or hidden.
- Fixed compatibility with jQuery-ui (internal
sortable
plugin renamed touploadcareSortble
).
- Fixed welcome text when public key is not set.
- Fixed error messages in console in jQuery build.
- Keyboard navigation.
- Widgets are initialized immediately after page loading, not after 100ms.
- Role attributes inside the widget were aligned with ARIA.
The
uploadcare-uploader
role is still used for widget identification. - Multiple panels's footer is now maintained by panel itself, not by tabs. As a result the footer will appear on custom tabs too.
- New
showTab
andhideTab
methods for dialog api. uploadcare.globals()
now includes settings fromuploadcare.start()
.- Removed
white-space: nowrap
around the widget. - Reduced the number of relatively slow
settings.build
andsettings.normalize
calls.
- Fix exception when multiple files are uploaded simalteniously with
image-shrink
option and uploading is cancelled.
- Added compatibility with FastClick.
- Warnings from
image-shrink
option are suppressed.
- Fixed error if validation is failed.
- Fixed error in case of large file with imagesOnly settings and files larger than 100 MB in old browsers.
- Transparent images are automatically shrinked to PNG.
- Considering
cdnUrlModifiers
when group is loaded.
- Fixed uploading of large files.
- Restored compatibility with IE 8-9 and other old browsers.
Compatibility breaking changes in this release.
- Resize images on client before uploading (
image-shrink
option). - Autostore option was removed (but not autostore itself). Now file is automatically stored if the project allows autostore.
- New option
do-not-store
. Use it when autostore is enabled in the project, but you don’t want to store files uploaded with a particular widget. uploadcare.Widget
now can return either single or multiple widgets.- New
uploadcare.SingleWidget
function reproduce olduploadcare.Widget
behavior — it raises an exception on multiple widgets. - New
sourceInfo
property is added to the info of the files uploaded from social sources. At the moment only extended info about Instagram files is provided. dialogApi
for custom tabs is now the same object as dialog and panel objects.dialogApi
now supports promise interface, and dialog and panel objects havefileColl
,addFiles
andswitchTab
properties. New methodresolve
is also added.- Custom tabs constructors now receive tab name as last argument.
- Fix group
cdnUrl
property when group creation is failed. - Multi-upload widget does not break when
null
value assigned to it.
path-value
is on by default. Widget will always return file URL, not only when crop is used.- Widget value is no longer cleared when file is failed to upload.
- Input value is no longer cleared when a new uploading is started. Previous value remains until upload of a new file is successful.
dialogApi.dialog
is removed in favor ofdialogApi
itself, which now supports promise interface.dialogApi.done
is part of the promise interface and receives a callback (instead of triggering resolving). In order to resolve usedialogApi.resolve
.dialogApi.onSwitched
is removed in favor ofdialogApi.progress
and tab name.uploadcare.Circle.listen
now expects progress value to be the first argument ofprogress
callback.
- Fixed creation of group with modifiers.
- Fixed assiging array of files as value to multiple widget.
- Fixed filename and progress indication for piped file objects in multiple dialog.
- Fixed progress drawing when progress element size is 0.
- Fixed the error preventing any file uploading in old versions of Google Chrome. Bug was instroduced in 1.5.0.
- New Arabic locale.
- New file source Huddle (huddle.com).
- Dialog is closed by double click on gray background instead of single click.
- New
uploadcare.closeDialog()
method close current active dialog (usefull for single-page applications).
- Built-in jQuery updated to 1.11.1
- Validators for
openDialog()
,openPanel()
andfilesFrom
- Mirror option in camera tab
- Capture highest possible video resolution from camera
- Go to preview tab after camera shot for multiple widget
- Fixed buttons on camera tab for multiple widget
- Fixed video preview on camera tab on Android
- Fixed English locale for camera dialog
- Fixed some typos in the norwegian locale
- Camera tab
- Progress circle color can be changed through CSS
- Version without built-in jQuery
- Added Norwegian locale
- Improved iOS scrolling performance in some cases
- Dropbox added to default tabs list (no additional setup is required anymore)
- All default tabs rearranged according to their usage
- Restored IE8 compatibility.
- Fix conflict with host pages Pusher. Built-in pusher isn't exposed to global namesapse anymore.
- Japanese localization.
- French localization updated.
- Use progressive jpeg for preview and crop.
- Fixed ui freeze in IE 10+ after file choosing.
- Fixed crop to fixed size when whole image is selected
- Fixed progress indication for files smaller than 1kb
- Added
accept="image/*"
input attribute for images only widgets
- German localization.
- Retina icons for all social networks.
- Updated "local files" tab for mobile devices.
- Widget works on local pages (without web server).
utils
andt
are no more exposed to file info.- Fix French and Portuguese locales.
- Fixed preview size for wide images in non-webkit browsers.
- Multiple cropping presets can be added divided by comma. User can choose any.
- Fixed free crop problem introduced in previous version.
- Further crop fixes
- Fixed croping for
minimum
settings and othr rare cases. - Fixed uploading in IE9- when jQuery not used on page.
- Added Flickr as a source.
- Added Danish locale.
- Fixed French localization.
- Added Dutch locale.
system-dialog
widget settings.- Restored compatibility with some old browsers versions.
- Fixed uploading from url.
- Mobile version.
- Undocumented
fileFrom('event')
method was removed. - Page scrolling disabled when dialog is opened.
- Increased active size of crop corners.
- New widget settings
preferred-types
. - Fixed tabs order when 'all' or 'default' shortcuts used.
- Fixed transparent images crop.
- Clear look for close icon.
- Added Turkish locale.
- Fixed crop on pages with old bootstrap.
- Widget now is one button "Choose a file". Progress circle appears only on uploading.
- Widget adapts to host page: controls size depends on font size only, height can be adjusted via line-height.
- Widget always return CDN urls when crop used (similar to path-value option).
- Validators runs every time new file properties available. All unavailable properties are null.
- Fixed scrolling on social tabs on touch devices.
- Fixed file size labels.
- Fixed images in multiple preview in IE8.
- Fixed impossible to set null value to widget.
- Removed deprecated
preview()
andpreviewUrl
fields offileInfo
object.
- better compatibility with host page markup
- Large files uploads in parallel by small pieces with automatic recovering in case of network errors.
- Requests aborts after user cancels upload.
- Slightly reduced cpu usage during large files uploading.
- We now support large files uploads. Merry Christmas.
- Removing file from multiupload preview step no longer closes whole dialog. Bug introduced in 0.16.0.
- Widget.onChange now fires immediately after user chooses file.
uploadcare.openPanel()
method added. It allows open panel with tabs embedded in page (no modal mode).uploadcare.registerTab()
method added. Now you can add custom tabs to dialogs and panels.- jQuery version updated to 1.10.2. If you use
uploadcare.jQuery
, please check update guide http://jquery.com/upgrade-guide/1.9/ - spelling of
body.uploadcare-dragging
class fixed (it was draging). If you use this class, update your code. uploadcare-dragging
class now appear on elements used as target forreceiveDrop
anduploadDrop
- Skydrive tab added.
- Box.com tab added.
- Fixed bug, do not allow set value while page loading.
- Widget's width can be easily changed in css.
- Css is now prepended to head, this allows overriding css rules without
important
keyword.
- Tiny replacement of jQuery UI sotrable plugin used. This saves about 12kb of gziped widget size for multiupload documents.
- New settings
clearable
allows user to remove uploaded file from widget. It is turned off by default. - Widget does not cleared if user cancels dialog.
- Portuguese localization added.
- Minimum and maximum limits for number of files in MultipleWidget added.
- Chinese localization updated.
- French localization was added.
- Custom file's validators can be used to restrict user's choice.
- Undocumented method
fileInfo.dimensions()
was removed. - Undocumented callback
Dialog.uploadDone
was removed.
uploadcare.filesFrom
function exposed in api.
- Fixed loading from url and social sources. Bug introduced in 0.13.3.
- Opening speed is significantly impoved for widget with hundreds of files
- Restored compatibility with IE8 and some Firefox versions
- Translations fixes
- widget size reduced from 341 to 293 kb (from 104 to 93 kb gziped)
- Widget no longer accepts urls in
value
HTML-attribute orvalue()
method. You should usewidget.value(uploadcare.fileFrom('url', 'http://url/'))
. - Widget now can be used with any custom domain.
- switch to preview tab right after selecting files
- prevent to request not ready images in multiupload preview
uploadcare.tabsCss
api fixed
- restrictions on the number of files in multiupload group removed
- fixed bug introduced in 0.12.0 related to loading info about already uploaded files
- crop options "upscale" and "minimum" also applicable to ratio
- built-in jQuery (version 1.8.3) now available in
uploadcare.jQuery
- new property
originalImageInfo
offileInfo
object - now you can use
fileInfo.cdnUrl
with all operations right after uploading - traffic and preview delay significantly reduced for large images
- new option for crop — "minimum". Doesn't allows user to select area less then you specified
- add Chinese (Simplified) locale
- drag and drop api
- source tabs styling
- widget size reduced from 455 to 346 kb (from 144 to 105 kb gziped)
- fixed bug when can't upload new file from uploadcare cdn url
- better compatibility with host page markup
- evernote is supported as a source of files
- if images_only is used, video thumbnails are loaded from the instagram
- fixed bug, preventing some of our clients from using uploadcare with AMD