Skip to content

Latest commit

 

History

History
860 lines (427 loc) · 33.8 KB

CHANGELOG.md

File metadata and controls

860 lines (427 loc) · 33.8 KB

5.19.1 (2024-08-24)

Bug Fixes

  • add has-row-span class to the table when the rowSpan is set (#500) (b2b601d)

5.19.0 (2024-08-22)

Features

  • Table: add support for maxHeight prop (#498) (1d3598d)

5.18.3 (2024-06-11)

Bug Fixes

  • Table: fix flexGrow is invalid when the table is hidden and then shown (#489) (8cdf3bf)

5.18.2 (2023-12-01)

Bug Fixes

  • fix availability of RowDataType type (#476) (8590477)

5.18.1 (2023-11-24)

Bug Fixes

  • Table: fix missing ColumnGroup parameter in children (#475) (1389716)

5.18.0 (2023-11-24)

Features

  • Table: add support function type for children prop (#474)

5.17.0 (2023-11-17)

Features

  • Table: support get scroll position of the table through ref (#473) (8f44c93)

5.16.0 (2023-11-09)

Bug Fixes

  • Table: fix the compatibility issue with verticalAlign (#435) (2ed844c)

5.15.0 (2023-10-26)

Bug Fixes

  • Table: fix table cell text cannot be copied (8a9f06b)

Features

  • add a script to prepend the use client directive (#466) (24369c5)

5.14.0 (2023-10-19)

Features

  • Table: add an option to define rowExpandedHeight as function #465

5.13.0 (2023-10-17)

Bug Fixes

  • Table: fix table scroll width not excluding scroll bar width (#461) (88b0575)
  • TreeTable: fix incorrect scrolling position of tree nodes after collapse (#462) (0e0c8dc)

Features

  • Table: support table scrolling through keyboard arrow keys (#463) (bf451a8)

5.12.0 (2023-09-06)

Features

  • Next.js: add 'use client' to all components (#456) (ed49fe1)

5.11.1 (2023-08-31)

Bug Fixes

  • HeaderCell: fix type extension (#448) (a8c9246)
  • Column: fix column width reset after children update (#447)

5.11.0 (2023-07-06)

Features

  • column: add support for flexGrow with resizable (#440) (68c81f1)

5.10.6 (2023-06-02)

Bug Fixes

  • Table: fix rowHeight is invalid when virtualized (#437) (fdacff0)

5.10.5 (2023-05-09)

Bug Fixes

  • Table: fix the calculation error of cell height when using renderRowExpanded (#434) (7da8a88)
  • Table: fix didn't update fluid width when table was mounted (#433)

5.10.4 (2023-04-27)

Bug Fixes

  • ColumnGroup: fix renderSortIcon is not working in grouped columns (#426) (cb616bd)

5.10.3 (2023-04-04)

Bug Fixes

Reverts

  • Revert "fix(Table): fix flattenData function (#413)" (#417) (eac4b0a), closes #413 #417

5.10.2 (2023-03-23)

Bug Fixes

5.10.1 (2023-03-16)

Bug Fixes

  • Table: fix missing ref in type definition (#411) (28338ee)

5.10.0 (2023-03-16)

Bug Fixes

  • Table: fix column misalignment after data update (#409) (e3bdb00)

Features

5.9.0 (2023-02-23)

Bug Fixes

  • resizable: fix scrollbar not showing after resizing column width (#399) (19c1370)

Features

  • Table: add support for rowIndex on rowClassName (#400) (c97ed46)

5.8.2 (2023-01-11)

Bug Fixes

  • change table width function wrap debounce (#392) (a79dd36)

5.8.1 (2022-11-21)

Bug Fixes

  • Column: fix cannot customize columns (#388) (7cfb8f9)
  • Row: fix the style error of header hover (#386) (9238a34)
  • Table: fix virtualized table white screen issue in react 18 (#387) (f10f92b)

5.8.0 (2022-11-03)

Features

  • Column: support for show full text when hovering over a cell (#376) (2d5066a)

5.7.2 (2022-09-29)

Bug Fixes

  • Loader: fix custom loader always showing (#370) (1774eee)

5.7.1 (2022-09-07)

Bug Fixes

  • fixes an issue where the width of cells outputted from useCellDescriptor does not always update as columns in input change.' (#364) (cf1682d)
  • Table: fix virtualized table scrolling exception (#366) (a0c1696)

5.7.0 (2022-08-23)

Bug Fixes

  • autoHeight: fix table height calculation error when autoHeight (#362) (9cca913)
  • autoHeight: fixed scroll event not updating after autoHeight value changed (#360) (bb368bd)
  • Cell: add rowData required validation for custom Cell (#361) (fcab314)

Features

5.6.1 (2022-07-12)

Bug Fixes

5.6.0 (2022-06-27)

Bug Fixes

  • Table: fix classPrefix bug due to context parameter (#349) (cf875f5)

Features

  • Table: add support for wordWrap property values (#348) (f6f65c1)

5.5.1 (2022-06-01)

Bug Fixes

  • rowHeight using is fixed in useTableDimension (#343) (6fb5a69)

5.5.0 (2022-04-21)

Features

  • HeaderCell: support renderSortIcon on <HeaderCell> (#341) (18d6567)

Performance Improvements

  • Table: improved rendering of scrollbars (#340) (2b04ada)

5.4.1 (2022-04-14)

Bug Fixes

  • Table: fix table height not reset after fillHeight is changed (#337) (2156358)

5.4.0 (2022-04-07)

Bug Fixes

  • Column: fix rowSpan cell layer covering fixed columns (#331) (16fab36)
  • fix lint error on typescript versions prior to 4.4 (#329) (991bc2f)
  • Table: fix affixHorizontalScrollbar to be shown when Table component was initially rendered with empty data (21a3f07)
  • Table: fix affixHorizontalScrollbar to stay when user drags it (21a3f07)
  • Table: fix horizontal scroll can not scroll to the end (#336) (ecd2494)

Features

  • Table: add support for fillHeight on <Table> (#330) (7db9a13)

5.3.6 (2022-03-10)

Bug Fixes

  • Columns: fix Fragment render in nested array (#327) (a29e38c)

5.3.5 (2022-03-03)

Bug Fixes

  • scroll: fix horizontal scroll position exception (#323) (aef4bd5)

5.3.4 (2022-02-24)

Bug Fixes

  • rerender: fix table infinite rerender (#319) (da4b36b)

5.3.3 (2022-02-10)

Bug Fixes

  • ssr: fix server-side rendering warning (#310) (e188ef7)
  • ts: fix errors checked in typescript strict mode (#305) (ba059bd)
  • useScrollListener: can't perform a React state update on an unmounted component (#306) (f2104f1)

5.3.2 (2022-01-13)

Bug Fixes

  • ssr: fix window is not defined for Table Columns (#294) (42e1189)

5.3.1 (2022-01-06)

Bug Fixes

  • Table: fix rowSpan is invalid in ie brower (#293) (ea49e51)

5.3.0 (2021-12-23)

Features

  • Table: support renderRow on (#287) (732a35e)

    5.2.2 (2021-12-03)

    Bug Fixes

    • Column: fix alignment is overwritten in ColumnGroup (#282) (0ea6a71)

    5.2.1 (2021-11-25)

    Bug Fixes

    • scrollbar: enhanced verification of the number of columns (#275) (a666996)
    • scrollbar: fix scroll left reset (#273) (dab0f27)
    • tree: fix unrecalculated row height after tree node is expanded (#277) (3788875)
    • wordWrap: fix can't word wrap in tree table (#274) (58436e4)

    5.2.0 (2021-11-18)

    Bug Fixes

    • Table: fix scroll bar not re-rendering after table resize (#267) (185f759)

    Features

    • Column: added support for nested values of dataKey on Column (#268) (50ec875)

    Performance Improvements

    • TreeTable: improve the performance of tree table (#266) (25eeee6)

    5.1.0 (2021-11-12)

    Features

    • Table: added support function type for shouldUpdateScroll (#262) (a05bf8e)
    • Touch: support momentum scroll when touch (#263) (23982ed)

    5.0.3

    -build(deps): bump dom-lib to 3.0.0 #260

    5.0.2 (2021-10-28)

    Bug Fixes

    • scroll: fix resizable will affect the scroll bar reset (#258) (8bf2ae6)
    • Table: fix scroll event not working (#257) (7212e66)
    • Table: remove default value of rowKey (#259) (191ffda)

    5.0.1 (2021-10-20)

    Bug Fixes

    • 🐛 Add the children type definition for Column (#254) (6b7a69e)
    • 🐛 fix scrollbar is not updated after tree node is expanded (#253) (323110c), closes #249

    Features

    • a11y: add aria-busy attribute to loading table (#251) (e41e2cf)

    5.0.0-beta.3 (2021-09-17)

    Bug Fixes

    • table: fix cell text does not wrap when wordWrap (#246) (572b1cd)
    • table: fix that flexGrow and wordWrap cannot be used together (#247) (f91aa2b)
    • table: fix the redundant scroll bar height (#248) (26fa42f)

    5.0.0-beta.2 (2021-09-16)

    Bug Fixes

    • column: fix that rowSpan cannot be used in multiple Columns (#245) (5095062)

    5.0.0-beta.1 (2021-09-16)

    Bug Fixes

    • affix: fix scrollbar not re-rendering after data update (#237) (5a759d6)
    • autoHeight: fix the extra scroll bar width after autoHeight (#236) (3ef47cb)
    • Cell: fix that the content cannot be styled through style (#234) (7823adb)
    • Cell: fix the problem that style padding value is overwritten (#238) (8b307c2)
    • some props of TableProps should be optional. (#240) (f8bf9c8)
    • table: fix scroll listener not updated after data update (#242) (75aef50), closes #239

    Features

    • ColumnGroup: support groupHeaderHeight on <ColumnGroup> (#235) (680035a)
    • column: support rowSpan on <Column> (#243) (a6e08c2)
    • Table: refactor: use react hooks to refactor Table. (#232)
    • icons: refactor(icons): replace all icon with @rsuite/icons. (#180)
    • resize: honor minWidth setting when resizing columns. (#201)

    3.14.3

    • Bugfix: Fix the type definition error of typescript (#195)
    • Bugfix: Fixed ColumnGroup does not support classPrefix (#193)
    • Bugfix: Fixed Row missing custom rowKey (#191)
    • Bugfix: Fixed the unhandled scroll bar width when the Cell is fixed on the right (#189)

    3.14.2

    • Bugfix: Fix the table height problem caused by affixHeader (#185)

    3.14.1

    • Improve: Use ARIA to improve accessibility (#178)
    • Bugfix: Fix Cell rendering redundant padding when it is not a tree column (#179)
    • Bugfix: fix(HeaderCell): missing children prop type (#177)

    3.14.0

    • Improve: Add accessibility properties.
    • Bugfix: Fix not working with gatsbyjs.
    • Bugfix: Fixed invalid custom column width when dragging the column.
    • Bugfix: Fix the problem that the vertical scroll bar is not displayed after the Tree is expanded.
    • Bugfix: Fix the problem that the data is not updated after the isTree property is changed.

    3.13.2

    • Bugfix: Fix that after turning on virtualization and turning off shouldUpdateScroll, there will be a React error with page stack overflow. #163 #164

    3.13.1

    • Bugfix: Fixed an issue that exceeded the maximum update depth

    3.13.0

    • Feature: Add an optional onRowContextMenu property
    • Feature: Add ColumnGroup
    • Bugfix: Fix rsuite#1044

    3.12.0

    • Feature: Support shouldUpdateScroll on <Table>

    3.11.3

    • Bugfix: Improved to children compatible with complex structures.

    3.11.2

    • Bugfix: Fix the problem that the table header has no shadow.

    3.11.1

    • Bugfix: Fix the situation where the affixHeader cannot be applied to non-fixed columns.

    3.11.0

    • Bugfix: Fix resizable to be compatible with affixHeader
    • Feature: Support onDataUpdated on <Table>
    • Improve: Improved wordWrap property for compatibility with rowHeight.

    3.10.1

    • Bugfix: Fix the problem that the position will be reset after clicking the scroll bar

    3.10.0

    • Feature: Support affixHorizontalScrollbar on Table

    3.9.5

    • Bugfix: Fixed the problem that the scroll bar is not reset when the data is updated.

    3.9.3

    • Bugfix: Fixed the problem that the resizable property of the columns of the table would not work.

    3.9.2

    • Bugfix: Fixed incorrect scroll bar position when manually triggering the scroll method.
    • Bugfix: Fixed table cannot adjust column width.
    • Bugfix: Fixed misalignment of table header text.

    3.9.0

    • Feature: Added expanded parameter in renderTreeToggle.
    • Feature: Added support treeCol on <Column>.
    • Chore: Migrate from Flow to Typescript.
    • Breaking: Remove the setRowHeight property,rowHeight supports function values.

    3.8.4

    • Fixed an issue where scrollTop would not work

    3.8.3

    • <Table> The "empty" status is not displayed by default when loading

    3.8.2

    • Fix RTL related bugs #121

    3.8.1

    • Improve the performance of virtualized table #120

    3.8.0

    • Added support for css import #118
    • Fixed the affixHeader feature, which does not hide the table header when the scrolling range is outside the Table body #109
    • Added support for RTL #101
    • Fix #114 #116

    3.7.1

    • Fix move scrollbar issues #106

    3.7.0

    • Support for affixHeader on <Table>

    3.6.1

    • Fix _constants is not defined #103

    3.6.0

    • Added support for RTL #101

    3.5.9

    • Fixed scroll position after data update #100

    3.5.8

    • Fixed a rendering error when the column in the table was null #99
    • Fixed a problem with scrolling white screen after changing height #97

    3.5.7

    • Fixed component not re-rendered after sortType update.
    • Fix the position of the scroll bar when the height of the table changes
    • Fix validation of merged cells for custom children

    3.5.6

    • Fixed an issue where the scrollbar position was not updated after the data was updated

    3.5.5

    • Fix expandedRowKeys not controlled (#90)
    • Support event parameter in onRowClick (#89)
    • Custom function parameters in <Cell> support rowIndex (#88)

    3.5.4

    • Fix expandedRowKeys is invalid when rowKey is 0

    3.5.3

    • Fix: Unable to preventDefault inside passive event listener due to target being treated as passive

    3.5.2

    • Fixed a scrollbar being reset in the case of virtualized

    3.5.1

    • Fixed scrollbar position not updated after data update

    3.5.0

    • Support renderEmpty and renderLoading on <Table>
    • Support verticalAlign on <Table.Column>
    • Fix: Unable to preventDefault inside passive event listener due to target being treated as passive

    3.4.11

    • Fixed a scrollbar event invalid on the internal elements of the table

    3.4.10

    • Fixed icon style problem with Table Tree
    • Fixed invalid autoHeight property when table data is empty

    3.4.9

    • Fixed an error that occurred when the tree table word wrap

    3.4.8

    • Fix IE 10 compatibility issues

    3.4.7

    January 30, 2019

    • Fixed a passively triggered onScroll event that caused the scrollbar to be misaligned
    • Cache data for Tree

    3.4.4

    • Fix typos

    3.4.3

    January 23, 2019

    • Fix dynamic column not updated

    3.4.1

    January 17, 2019

    • Fix scrollbar position

    3.4.0

    January 17, 2019

    • Support virtualized, effectively render large tabular data #55

    3.3.2

    January 9, 2019

    • The children property support function for <Cell> in <Table>

    3.3.1

    January 3, 2019

    • Support fixed column to the right

    3.3.0 (deprecate)

    December 29, 2018

    • Support fixed column to the right

    3.2.0

    • Support server side rendering
    • Refactored the logic of sorting

    3.1.7

    • Feature: Support rowClassName on Table
    • Feature: Support defaultSortType on <Table> and let sortType be controlled
    • Chore: Update element-resize-event

    3.1.6

    • Bugfix: The scroll bar is not reset after the column has changed

    3.1.5

    • Bugfix: Column Widths change affects the scroll bar ([#rsuite-224])

    3.1.3

    • Bugfix: The default value of sortType on <Table> should be desc ([#40])

    3.1.2

    • Bugfix: flexGrow is invalid when there is only one column ([#39])

    3.1.1

    • Feature: Support onResize on <Table.Column> ([#37])
    • Bugfix: The scrollbar position is reset when the data is loaded ([#36])

    3.1.0

    • Chore: Migrated to new lifecycle method

    3.0.7

    • Chore: filter the ref value of null for tableRows([#33])

    3.0.6

    • Chore: Remove dependency for rsuite-theme ([#32])

    3.0.5

    2018-7-3

    • Feature: Support showHeader on <Table> ([#30])
    • Feature: Support autoHeight and minHeight on <Table> ([#29])
    • Feature: Support cellBordered on <Table> ([#28])

    3.0.4

    2018-6-26

    • Feature: Support loadAnimation on <Table> ([#27])
    • Bugfix: The position was updated incorrectly when the scrollbar was clicked on <Table> ([#26])

    3.0.3

    2018-6-25

    • Chore: Allowed header height can be 0 ([#25])
    • Chore: Update style for loading ([#25])
    • Bugfix: Set minimum height for table body ([#24])

    3.0.2

    2018-6-10

    • Support bodyRef on <Table> ([#23])
    • When the height of the content is updated, reset the scroll bar position ([#22])

    3.0.1

    • Update shouldComponentUpdate check

    2.0.1

    • 修复多个 bug
    • 修改 renderTreeToggle
    • 支持 bordered 属性
    • 支持 treeToggletreeToggleBy 属性
    • 支持 touch events
    • <Column> 支持 colSpan 属性, 可以合并列单元格
    • Scrollbar 支持点击滚动到指定位置
    • 更新 rsuite-theme, 解决分页按钮禁用样式问题

    2.0.0

    • 升级 React 版本 15.* ,同时兼容 0.14.9 版本
    • 删除 Minxin, 改用高阶组件
    • 改进表格许多性能问题
    • 添加了对 loading 状态的支持
    • 添加了 编辑的表格 的示例

    1.1.11

    • 自定义滚动条代替系统原生滚动,大幅提高了滚动表格时候的性能

    1.1.8

    • Column 设置默认宽度为 100
    • 修复,在 Column 是 null 时候报错
    • 修复,在动态列时候 flexGrow 值无效