redux-devtools/packages/react-json-tree/CHANGELOG.md
github-actions[bot] fa25234d36
Version Packages (#1309)
* Version Packages

* Update lock file

* Major changes

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2023-01-05 14:18:48 +00:00

3.6 KiB

Change Log

0.18.0

Major Changes

  • 81926f32: Remove UNSAFE method from react-json-tree

    • Replace shouldExpandNode with shouldExpandNodeInitially. This function is now only called when a node in the tree is first rendered, when before it would update the expanded state of the node if the results of calling shouldExpandNode changed between renders. There is no way to replicate the old behavior exactly, but the new behavior is the intended behavior for the use cases within Redux DevTools. Please open an issue if you need a way to programatically control the expanded state of nodes.
    • Bump the minimum React version from 16.3.0 to 16.8.0 so that react-json-tree can use hooks.
    • Tightened TypeScript prop types to use unknown instead of any where possible and make the key path array readonly.

0.17.0

Minor Changes

  • 8a7eae4: Add React 18 to peerDependencies range

0.16.2

Patch Changes

  • 4c9a890: Fix type import for Typescript versions <4.5

0.16.0

- import JSONTree from 'react-json-tree';
+ import { JSONTree } from 'react-json-tree';

0.15.0 (2021-03-06)

Features

  • update peer dependencies to allow react@^17 (#703) (2aaa9c1)

0.14.0 (2021-03-06)

Bug Fixes

  • react-json-tree: remove isRequired from data prop type (#685) (d76d6c6)

Features

  • react-json-tree: Add keyPath to getItemString (#694) (85b4b0f)

0.13.0 (2020-09-07)

Bug Fixes

  • react-base16-styling: fix Styling type (#602) (e7304b5)

Features

  • react-dock: convert to TypeScript (#607) (78ded9e)
  • redux-devtools: convert counter example to TypeScript (#616) (f1e3f4f)
  • redux-devtools: convert todomvc example to TypeScript (#618) (37191e4)

0.12.1 (2020-08-14)

Bug Fixes

  • react-json-tree: fix react-json-tree examples (#531) (0864f28)