-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Ember.observer deprecation with ember 1.13.5 #3574
Comments
@mike-post - Thanks for reporting! I saw @bmac mention this earlier and I believe that a 1.13.7 will be done in the next couple days to fix... |
Where can I find more info on Ember.observer deprecation? |
@denzo - Generally, the CHANGELOG.md lists all the changes for a given version (at least I try to make sure that it does). It has this to say:
That PR added the deprecation, and includes an example of the deprecated behavior. tldr: Deprecated: Ember.observer(function() {
// your stuff here
}, 'depKey1', 'depKey2'); Not deprecated: Ember.observer('depKey1', 'depKey2', function() {
// your stuff here
}); |
#3584 is the issue about making sure this makes it to a .13 point release |
Hmmm ... I'm still getting this and am on
In fact I'm coding an addon at the moment so I'm pretty sure the
would block my code from using the aforementioned syntax. Wouldn't it? |
@ksnyde I believe the issue was fixed in Ember Data 1.13.7. |
@bmac ok, just had a look and it's apparently not on bower yet. Will that be available soon? |
Hmm, Thats strange I tought it was already on bower. https://github.com/components/ember-data/releases I'll look into it. |
@ksnyde I just created a new repo and updated the Ember Data entry in bower.json to 1.13.7 and I didn't have any issues installing the new version. Let me know if I'm missing something. |
oh I'm sorry, I thought you were referring to ember not ember-data. I've actually removed all ember-data from this addon so it shouldn't be the source. Now I see that my google search landed me into the ember data repo. Oops. |
After upgrading to ember 1.13.5, ember-data 1.13.6 gives the following deprecation warning:
It looks like this fixed in commit 8fb1166 (which is on master), but that commit did not make it into the 1.13.6 release.
The text was updated successfully, but these errors were encountered: