UNPKG

3.54 kBMarkdownView Raw
1## treetabular
2
31.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
167.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
246.1.1 / 2016-10-27
25==================
26
27 * Bug fix - Allow `tree.filter` `parent` to be zero.
28
296.1.0 / 2016-10-25
30==================
31
32 * Feature - Allow `idField` to be passed to `tree.sort`.
33
346.0.3 / 2016-10-19
35==================
36
37 * Bug fix - Bump peer version ranges to avoid npm warnings.
38
396.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
495.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
545.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
605.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
654.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
714.2.0 / 2016-09-23
72==================
73
74 * Feature - Allow `toggleChildren` to accept `props` for customization.
75
763.0.5 / 2016-09-02
77==================
78
79 * Feature - Allow `id` to be passed to `filter`.
80
813.0.4 / 2016-09-02
82==================
83
84 * Feature - Allow `toggleChildren` `id` to be customized (not just "id" anymore).
85
863.0.2 / 2016-09-01
87==================
88
89 * Feature - Include suggested default styling for the toggle arrow.
90
913.0.1 / 2016-09-01
92==================
93
94 * Bug fix - Pass `strategy` to `sorter` at `tree.sort`.
95
963.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
1022.0.0 / 2016-08-16
103==================
104
105 * Initial release.