- Feature - Throw error if sort is not passed to sorter. #13
- Fix - Do not crash if column to reset isn't found
- Chore - Support React 16. #11
- Docs - Fix a typo at readme.
- Refactor - React 15.5 upgrades, fixed deprecations, Jest upgrade. #7
- Chore - Bump peer dependency to require lodash 4. Since lodash 3 won't work this is the only right solution.
- Feature - Allow
sort.header
sortable
parameter to be skipped. This is useful if you want to use the component only for visualization. - Feature - Separate
sort.order
component. This is useful if you need to display only the sorting status (i.e., direction) to the user.
- Docs - Fix a readme example. #3
- Feature - Add support for sorting numbers. The interface is exactly the same as this is an internal change. #2
- Initial re-release under a different name.
- Breaking - Drop
styles
prop. Useprops
instead.
- Feature - Expose
props
prop for customizingsort.header
props
of the component. This will replacestyles
eventually.
- Feature - Add
sort.byColumnsPrioritizeLastSorted
. #199
- Bug fix - Make sure
sort.byColumns
does not mutate passedsortingColumns
. Now it performs a deep clone using lodash.
- Breaking - Return sorting columns if no selected column is passed.
- Breaking - Extract header styling to a separate file (
style.css
at package root) and allowstyle
prop to be passed. - Breaking - Port sorting to a property based scheme over index one.
- Feature - Mark React as a peer dependency.
- Feature - Allow sorting
fieldName
to be customized forsort
,header
, andreset
. This is useful if you want to sort perproperty
for example. - Feature - Allow
sorter
getColumns
mechanism to be customized. This is needed to makefieldName
useful.
- Bug fix - Do not crash if column
cell
definition is missing. #178
- Bug fix -
sort.reset
accepts object properly now. Earlier it bailed out too early.
- Feature -
sort.sort
acceptsevent
parameter now. It defaults toonClick
. - Feature -
sort.reset
is a new transform that can be used to remove the given column from the sorting rules. - Feature -
sort.header
is a new formatter that can be used to apply sorting. This is handy if you usesort.reset
.
- Initial release.