Closed greenkeeper[bot] closed 1 year ago
Update to this version instead 🚀
<a name"4.0.1">
Update to this version instead 🚀
The new version differs by 7 commits.
a5471a5
fix: Dragging multiple files when multiple is false doesn't apply rejectStyle (#489)
b8c99df
build: Remove npm prune since it's failing on Travis CI
05e5b67
build: Use Node 8 on Travic CI
5b1cebc
build: Rename organization from okonet to react-dropzone
3e8e5e1
style: Separate utilities for readability (#483)
20b0650
chore: Update all the dependencies (#482)
3718610
docs: Update Travis CI badge URL
See the full diff
Update to this version instead 🚀
The new version differs by 8 commits.
1d270e5
fix: Update props that should not be applied to the DOM element (#504)
70c8fc3
test: Increase size-limit threshold to 6KB (#506)
6a45f31
test: Fix wallaby config (#505)
b15fecb
Merge pull request #498 from react-dropzone/size-limit
6a03669
chore(size-limit): Add why script
47a511b
chore(size-limit): Add size-limit
82cb91d
chore(stale): Add pinned to excluded label (#494)
fd39c49
chore: Add Stale bot to automatically close stale issues and PRs (#493)
See the full diff
Update to this version instead 🚀
The new version differs by 7 commits.
b65625d
fix: persist synthetic event (#657)
8ad99a7
chore: fix security issue by updating deps (#654)
a5b2885
tests: Replace sinon with jest mock functions (#651)
3a886fe
chore: Upgrade dev dependencies (#643)
f9fc440
tests: Upgrade to react 16 / enzyme 3 (#645)
25852bb
build(styleguidist): Upgrade react-styleguidist and remove webpack (#642)
739c182
build: Bundle UMD with Rollup (#601)
See the full diff
dependency
react-dropzone was updated from 3.13.4
to 5.1.1
.Update to this version instead 🚀
The new version differs by 4 commits.
b33ea28
build: Remove travis-deploy-once and use npx semantic-release
8a234b0
docs: fix styling example always showing same message
d693505
docs: add relevant comment to accepted/rejected files state
cb99c8a
fix: set accepted/rejected files state on drop
See the full diff
dependency
react-dropzone was updated from 3.13.4
to 6.0.0
.Update to this version instead 🚀
File
when react-dropzone will ignore them.dependency
react-dropzone was updated from 3.13.4
to 6.0.1
.dependency
react-dropzone was updated from 3.13.4
to 6.0.2
.Update to this version instead 🚀
dependency
react-dropzone was updated from 3.13.4
to 6.0.3
.dependency
react-dropzone was updated from 3.13.4
to 6.0.4
.dependency
react-dropzone was updated from 3.13.4
to 6.1.0
.dependency
react-dropzone was updated from 3.13.4
to 6.1.1
.dependency
react-dropzone was updated from 3.13.4
to 6.1.2
.dependency
react-dropzone was updated from 3.13.4
to 6.1.3
.dependency
react-dropzone was updated from 3.13.4
to 6.2.0
.dependency
react-dropzone was updated from 3.13.4
to 6.2.1
.dependency
react-dropzone was updated from 3.13.4
to 6.2.2
.dependency
react-dropzone was updated from 3.13.4
to 6.2.3
.dependency
react-dropzone was updated from 3.13.4
to 6.2.4
.dependency
react-dropzone was updated from 3.13.4
to 7.0.0
.Update to this version instead 🚀
If you wish to create previews, you can easily achieve this in the onDrop()
callback:
class MyZone extends React.Component {
onDrop = files => {
this.setState({
files: files.map(file => ({
...file,
preview: URL.createObjectURL(file)
}))
});
}
cleanup = () => {
// Revoke data uris when done using the previews
const {files} = this.state;
for (const file of files) {
URL.revokeObjectURL(file.preview);
}
}
render() {
return (
<Dropzone onDrop={this.onDrop} />
);
}
}
dependency
react-dropzone was updated from 3.13.4
to 7.0.1
.dependency
react-dropzone was updated from 3.13.4
to 8.0.0
.Update to this version instead 🚀
<Dropzone>
component now requires a rendering function, either provided as the children or as a prop.Before:
<Dropzone />
After:
<Dropzone>
{({getRootProps}) => <div {...getRootProps()} />}
</Dropzone>
dependency
react-dropzone was updated from 3.13.4
to 8.0.1
.dependency
react-dropzone was updated from 3.13.4
to 8.0.2
.dependency
react-dropzone was updated from 3.13.4
to 8.0.3
.dependency
react-dropzone was updated from 3.13.4
to 8.0.4
.dependency
react-dropzone was updated from 3.13.4
to 8.1.0
.dependency
react-dropzone was updated from 3.13.4
to 8.2.0
.dependency
react-dropzone was updated from 3.13.4
to 9.0.0
.Update to this version instead 🚀
<Dropzone>
{({getRootProps}) => (
<div {...getRootProps({onClick: evt => evt.preventDefault()})}>
Drop some files here
</div>
)}
</Dropzone>
dependency
react-dropzone was updated from 3.13.4
to 10.0.0
.Update to this version instead 🚀
{getDataTransferItems}
property has been renamed to {getFilesFromEvent}
.
dependency
react-dropzone was updated from 3.13.4
to 10.0.1
.
Version 4.0.0 of react-dropzone just got published.
The version 4.0.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of react-dropzone. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
v4.0.0<a name"4.0.0">
4.0.0 (2017-08-04)
Bug Fixes
Breaking Changes
(d08eabdb)
Commits
The new version differs by 2 commits.
d08eabd
fix: Always show an active drag state during the drag (#467)
cfdc897
docs: Fix the spelling mistakes. (#471)
See the full diff
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: