Skip to content

Releases: jameskerr/react-arborist

Version 3.5.0

20 Apr 02:39
3843e11

Choose a tag to compare

First release since v3.4.3 (Feb 2025).

Features

  • getTreeLinePrefix utility for rendering Unix tree-style connector lines in custom node renderers (#324, thanks @rayshoo)
  • dndBackend prop on Tree for supplying a custom react-dnd backend — defaults to HTML5Backend when omitted (#326, originally #316, thanks @ofk)
  • tree.selectMulti(id, opts?) now accepts an options argument ({ align?, focus? }) for consistency with tree.select (#266, thanks @paulftw)

Fixes

  • The dndManager prop no longer triggers unnecessary re-renders; backend/options are only passed to DndProvider when no custom manager is supplied (#237, thanks @DiyanDimitrov)

Docs & release hygiene

  • README now documents dndBackend, the selectMulti / select options argument, and getTreeLinePrefix; drift in the TreeProps block corrected.
  • Publish workflow switched to sh bin/publish so the README is copied into the published package.

All changes are backward-compatible with 3.4.x.

Version 3.4.3

13 Feb 17:52

Choose a tag to compare

What's Changed

  • React 19 support: Bump react-window to 1.8.11 by @samutoljamo-pareto in #298
  • Add aria-expanded attribute to rows by @lidiagc in #223

New Contributors

  • @samutoljamo-pareto made their first contribution in #298
  • @lidiagc made their first contribution in #223

Full Changelog: v3.4.2...v3.4.3

Version 3.4.2

06 Feb 20:07

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.4.1...v3.4.2

Version 3.4.1

05 Feb 21:29
aba9953

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.4.0...3.4.1

Version 3.4.0

13 Dec 22:43

Choose a tag to compare

What's Changed

This enables trees where every node can be an internal node. Many thanks to @edimov for making this happen.

Full Changelog: v3.3.1...v3.4.0

Version 3.3.1

12 Dec 23:34

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.2.0...v3.3.1

Version 3.2.0

25 Jul 17:17
fbf0290

Choose a tag to compare

What's Changed

  • Add a treeApi.setSelection method in #159

Thanks to @victorvianaom, @liamdon for getting the ball rolling.

Full Changelog: v3.1.0...v3.2.0

Version 3.1.0

02 Jun 18:13

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.2...v3.1.0

Version 3.0.2

01 Feb 22:14

Choose a tag to compare

The previous release introduced a bug where the <Tree> inverted the result of the disableDrop prop. For example, if you specified "true" it would allow a drop. This fixes that bug and updates the CI workflow to run unit tests and e2e tests.

What's Changed

Full Changelog: v3.0.1...v3.0.2

Version 3.0.1

27 Jan 23:51

Choose a tag to compare

What's Changed

This is a tiny release to fix some Typescript problems. If you upgraded to version 3.0.0 and stated seeing these typescript problems then this release will fix them.

queries-tree.tsx:85:27 - error TS2339: Property 'name' does not exist on type 'unknown'.

node.data.name.toLowerCase().includes(term.toLowerCase())

Full Changelog: v3.0.0...v3.0.1