There was a bug where the new index was not always being copied. In addition, the updateMany/updateOne/null behaviour, was not being updated for groups on data removal.
Previously, groups would never be removed even if the values that created them were removed. Fixes #91.
The version number is now derived from package.json. UglifyJS and D3 dependencies have also been updated.
The remove methods are kept for backwards-compatibility.
This adds a new method to all crossfilter instances, allowing the currently-selected records to be removed, e.g. var db = crossfilter([1, 2, 3]), dimension = db.dimension(Number); dimension.filter(1); db.remove(); // removes a single record (1), leaving [2, 3]
Calling dimension.remove() removes its event listeners and clears its filters so that it can be garbage collected. This also removes all groups associated with a dimension. Fixes #10.
Calling group.remove() removes its event listeners so that it can be garbage collected. Fixes #55.
All tests pass on the minified version. This version of UglifyJS fixes a serious bug involving reordering of side-effects.
UglifyJS version 2.2.5 incorrectly performs the transformation: (x = f(…)) <= x → x >= (x = f(…)) This caused incorrect sorting behaviour when using crossfilter.min.js. All tests now pass on crossfilter.min.js.
Also, use a hash for author, contributors and maintainers.
Previously, a group key of NaN or undefined would result in that value going to the last non-NaN group.