diff --git a/CHANGELOG.md b/CHANGELOG.md index 105e29a0..3325356f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,37 @@ 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. + +# [1.0.0](https://github.com/fritz-c/react-sortable-tree/compare/v0.1.21...v1.0.0) (2017-08-05) + + +### Bug Fixes + +* External node offset was shifted ([d1ae0eb](https://github.com/fritz-c/react-sortable-tree/commit/d1ae0eb)) + + +### Code Refactoring + +* get rid of `dndWrapExternalSource` api ([d103e9f](https://github.com/fritz-c/react-sortable-tree/commit/d103e9f)) + + +### Features + +* **tree-to-tree:** Enable tree-to-tree drag-and-drop ([6986a23](https://github.com/fritz-c/react-sortable-tree/commit/6986a23)) +* Display droppable placeholder element when tree is empty ([2cd371c](https://github.com/fritz-c/react-sortable-tree/commit/2cd371c)) +* Add `prevPath` and `prevTreeIndex` to the `onMoveNode` callback ([6986a23](https://github.com/fritz-c/react-sortable-tree/commit/6986a23)) + + +### BREAKING CHANGES + +* Trees that are empty now display a placeholder element +in their place instead of being simply empty. +* `dndWrapExternalSource` api no longer exists. +You can achieve the same functionality and more with react-dnd +APIs, as demonstrated in the storybook example. + + + ## [0.1.21](https://github.com/fritz-c/react-sortable-tree/compare/v0.1.20...v0.1.21) (2017-07-15) diff --git a/package-lock.json b/package-lock.json index 9e004753..e5f42fbb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-sortable-tree", - "version": "0.1.21", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 959e3c5f..c8ad95d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-sortable-tree", - "version": "0.1.21", + "version": "1.0.0", "description": "Drag-and-drop sortable component for nested data and hierarchies", "scripts": { "build": "npm run clean && cross-env NODE_ENV=production TARGET=umd webpack --bail",