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 โ