Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Update dependency react-dropzone to v11 #612

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 26, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-dropzone ^10.0.5 -> ^11.0.0 age adoption passing confidence

Release Notes

react-dropzone/react-dropzone

v11.3.4

Compare Source

Bug Fixes
  • add the validator as dependency to onDropCb (4e625d2)

v11.3.3

Compare Source

Bug Fixes
  • typings: use generics for getRootProps and getInputProps (27243bc)

v11.3.2

Compare Source

Bug Fixes
  • Check drag event contains files before showing "copy" cursor (ec93425), closes #​1042

v11.3.1

Compare Source

Bug Fixes
  • allow validator to be null (6f0e826)

v11.3.0

Compare Source

Features
  • add {validator} for custom validation (ebe2130)

v11.2.4

Compare Source

Bug Fixes
  • add supported browsers via browserslist config and close #​630 (5a4ae93)

v11.2.3

Compare Source

Bug Fixes
  • update internal state when maxFiles prop changes and close #​1025 (bb42b94)

v11.2.2

Compare Source

Bug Fixes

v11.2.1

Compare Source

Bug Fixes

v11.2.0

Compare Source

Features
  • add {maxFiles} to limit the accepted files (624549c)

v11.1.0

Compare Source

Features
  • improve Typescript support for errors (21a412c)

v11.0.3

Compare Source

Bug Fixes
  • define functions as properties (dc5c7e2)

v11.0.2

Compare Source

Bug Fixes
  • examples: rejectedFiles to fileRejections (19cf778)

v11.0.1

Compare Source

Bug Fixes
  • #​911 isDragActive value when dragging over text on Firefox (08a89cf)

v11.0.0

Compare Source

Features
  • add reject reasons to onDrop, onDropRejected callbacks (#​938) (199c9ea)
BREAKING CHANGES
  • The method signatures of onDrop and onDropRejected as well as the return value of useDropzone were changed in order to add the reasons why rejected files were rejected.

onDrop BEFORE this change:

onDrop?<T extends File>(acceptedFiles: T[], rejectedFiles: T[], event: DropEvent): void;

onDrop AFTER this change:

onDrop?<T extends File>(acceptedFiles: T[], fileRejections: FileRejection[], event: DropEvent): void;

onDropRejected BEFORE this change:

onDropRejected?<T extends File>(files: T[], event: DropEvent): void;

onDropRejected AFTER this change:

onDropRejected?(fileRejections: FileRejection[], event: DropEvent): void;

rejectedFiles from the return value of useDropzone was replaced with
fileRejections.

The defintion of a FileRejection is:

export interface FileError {
  message: string;
  code: string;
}

export interface FileRejection {
  file: File;
  errors: FileError[];
}

v10.2.2

Compare Source

Bug Fixes

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/react-dropzone-11.x branch from 7d1f447 to 837a480 Compare February 12, 2021 02:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant