zakmac / ember-cli-filter-component

A simple Ember.js component used to filter an array based on user input.
MIT License
14 stars 4 forks source link

Ember.EnumerableUtils has been removed in 2.0.0? #7

Closed kscherling closed 8 years ago

kscherling commented 9 years ago

Running into the some errors in a new ember project and it looks like this might be the cause... Any plans to update in the near future?

zakmac commented 9 years ago

@kscherling are you able to provide any more information? My main concern is whether you're seeing deprecation warnings or outright errors.

There should be a new version which resolves: #5 and some Ember v2.0.0 deprecation errors; in the near future. If your issue is unrelated to existing bugs I will work a fix into the next release.

kscherling commented 9 years ago

@zakmac Thanks for the quick response!

I am running ember: 2.0.0 cli: 1.13.8

And when binding to a basic model, I get the error: Uncaught TypeError: Cannot read property 'filter' of undefined

originating from: filteredItems = Ember['default'].EnumerableUtils.filter(this.get('contentComputed'), function(item) {...}

Following the threads I landed here and amidst the sweet ascii artwork, looks like we're beyond deprication land in 2.0. https://github.com/emberjs/ember.js/pull/11455

Thoughts? Thanks again!

zakmac commented 9 years ago

This is very helpful, thanks @kscherling. This seems like a bug so I will pick it up into the next release.

kscherling commented 9 years ago

Thanks a ton!

jgadbois commented 8 years ago

I'm getting the same error - do you have an ETA on the next version?

jgadbois commented 8 years ago

Here's a pull that fixes it for me

https://github.com/zakmac/ember-cli-filter-component/pull/8

zakmac commented 8 years ago

Closed with merge of #8. Thanks for the fix, @jgadbois .

ioleo commented 8 years ago

@zakmac when is v2.1 release planned?