Skip to content
Pedro Solá edited this page May 30, 2018 · 23 revisions

0.6.16

Trigger sort on add via @reubenrybnik https://github.com/p3drosola/Backbone.VirtualCollection/pull/103

0.6.15

Support for lodash 4 as thisArg params support had been dropped via @DenisHomich

0.6.14

Support for lodash 4 which removed alias _.contains in favor of _.includes via @DenisHomich

0.6.13

fix for change:[attributeName] event at model attribute changes via @gregorybarale removed gulp

0.6.12

Use proper changes object when proxying the update event via @RealAdamSinger

0.6.11

Propagate filter event via @alex-pex

0.6.10

Propagate update event via @alex-pex

0.6.9

Added license parameter to package.json

0.6.8

Fixed not setting the model property on the virtual collection from the parent collection (via @mllocs)

0.6.7

Added the url collection method to the proxied methods list (via @mllocs)

0.6.6

Fix bug introduced in 0.6.5, causing models to be erroneously added to the index.

0.6.5

Fix issue with changing id attributes (via @andresguton)

0.6.4

Fix reset event signature.

Backbone 1.2.0 compatibility

0.6.3

Rename the global namespace Backbone.virtual-collection -> Backbone.VirtualCollection

Use _.keys instead of Object.keys (fixes #60)

Use _.invoke instead of calling inside a for-in loop (fixes #60)

0.6.2

Replace browserify with better UMD wrapper (via @jacobbuck)

Proxy sync, request & error events from parent collection (via @morantron)

0.6.1

Prevent events from being triggered twice (via @omer)

0.6.0

New build system with browserify. Places "standalone" versions in dist/ for script tag inclusion.

Removes support for component, bower, & ender package managers. Use npm, everyone.

0.5.3

Fix 'add' event is triggered twice under certain conditions (via @dremora)

0.5.2

Proxy change:attribute events (via @istrobes, @jvanaert)

0.5.1

Ignore change events with malformed arguments

0.5.0

VirtualCollection 0.5 is a complete re-write of VirtualCollection that brings a lot of improvements.

VirtualCollection now extends Backbone.Collection, more efficient data structures, more intelligent sort handling (special thanks to @disruptek), better performance for nested virtual collections, more extensive test coverage.

All that in half the lines of code!

Every effort has been made to maintain compatibility with v0.4, and in most cases it'll be a drop-in replacement. However, there are a few changes that have been made.

In particular, .models() is now the .models array just like backbone. We no longer attach to the Backbone namespace (Backbone.VirtualCollection -> VirtualCollection)

0.4.15

Added virtual_collection.model (via @fcsonline)

0.4.14

Added Backbone.extend (via @enov)

0.4.13

Optimized _models and get to access parent collections which are indexed

0.4.12

Pass the correct index in options object on model removal

0.4.11

Trigger reset in updateFilter (fixes issue with multilayer filtering)

0.4.10

Added Bower support

0.4.9

Added where and findWhere. Renamed internal filterFunction

0.4.8

Add add and remove proxies. Add index argument to filter function.

0.4.7

Add the updateFilter method (via @justinwinslow)

0.4.6

Add toJSON method (via @gbedardsice)

0.4.5

Add close_with option

0.4.4

Add all collection Underscore iterator proxies

0.4.3

Fix bug with onChange handler not proxying add and remove events correctly

0.4.2

Improve importing with npm

0.4.0

Make filter part of options hash.

This version breaks backwards compatibility. You'll have to update your code.

0.3.3

Fix sort comparator with two args. Add more iterator helper functions

0.3.2

Fix reset event on parent collection

0.3.1

Replace viewHelper with closeWith

0.3.0

Fix unbinding of index listeners

0.2.0

Use cid instead of ids

0.1.1

Fixed issues with comparators specified as a function

0.1.0

Added support for comparators & sorting, separate from the parent collection

0.0.2

Fix buildFilterFromHash not detecting null values