changelogs.md


fritz-c/react-sortable-tree

Repository  -  API  -  Source

2.1.0

March 4, 2018

Features

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

2.0.1

February 10, 2018

Bug Fixes

  • restore highlight line appearance (2c95205)

2.0.0

February 10, 2018

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

January 21, 2018

Bug Fixes

  • rename parentNode callback param to nextParentNode (24bf39d)

1.8.0

January 21, 2018

Features

  • Parent node in onMoveNode callback (537c6a4)

1.7.0

January 16, 2018

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

January 14, 2018

Features

1.5.5

January 13, 2018

Bug Fixes

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

1.5.4

January 7, 2018

Bug Fixes

1.5.3

December 9, 2017

Bug Fixes

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

1.5.2

November 28, 2017

Bug Fixes

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

1.5.1

November 28, 2017

Bug Fixes

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

1.5.0

October 29, 2017

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

October 13, 2017

Features

  • Add path argument to onVisibilityToggle callback (25cd134)

1.3.1

October 3, 2017

Bug Fixes

1.3.0

September 20, 2017

Features

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

1.2.2

September 12, 2017

Bug Fixes

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

1.2.1

September 6, 2017

Bug Fixes

  • Allow children function in default renderer (6f1dcac)

1.2.0

August 12, 2017

Features

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

1.1.1

August 6, 2017

Bug Fixes

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

1.1.0

August 5, 2017

Features

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

1.0.0

August 5, 2017

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

July 15, 2017

Bug Fixes

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

See the GitHub Releases for information on updates.