v3.8.0
Features
-
rowHeightprop onTreenow accepts a function(node) => numberin addition to a fixed number, so each row can be sized from its node. Fixed-height trees keep using react-window'sFixedSizeList; the function form usesVariableSizeList. Adds atree.redrawList()API method to recompute row offsets when arowHeightfunction's output changes for reasons the tree can't observe (#341, originally #238)
v3.7.0
Features
-
outerElementTypeandinnerElementTypeprops onTreefor supplying custom react-window wrappers;DropContainer,ListOuterElement, andListInnerElementare now exported so custom outers can compose the existing drop-target behavior (#339, originally #318)
v3.6.1
Fixes
- Imperative
tree.update()props no longer get reverted when a node is toggled (#337, originally #229)
v3.6.0
Features
-
disableSelectprop onTreefor marking nodes as unselectable, mirroringdisableEditanddisableDrop(#331)
Version 3.5.0
First release since v3.4.3 (Feb 2025).
getTreeLinePrefixutility for rendering Unixtree-style connector lines in custom node renderers (#324, thanks @rayshoo)dndBackendprop onTreefor supplying a custom react-dnd backend — defaults toHTML5Backendwhen omitted (#326, originally #316, thanks @ofk)tree.selectMulti(id, opts?)now accepts an options argument ({ align?, focus? }) for consistency withtree.select(#266, thanks @paulftw)
- The
dndManagerprop no longer triggers unnecessary re-renders;backend/optionsare only passed toDndProviderwhen no custom manager is supplied (#237, thanks @DiyanDimitrov)
- README now documents
dndBackend, theselectMulti/selectoptions argument, andgetTreeLinePrefix; drift in theTreePropsblock corrected. - Publish workflow switched to
sh bin/publishso the README is copied into the published package.
All changes are backward-compatible with 3.4.x.
Version 3.4.3
- React 19 support: Bump react-window to 1.8.11 by @samutoljamo-pareto in https://github.com/brimdata/react-arborist/pull/298
- Add
aria-expandedattribute to rows by @lidiagc in https://github.com/brimdata/react-arborist/pull/223
- @samutoljamo-pareto made their first contribution in https://github.com/brimdata/react-arborist/pull/298
- @lidiagc made their first contribution in https://github.com/brimdata/react-arborist/pull/223
Full Changelog: https://github.com/brimdata/react-arborist/compare/v3.4.2...v3.4.3
Version 3.4.2
- Fix: Deselect not firing select event by @w3dot0 in https://github.com/brimdata/react-arborist/pull/289
- Fix: Move drop logic from drag end to drop by @jameskerr in https://github.com/brimdata/react-arborist/pull/297
- @w3dot0 made their first contribution in https://github.com/brimdata/react-arborist/pull/289
Full Changelog: https://github.com/brimdata/react-arborist/compare/3.4.1...v3.4.2
Version 3.4.1
- fix: showcase indexpage crash in next@14 by @GilbertSun in https://github.com/brimdata/react-arborist/pull/208
- Rename packages to modules by @jameskerr in https://github.com/brimdata/react-arborist/pull/234
- Add Docs Site Scaffold by @jameskerr in https://github.com/brimdata/react-arborist/pull/236
- chore: add dynamic sizing info from ticket to docs by @Aeolun in https://github.com/brimdata/react-arborist/pull/241
- build: Upgrade TypeScript, fix 5.6 error by @tmcw in https://github.com/brimdata/react-arborist/pull/272
- fix: expose item dragIds for DragPreview by @qkdreyer in https://github.com/brimdata/react-arborist/pull/273
- Adding minimal required readme instructions by @AndrewRayCode in https://github.com/brimdata/react-arborist/pull/278
- Bump by @jameskerr in https://github.com/brimdata/react-arborist/pull/295
- @GilbertSun made their first contribution in https://github.com/brimdata/react-arborist/pull/208
- @Aeolun made their first contribution in https://github.com/brimdata/react-arborist/pull/241
- @tmcw made their first contribution in https://github.com/brimdata/react-arborist/pull/272
- @qkdreyer made their first contribution in https://github.com/brimdata/react-arborist/pull/273
- @AndrewRayCode made their first contribution in https://github.com/brimdata/react-arborist/pull/278
Full Changelog: https://github.com/brimdata/react-arborist/compare/v3.4.0...3.4.1
Version 3.4.0
- Drop as Sibling of Empty, Open Folder by @jameskerr in https://github.com/brimdata/react-arborist/pull/202
This enables trees where every node can be an internal node. Many thanks to @edimov for making this happen.
Full Changelog: https://github.com/brimdata/react-arborist/compare/v3.3.1...v3.4.0
Version 3.3.1
- Added dragNode, dragDestinationParent and dragDestinationIndex methods to TreeApi @jameskerr in https://github.com/brimdata/react-arborist/pull/179
- Fix aria-level and aria role violations by @sparekh0730 in https://github.com/brimdata/react-arborist/pull/198
- Make children accessor readonly by @haines in https://github.com/brimdata/react-arborist/pull/183
- Update Build Process by @jameskerr in https://github.com/brimdata/react-arborist/pull/200
- @sparekh0730 made their first contribution in https://github.com/brimdata/react-arborist/pull/198
- @haines made their first contribution in https://github.com/brimdata/react-arborist/pull/183
Full Changelog: https://github.com/brimdata/react-arborist/compare/v3.2.0...v3.3.1