-
-
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
Update Ember.deprecate
and Ember.warn
calls to include required options.
#11835
Comments
id
and until
to all Ember.deprecate
calls.Ember.deprecate
and Ember.warn
calls to include required options.
@rwjblue I can commit to whatever is needed and work all day Friday on it. How about the |
I'll take |
I am ready to work on |
…s required options.
I can take |
Include required options for occurences of `Ember.warn` in `packages/ember-testing`
…Ember.deprecate includes required options.
|
…/utils/validate-type.js so Ember.deprecate includes required options.
Include required options for occurences of `Ember.deprecate` in `packages/ember-routing-views`
|
I'll take |
Just looked through |
Submitted PR for ember-routing-views: #11847. |
I believe that @SaladFork was going to look into doing ember-views today (I'll circle back with @pixelhandler for more things on his OSS Friday), then we can work on the enforcement items. |
|
Enforcement added in #11851. |
It was a pleasure doing business with y'all. |
…red options. (cherry picked from commit 0cdc134)
…eprecate includes required options. (cherry picked from commit 746d960)
…validate-type.js so Ember.deprecate includes required options. (cherry picked from commit 1f02a38)
This is needed for full implementation of emberjs/rfcs#65 which is being implemented in #11833.
Criteria for both
Ember.deprecate
andEmber.warn
:Ember.deprecate
.id
property tooptions
hash. Theid
property is comprised of the package name, and a short code for the deprecation. i.e.ember-view.core-view
.Additional criteria for
Ember.deprecate
:until
property tooptions
hash. Theuntil
property should be the string value of the Ember version that the behavior being deprecated will be removed in. This can be defaulted to"3.0.0"
in the initial PR, and subsequently updated during review.Work list:
packages/container
-- 5packages/ember
-- 1packages/ember-application
-- 5packages/ember-debug
-- 43 (might include a bunch of tests forEmber.deprecate
itself)packages/ember-htmlbars
-- 28packages/ember-metal
-- 18packages/ember-routing
-- 6packages/ember-routing-views
-- 1packages/ember-runtime
-- 8packages/ember-template-compiler
-- 8packages/ember-testing
-- 1packages/ember-views
-- 26If you can commit to updating a given package in the next day or two, please comment below claiming the package that you are working on. When ready, please submit a PR with
[DOC beta]
prefix and comment below with that PR number.Follow-up steps:
options.id
andoptions.until
required forEmber.deprecate
. This can be done once all calling locations forEmber.deprecate
are updated to provide these options.options.id
required forEmber.warn
. This can be done once all calling locations forEmber.warn
are updated to provide these options.The text was updated successfully, but these errors were encountered: