Skip to content

Releases: CrowdStrike/ember-headless-table

ember-headless-table@2.1.4

26 Sep 16:43
9b50042
Compare
Choose a tag to compare

Patch Changes

  • #236 3a737e9 Thanks @NullVoxPopuli! - Use more permissive peer ranges for @ember/test-helpers, @ember/test-waiters, and ember-source.

ember-headless-table@2.1.3

21 Sep 07:28
263d12d
Compare
Choose a tag to compare

Patch Changes

  • #233 4dbf668 Thanks @joelamb! - Fixes column resize and preference save sequencing
    to ensure that the functions always run in the correct order.

ember-headless-table@2.1.2

14 Sep 08:52
fa06814
Compare
Choose a tag to compare

Patch Changes

  • #226 6c58dfd Thanks @nicolechung! - Bugfix: the plugin for resize was not checking if the table was destroyed first.

    This fixes that so the observer is not listening for a removed table, which was causing an error in the preferences (since it was trying to set preferences for a table which is not on screen)

ember-headless-table@2.1.1

24 Aug 07:41
57f6039
Compare
Choose a tag to compare

Patch Changes

  • #219 4172870 Thanks @joelamb! - Column widths are saved and reset in a single call to the preferences service,
    rather than on a per column basis, for improved UI performance

ember-headless-table@2.1.0

10 Aug 13:49
22c9867
Compare
Choose a tag to compare

Minor Changes

  • #211 0a9415c Thanks @joelamb! - Persists resized column widths to preferences.
    Width values are saved as strings after resizing.
    If present in preferences, width value will be
    restored to the table, overriding any initial options
    passed in.

Patch Changes

  • #214 58b2866 Thanks @joelamb! - Refactor to bulk reset column visibility preferences in a single call to
    the preferences service

ember-headless-table@2.0.0

05 Jul 17:34
b00c56e
Compare
Choose a tag to compare

Major Changes

  • #176 f3435c3 Thanks @NullVoxPopuli! - In prepr for supporting Glint 1.0,
    ember-headless-table no longer will support TypeScript < 4.8.

    Additionally, the support policy is changing from a minimum version, to a rolling window policy, as described in https://semver-ts.org.

    The current and prior two TypeScript versions will be supported, giving a rolling window of 3 TypeScript versions.

Patch Changes

ember-headless-table@1.4.5

25 Apr 18:22
c77a0f1
Compare
Choose a tag to compare

Patch Changes

  • #157 57091d0 Thanks @nicolechung! - Added toStyle helper in column-resizing plugin > helper. This should fix when a minWidth is passed in the column config and not getting converted to min-width for the style attribute string.

ember-headless-table@1.4.4

19 Apr 21:43
8a9abc8
Compare
Choose a tag to compare

Patch Changes

ember-headless-table@1.4.3

01 Feb 23:22
b820412
Compare
Choose a tag to compare

Patch Changes

  • #118 c02d49d Thanks @NullVoxPopuli! - Address an issue where instances of plugins would be held on to after a Table is destroyed.

    This caused a memory leak due how plugins, and their associated metadata, held on to
    Table instances, which in turn, held on to the owner / container.

    This was caused by the utility methods in ember-headless-table/plugins,

    • preferences
    • meta
    • options

    Because data was stored in (Weak)Maps in module-space.
    This alone isn't a problem, but they were never cleaned up when the table was destroyed.

    Cleanup of these objects could have occured via associateDestroyableChild and registerDestructor
    from @ember/destroyable, but it was easier to instead have this happen automatically via hosting the
    data needed for the "plugins utils" on the table itself. Since each plugin util requires "some instance of something",
    be that a row, column, or table, there is a direct path to the table, and therefor a direct way to access
    memory-scoped (Weak)Maps.

ember-headless-table@1.4.2

28 Jan 00:18
5d3824d
Compare
Choose a tag to compare

Patch Changes

  • #123 972749b Thanks @NullVoxPopuli! - Fix an issue where columns using the ColumnResize plugin with the option isResizing set to false, the plugin could not recognize the column as having resizing turned off"