-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BUGFIX release-1-13] Add deprecation options to some 1.13 deprecations #12481
Conversation
Ember.deprecate(`You manually rerendered ${label} (a parent component) from a child component during the rendering process. This rarely worked in Ember 1.x and will be removed in Ember 2.0`); | ||
Ember.deprecate(`You manually rerendered ${label} (a parent component) from a child component during the rendering process. This rarely worked in Ember 1.x and will be removed in Ember 2.0`, | ||
false, | ||
{ id: 'ember-views.manual-parent-rerender', until: '3.0.0' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the 2.0 release these were marked 3.0.0, even though in the text of the message it says its going away in 2.0. Should I update the message too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is already changed in master, and should be changed to 3.0 here
`You manually rerendered ${label} (a parent component) from a child component during the rendering process. This rarely worked in Ember 1.x and will be removed in Ember 3.0`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also right below
A PR for issue #12478 |
[BUGFIX release-1-13] Add deprecation options to some 1.13 deprecations
Merged and I added the cleanup myself in 223ddd2 Thanks @toddjordan ! |
Thanks @mixonic 👍 |
I added deprecation options to some deprecation warnings I was commonly getting in going from 1.13 to 2.0. This is probably not all the un-optioned deprecations, but they cover the ones I've seen so far. This hopefully will help others going through the same process.