Skip to content

Latest commit

 

History

History
439 lines (200 loc) · 18.8 KB

CHANGELOG.md

File metadata and controls

439 lines (200 loc) · 18.8 KB

3.2.0 (2024-11-25)

Bug Fixes

3.1.0 (2024-09-19)

Bug Fixes

  • cursor disappeared on click (0bfa921)

Features

  • tree-shaking
  • log error on dataIndex repeated (555ffab)

3.0.0 (2024-08-29)

Breaking Changes

  • 废弃了 cache
  • 废弃了 tooltipRender
  • css 采用 BEM 命名方式
  • css 变量改为 --resizable-line-background
  • css 文件重名为 style.css
  • ResizableUniqIdPrefixresizable-table-id 重命名为 resizable-col-id

Feat

  • 新增 refresh 方法,用于手动刷新组件
  • 新增 debounceWaitTime,用于设置 resize窗口时 debounce 的等待时间
  • resetColumns 新增入参 resetStorage 选项,可以重置storage中的列宽度,默认为 true
  • 可给单独列设置以下选项
type ResizableConfig = {
  /**
   * @description 列宽度
   */
  width?: WidthType
  /**
   * @description 默认列宽度
   */
  defaultWidth?: number
  /**
   * @description 是否可以拖动
   */
  resizable?: boolean
  /**
   * @description 最小拖动宽度
   */
  minConstraints?: number
  /**
   * @description 最大拖动宽度
   */
  maxConstraints?: number
}

Bug Fixes

2.9.5 (2024-01-31)

Bug Fixes

  • render error caused by react-resize-detector (52f5321)

2.9.4 (2024-01-25)

Bug Fixes

  • replace overflow detector (e5bc5ef)

2.9.3 (2024-01-24)

Bug Fixes

  • react-detectable-overflow node engine (d6b2d4f), closes #75

2.9.2 (2024-01-21)

Bug Fixes

  • compatible with react legacy, not require react/jsx-runtime (6bb0115)

2.9.1 (2023-12-26)

Bug Fixes

Performance Improvements

2.9.0 (2023-11-26)

Features

  • support tooltipRender for header cell ellipsis (3345589)

2.8.15 (2023-11-01)

Bug Fixes

2.8.14 (2023-10-16)

Bug Fixes

2.8.13 (2023-05-19)

Bug Fixes

  • 可以自定义勾选表头时,cacheWidth失效 (439a4d6)

2.8.12 (2023-03-10)

Reverts

2.8.11 (2023-03-10)

Bug Fixes

2.8.10 (2023-03-10)

Bug Fixes

2.8.9 (2023-03-09)

Bug Fixes

2.8.8 (2023-03-08)

Bug Fixes

2.8.7 (2023-02-01)

2.8.6 (2023-02-01)

Bug Fixes

  • storage cache not working (a8057f3)

2.8.5 (2023-01-11)

Bug Fixes

  • resizable-handler z-index compatible with antd (e2f8997)

2.8.4 (2023-01-11)

Bug Fixes

  • dynamic columns & table blink (ce4ab41), closes #38

2.8.3 (2023-01-10)

Bug Fixes

2.8.2 (2023-01-10)

Bug Fixes

  • local columns is undefined at first render (aeca034)

2.8.1 (2023-01-06)

Bug Fixes

2.8.0 (2023-01-06)

Features

  • support cache children column width (c562c5c)

2.7.3 (2023-01-05)

Bug Fixes

2.7.1 (2023-01-05)

Bug Fixes

2.7.0 (2023-01-04)

Bug Fixes

2.6.3 (2023-01-04)

2.6.2 (2023-01-04)

Bug Fixes

2.6.1 (2023-01-04)

2.6.0 (2023-01-04)

Bug Fixes

  • resizable box overflow(unset) lead to table overflow (523a7fc)

2.5.0 (2022-09-15)

Bug Fixes

Features

  • ✨ support onResizeStart & onResizeEnd callback (0e363da), closes #21

2.4.0 (2022-07-06)

Features

  • 修复 hideInTable 导致的 tableWidth 计算为 0 问题 (f570c08)

2.3.4 (2022-05-16)

2.3.3 (2022-05-16)

2.3.2 (2022-05-16)

2.3.1 (2022-05-16)

2.3.0 (2022-05-16)

Bug Fixes

Features

2.2.0 (2022-05-13)

Bug Fixes

  • async columns (7877183)
  • column中有副作用时render问题 #7 (274a973)
  • dynamic columns (0e55add)
  • header click event (28d79c2)
  • hooks render warning (b70409e)
  • last column cannot set width (a872c43)
  • localColumns reset when resizableColumns length = 0 (7e255cb)
  • no render when columns prop is not reactive (480bdd3)
  • proTable 支持 hideInTable 列,目前计算 tableWidth 没有剔除 hideInTable 列 (a13f1bb)
  • react-hook render warning (1de569b)
  • remove exports (a1adc49)
  • remove less (fa65e33)
  • render order warning (3f49017)
  • resetColumns clear widthCache (7dbb709)
  • rules-of-hooks (7fcc8d6)
  • trigger remount when columns change (e8c96e1)
  • useFunction (cc4df33)
  • useGetDataindexColumns render bug (c5502b2)
  • useGetDataindexColumns render bug (627a00f)
  • useGetDataindexColumns render bug (0046af4)
  • useGetDataindexColumns render bug (e40f422)
  • warning when column is undefined (dd511d5)

Features

  • add cacheOption (da9a659)
  • add column width cache to aviod width reset after render (7f73ec9)
  • cannot drag the last column (de124c8)
  • deepcompare column prop to avoid endless loop (21ee389)
  • ellipsis title (065fbc8)
  • ignore empty object column (65ccaf4)
  • replace npm download link (967db98)
  • replace npm download link (5618d11)
  • trigger mount when window resize (83d2d87)
  • trigger mount when window resize (017aeab)
  • use postcss (2011f93)
  • 新增拖拽宽度保存至本地功能 (c717369)
  • 自由设置不可拖动列,支持最后一列可拖动 (34a1189)

Performance Improvements