list.js v1.2.0 Release Notes

Release Date: 2016-02-27 // about 8 years ago
  • โšก๏ธ It's been two years since the last update of List.js. That is absolutely not ok ๐Ÿ‘ and I'm very sorry that it has taken so long. I promise I'll do better in the future!

    ๐Ÿš€ Anyways, this release introduces a bunch of bug fixes and improvements, but most ๐Ÿ‘ importantly: List.js now has support for data attributes PLUS all other attributes. ๐Ÿ‘€ See an example and read the docs.

    โšก๏ธ Another noteworthy update is that I've left Component and moved back all utils ๐Ÿ’ป to the core lib. Instead I'm using Browserify as module handler.

    โšก๏ธ I hope you'll like this update!

    • [Misc] Move form Component to Browserify See commit โ†’
    • [Misc] Add tests to make sure List.js works with require.js See commit โ†’
    • [Misc] Update all dependencies to latest version See commit โ†’
    • [Breaking] set sort order with List.js not sort function. See commit โ†’
    • [Breaking] set default page size to 10000 instead of 200 (because: page size is confusing for new users) See commit โ†’
    • [Breaking] Rename list.helpers to list.utils See commit โ†’
    • [Feature] Add support for data attributes and custom attributes ex. links and images. See docs. See commit โ†’
    • [Feature] Add toJSON method. See commit โ†’
    • [Feature] Add reIndex method that should be called if the html have been changed by something except List.js. See commit โ†’
    • [Feature] Add option searchColumns to defined default columns to search in. See commit โ†’
    • [Feature] Support in options.item See commit โ†’
    • [Feature] Make it possble to add event handlers on init new List('listId', { searchComplete: function(list) {} }). See commit โ†’
    • ๐Ÿ›  [Bugfix] Don't throw error if searching in a empty list. See commit โ†’
    • ๐Ÿ›  [Bugfix] Make it possible to use item.visible() on items not yet templated. See commit โ†’
    • ๐Ÿ›  [Bugfix] Include reference to List when initializing plugins. Fix for require.js which don't have a global reference to List. See commit โ†’
    • ๐Ÿ›  [Bugfix] Fix index async. Fix #268 See commit โ†’
    • ๐Ÿ›  [Bugfix] Fix add async See commit โ†’
    • ๐Ÿ›  [Bugfix] Don't add empty item if empty list is initated with empty array. See commit โ†’
    • ๐Ÿ›  [Bugfix] Make sort case insensitive by default for the automatic buttons See commit โ†’
    • ๐Ÿ›  [Bugfix] Clear all values from source item. Case: list.add({}) should not get same values as first item in list See commit โ†’