|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -### 0.1.0 (Jul 25, 2014) |
| 3 | +### 1.0.0 (Oct 27, 2015) |
4 | 4 |
|
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. |
6 | 11 |
|
7 |
| -### 0.1.1 (Jul 26, 2014) |
| 12 | +### 0.8.5 (Oct 20, 2015) |
8 | 13 |
|
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 |
10 | 16 |
|
11 |
| -### 0.2.0 (Sep 10, 2014) |
| 17 | +### 0.8.4 (Oct 15, 2015) |
12 | 18 |
|
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 |
18 | 20 |
|
19 |
| -### 0.2.1 (Sep 10, 2014) |
| 21 | +### 0.8.3 (Oct 12, 2015) |
20 | 22 |
|
21 |
| -- Exporting as ReactDraggable |
| 23 | +- Bugfix: Short-circuiting drag throws due to `e.changedTouches` check. |
22 | 24 |
|
23 |
| -### 0.3.0 (Oct 21, 2014) |
| 25 | +### 0.8.2 (Sep 21, 2015) |
24 | 26 |
|
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) |
26 | 31 |
|
27 |
| -### 0.4.0 (Jan 03, 2015) |
| 32 | +### 0.8.1 (June 3, 2015) |
28 | 33 |
|
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?"). |
34 | 35 |
|
35 |
| -### 0.4.1 (Apr 30, 2015) |
| 36 | +### 0.8.0 (May 19, 2015) |
36 | 37 |
|
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. |
40 | 41 |
|
41 |
| -### 0.4.2 (Apr 30, 2015) |
| 42 | +### 0.7.4 (May 18, 2015) |
42 | 43 |
|
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. |
45 | 46 |
|
46 |
| -### 0.4.3 (Apr 30, 2015) |
| 47 | +### 0.7.3 (May 13, 2015) |
47 | 48 |
|
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 |
49 | 51 |
|
50 |
| -### 0.5.0 (May 2, 2015) |
| 52 | +### 0.7.2 (May 8, 2015) |
51 | 53 |
|
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. |
56 | 55 |
|
57 |
| -### 0.6.0 (May 2, 2015) |
| 56 | +### 0.7.1 (May 7, 2015) |
58 | 57 |
|
59 |
| -- Breaking change: Cancel dragging when onDrag or onStart handlers return an explicit `false`. |
60 |
| -- Fix sluggish movement when `grid` option was active. |
61 |
| -- Example updates. |
62 |
| -- Move `user-select:none` hack to document.body for better highlight prevention. |
63 |
| -- Add `bounds` option to restrict dragging within parent or within coordinates. |
| 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. |
64 | 61 |
|
65 | 62 | ### 0.7.0 (May 7, 2015)
|
66 | 63 |
|
67 | 64 | - Breaking change: `bounds` with coordinates was confusing because it was using the item's width/height,
|
68 | 65 | which was not intuitive. When providing coordinates, `bounds` now simply restricts movement in each
|
69 | 66 | direction by that many pixels.
|
70 | 67 |
|
71 |
| -### 0.7.1 (May 7, 2015) |
| 68 | +### 0.6.0 (May 2, 2015) |
72 | 69 |
|
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. |
| 70 | +- Breaking change: Cancel dragging when onDrag or onStart handlers return an explicit `false`. |
| 71 | +- Fix sluggish movement when `grid` option was active. |
| 72 | +- Example updates. |
| 73 | +- Move `user-select:none` hack to document.body for better highlight prevention. |
| 74 | +- Add `bounds` option to restrict dragging within parent or within coordinates. |
76 | 75 |
|
77 |
| -### 0.7.2 (May 8, 2015) |
| 76 | +### 0.5.0 (May 2, 2015) |
78 | 77 |
|
79 |
| -- Added `moveOnStartChange` property. See README. |
| 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. |
80 | 82 |
|
81 |
| -### 0.7.3 (May 13, 2015) |
| 83 | +### 0.4.3 (Apr 30, 2015) |
82 | 84 |
|
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 |
| 85 | +- Fix React.addons error caused by faulty test. |
85 | 86 |
|
86 |
| -### 0.7.4 (May 18, 2015) |
| 87 | +### 0.4.2 (Apr 30, 2015) |
87 | 88 |
|
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. |
| 89 | +- Add `"browser"` config to package.json for browserify imports (fix #45). |
| 90 | +- Remove unnecessary `emptyFunction` and `React.addons.classSet` imports. |
90 | 91 |
|
91 |
| -### 0.8.0 (May 19, 2015) |
| 92 | +### 0.4.1 (Apr 30, 2015) |
92 | 93 |
|
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. |
| 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. |
96 | 97 |
|
97 |
| -### 0.8.1 (June 3, 2015) |
| 98 | +### 0.4.0 (Jan 03, 2015) |
98 | 99 |
|
99 |
| -- Add `resetState()` instance method for use by parents. See README ("State Problems?"). |
| 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 |
100 | 105 |
|
101 |
| -### 0.8.2 (Sep 21, 2015) |
| 106 | +### 0.3.0 (Oct 21, 2014) |
102 | 107 |
|
103 |
| -- Handle scrolling while dragging. (#60) |
104 |
| -- Add multi-touch support. (#68) |
105 |
| -- IE fixes. |
106 |
| -- Documentation updates. (#77) |
| 108 | +- Adding support for touch devices |
107 | 109 |
|
108 |
| -### 0.8.3 (Oct 12, 2015) |
| 110 | +### 0.2.1 (Sep 10, 2014) |
109 | 111 |
|
110 |
| -- Bugfix: Short-circuiting drag throws due to `e.changedTouches` check. |
| 112 | +- Exporting as ReactDraggable |
111 | 113 |
|
112 |
| -### 0.8.4 (Oct 15, 2015) |
| 114 | +### 0.2.0 (Sep 10, 2014) |
113 | 115 |
|
114 |
| -- Bugfix: SVG elements now properly use `transform` attribute instead of `style`. Thanks @martinRoss |
| 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 |
115 | 121 |
|
116 |
| -### 0.8.5 (Oct 20, 2015) |
| 122 | +### 0.1.1 (Jul 26, 2014) |
117 | 123 |
|
118 |
| -- Bugfix: isElementSVG no longer can be overwritten by getInitialState (#83) |
119 |
| -- Bugfix: Fix for element prefixes in JSDOM |
| 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