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

[BUGFIX release-1-13] Add deprecation options to some 1.13 deprecations #12481

Merged
merged 1 commit into from
Nov 5, 2015

Conversation

toddjordan
Copy link
Contributor

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.

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' });
Copy link
Contributor Author

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?

Copy link
Member

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`,

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also right below

@toddjordan
Copy link
Contributor Author

A PR for issue #12478

mixonic added a commit that referenced this pull request Nov 5, 2015
[BUGFIX release-1-13] Add deprecation options to some 1.13 deprecations
@mixonic mixonic merged commit a7a5271 into emberjs:release-1-13 Nov 5, 2015
mixonic added a commit that referenced this pull request Nov 5, 2015
@mixonic
Copy link
Member

mixonic commented Nov 5, 2015

Merged and I added the cleanup myself in 223ddd2

Thanks @toddjordan !

@toddjordan
Copy link
Contributor Author

Thanks @mixonic 👍

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

Successfully merging this pull request may close these issues.

2 participants