Skip to content

Commit

Permalink
release v2.0.0-beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
STRML committed Apr 15, 2016
1 parent af59543 commit cb7d899
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 13 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

### 2.0.0-beta2 (Apr 14, 2016)

- We're making a small deviation from React Core's controlled vs. uncontrolled scheme; for convenience,
`<Draggable>`s with a `position` property will still be draggable, but will revert to their old position
on drag stop. Attach an `onStop` or `onDrag` handler to synchronize state.
- A warning has been added informing users of this. If you make `<Draggable>` controlled but no callback
handlers, a warning will be printed.

### 2.0.0-beta1 (Apr 14, 2016)

- Due to API changes, this is a major release.
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-draggable",
"version": "2.0.0-beta1",
"version": "2.0.0-beta2",
"homepage": "https://github.com/mzabriskie/react-draggable",
"authors": [
"Matt Zabriskie",
Expand Down
41 changes: 33 additions & 8 deletions dist/react-draggable.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/react-draggable.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/react-draggable.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/react-draggable.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-draggable",
"version": "2.0.0-beta1",
"version": "2.0.0-beta2",
"description": "React draggable component",
"main": "dist/react-draggable.js",
"browser": "dist/react-draggable.js",
Expand Down

0 comments on commit cb7d899

Please sign in to comment.