Skip to content

Releases: schrodinger/fixed-data-table-2

v2.0.7

15 Feb 16:51
Compare
Choose a tag to compare

Update dependencies to fix security vulnerabilities:

v2.0.6

10 Jan 09:58
Compare
Choose a tag to compare

Fixes vertical scrollbar offset when isVerticalScrollExact is true (#712) (Fixes #711)

v2.0.5

19 Dec 16:49
Compare
Choose a tag to compare

Fetch and Cache previous row heights (#701) (Fixes #700)

Added new table prop isVerticalScrollExact (defaulted as false), which can be turned on to make vertical scrolls accurate.
This is done by making FDT fetch the row heights for ALL rows in the table.

There's also an internal cache so that FDT won't request keep requesting all rows on every render.
Incase the cached row height needs to be reset, the new public API updateRowHeights(rowIndex) can be used to reset the row heights starting from rowIndex until the end of the table.

v2.0.4

07 Dec 12:56
Compare
Choose a tag to compare
  • Fix resizer line positioning (#709) (Fixes #707)
  • Remove usages of npm bin (#710) (Fixes #708)

v2.0.3

16 Nov 07:31
Compare
Choose a tag to compare

Fix touch handlers and make them passive (#706) (11b82dd)

This fixes touch issues in Resize and Reorder plugins! (See #705)

v2.0.2

08 Nov 12:51
Compare
Choose a tag to compare

Fixes resize cell indicator not showing when maxHeight prop is set (#703)

v2.0.0

07 Aug 23:41
Compare
Choose a tag to compare

v2 Release

Plugin Support

With the introduction of "Public API" (more below), we have improved support for plugins that can be built on top of FDT!

The existing reordering and resizing functionality has been migrated as plugins with better customization (eg: reordering/resizing for column groups).
Check out docs for the new ResizeCell and ReorderCell plugins.

🌟 Do you have an idea for a new plugin? PR submissions or even requests are welcome!

Public API

"Public API" refers to a set of APIs that exposes a simple and abstract view over FDT's state and methods.
This enables users to create clean and powerful plugins over FDT without actually having to bake code into the FDT codebase.
Checkout out the docs to get started!

As requests for new functionality come in, we intend to address them by exposing the proper hooks in the API, and allowing things to be built on top of FDT, rather than extending FDT directly.

🌟 The current set of Public APIs are minimal, following the idea that we'll only expose more based on requests.
⚠️ The APIs are somewhat prone to change, but we'll try our best to keep them non-breaking across releases.

Breaking Changes/Migration from v1

There are no breaking changes intended for the v2 release, so your app should work just the same post upgrade.
However, if this is not the case, please file the issue on our GitHub repo, and we'll immediately take a look!

Code/Architecture changes (for devs):

  • We've migrated from vanilla redux to redux-toolkit to make the code easier to use for devs.
  • The build system has been cleaned up, and the library is now done bundled through rollup.
  • Resizing and reorder functionality has been refactored
    • These were previously baked into the main codebase making it difficult to customize.
    • These are now migrated outside as individual cell renderers, exposed as the ResizeCell and ReorderCell plugins respectively.
    • Internally these use FDT's Public API for interaction/communication with the table.
  • Legacy code syntax has been cleaned up using codemods.

Full Changelog

v1.2.22...v2.0.0

v2.0.0-beta.15

07 Aug 20:52
Compare
Choose a tag to compare
v2.0.0-beta.15 Pre-release
Pre-release

Performance fixes for v2.0 (#691)
Fix regression with out of order columns (#691)

v2.0.0-beta.14

03 Aug 10:33
Compare
Choose a tag to compare
v2.0.0-beta.14 Pre-release
Pre-release
  • Update docs for V2 release (#692)
  • Fix performance regressions for v1.2 (#696)
  • Bump semver from 5.7.1 to 5.7.2 (#689)
  • Bump word-wrap from 1.2.3 to 1.2.4 (#693)

v1.2.22

03 Aug 10:21
Compare
Choose a tag to compare

Fixes the following performance regressions for v1.2 (#696):

  • #630 - lodash util functions are slower than their native counter parts
  • #628 and #658 - shouldComponentUpdate checks got less optimized