Skip to content

Latest commit

 

History

History
302 lines (204 loc) · 7.66 KB

CHANGE_LOG.md

File metadata and controls

302 lines (204 loc) · 7.66 KB

1.3.1

  1. Fixed #141.
  2. Removed an unnecessary print console.log.

1.3.0

  1. Fixed a bug on safari.
  2. Improved the performance.
  3. Fixed #136.

1.2.2

  1. Supported immutable records(#120)(#132).
  2. Fixed the return type(ts) of the useVT.
  3. Supported antd-v5.
  4. Improved the function helper_diagnosis.

1.2.1

  1. fixed #126.
  2. fixed #125.
  3. fixed #122.
  4. fixed a bug.

1.2.0

  1. Updated the building tools.
  2. Supported the React18(#123).

1.1.6

  1. Supported tree-structure.

1.1.5(zh)

  1. 添加支持 expandable,(#106) 例子.
  2. 表样式增加 minWidth: 100%(#114).
  3. 修复useVTscroll类型问题(#116).

1.1.5(en)

  1. Added support for expandable,(#106) refer.
  2. Added table style minWidth: 100%(#114).
  3. Fixed the scroll type problem of useVT(#116).

1.1.4(zh)

  1. feat: useVT 返回 ref.
  2. fix: 改进了 scrollTo,可以精确地滚动到指定位置.
  3. feat: 新增 scrollToIndex 方法(#94),例子

1.1.4(en)

  1. feat: useVT can returns ref instead of the previous method.
  2. fix: scrollTo has been improved, that can now scroll exactly to the specified position.
  3. feat: added function scrollToIndex(#94), refer

1.1.3(zh)

  1. fix: 删除多余的导出 useOnce.
  2. fix: 一个bug(#100).

1.1.3(en)

  1. fix: useOnce of the exports has been deleted.
  2. fix: a bug(#100).

1.1.2(zh)

  1. fix: 初始化时空数据的崩溃问题(#84).

1.1.2(en)

  1. fix: crashing problem by the empty data, it happened when the VT was initialized(#84).

1.1.1(zh)

  1. fix: 空数据的渲染问题.

1.1.1(en)

  1. fix: rendering of empty data.

1.1.0(zh)

  1. feat: scrollTo方法,支持指定位置滚动(#75).
  2. fix: 支持React17(#77).
  3. fix: 修复onScroll参数在高DPI下isEnd无法为true的问题(#74).

1.0.0(zh)

  1. 改进的虚拟化算法并全面支持antd4.

1.0.0(en)

  1. the improved virtualization algorithm, and full supports antd4.

0.7.8(zh)

  1. fix: 删除被标记为deprecated的接口和参数。
    • 接口:getVTComponents
    • 接口:getVTContext
    • 参数:vt_opts.reflection
  2. refacotry: 一些细小重构。

0.7.8(en)

  1. fix: delete the APIs and the params marked as deprecated.
    • API:getVTComponents
    • API:getVTContext
    • param:vt_opts.reflection
  2. refacotry: some minor refactorings.

0.7.7

  1. fix: Cannot redefine property: __DIAGNOSIS__(#55).

0.7.6

  1. fix: ctx._React_ptr.forceUpdate is not a function.(#46)

0.7.5

  1. improved diff algorithm, fix some bugs.

0.7.4

  1. improved diff algorithm.

0.7.3

  1. fix a bug.(#42)

0.7.2

  1. fix some bugs, thanks @liubinis86.(#35 #34).

0.7.1

  1. improve consistency to avoid incorrect rendering.

0.7.0

  1. add a new Hooks API, useVT.
  2. fix a bug that free the same index repeatedly.(#21)

0.6.3~0.6.4

  1. fix some bugs.(#21)

0.6.2

  1. an unmounted component will not update style.
  2. fix a bug.(#25)
  3. getComponent has been deprecated, use setComponent instead(#26).
  4. adjusted log format.

0.6.1

  1. removed debug info console.log (sorry, guys~).

0.6.0

this is first stable version, and the main changes are:

  1. removed VTRefresh.
  2. removed height, now it depends entirely on scroll.y.
  3. redesigned interface VTScroll.
  4. much bugs was fixed.
  5. fast, fast and more faster, with my best trying that all operations costs time about O(1).
  6. browers required support requestAnimationFrame.

I suggest you to test this library carefully after installing it.

0.5.5

  1. improving compatibility.

0.5.4

  1. fix some bugs.

0.5.3

  1. fix debug bug when the param e is null.

0.5.2

  1. refactory scrollHook.

0.5.1

  1. refactory scrollHook to optimize performance.
  2. update README.md.

0.5.0

  1. fix the definition of vt_ctx.
  2. remove VTWrapperRender option.
  3. remove changedBits option.
  4. more friendly reading format for this file.
  5. debug can shows scrollTop.

0.4.0

  1. { debug: true, ... } to see more debugging details.
  2. fix VTScroll bug.
  3. using render-lock, VT can now renders stably.
  4. improved throttling.
  5. fix some problems in TS 3.5.
  6. the default value of vt_opts.overscanRowCount is now 5.

0.4.0-beta.2

  1. show the warning when you don't have 'height' as a field in the vt_opts.
  2. add throttling to optimize scrolling.
  3. change the styles (#9)

0.4.0-beta.1

  1. support for the opt ColumnProps.fixed (#5)
  2. support for the fixed lists.
  3. compatible with ie9-11.

0.3.4

  1. fix VTScroll bug.

0.3.1

  1. fix minor style bug that using offsetHeight instead of clientHeight (#2)

0.3.0

  1. optimize the program logic
  2. add debug feature

0.2.1 (ignored)

0.2.0

  1. removed two interfaces in vt_opts ( VTScroll and VTRefresh)

0.1.0

  1. by default, CACHE is enable, , set the prop destory to control whether the component is destroyed when it is uninstalled

0.0.9

  1. rewrite const enum to enum

0.0.8

  1. the interface vt_opts no longer requires too many params

0.0.7

  1. now, the func VTScroll can correct restores last scroll state of antd table

0.0.6

  1. add new API VTScroll (overload+2)
class MyComponent extends React.Component {
    ...
    render() {
        <Table
            ...
            scroll={{ y }}
            components={VTComponents({ id: 1000, height: 500 })}
        />
    }

    componentDitMount() {
        VTScroll(1000, { top: 200 }) // to set
        const { top, left } = VTScroll(1000); // to get
    }
}
  1. add new API onScroll of the scroll event
<Table
    ...
    scroll={{ y }}
    components={
        VTComponents({ id: 1000, height: y, onScoll: ({ left, top }) => console.log(left, top) })}
/>

0.0.5

  1. add new API VTRefresh
export declare function VTRefresh(id: number): void;

2. remove the func shouldComponentUpdate of VTWrapper 3. remove the func shouldComponentUpdate of VTRow

0.0.4

  1. Solve the initial rendering bug. (#1)
  2. Update the README.md

0.0.3

  1. Added missing type.
function VTComponents(vt_opts: vt_opts): TableComponents
  1. Some bugs fixed.

0.0.1 ~ 0.0.2

  1. init ver.