Releases: vaadin/vaadin-upload
Releases · vaadin/vaadin-upload
v2.0.0-alpha2 – Polymer 2.0 as default
Changes
polymer
now depends on^2.0.0
by default- Other dependencies depend now on
2.0-preview
by default
v2.0.0-alpha1 – Polymer 2.0 support
Changes
- Polymer 2.0 support
- Manual upload triggering added (thanks to @stramel!)
no-auto
can be set to disable the automatic uploadinguploadFiles()
is then called to initiate uploading of the queued files- Live Demo ↗
- Customizing upload button added (thanks to @stramel!)
- slot
add-button
can be used to replace the default button - Live Demo ↗
- slot
Breaking Changes
- To provide custom elements, slots are now used instead of classes
- Available slots currently are:
add-button
,file-list
,drop-label
,drop-label-icon
- Available slots currently are:
- Customizing the drop label icon needs to be placed outside the drop label with its own
slot
<!-- 1.x -->
<vaadin-upload>
<div class="drop-label">
<iron-icon icon="cloud-upload"></iron-icon>
Drop files
</div>
</vaadin-upload>
<!-- 2.0 -->
<vaadin-upload>
<iron-icon slot="drop-label-icon" icon="cloud-upload"></iron-icon>
<span slot="drop-label">Drop files</span>
</vaadin-upload>
v1.1.4 – Maintenance Release
Changes
- Fixed #157 (Long filenames make the "abort" button disappear on Firefox)
v1.1.3 – Maintenance Release
Changes
- Allow multiple wildcard values in
accept
#159 (Thanks @samuelportz)
v1.1.2 – Maintenance Release
Changes:
- Dragover doesn't disable the click anymore (#107) (Thanks @stramel!)
- Refresh button gets hidden properly when upload finishes (#155) (Thanks @moritzmenzel!)
v1.1.1 – formDataName added
Changes:
formDataName
property added- Unnecessary
iron-icons.html
import removed
v1.1.0
Changes:
- Removed deprecated Angular 2 directive, which was only available briefly in the 1.1.0 beta versions. Please use angular2-polymer instead.
- The
accept
property is now case-insensitive (#118). - Manual
xhr.send(...)
is now allowed when theupload-request
event is prevented (#96).
v1.0.3 – Custom Iconset
Changes:
<iron-icons>
dependency replaced with a custom iconset (thanks to @robrez)
v1.0.2 – Cleaning up dependencies
v1.0.1 – MIME type improvements
Changes:
-
Use maxFiles instead of nomultiple in demos
Manolo Carrasco - Thu, 2 Jun 2016 12:59:04 +0300
-
Fix reject files when specifying the complete mime type
Manolo Carrasco - Thu, 2 Jun 2016 12:57:07 +0300