Skip to content

Release v2.0.0

Choose a tag to compare

@jakezatecky jakezatecky released this 09 Apr 20:28
· 10 commits to master since this release

CHANGELOG

v2.0.0 (2026-04-09)

Breaking Changes

Accessibility

  • Make the underlying checkbox accessible to screen readers and touch (#276)
  • Hide the pseudo-checkbox from the accessibility tree
  • Change the clickable label from role="link" to role="button"

Properties

  • id: No longer generates a random UUID when empty
  • lang:
    • Replaced toggle key with collapseNode and expandNode to better reflect state (#275)
    • Will now merge any missing keys with the default language
  • icons: Setting a node icon to null will no longer render the wrapper element (#30)
  • iconsClass: Now defaults to 'fa6' for Font Awesome 5/6 instead of Font Awesome 4

Styling

  • Drop support for Less.js styles
  • The rct-options and rct-option CSS classes are now rct-actions and rct-action respectively
  • The rct-title CSS class is now rct-label

Other

  • Drop support for React before v16.8
  • Fix various issues with the filtering example improperly rendering parents and child nodes (#153, #196, #216)

Added

  • Add support for React 19
  • Add full support for ESM environments
  • Add checkKeys property to allow specification of JavaScript keys to trigger check behavior
  • Add onContextMenu property, which will trigger whenever a user right-clicks a node (#237)
  • The tree will now preserve original node properties (accessible via onCheck/onExpand) (#421)