UNPKG

3.99 kBMarkdownView Raw
18.14.0 / 2017-05-17
2===================
3
4 * Fix - Make `components` rename work properly in production as well. #348
5
68.13.0 / 2017-04-19
7===================
8
9 * Refactor - Rename `components` field to `renderers`. The old prop name will be dropped in the next major version although it works for now.
10
118.12.0 / 2017-10-05
12===================
13
14 * Chore - Support React 16. #324
15
168.8.0 / 2017-04-03
17==================
18
19 * Refactor - Refactor `mergePropPair` logic. Now Babel should generate easier code.
20
218.7.2 / 2017-04-03
22==================
23
24 * Bug fix - If there are no transforms, skip processing them entirely.
25
268.6.0 / 2017-01-16
27==================
28
29 * Bug fix - Bump lodash peer dependency to v4 minimum. This was expected already, but the version was wrong.
30
318.5.0 / 2016-12-20
32==================
33
34 * Feature - Drop `deep-diff` dependency. Now it checks through lodash instead. Simpler this way.
35 * Bug fix - Allow `rowKey` to be zero. #262
36
378.4.2 / 2016-12-15
38==================
39
40 * Bug fix - Fix false negative for `rowKey` check. Now objects with getters should work as expected. #261
41
428.1.0 / 2016-11-27
43==================
44
45 * Feature - Allow `overflow` to be overridden through `style`. #246
46
478.0.0 / 2016-11-27
48==================
49
50 * Feature - Pass whole column through header/body for extra parameters.
51 * Feature - Support `onRow` at `Table.Header`.
52 * Feature - Allow `Table.Header` to accept `headerRows` (an array of column definitions) to override default columns. See below.
53 * Feature - Move `utils.resolveRowKey`, `utils.evaluateFormatters`, `utils.evaluateTransforms`, `utils.mergeProps`, `utils.columnsAreEqual` to `reactabular-table`.
54 * Bug fix - Skip functions at `BodyRow` `shouldComponentUpdate`.
55 * Breaking - Generalize `format: <fn>` as `formatters: [<fn>]`. The formatters are applied recursively from left to right: `[f1, f2, f3] => f1(f2(f3(value, extra)))`. This allows composition.
56 * Breaking - Extract nested column logic. Now you will have to resolve nested columns before passing them to the table. The advantage of doing this is that now all logic (search/sorting/etc.) works with nested tables. Basic idea:
57
58```javascript
59import * as resolve from 'table-resolver';
60
61...
62
63const NestedColumnsTable = () => {
64 const resolvedColumns = resolve.columnChildren({ columns });
65 const resolvedRows = resolve.resolve({
66 columns: resolvedColumns,
67 method: resolve.nested
68 })(rows);
69
70 return (
71 <Table.Provider columns={resolvedColumns}>
72 <Table.Header
73 headerRows={resolve.headerRows({ columns })}
74 />
75
76 <Table.Body
77 rows={resolvedRows}
78 rowKey="id"
79 />
80 </Table.Provider>
81 );
82};
83
84...
85```
86
876.0.0 / 2016-10-14
88==================
89
90 * Feature - Allow table body and body row `shouldComponentUpdate` to be overridden.
91
923.0.6 / 2016-09-12
93==================
94
95 * Feature - Allow `BodyRow` `shouldComponentUpdate` to be overridden by setting `components.body.row.shouldComponentUpdate = true`.
96
973.0.0 / 2016-09-01
98==================
99
100 * Breaking - `onRow` accepts `row, { rowIndex, rowKey }` instead of `row, rowIndex`.
101
1022.0.5 / 2016-08-26
103==================
104
105 * Feature - Allow `Body` `rowKey` to be defined as a function (`({ rowData, rowIndex }) => {... return a rowKey ...}`). #193
106
1072.0.0 / 2016-08-16
108==================
109
110 * Feature - Improve performance by pushing `onRow` check lower in the component hierarchy.
111
1121.2.3 / 2016-08-08
113==================
114
115 * Feature - Make `rowKey` propType check compatible with React 15.3. It should give you better output during development now.
116
1171.2.0 / 2016-08-05
118==================
119
120 * Bug fix - Pass unresolved values to `Table.Body` transforms instead of resolved ones.
121
1221.1.1 / 2016-08-04
123==================
124
125 * Feature - Drop `lodash/omit` dependency.
126
1271.1.0 / 2016-08-03
128==================
129
130 * Feature - Added `getRef` for getting references to underlying DOM elements.
131
1321.0.0 / 2016-07-25
133==================
134
135 * Initial release.