# What changed in react-checkbox-tree

> 7 changes in react-checkbox-tree 2 from its official release notes, upgrade guides and advisories: 3 new APIs and options. Each one cited. Sources checked 2026-10-25. HTML: https://unstale.sh/npm/react-checkbox-tree/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## react-checkbox-tree 2

### New APIs and options

- Adds a utility function to help implement “check all” functionality. (2.1.0) — [release notes](https://github.com/jakezatecky/react-checkbox-tree/releases/tag/v2.1.0)
- Allows specification of `ol` or `ul` for the underlying HTML elements. (2.1.0) — [release notes](https://github.com/jakezatecky/react-checkbox-tree/releases/tag/v2.1.0)
- Keeps `checked` and `expanded` values that are not in `nodes`, such as those hidden by a filter. (2.1.0) — [release notes](https://github.com/jakezatecky/react-checkbox-tree/releases/tag/v2.1.0)

### Fixes and other changes

- Fixes an error thrown when `onContextMenu` is `null`. (2.1.0) — [release notes](https://github.com/jakezatecky/react-checkbox-tree/releases/tag/v2.1.0)
- Fixes TypeScript resolving `lib/index.js` instead of the bundled typings in some configurations. (2.1.0) — [release notes](https://github.com/jakezatecky/react-checkbox-tree/releases/tag/v2.1.0)
- Fixes CommonJS exports. (2.0.2) — [release notes](https://github.com/jakezatecky/react-checkbox-tree/releases/tag/v2.0.2)
- Fixes TypeScript type exports. (2.0.1) — [release notes](https://github.com/jakezatecky/react-checkbox-tree/releases/tag/v2.0.1)
