Skip to content

Releases: react-dropzone/react-dropzone

v14.2.3

12 Oct 13:32
Compare
Choose a tag to compare

14.2.3 (2022-10-12)

Bug Fixes

v14.2.2

03 Jul 02:15
8127759
Compare
Choose a tag to compare

14.2.2 (2022-07-03)

Bug Fixes

  • allow {accept} file selection w/o using the OS options (8127759)

v14.2.1

07 May 05:26
Compare
Choose a tag to compare

14.2.1 (2022-05-07)

Bug Fixes

  • call onError if FS access API fails in secure ctx (a2039fd)

v14.2.0

03 May 12:48
Compare
Choose a tag to compare

14.2.0 (2022-05-03)

Features

  • bump file-selector to v0.6 (239dd29)

v14.1.2

03 May 03:34
Compare
Choose a tag to compare

14.1.2 (2022-05-03)

Bug Fixes

  • add missing onError type (7aff9a5)

v14.1.1

02 May 02:25
Compare
Choose a tag to compare

14.1.1 (2022-05-02)

Bug Fixes

  • apply custom validator on {isDragAccept,isDragReject} (2d33fdf)

v14.1.0

02 May 01:52
Compare
Choose a tag to compare

14.1.0 (2022-05-02)

Features

  • add option to auto focus the root and close #1145 (1b91e50)

v14.0.1

01 May 13:50
Compare
Choose a tag to compare

14.0.1 (2022-05-01)

Bug Fixes

  • use aria role presentation by default and close #1152 (7a2f405)

v14.0.0

01 May 13:19
Compare
Choose a tag to compare

14.0.0 (2022-05-01)

Features

BREAKING CHANGES

  • the {draggedFiles} prop on the returned hook state has been removed and the accept/reject state is only computed on drag enter and drop.

v13.0.0

30 Apr 02:48
Compare
Choose a tag to compare

13.0.0 (2022-04-30)

Features

  • add {onError} cb to allow users to handle errors (9134893)
  • allow passing file ext. to the file picker options and close #1141 (58976f4)

BREAKING CHANGES

  • The {accept} prop will now require an object instead of a string or array of strings:

Before:

useDropzone({
  accept: ".jpeg,.png"
  // accept: [".jpeg", ".png"]
})

After:

useDropzone({
  accept: {
    "image/*": [".jpeg", ".png"]
  }
})