Skip to content

Commit 23e68a3

Browse files
committed
Build and CHANGELOG for 1.0.0 candidate
1 parent 590a10f commit 23e68a3

8 files changed

+1193
-669
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.idea
22
*.iml
33
node_modules/
4-
dist/

CHANGELOG.md

Lines changed: 85 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,69 @@
11
# Changelog
22

3-
### 0.1.0 (Jul 25, 2014)
3+
### 1.0.0 (Oct 27, 2015)
44

5-
- Initial release
5+
- Breaking: Removed `resetState()` instance method
6+
- Breaking: Removed `moveOnStartChange` prop
7+
- Breaking: React `0.14` support only.
8+
- Refactored project.
9+
- Module now exports a `<DraggableCore>` element upon which `<Draggable>` is based.
10+
This module is useful for building libraries and is completely stateless.
611

7-
### 0.1.1 (Jul 26, 2014)
12+
### 0.8.5 (Oct 20, 2015)
813

9-
- Fixing dragging not stopping on mouseup in some cases
14+
- Bugfix: isElementSVG no longer can be overwritten by getInitialState (#83)
15+
- Bugfix: Fix for element prefixes in JSDOM
1016

11-
### 0.2.0 (Sep 10, 2014)
17+
### 0.8.4 (Oct 15, 2015)
1218

13-
- Adding support for snapping to a grid
14-
- Adding support for specifying start position
15-
- Ensure event handlers are destroyed on unmount
16-
- Adding browserify support
17-
- Adding bower support
19+
- Bugfix: SVG elements now properly use `transform` attribute instead of `style`. Thanks @martinRoss
1820

19-
### 0.2.1 (Sep 10, 2014)
21+
### 0.8.3 (Oct 12, 2015)
2022

21-
- Exporting as ReactDraggable
23+
- Bugfix: Short-circuiting drag throws due to `e.changedTouches` check.
2224

23-
### 0.3.0 (Oct 21, 2014)
25+
### 0.8.2 (Sep 21, 2015)
2426

25-
- Adding support for touch devices
27+
- Handle scrolling while dragging. (#60)
28+
- Add multi-touch support. (#68)
29+
- IE fixes.
30+
- Documentation updates. (#77)
2631

27-
### 0.4.0 (Jan 03, 2015)
32+
### 0.8.1 (June 3, 2015)
2833

29-
- Improving accuracy of snap to grid
30-
- Updating to React 0.12
31-
- Adding dragging className
32-
- Adding reactify support for browserify
33-
- Fixing issue with server side rendering
34+
- Add `resetState()` instance method for use by parents. See README ("State Problems?").
3435

35-
### 0.4.1 (Apr 30, 2015)
36+
### 0.8.0 (May 19, 2015)
3637

37-
- Remove react/addons dependency (now depending on `react` directly).
38-
- Add MIT License file.
39-
- Fix an issue where browser may be detected as touch-enabled but touch event isn't thrown.
38+
- Touch/mouse events rework. Fixes #51, #37, and #43, as well as IE11 support.
39+
- Moved mousemove/mouseup and touch event handlers to document from window. Fixes IE9/10 support.
40+
IE8 is still not supported, as it is not supported by React.
4041

41-
### 0.4.2 (Apr 30, 2015)
42+
### 0.7.4 (May 18, 2015)
4243

43-
- Add `"browser"` config to package.json for browserify imports (fix #45).
44-
- Remove unnecessary `emptyFunction` and `React.addons.classSet` imports.
44+
- Fix a bug where a quick drag out of bounds to `0,0` would cause the element to remain in an inaccurate position,
45+
because the translation was removed from the CSS. See #55.
4546

46-
### 0.4.3 (Apr 30, 2015)
47+
### 0.7.3 (May 13, 2015)
4748

48-
- Fix React.addons error caused by faulty test.
49+
- Removed a `moveOnStartChange` optimization that was causing problems when attempting to move a `<Draggable>` back
50+
to its initial position. See https://github.com/STRML/react-grid-layout/issues/56
4951

50-
### 0.5.0 (May 2, 2015)
52+
### 0.7.2 (May 8, 2015)
5153

52-
- Remove browserify browser config, reactify, and jsx pragma. Fixes #38
53-
- Use React.cloneElement instead of addons cloneWithProps (requires React 0.13)
54-
- Move to CSS transforms. Simplifies implementation and fixes #48, #34, #31.
55-
- Fixup linting and space/tab errors. Fixes #46.
54+
- Added `moveOnStartChange` property. See README.
55+
56+
### 0.7.1 (May 7, 2015)
57+
58+
- The `start` param is back. Pass `{x: Number, y: Number}` to kickoff the CSS transform. Useful in certain
59+
cases for simpler callback math (so you don't have to know its existing relative position and add it to
60+
the dragged position). Fixes #52.
61+
62+
### 0.7.0 (May 7, 2015)
63+
64+
- Breaking change: `bounds` with coordinates was confusing because it was using the item's width/height,
65+
which was not intuitive. When providing coordinates, `bounds` now simply restricts movement in each
66+
direction by that many pixels.
5667

5768
### 0.6.0 (May 2, 2015)
5869

@@ -62,38 +73,56 @@
6273
- Move `user-select:none` hack to document.body for better highlight prevention.
6374
- Add `bounds` option to restrict dragging within parent or within coordinates.
6475

65-
### 0.7.0 (May 7, 2015)
76+
### 0.5.0 (May 2, 2015)
6677

67-
- Breaking change: `bounds` with coordinates was confusing because it was using the item's width/height,
68-
which was not intuitive. When providing coordinates, `bounds` now simply restricts movement in each
69-
direction by that many pixels.
78+
- Remove browserify browser config, reactify, and jsx pragma. Fixes #38
79+
- Use React.cloneElement instead of addons cloneWithProps (requires React 0.13)
80+
- Move to CSS transforms. Simplifies implementation and fixes #48, #34, #31.
81+
- Fixup linting and space/tab errors. Fixes #46.
7082

71-
### 0.7.1 (May 7, 2015)
83+
### 0.4.3 (Apr 30, 2015)
7284

73-
- The `start` param is back. Pass `{x: Number, y: Number}` to kickoff the CSS transform. Useful in certain
74-
cases for simpler callback math (so you don't have to know its existing relative position and add it to
75-
the dragged position). Fixes #52.
85+
- Fix React.addons error caused by faulty test.
7686

77-
### 0.7.2 (May 8, 2015)
87+
### 0.4.2 (Apr 30, 2015)
7888

79-
- Added `moveOnStartChange` property. See README.
89+
- Add `"browser"` config to package.json for browserify imports (fix #45).
90+
- Remove unnecessary `emptyFunction` and `React.addons.classSet` imports.
8091

81-
### 0.7.3 (May 13, 2015)
92+
### 0.4.1 (Apr 30, 2015)
8293

83-
- Removed a `moveOnStartChange` optimization that was causing problems when attempting to move a `<Draggable>` back
84-
to its initial position. See https://github.com/STRML/react-grid-layout/issues/56
94+
- Remove react/addons dependency (now depending on `react` directly).
95+
- Add MIT License file.
96+
- Fix an issue where browser may be detected as touch-enabled but touch event isn't thrown.
8597

86-
### 0.7.4 (May 18, 2015)
98+
### 0.4.0 (Jan 03, 2015)
8799

88-
- Fix a bug where a quick drag out of bounds to `0,0` would cause the element to remain in an inaccurate position,
89-
because the translation was removed from the CSS. See #55.
100+
- Improving accuracy of snap to grid
101+
- Updating to React 0.12
102+
- Adding dragging className
103+
- Adding reactify support for browserify
104+
- Fixing issue with server side rendering
90105

91-
### 0.8.0 (May 19, 2015)
106+
### 0.3.0 (Oct 21, 2014)
92107

93-
- Touch/mouse events rework. Fixes #51, #37, and #43, as well as IE11 support.
94-
- Moved mousemove/mouseup and touch event handlers to document from window. Fixes IE9/10 support.
95-
IE8 is still not supported, as it is not supported by React.
108+
- Adding support for touch devices
96109

97-
### 0.8.1 (June 3, 2015)
110+
### 0.2.1 (Sep 10, 2014)
98111

99-
- Add `resetState()` instance method for use by parents. See README ("State Problems?").
112+
- Exporting as ReactDraggable
113+
114+
### 0.2.0 (Sep 10, 2014)
115+
116+
- Adding support for snapping to a grid
117+
- Adding support for specifying start position
118+
- Ensure event handlers are destroyed on unmount
119+
- Adding browserify support
120+
- Adding bower support
121+
122+
### 0.1.1 (Jul 26, 2014)
123+
124+
- Fixing dragging not stopping on mouseup in some cases
125+
126+
### 0.1.0 (Jul 25, 2014)
127+
128+
- Initial release

0 commit comments

Comments
 (0)