Skip to content

Latest commit

 

History

History
268 lines (115 loc) · 8.01 KB

CHANGELOG.md

File metadata and controls

268 lines (115 loc) · 8.01 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.1.0 (2018-03-04)

Features

  • Added onlyExpandSearchedNodes prop (2d57928), closes #245

2.0.1 (2018-02-10)

Bug Fixes

  • restore highlight line appearance (2c95205)

2.0.0 (2018-02-10)

BREAKING CHANGES

  • from v2.0.0 on, you must import the css for the component yourself, using import 'react-sortable-tree/style.css';. You only need to do this once in your application.

  • Support dropped for IE versions earlier than IE 11

1.8.1 (2018-01-21)

Bug Fixes

  • rename parentNode callback param to nextParentNode (24bf39d)

1.8.0 (2018-01-21)

Features

  • Parent node in onMoveNode callback (537c6a4)

1.7.0 (2018-01-16)

Features

  • add onDragStateChanged callback (2caa9d1)

    onDragStateChanged is called when dragging begins and ends, so you can easily track the current state of dragging.
    Thanks to @wuweiweiwu for the contribution!

1.6.0 (2018-01-14)

Features

1.5.5 (2018-01-13)

Bug Fixes

  • expand tree for searches on initial mount. fixes #223 (64a984a)

1.5.4 (2018-01-07)

Bug Fixes

1.5.3 (2017-12-09)

Bug Fixes

  • dragging past the bottom of the tree no longer slows down rendering (3ce35f3)

1.5.2 (2017-11-28)

Bug Fixes

  • correct positioning of full-width draggable rows (00396d1)

1.5.1 (2017-11-28)

Bug Fixes

  • prevent slowdown caused by invalid targetDepth when using maxDepth (c21d4de), closes #194

1.5.0 (2017-10-29)

Bug Fixes

  • Fix oblong collapse/expand button appearance on mobile safari (62dfdec)

Features

  • enable the use of themes for simplified appearance customization (d07c6a7)

1.4.0 (2017-10-13)

Features

  • Add path argument to onVisibilityToggle callback (25cd134)

1.3.1 (2017-10-03)

Bug Fixes

1.3.0 (2017-09-20)

Features

  • Provide more row parameters in rowHeight callback (1b88b18)

1.2.2 (2017-09-12)

Bug Fixes

  • Specify version of react-dnd-html5-backend to avoid invalid package installs (a09b611)

1.2.1 (2017-09-06)

Bug Fixes

  • Allow children function in default renderer (6f1dcac)

1.2.0 (2017-08-12)

Features

  • Add shouldCopyOnOutsideDrop prop to enable copying of nodes that leave the tree (d6a9be9)

1.1.1 (2017-08-06)

Bug Fixes

  • tree-to-tree: Fix node depth when dragging between trees (323ccad)

1.1.0 (2017-08-05)

Features

  • node-renderer: Make title and subtitle insertable via props (fff72c6)

1.0.0 (2017-08-05)

Bug Fixes

  • External node offset was shifted (d1ae0eb)

Code Refactoring

  • get rid of dndWrapExternalSource api (d103e9f)

Features

  • tree-to-tree: Enable tree-to-tree drag-and-drop (6986a23)
  • Display droppable placeholder element when tree is empty (2cd371c)
  • Add prevPath and prevTreeIndex to the onMoveNode callback (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 (2017-07-15)

Bug Fixes

  • Remove console.log left in after development (da27c47)

See the GitHub Releases for information on updates.