mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-24 10:33:58 +03:00
fa25234d36
* 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>
3.6 KiB
3.6 KiB
Change Log
0.18.0
Major Changes
-
81926f32: Remove UNSAFE method from react-json-tree
- Replace
shouldExpandNode
withshouldExpandNodeInitially
. 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 callingshouldExpandNode
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
to16.8.0
so thatreact-json-tree
can use hooks. - Tightened TypeScript prop types to use
unknown
instead ofany
where possible and make the key path arrayreadonly
.
- Replace
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
- Adds ESM build (https://github.com/reduxjs/redux-devtools/pull/997) and switches the default export to a named export in order to ensure that the CommonJS output and the ESM output are interchangeable:
- import JSONTree from 'react-json-tree';
+ import { JSONTree } from 'react-json-tree';
0.15.0 (2021-03-06)
Features
0.14.0 (2021-03-06)
Bug Fixes
Features
0.13.0 (2020-09-07)
Bug Fixes
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)