All Versions
18
Latest Version
Avg Release Cycle
24 days
Latest Release
30 days ago

Changelog History
Page 1

  • v11.0.1

    April 26, 2020

    11.0.1 (2020-04-26)

    🐛 Bug Fixes

    • #911 isDragActive value when dragging over text on Firefox (08a89cf)
  • v11.0.0

    April 26, 2020

    11.0.0 (2020-04-26)

    🔋 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

    March 26, 2020

    10.2.2 (2020-03-26)

    🐛 Bug Fixes

  • v10.2.1

    November 24, 2019

    10.2.1 (2019-11-24)

    🐛 Bug Fixes

    • cover for edge cases when checking file size and close #888 (b09129b)
  • v10.2.0

    November 16, 2019

    10.2.0 (2019-11-16)

    🔋 Features

  • v10.1.10

    October 06, 2019

    10.1.10 (2019-10-06)

    🐛 Bug Fixes

    • apply min/max file size conditions to {isDragReject} prop (#878) (c8a7322)
  • v10.1.9

    September 18, 2019

    10.1.9 (2019-09-18)

    🐛 Bug Fixes

  • v10.1.8

    August 28, 2019

    10.1.8 (2019-08-28)

    🐛 Bug Fixes

    • 🛠 fix open file dialog programmatically and close #853 (536997c)
  • v10.1.7

    July 30, 2019

    10.1.7 (2019-07-30)

    🐛 Bug Fixes

    • 👍 allow setting input {disabled} prop to false (acea5df)
  • v10.1.6

    July 21, 2019

    10.1.6 (2019-07-21)

    🐛 Bug Fixes

    • 🛠 fix click event propagation and close #826 (a159354)