Skip to content

Commit 16205ce

Browse files
committed
release v2.0.0
1 parent faac254 commit 16205ce

File tree

7 files changed

+21
-12
lines changed

7 files changed

+21
-12
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
### 2.0.0
4+
5+
- This is a breaking change. See the changes below in the beta releases.
6+
- Note the changes to event callbacks and `position` / `defaultPosition`.
7+
- Changes from 2.0.0-beta3:
8+
- Small bugfixes for Flow 0.24 compatibility.
9+
- Don't assume `global.SVGElement`. Fixes JSDOM & [#123](https://github.com/mzabriskie/react-draggable/issues/123).
10+
311
### 2.0.0-beta3 (Apr 19, 2016)
412

513
- Flow comments are now in the build. Other projects, such as React-Grid-Layout and React-Resizable, will
@@ -10,7 +18,7 @@
1018
- We're making a small deviation from React Core's controlled vs. uncontrolled scheme; for convenience,
1119
`<Draggable>`s with a `position` property will still be draggable, but will revert to their old position
1220
on drag stop. Attach an `onStop` or `onDrag` handler to synchronize state.
13-
- A warning has been added informing users of this. If you make `<Draggable>` controlled but no callback
21+
- A warning has been added informing users of this. If you make `<Draggable>` controlled but attach no callback
1422
handlers, a warning will be printed.
1523

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

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-draggable",
3-
"version": "2.0.0-beta3",
3+
"version": "2.0.0",
44
"homepage": "https://github.com/mzabriskie/react-draggable",
55
"authors": [
66
"Matt Zabriskie",

dist/react-draggable.js

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-draggable.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-draggable.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-draggable.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-draggable",
3-
"version": "2.0.0-beta3",
3+
"version": "2.0.0",
44
"description": "React draggable component",
55
"main": "dist/react-draggable.js",
66
"browser": "dist/react-draggable.js",

0 commit comments

Comments
 (0)