1 | ## treetabular
|
2 |
|
3 | 1.0.0 / 2016-11-26
|
4 | ==================
|
5 |
|
6 | * Initial re-release under a different name.
|
7 | * Bug fix - Respect `idField` properly at `tree.moveRows`.
|
8 | * Breaking - Make `tree.filter` throw if `fieldName` is not passed. Without this it would fail silently.
|
9 | * Feature - Attach `_isParent` to parents when using `tree.unpack`.
|
10 | * Bug fix - `tree.moveRows` will return the original rows now if moving fails for some reason.
|
11 |
|
12 | ---
|
13 |
|
14 | ## reactabular-tree
|
15 |
|
16 | 7.0.0 / 2016-11-03
|
17 | ==================
|
18 |
|
19 | * Bug fix - Allow `tree.toggleChildren` to work without column `props` defined.
|
20 | * Feature - Add `tree.getImmediateChildren`.
|
21 | * Feature - Add `tree.moveRows`.
|
22 | * Breaking - Refactor `tree.filter` as `({ fieldName, parentField = 'parent' }) => (rows) => filteredRows`.
|
23 |
|
24 | 6.1.1 / 2016-10-27
|
25 | ==================
|
26 |
|
27 | * Bug fix - Allow `tree.filter` `parent` to be zero.
|
28 |
|
29 | 6.1.0 / 2016-10-25
|
30 | ==================
|
31 |
|
32 | * Feature - Allow `idField` to be passed to `tree.sort`.
|
33 |
|
34 | 6.0.3 / 2016-10-19
|
35 | ==================
|
36 |
|
37 | * Bug fix - Bump peer version ranges to avoid npm warnings.
|
38 |
|
39 | 6.0.0 / 2016-10-14
|
40 | ==================
|
41 |
|
42 | * Breaking - Merge `tree.flatten` with `tree.unpack`. The new signature for `tree.unpack` is `tree.unpack = ({ parentField = 'parent', parent, idField = 'id'}) => (rows) => <unpackedRows>`.
|
43 | * Breaking - Rework API so that all functions except `tree.toggleChildren` work in curry format (`(...) => (rows) => <new rows>`). This way the API is consistent and easy to extend.
|
44 | * Breaking - Expose `childrenField` for `tree.pack` and `tree.unpack`. It defaults to `children`.
|
45 | * Breaking - Make `tree.pack` to work in a recursive manner (packs children within children).
|
46 | * Breaking - Make `tree.search` match against children as well. If children as matched, it will return parents as well.
|
47 | * Feature - Add `tree.getChildren` utilities for getting node children.
|
48 |
|
49 | 5.2.1 / 2016-09-30
|
50 | ==================
|
51 |
|
52 | * Bug fix - If `className` is not provided to `tree.toggleChildren`, do not render `undefined` as a class. Also dropped extra `console.log`.
|
53 |
|
54 | 5.2.0 / 2016-09-30
|
55 | ==================
|
56 |
|
57 | * Bug fix - Calculate `tree.getParents` correctly for root level nodes without parents. Previously that gave false positives.
|
58 | * Feature - Annotate `tree.toggleChildren` with `has-children` and `has-parent` classes. Easier to style this way.
|
59 |
|
60 | 5.1.0 / 2016-09-29
|
61 | ==================
|
62 |
|
63 | * Feature - Add `tree.flatten` to allow transforming a nested tree structure into a flat structure used by the algorithms.
|
64 |
|
65 | 4.3.0 / 2016-09-27
|
66 | ==================
|
67 |
|
68 | * Feature - Let `toggleChildren` toggle when cell is clicked. If you want the old behavior, override `onClick` through `props`.
|
69 | * Feature - Add `collapseAll` and `expandAll` helpers.
|
70 |
|
71 | 4.2.0 / 2016-09-23
|
72 | ==================
|
73 |
|
74 | * Feature - Allow `toggleChildren` to accept `props` for customization.
|
75 |
|
76 | 3.0.5 / 2016-09-02
|
77 | ==================
|
78 |
|
79 | * Feature - Allow `id` to be passed to `filter`.
|
80 |
|
81 | 3.0.4 / 2016-09-02
|
82 | ==================
|
83 |
|
84 | * Feature - Allow `toggleChildren` `id` to be customized (not just "id" anymore).
|
85 |
|
86 | 3.0.2 / 2016-09-01
|
87 | ==================
|
88 |
|
89 | * Feature - Include suggested default styling for the toggle arrow.
|
90 |
|
91 | 3.0.1 / 2016-09-01
|
92 | ==================
|
93 |
|
94 | * Bug fix - Pass `strategy` to `sorter` at `tree.sort`.
|
95 |
|
96 | 3.0.0 / 2016-09-01
|
97 | ==================
|
98 |
|
99 | * Breaking - Rewrite API. Now most parts accept objects and you can also customize field names.
|
100 | * Feature - Add `tree.sort` to wrap toggling row children.
|
101 |
|
102 | 2.0.0 / 2016-08-16
|
103 | ==================
|
104 |
|
105 | * Initial release.
|