Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newly generated [email protected] app issuing reduce computed depreciation warning #11435

Closed
Ghostavio opened this issue Jun 13, 2015 · 12 comments

Comments

@Ghostavio
Copy link

I've created a demo repo with this issue here.

Just did ember new demo-repo, went to bower.json and updated both ember and ember data.
"ember": "1.13.0" and "ember-data": "1.0.0-beta.19.1".
Then did bower install and ember server and nothing else, got the following deprecation warning:

DEPRECATION: Ember.reduceComputed is deprecated. Replace it with plain array methods
        at Descriptor.ReduceComputedProperty (http://localhost:4200/assets/vendor.js:40073:31)
        at Object.reduceComputed (http://localhost:4200/assets/vendor.js:40459:14)
        at http://localhost:4200/assets/vendor.js:75870:36
        at http://localhost:4200/assets/vendor.js:81831:4

cc @rwjblue

@stefanpenner
Copy link
Member

this doesn't seem like an ember-cli issue.

@Ghostavio Ghostavio changed the title Newly generated [email protected] issuing reduce computed depreciation warning Newly generated [email protected] app issuing reduce computed depreciation warning Jun 13, 2015
@stefanpenner
Copy link
Member

"ember": "1.13.0" and "ember": "1.13.0".

this looks like a typo?

@Ghostavio
Copy link
Author

@stefanpenner fixed :)

@stefanpenner
Copy link
Member

this is a bug in ember-data. I have opened an issue: emberjs/data#3327

@Ghostavio
Copy link
Author

awesome, that was fast :p

@rwjblue
Copy link
Member

rwjblue commented Jun 13, 2015

@Ghostavio - Can you remove ember data from the package.json of your test app (then stop and restart the server), and see if that clears the deprecation? If it does, this issue can be closed in favor of the ED one above.

@stefanpenner
Copy link
Member

@Ghostavio - Can you remove ember data from the package.json of your test app (then stop and restart the server), and see if that clears the deprecation? If it does, this issue can be closed in favor of the ED one above.

@rwjblue it totally is ember-data. 100% confirmed, if you would like it to be closed (instead of being ameta tracking, i will close )

@yonida
Copy link

yonida commented Jun 22, 2015

@Ghostavio how can i fix this in my app?

@pangratz
Copy link
Member

@yonida you need to update ember-data to at least v1.13.0 ...

@yonida
Copy link

yonida commented Jun 23, 2015

@pangratz This is what I'm using:
Ember : 1.13.0
Ember Data : 1.0.0-beta.19

What's ember-data 1.13.0 ?

@pangratz
Copy link
Member

ember-data v1.13 has been released a few days ago: http://twitter.com/fivetanley/status/610929008872587264 ...

There is a blog post coming which announces this officially I guess. The deprecation warnings reported in this issue are fixed since emberjs/data@71fecd2 available since ember-data-v1.13.0.

@yonida
Copy link

yonida commented Jun 23, 2015

Great, thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants