Skip to content

Commit c2b974a

Browse files
committed
chore(release): 2.1.2
1 parent 036663e commit c2b974a

File tree

2 files changed

+44
-81
lines changed

2 files changed

+44
-81
lines changed

CHANGELOG.md

Lines changed: 41 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -2,272 +2,233 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5-
<a name="2.1.1"></a>
6-
## [2.1.1](https://github.com/frontend-collective/react-sortable-tree/compare/v2.1.0...v2.1.1) (2018-04-29)
5+
<a name="2.1.2"></a>
6+
## [2.1.2](https://github.com/frontend-collective/react-sortable-tree/compare/v2.1.1...v2.1.2) (2018-05-23)
7+
8+
9+
### Bug Fixes
10+
11+
* prettier ([#313](https://github.com/frontend-collective/react-sortable-tree/issues/313)) ([3456076](https://github.com/frontend-collective/react-sortable-tree/commit/3456076))
12+
713

814

15+
<a name="2.1.1"></a>
16+
17+
## [2.1.1](https://github.com/frontend-collective/react-sortable-tree/compare/v2.1.0...v2.1.1) (2018-04-29)
918

1019
<a name="2.1.0"></a>
11-
# [2.1.0](https://github.com/frontend-collective/react-sortable-tree/compare/v2.0.1...v2.1.0) (2018-03-04)
1220

21+
# [2.1.0](https://github.com/frontend-collective/react-sortable-tree/compare/v2.0.1...v2.1.0) (2018-03-04)
1322

1423
### Features
1524

1625
* Added onlyExpandSearchedNodes prop ([2d57928](https://github.com/frontend-collective/react-sortable-tree/commit/2d57928)), closes [#245](https://github.com/frontend-collective/react-sortable-tree/issues/245)
1726

18-
19-
2027
<a name="2.0.1"></a>
21-
## [2.0.1](https://github.com/frontend-collective/react-sortable-tree/compare/v2.0.0...v2.0.1) (2018-02-10)
2228

29+
## [2.0.1](https://github.com/frontend-collective/react-sortable-tree/compare/v2.0.0...v2.0.1) (2018-02-10)
2330

2431
### Bug Fixes
2532

2633
* restore highlight line appearance ([2c95205](https://github.com/frontend-collective/react-sortable-tree/commit/2c95205))
2734

28-
29-
3035
<a name="2.0.0"></a>
31-
# [2.0.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.8.1...v2.0.0) (2018-02-10)
3236

37+
# [2.0.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.8.1...v2.0.0) (2018-02-10)
3338

3439
### BREAKING CHANGES
3540

3641
* from v2.0.0 on, you must import the css for the
37-
component yourself, using `import 'react-sortable-tree/style.css';`.
38-
You only need to do this once in your application.
42+
component yourself, using `import 'react-sortable-tree/style.css';`.
43+
You only need to do this once in your application.
3944

4045
* Support dropped for IE versions earlier than IE 11
4146

42-
4347
<a name="1.8.1"></a>
44-
## [1.8.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.8.0...v1.8.1) (2018-01-21)
4548

49+
## [1.8.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.8.0...v1.8.1) (2018-01-21)
4650

4751
### Bug Fixes
4852

4953
* rename parentNode callback param to nextParentNode ([24bf39d](https://github.com/frontend-collective/react-sortable-tree/commit/24bf39d))
5054

51-
52-
5355
<a name="1.8.0"></a>
54-
# [1.8.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.7.0...v1.8.0) (2018-01-21)
5556

57+
# [1.8.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.7.0...v1.8.0) (2018-01-21)
5658

5759
### Features
5860

5961
* Parent node in onMoveNode callback ([537c6a4](https://github.com/frontend-collective/react-sortable-tree/commit/537c6a4))
6062

61-
62-
6363
<a name="1.7.0"></a>
64-
# [1.7.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.6.0...v1.7.0) (2018-01-16)
6564

65+
# [1.7.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.6.0...v1.7.0) (2018-01-16)
6666

6767
### Features
6868

6969
* add onDragStateChanged callback ([2caa9d1](https://github.com/frontend-collective/react-sortable-tree/commit/2caa9d1))
70-
70+
7171
onDragStateChanged is called when dragging begins and ends, so you can easily track the current state of dragging.<br />
7272
Thanks to [@wuweiweiwu](https://github.com/wuweiweiwu) for the contribution!
7373

74-
75-
7674
<a name="1.6.0"></a>
77-
# [1.6.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.5...v1.6.0) (2018-01-14)
7875

76+
# [1.6.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.5...v1.6.0) (2018-01-14)
7977

8078
### Features
8179

8280
* add more parameters to rowHeight. Fixes [#199](https://github.com/frontend-collective/react-sortable-tree/issues/199) ([8ff0ff2](https://github.com/frontend-collective/react-sortable-tree/commit/8ff0ff2))
83-
84-
Thanks to [@wuweiweiwu](https://github.com/wuweiweiwu) for the contribution!
85-
8681

82+
Thanks to [@wuweiweiwu](https://github.com/wuweiweiwu) for the contribution!
8783

8884
<a name="1.5.5"></a>
89-
## [1.5.5](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.4...v1.5.5) (2018-01-13)
9085

86+
## [1.5.5](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.4...v1.5.5) (2018-01-13)
9187

9288
### Bug Fixes
9389

9490
* expand tree for searches on initial mount. fixes [#223](https://github.com/frontend-collective/react-sortable-tree/issues/223) ([64a984a](https://github.com/frontend-collective/react-sortable-tree/commit/64a984a))
9591

96-
97-
9892
<a name="1.5.4"></a>
93+
9994
## [1.5.4](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.3...v1.5.4) (2018-01-07)
10095

10196
### Bug Fixes
10297

10398
* UglifyJS enabled to remove dead code, which had been causing issues with some builds. If the presence of UglifyJS causes issues in your production builds, please refer to https://github.com/frontend-collective/react-sortable-tree#if-it-throws-typeerror-fn-is-not-a-function-errors-in-production
10499

105-
106-
107100
<a name="1.5.3"></a>
108-
## [1.5.3](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.2...v1.5.3) (2017-12-09)
109101

102+
## [1.5.3](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.2...v1.5.3) (2017-12-09)
110103

111104
### Bug Fixes
112105

113106
* dragging past the bottom of the tree no longer slows down rendering ([3ce35f3](https://github.com/frontend-collective/react-sortable-tree/commit/3ce35f3))
114107

115-
116-
117108
<a name="1.5.2"></a>
118-
## [1.5.2](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.1...v1.5.2) (2017-11-28)
119109

110+
## [1.5.2](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.1...v1.5.2) (2017-11-28)
120111

121112
### Bug Fixes
122113

123114
* correct positioning of full-width draggable rows ([00396d1](https://github.com/frontend-collective/react-sortable-tree/commit/00396d1))
124115

125-
126-
127116
<a name="1.5.1"></a>
128-
## [1.5.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.0...v1.5.1) (2017-11-28)
129117

118+
## [1.5.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.5.0...v1.5.1) (2017-11-28)
130119

131120
### Bug Fixes
132121

133122
* prevent slowdown caused by invalid targetDepth when using maxDepth ([c21d4de](https://github.com/frontend-collective/react-sortable-tree/commit/c21d4de)), closes [#194](https://github.com/frontend-collective/react-sortable-tree/issues/194)
134123

135-
136-
137124
<a name="1.5.0"></a>
138-
# [1.5.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.4.0...v1.5.0) (2017-10-29)
139125

126+
# [1.5.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.4.0...v1.5.0) (2017-10-29)
140127

141128
### Bug Fixes
142129

143130
* Fix oblong collapse/expand button appearance on mobile safari ([62dfdec](https://github.com/frontend-collective/react-sortable-tree/commit/62dfdec))
144131

145-
146132
### Features
147133

148134
* enable the use of themes for simplified appearance customization ([d07c6a7](https://github.com/frontend-collective/react-sortable-tree/commit/d07c6a7))
149135

150-
151-
152136
<a name="1.4.0"></a>
153-
# [1.4.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.3.1...v1.4.0) (2017-10-13)
154137

138+
# [1.4.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.3.1...v1.4.0) (2017-10-13)
155139

156140
### Features
157141

158142
* Add path argument to onVisibilityToggle callback ([25cd134](https://github.com/frontend-collective/react-sortable-tree/commit/25cd134))
159143

160-
161-
162144
<a name="1.3.1"></a>
163-
## [1.3.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.3.0...v1.3.1) (2017-10-03)
164145

146+
## [1.3.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.3.0...v1.3.1) (2017-10-03)
165147

166148
### Bug Fixes
167149

168150
* Allow react[@16](https://github.com/16) ([9a31a03](https://github.com/frontend-collective/react-sortable-tree/commit/9a31a03))
169151

170-
171-
172152
<a name="1.3.0"></a>
173-
# [1.3.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.2...v1.3.0) (2017-09-20)
174153

154+
# [1.3.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.2...v1.3.0) (2017-09-20)
175155

176156
### Features
177157

178158
* Provide more row parameters in rowHeight callback ([1b88b18](https://github.com/frontend-collective/react-sortable-tree/commit/1b88b18))
179159

180-
181-
182160
<a name="1.2.2"></a>
183-
## [1.2.2](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.1...v1.2.2) (2017-09-12)
184161

162+
## [1.2.2](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.1...v1.2.2) (2017-09-12)
185163

186164
### Bug Fixes
187165

188166
* Specify version of react-dnd-html5-backend to avoid invalid package installs ([a09b611](https://github.com/frontend-collective/react-sortable-tree/commit/a09b611))
189167

190-
191-
192168
<a name="1.2.1"></a>
193-
## [1.2.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.0...v1.2.1) (2017-09-06)
194169

170+
## [1.2.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.2.0...v1.2.1) (2017-09-06)
195171

196172
### Bug Fixes
197173

198174
* Allow children function in default renderer ([6f1dcac](https://github.com/frontend-collective/react-sortable-tree/commit/6f1dcac))
199175

200-
201-
202176
<a name="1.2.0"></a>
203-
# [1.2.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.1.1...v1.2.0) (2017-08-12)
204177

178+
# [1.2.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.1.1...v1.2.0) (2017-08-12)
205179

206180
### Features
207181

208182
* Add `shouldCopyOnOutsideDrop` prop to enable copying of nodes that leave the tree ([d6a9be9](https://github.com/frontend-collective/react-sortable-tree/commit/d6a9be9))
209183

210-
211-
212184
<a name="1.1.1"></a>
213-
## [1.1.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.1.0...v1.1.1) (2017-08-06)
214185

186+
## [1.1.1](https://github.com/frontend-collective/react-sortable-tree/compare/v1.1.0...v1.1.1) (2017-08-06)
215187

216188
### Bug Fixes
217189

218190
* **tree-to-tree:** Fix node depth when dragging between trees ([323ccad](https://github.com/frontend-collective/react-sortable-tree/commit/323ccad))
219191

220-
221-
222192
<a name="1.1.0"></a>
223-
# [1.1.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.0.0...v1.1.0) (2017-08-05)
224193

194+
# [1.1.0](https://github.com/frontend-collective/react-sortable-tree/compare/v1.0.0...v1.1.0) (2017-08-05)
225195

226196
### Features
227197

228198
* **node-renderer:** Make title and subtitle insertable via props ([fff72c6](https://github.com/frontend-collective/react-sortable-tree/commit/fff72c6))
229199

230-
231-
232200
<a name="1.0.0"></a>
233-
# [1.0.0](https://github.com/frontend-collective/react-sortable-tree/compare/v0.1.21...v1.0.0) (2017-08-05)
234201

202+
# [1.0.0](https://github.com/frontend-collective/react-sortable-tree/compare/v0.1.21...v1.0.0) (2017-08-05)
235203

236204
### Bug Fixes
237205

238206
* External node offset was shifted ([d1ae0eb](https://github.com/frontend-collective/react-sortable-tree/commit/d1ae0eb))
239207

240-
241208
### Code Refactoring
242209

243210
* get rid of `dndWrapExternalSource` api ([d103e9f](https://github.com/frontend-collective/react-sortable-tree/commit/d103e9f))
244211

245-
246212
### Features
247213

248214
* **tree-to-tree:** Enable tree-to-tree drag-and-drop ([6986a23](https://github.com/frontend-collective/react-sortable-tree/commit/6986a23))
249215
* Display droppable placeholder element when tree is empty ([2cd371c](https://github.com/frontend-collective/react-sortable-tree/commit/2cd371c))
250216
* Add `prevPath` and `prevTreeIndex` to the `onMoveNode` callback ([6986a23](https://github.com/frontend-collective/react-sortable-tree/commit/6986a23))
251217

252-
253218
### BREAKING CHANGES
254219

255220
* Trees that are empty now display a placeholder element
256-
in their place instead of being simply empty.
221+
in their place instead of being simply empty.
257222
* `dndWrapExternalSource` api no longer exists.
258-
You can achieve the same functionality and more with react-dnd
259-
APIs, as demonstrated in the storybook example.
260-
261-
223+
You can achieve the same functionality and more with react-dnd
224+
APIs, as demonstrated in the storybook example.
262225

263226
<a name="0.1.21"></a>
264-
## [0.1.21](https://github.com/frontend-collective/react-sortable-tree/compare/v0.1.20...v0.1.21) (2017-07-15)
265227

228+
## [0.1.21](https://github.com/frontend-collective/react-sortable-tree/compare/v0.1.20...v0.1.21) (2017-07-15)
266229

267230
### Bug Fixes
268231

269232
* Remove console.log left in after development ([da27c47](https://github.com/frontend-collective/react-sortable-tree/commit/da27c47))
270233

271-
272-
273234
See the GitHub [Releases](https://github.com/frontend-collective/react-sortable-tree/releases) for information on updates.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-sortable-tree",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "Drag-and-drop sortable component for nested data and hierarchies",
55
"scripts": {
66
"build": "npm run clean && cross-env NODE_ENV=production TARGET=umd webpack --bail",
@@ -11,6 +11,7 @@
1111
"lint": "eslint src examples",
1212
"prettier": "prettier --single-quote --trailing-comma es5 --write \"{src,examples}/**/*.{js,css,md}\"",
1313
"prepublishOnly": "npm run lint && npm run test && npm run build",
14+
"release": "standard-version",
1415
"test": "jest",
1516
"test:watch": "jest --watchAll",
1617
"deploy": "npm run build:demo && gh-pages -d build",
@@ -112,6 +113,7 @@
112113
"react-sortable-tree-theme-file-explorer": "^1.1.2",
113114
"react-test-renderer": "^16.3.2",
114115
"rimraf": "^2.6.2",
116+
"standard-version": "^4.4.0",
115117
"style-loader": "^0.21.0",
116118
"uglifyjs-webpack-plugin": "^1.2.5",
117119
"webpack": "^4.8.3",

0 commit comments

Comments
 (0)