Changelog
Version 2
Version 2.8.0 - 2024-01-19
Removed internal display column def memoization that caused edge cases with enabling and disabling features conditionally. (like
enableRowActionsandenableEditing, etc.)Improved Column Resizing and Column/Row DnD Performance by caching column definitions while user is dragging.
Added new
growcolumn option to allow for columns to grow to fill the remaining space in the table whenlayoutMode: 'grid-no-grow'is enabled, or to force a column to not grow whenlayoutMode: 'grid'is enabled andgrow: falseis set.mrt-row-select,mrt-row-drag,mrt-row-pin, andmrt-row-numbercolumns are now set togrow: falseby default now.mrt-row-expandcolumn is also set togrow: falseif only detail panels are enabled.mrt-row-expandis now set to asize: 100by default (slightly wider)
Fixed indentation of mrt expand column when layoutMode was grid or grid-no-grow (using margin instead of padding now)
Modified
editSelectOptionsto allow for dynamic values on a per-cell basis.({ row, cell, etc. }) => []Fixed edit textbox controlled component warning
Version 2.7.0 - 2024-01-18
New
'positionCreatingRow'table option to customize where the creating row is rendered in the table body.All MRT MUI menus now use the
baseBackgroundColormrt theme color for the menu background color.Fixed bug where the page index was not being reset to last page with rows when number of rows in the table changed.
Made some tooltips text non-interactive to prevent accidental clicks.
Simplified internal column preparation APIs.
Version 2.6.1 - 2024-01-11
Upgraded to TanStack Table
v8.11.6for SSR bugfix (document not defined)
Version 2.6.0 - 2024-01-11
Added support for Detail Panels and Row Virtualization at the same time
Added support for Conditional Detail Panels (expand button is disabled when renderDetailPanel returns falsy value). Empty detail panels
<tr>still render for virtualization and striped rows to work properly.Fixed Row Selection indeterminate and checked state when sub-row selection is off
Fixed Expand Row Button padding and rotation in RTL mode
Fixed Pagination Icon Buttons in RTL mode
Set a default "right" cell alignment when theme.direction is "rtl"
Improved Header Group Column Sizing
Removed some internal
"@mui/material"imports. (Could speed up dev server hot reloads in some cases)
Version 2.5.2 - 2024-01-10
Fixed bug where Date and Time Picker filters were not opening properly on mobile devices
Version 2.5.1 - 2024-01-09
Fixed selected row count in toolbar alert banner when using manualPagination
Fixed row dragging with column virtualization enabled
Fixed filter mode switching away from empty/notEmpty having an empty space value
Fixed any setDragImage errors with internal try/catch when refs are null
Fixed filter range slider not having a min width in popover columnFilterDisplayMode
Version 2.5.0 - 2024-01-08
Implemented better default UI for
groupedColumnMode: 'remove'. Expand column shows grouped row values.Fixed grouped parent row selection toggling bugs
Tweaked media queries for search textbox on top of top toolbar alert banner.
Version 2.4.1 - 2024-01-05
Fixed MUI Pagination disabled tooltip warning
Fixed Column Pinning Spacing with Column Virtualization
Fixed Column Action Clear Filter Item when filterFn was "empty" or "notEmpty"
Version 2.4.0 - 2024-01-04
Upgraded to TanStack Table
v8.11.3for bug fixes with expanding and row selectionAdded
'datetime','datetime-range','time', and'time-range'filter variantsAdded Tooltips to pagination buttons
Added new
MRT_ColumnVirtualizerandMRT_RowVirtualizertypesAdded behavior to not render Save Row button unless either
onCreatingRowSaveoronEditingRowSaveis providedAllowed
muiColumnActionsButtonProps.childrento be overridden with a custom iconFixed issue with Sticky Row Pinning and Row Virtualization
Version 2.3.1 - 2024-01-02
disable row selection for creating row
fixed virtualized column index warning
Version 2.3.0 - 2024-01-02
Added new
visibleInShowHideMenucolumn option to allow for columns to be hidden from the show/hide columns menu, regardless of column visibility state.Fixed bug where the Show All button in the show/hide columns menu did not properly skip columns with
enableHiding: falseset.Fixed bug where creatingRow did not work with virtualization enabled.
Version 2.2.0 - 2024-01-01
Added new
useMRT_Rows,useMRT_ColumnVirtualizer, anduseMRT_RowVirtualizerhooks to allow for more advanced use cases for headless mode.Fixed possible duplicate table body row keys warning
Version 2.1.0 - 2023-12-22
Upgraded to TanStack Table
v8.11.2for newcolumnResizeDirectiontable optionAdded proper column resizing support for right-to-left languages
Updated French locale
Fixed warning on edit textfield with outlined variant
Version 2.0.6 - 2023-12-15
Fixed horizontal scrollbar showing up in layoutMode grid with column resizing enabled
add
disabledprop tomuiTablePaginationProps
Version 2.0.5 - 2023-12-05
Upgraded to TanStack Virtual
v3.0.1stable releaseAdded
MuiTablePagination-rootclass to mrt pagination root element for easier stylingFixed potential duplicate key warning while rendering skeleton rows when
getRowIdtable option is provided and doesn't properly returnundefinedFixed
muiSearchTextFieldProps.InputPropsnow able to partially overridden
Version 2.0.4 - 2023-11-09
Add support for
'all'rows pagination optionAdded
muiPaginationProps.SelectPropssupport back to allow for native select
Version 2.0.3 - 2023-11-06
Locale updates
Version 2.0.2 - 2023-11-01
Fixed bug with popover filters null ref focus
Version 2.0.1 - 2023-10-31
Fixed bug where edit row action menu was created for all editDisplayModes
Fixed rest spread on table head row
Changed pagination text to a span instead of with hardcoded 0 margin and padding
Version 2.0.0 - 2023-10-27
Made
MaterialReactTablea named export instead of a default export.Made
@mui/x-date-pickersa required peer dependency.Added new
useMaterialReactTablehook to replace the need for thetableInstanceRefprop.Now exporting all
MRT_*sub-components and utility functions frommaterial-react-tablepackage to allow for easier building of custom UIs in headless mode.Added
createMRTColumnHelperutility function to help with creating columns with slightly more type-safety.Added new
mrtThemetable option to allow for changing some basic mui theme colors that are hard to target with CSS or the mui theme provider.Added new
layoutMode: 'grid-no-grow'option for better column resizing behavior.Improved column resizing UI.
Added new
columnFilterDisplayModeoption to allow for different filter UIs.Added new
createDisplayModetable option to allow for different create/editing UIs. Added new functionality for creating new rows in the table.Renamed
editModeprop toeditDisplayModetable option.Added new
paginationDisplayModeoption to allow for different pagination UIs.Added new
rowPinningDisplayModetable option and row pinning features.Added new
"autocomplete"filterVariant.Added new
"date"filterVariant.Added new
"date-range"filterVariant.Added new loading overlay UI features when
isLoadingorshowLoadingOverlayare true Progress bars no longer show whenisLoadingis true.Changed the default sort icon and show it as visible with a low opacity by default in table header cells.
Changed the filter label icon to show before the sort icon in table header cells.
Changed the default global filter search box UI to be compact and outlined.
Changed edit text field UI to be more compact by default.
Changed the default rowNumberDisplayMode to
"static".Changed how the full screen table UI works internally. (No more mui full screen dialog, just simple CSS)
Upgraded to TanStack Table
v8.10.7Upgraded to TanStack Virtual
v3.0.0-beta.68Renamed options
editingMode->editDisplayModerowNumberMode->rowNumberDisplayModeenablePinning->enableColumnPinningandenableRowPinningvirtualizerInstanceRefsplit intocolumnVirtualizerRefandrowVirtualizerRefvirtualizerPropssplit intocolumnVirtualizerOptionsandrowVirtualizerOptionscolumnVirtualizerProps->columnVirtualizerOptionsrowVirtualizerProps->rowVirtualizerOptionsmuiTablePaginationProps->muiPaginationPropsmuiTableBodyCellCopyButtonProps->muiCopyButtonPropsmuiTableBodyCellEditTextFieldProps->muiEditTextFieldPropsmuiTableBodyCellSkeletonProps->muiSkeletonPropsmuiTableBodyRowDragHandleProps->muiRowDragHandlePropsmuiTableDetailPanelProps->muiDetailPanelPropsmuiTableHeadCellColumnActionsButtonProps->muiColumnActionsButtonPropsmuiTableHeadCellDragHandleProps->muiColumnDragHandlePropsmuiTableHeadCellFilterCheckboxProps->muiFilterCheckboxPropsmuiTableHeadCellFilterTextFieldProps->muiFilterTextFieldPropsmuiTableHeadCellFilterSliderProps->muiFilterSliderPropsMRT_FilterFnsState->MRT_ColumnFilterFnsMaterialReactTableProps->MRT_TableOptionsMRT_FullScreenToggleButton=>MRT_ToggleFullScreenButton
Is anything missing from this v2 changelog? Make a PR or join the Discord to discuss.
Version 1
See the old V1 Changelog
Roadmap
Version 2 Roadmap (2023)
Material React Table V2 was a big release months in the making that mostly focussed on the new useMaterialReactTable hook and paradigms. New features will be added and many bug fixes around virtualization compatibility with advanced features will be prioritized first.
A lighter weight useMaterialReactTableLight hook is also being considered in the near future that will be a bit more bare-bones and tree-shakable. All features will be opt-in and will not be enabled by default.