zeachco / zeachco.com

website
1 stars 1 forks source link

Update react-dropzone to the latest version 🚀 #23

Closed greenkeeper[bot] closed 1 year ago

greenkeeper[bot] commented 7 years ago

Version 4.0.0 of react-dropzone just got published.

Dependency react-dropzone
Current Version 3.13.4
Type dependency

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

  • isDragAccept acts like isDragActive before. isDragActive is true during the drag.
    (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:

greenkeeper[bot] commented 7 years ago

Version 4.0.1 just got published.

Update to this version instead 🚀

Release Notes v4.0.1

<a name"4.0.1">

4.0.1 (2017-08-16)

Bug Fixes

  • Set autocomplete="off" on input to remove SecurityError in Firefox (#476) (43e55741, closes #475)
Commits

The new version differs by 3 commits.

  • 43e5574 fix: Set autocomplete="off" on input to remove SecurityError in Firefox (#476)
  • cf76683 docs: Better formatting
  • 28953a8 docs: Add looking for maintainers message

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 2 commits.

  • f55715e feat: Add disable prop (#473)
  • acfa1b8 docs: Add infos about file.path and FileReader API (#481)

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.1.1 just got published.

Update to this version instead 🚀

Release Notes v4.1.1

4.1.1 (2017-09-04)

Bug Fixes

  • Dragging multiple files when multiple is false doesn't apply rejectStyle (#489) (a5471a5), closes #488
Commits

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

greenkeeper[bot] commented 7 years ago

Version 4.1.2 just got published.

Update to this version instead 🚀

Release Notes v4.1.2

4.1.2 (2017-09-06)

Bug Fixes

  • 490: Put build dependencies to devDependencies (#491) (dccb796), closes #490
Commits

The new version differs by 1 commits.

  • dccb796 fix(490): Put build dependencies to devDependencies (#491)

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.1.3 just got published.

Update to this version instead 🚀

Release Notes v4.1.3

4.1.3 (2017-09-20)

Bug Fixes

  • Update props that should not be applied to the DOM element (#504) (1d270e5), closes #503
Commits

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

greenkeeper[bot] commented 7 years ago

Version 4.2.0 just got published.

Update to this version instead 🚀

Release Notes v4.2.0

4.2.0 (2017-10-11)

Features

Commits

The new version differs by 1 commits.

  • 1fd768b feat: Add es2015 module build (#510)

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.2.1 just got published.

Update to this version instead 🚀

Release Notes v4.2.1

4.2.1 (2017-10-19)

Bug Fixes

  • Fix bug in IE11 when this.node could be null when calling onDocumentDrop (#517) (24c6ce5), closes #492
Commits

The new version differs by 1 commits.

  • 24c6ce5 fix: Fix bug in IE11 when this.node could be null when calling onDocumentDrop (#517)

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.2.2 just got published.

Update to this version instead 🚀

Release Notes v4.2.2

4.2.2 (2017-11-16)

Bug Fixes

Commits

The new version differs by 2 commits.

  • 67ffd7c fix: Add 'yarn.lock' to '.npmignore' (#532)
  • 913bc97 docs: Fix the overlay position in the full screen example (#519)

See the full diff

greenkeeper[bot] commented 7 years ago

Version 4.2.3 just got published.

Update to this version instead 🚀

Release Notes v4.2.3

4.2.3 (2017-11-17)

Bug Fixes

  • SSR: Remove event listeners only if the element exist in DOM (#537) (ccb859f)
Commits

The new version differs by 1 commits.

  • ccb859f fix(SSR): Remove event listeners only if the element exist in DOM (#537)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.2.6 just got published.

Update to this version instead 🚀

Release Notes v4.2.6

4.2.6 (2018-01-19)

Bug Fixes

Commits

The new version differs by 1 commits.

  • 223b946 fix: Add .babelrc to .npmignore (#558)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.2.7 just got published.

Update to this version instead 🚀

Release Notes v4.2.7

4.2.7 (2018-01-19)

Bug Fixes

  • restore isFileDialogActive to false after the FileDialog was closed (#556) (0eb69bb)
Commits

The new version differs by 2 commits.

  • 0eb69bb fix: restore isFileDialogActive to false after the FileDialog was closed (#556)
  • 8e4ae3f build: Use Webpack production mode during the build (#555)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.2.8 just got published.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • 252253d fix: Proper externals for the UMD build (#564)
  • d4e7763 docs: Clarify documentation for the file size props (#569)
  • 9e62340 fix: Check if this.fileInputEl is null (#561)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.2.9 just got published.

Update to this version instead 🚀

Release Notes v4.2.9

4.2.9 (2018-03-07)

Bug Fixes

Commits

The new version differs by 4 commits.

  • 72abe1d fix: Wrap open in setTimeout only for IE/Edge. (#578)
  • 3c84078 Merge pull request #574 from pravdomil/patch-2
  • d143ea3 minor changes in docs
  • 4530afb build: Move semantic-release to CI (#571)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.2.10 just got published.

Update to this version instead 🚀

Release Notes v4.2.10

4.2.10 (2018-05-22)

Bug Fixes

  • Fix onFileDialogCancel listener being overwritten for each instance (#611) (afaf401)
Commits

The new version differs by 1 commits.

  • afaf401 fix: Fix onFileDialogCancel listener being overwritten for each instance (#611)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.2.11 just got published.

Update to this version instead 🚀

Release Notes v4.2.11

4.2.11 (2018-05-31)

Bug Fixes

  • update 'accept' proptype definition (f174b13)
Commits

The new version differs by 3 commits.

  • 1f66b75 Merge pull request #615 from tamlyn/master
  • f174b13 fix: update 'accept' proptype definition
  • 221263e docs: Rename examples/File Dialog/ to examples/FileDialog (#608)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.2.12 just got published.

Update to this version instead 🚀

Release Notes v4.2.12

4.2.12 (2018-06-26)

Bug Fixes

  • accessibility: Better CSS to hide file input to still make it focusable and accessible for validation and keyboard (#606) (d12f9f6)
Commits

The new version differs by 2 commits.

  • d12f9f6 fix(accessibility): Better CSS to hide file input to still make it focusable and accessible for validation and keyboard (#606)
  • d7846a1 docs: Add a note about async file dialog blocking in modern browsers (#617)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.2.13 just got published.

Update to this version instead 🚀

Release Notes v4.2.13

4.2.13 (2018-07-04)

Bug Fixes

Commits

The new version differs by 1 commits.

  • 41f00de fix: Fixed code typo (style => styles) (#625)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.3.0 just got published.

Update to this version instead 🚀

Release Notes v4.3.0

4.3.0 (2018-08-06)

Features

  • Support for plugins using getDataTransferItems prop (#616) (71a54ad), closes #609
Commits

The new version differs by 3 commits.

  • 71a54ad feat: Support for plugins using getDataTransferItems prop (#616)
  • 28526fe chore(size-limit): Increase size limits to make them a bit loose (#637)
  • 77ec8e2 chore: upgrade attr-accept (#621)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 4.3.1 just got published.

Update to this version instead 🚀

Release Notes v4.3.1

4.3.1 (2018-08-17)

Bug Fixes

Commits

The new version differs by 1 commits.

  • 49abf5a fix: Reject multiple file drop if single mode (#641)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.0 just got published.

Update to this version instead 🚀

greenkeeper[bot] commented 6 years ago

Version 5.0.1 just got published.

Update to this version instead 🚀

Release Notes v5.0.1

5.0.1 (2018-08-18)

Bug Fixes

  • SSR: Add event listeners only if the element exist in DOM (#628) (c60a79d), closes #537
Commits

The new version differs by 1 commits.

  • c60a79d fix(SSR): Add event listeners only if the element exist in DOM (#628)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 5.0.2 just got published.

Update to this version instead 🚀

Release Notes v5.0.2

5.0.2 (2018-09-08)

Bug Fixes

Commits

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

greenkeeper[bot] commented 6 years ago

Version 5.1.0 just got published.

Update to this version instead 🚀

Release Notes v5.1.0

5.1.0 (2018-09-09)

Features

Commits

The new version differs by 1 commits.

  • 3b04bde feat: Add initial typescript definition (#591)

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v5.1.1

5.1.1 (2018-09-26)

Bug Fixes

  • set accepted/rejected files state on drop (cb99c8a)
Commits

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

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.0.0

6.0.0 (2018-10-02)

Bug Fixes

  • only call *onDrag callbacks when dragging files (#619) (60d995e)

BREAKING CHANGES

  • Callbacks won't get executed for non-file items anymore i.e. if items aren't of type File when react-dropzone will ignore them.
Commits

The new version differs by 2 commits.

  • 60d995e fix: only call *onDrag callbacks when dragging files (#619)
  • 343d41f docs: Add en example of folders drag'n'drop (#662)

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.0.1

6.0.1 (2018-10-03)

Bug Fixes

  • Mark children as optional in the typings (#663) (f836d38)
Commits

The new version differs by 2 commits.

  • f836d38 fix: Mark children as optional in the typings (#663)
  • 9f7e09c docs: Updated year in LICENSE (#671)

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.0.2

6.0.2 (2018-10-03)

Bug Fixes

Commits

The new version differs by 1 commits.

  • a5d7211 fix: fix a regression introduced by #619 (#678)

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.0.3

6.0.3 (2018-10-10)

Bug Fixes

  • update folder drop example (f016c8d)
Commits

The new version differs by 1 commits.

  • f016c8d fix: update folder drop example

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.0.4

6.0.4 (2018-10-11)

Bug Fixes

  • edge: drag a link trigger drop event (d6cc063)
Commits

The new version differs by 1 commits.

  • d6cc063 fix(edge): drag a link trigger drop event

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.1.0

6.1.0 (2018-10-12)

Features

Commits

The new version differs by 2 commits.

  • f37fb5b feat: add open() to child func props (#691) (#692)
  • 3e9ff52 docs: add missing key to fullscreen example (#693)

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.1.1

6.1.1 (2018-10-13)

Bug Fixes

Commits

The new version differs by 1 commits.

  • b6aab86 fix: call setState before callbacks (#690)

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.1.2

6.1.2 (2018-10-13)

Bug Fixes

  • pass event to user-supplied inputProps {onClick} (fd99719)
Commits

The new version differs by 1 commits.

  • fd99719 fix: pass event to user-supplied inputProps {onClick}

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.1.3

6.1.3 (2018-10-13)

Bug Fixes

  • improve drag type detection and fix styling in Safari (78d8eed), closes #668
Commits

The new version differs by 1 commits.

  • 78d8eed fix: improve drag type detection and fix styling in Safari

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.2.0

6.2.0 (2018-10-13)

Features

  • improve TypeScript setup (5fedd14)
Commits

The new version differs by 1 commits.

  • 5fedd14 feat: improve TypeScript setup

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.2.1

6.2.1 (2018-10-13)

Bug Fixes

Commits

The new version differs by 1 commits.

  • bb26403 fix: improve onClick and disableClick props (fixes #530) (#694)

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.2.2

6.2.2 (2018-10-14)

Bug Fixes

Commits

The new version differs by 1 commits.

  • 4578f1b fix: fix regression in PRs #673 and #695

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.2.3

6.2.3 (2018-10-15)

Bug Fixes

  • fix types for getDataTransferItems() (14e6b67)
Commits

The new version differs by 1 commits.

  • 14e6b67 fix: fix types for getDataTransferItems()

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v6.2.4

6.2.4 (2018-10-16)

Bug Fixes

Commits

The new version differs by 1 commits.

  • fd65863 fix: fix event propagation and close #686

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v7.0.0

7.0.0 (2018-10-26)

Code Refactoring

BREAKING CHANGES

  • File{preview} has been removed to avoid possible memory leaks

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} />
    );
  }
}
Commits

The new version differs by 1 commits.

  • a93e426 refactor: remove file preview and close #705

See the full diff

greenkeeper[bot] commented 6 years ago

Update to this version instead 🚀

Release Notes for v7.0.1

7.0.1 (2018-10-26)

Bug Fixes

Commits

The new version differs by 1 commits.

  • ff2b615 fix: fix on file select dialog close behaviour (#707)

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v8.0.0

8.0.0 (2018-12-10)

Features

BREAKING CHANGES

  • The <Dropzone> component now requires a rendering function, either provided as the children or as a prop.

Before:

<Dropzone />

After:

<Dropzone>
  {({getRootProps}) => <div {...getRootProps()} />}
</Dropzone>
Commits

The new version differs by 3 commits.

  • 37306d9 feat: make headless
  • 9968ca8 docs: replace spread operator with Object.assign in preview example, simplify cWU function
  • 3575922 docs: Fix test example and link to test suite

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v8.0.1

8.0.1 (2018-12-13)

Bug Fixes

  • allow drag drop while file select dialog is opened (c8e3ad1)
Commits

The new version differs by 1 commits.

  • c8e3ad1 fix: allow drag drop while file select dialog is opened

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v8.0.2

8.0.2 (2018-12-17)

Bug Fixes

  • do not capture keyboard events from children and close #730 (d4ee298)
Commits

The new version differs by 1 commits.

  • d4ee298 fix: do not capture keyboard events from children and close #730

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v8.0.3

8.0.3 (2018-12-22)

Bug Fixes

Commits

The new version differs by 1 commits.

  • 5ed0a82 fix: fix check for file types and close #726

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v8.0.4

8.0.4 (2019-01-29)

Bug Fixes

Commits

The new version differs by 4 commits.

  • b9d9d0b fix: set dropEffect on dragover and close #749
  • 615bb72 docs: remove looking for maintainers message
  • 768b79e Remove note about missing maintainers
  • fdc8e71 docs: Fix click to open dialog for styled-components example

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v8.1.0

8.1.0 (2019-02-08)

Features

  • use native {defaultPrevented} and {cancelBubble} (db88425)
Commits

The new version differs by 1 commits.

  • db88425 feat: use native {defaultPrevented} and {cancelBubble}

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v8.2.0

8.2.0 (2019-02-21)

Features

  • add support for folder drag 'n' drop (2fc6e06)
Commits

The new version differs by 3 commits.

  • 2fc6e06 feat: add support for folder drag 'n' drop
  • 3655a0d refactor: remove dead code
  • 1402362 refactor: deprecate {disableClick}

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v9.0.0

9.0.0 (2019-02-22)

Bug Fixes

BREAKING CHANGES

  • Remove deprecated prop {disableClick}. To prevent the default behavior of click just use idiomatic js:
<Dropzone>
  {({getRootProps}) => (
    <div {...getRootProps({onClick: evt => evt.preventDefault()})}>
      Drop some files here
    </div>
  )}
</Dropzone>
Commits

The new version differs by 1 commits.

  • 4d74cd1 fix: remove deprecated() lib and close #764

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v10.0.0

10.0.0 (2019-03-05)

Features

BREAKING CHANGES

  • React '>= 16.8' is required.

{getDataTransferItems} property has been renamed to {getFilesFromEvent}.

Commits

The new version differs by 1 commits.

  • 5398f44 feat: migrate to react hooks, close #722, close #762 and close #760

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v10.0.1

10.0.1 (2019-03-13)

Bug Fixes

Commits

The new version differs by 2 commits.

  • 74b3a95 fix: update file-selector and close #776
  • 027dd51 docs: add a codesandbox sample to get started when creating issues

See the full diff