-
-
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
Log a deprecation warning when when Ember Data is loaded with Ember 1.13 #3841
Conversation
Ember.deprecate(`Use of Ember Data 2+ with Ember 1.13 is deprecated. Please upgrade your version of Ember to 2.0 or higher.`, false, { | ||
id: 'ds.version.ember-1-13', | ||
until: '3.0.0' | ||
}); | ||
} | ||
|
||
if (Ember.VERSION.match(/^1\.12\.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.
I think this could be removed since we're erroring out < 1.13 anyway?
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.
good call
ddb7de3
to
86501a0
Compare
if (Ember.VERSION.match(/^1\.13\./)) { | ||
Ember.deprecate(`Use of Ember Data 2+ with Ember 1.13 is deprecated. Please upgrade your version of Ember to 2.0 or higher.`, false, { | ||
id: 'ds.version.ember-1-13', | ||
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.
I think this means we are telling people that we are supporting 1.13 ember until ember data 3.0. I don't know how achievable this goal really is.
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.
Thanks for pointing this out @fivetanley. I'm not sure what to put for this value. Any thoughts @igorT? @wycats?
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.
We chatted about this in the weekly meeting and decided we should add a warning for now and will likely choose the first LTS release as the version where we drop 1.13 support for good.
281d97b
to
14a2a8a
Compare
14a2a8a
to
8635f50
Compare
Log a deprecation warning when when Ember Data is loaded with Ember 1.13
No description provided.