-
-
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 data 1.13.8 should have removed _registerHelper deprecations warnings but didn't #3635
Comments
The exact deprecation warnings are:
and
and Ember CLI 1.13.7 DEPRECATION: Using DEPRECATION: Using Ember.HTMLBars._registerHelper is deprecated. Helpers (even dashless ones) are automatically resolved. [deprecation id: ember-htmlbars.register-helper] |
This was my fault. It looks like I built |
Is it going to be a new version or still |
It will be a new version |
when do you expect 1.13.9 to be out? |
1.13.9 is out now https://github.com/emberjs/data/releases/tag/v1.13.9. |
Thank you very much for the new release, all the deprecation warnings are gone now. :) Updating to the new version of ember-inflector sadly broke pluralization though (emberjs/ember-inflector#85). Before that is fixed it might not be wise to update just yet. Just an info for others arriving here from search engines. |
I just upgraded to Ember data 1.13.9 but still have the deprecation messages. Is there anything else I should do? EDIT: Nevermind, I updated ember data in package.json but not the one in bower.json 😵 |
@engwan What deprecation message do you get? Try removing the |
So I updated bower.json ember-data to 1.13.9 but still get the same errors.. I tried clearing DEPRECATION: Ember.Handlebars.helper is deprecated, please refactor to Ember.Helper.helper [deprecation id: ember-htmlbars.handlebars-helper] DEPRECATION: Using Ember.Handlebars.makeBoundHelper is deprecated. Please refactor to using DEPRECATION: Ember.Handlebars.helper is deprecated, please refactor to Ember.Helper.helper [deprecation id: ember-htmlbars.handlebars-helper] DEPRECATION: Using Ember.Handlebars.makeBoundHelper is deprecated. Please refactor to using ember.debug.js:5442 DEBUG: ------------------------------- Those lines in vendor.js points to the same ember-inflector lines as before. |
weird. it worked fine for me. I have:
|
This worked for me, thanks. @engwan did you update your |
I got it working already. It was ember-cli-mirage causing the deprecation and not ember-data :) |
Fixes more deprecation warnings with Ember.HTMLBars.makeBoundHelper: emberjs/data#3635
Fixes more deprecation warnings with Ember.HTMLBars.makeBoundHelper: emberjs/data#3635
Fixes more deprecation warnings with Ember.HTMLBars.makeBoundHelper: emberjs/data#3635
This is continueing on the conversationat the end of issue emberjs/ember-inflector#75.
@jcope2013 was of the opinion that something has gone wrong with the build of 1.13.8 on bower.
To summarise - if you compare http://builds.emberjs.com/tags/v1.13.8/ember-data.js which does not give deprecation warnings and https://cdnjs.cloudflare.com/ajax/libs/ember-data.js/1.13.8/ember-data.js which does cause deprecation warnings then theres a large difference in the diff in that the cdnjs file has this section (from about line 2322) while the other does not:
The cdnjs file matches exactly what I get from bower, and so in ember data 1.13.8 I still get deprecation warnings on _registerHelper and makeBoundHelper
A quick way to repo the issue is to go to http://ember-twiddle.com/, open console and switch twiddle.json on the left between the above two 1.13.8 urls.
The text was updated successfully, but these errors were encountered: