Skip to content

Conversation

@xg-wang
Copy link
Member

@xg-wang xg-wang commented Oct 21, 2018

Deprecations

  • Ember.Logger(RFC297)
  • Ember.merge(RFC340)

ember-try version compatibility now covers back to ember2.3
@rwjblue The deprecation guide says Ember.assign is not available in Ember <= 2.4, but I found it in old release branches. Am I missing anything here?

Also use whatwg-fetch instead of forked version. Breaking changes include:

Related PR pretenderjs/pretender#235

This can be a major bump with #130 (comment)

@nlfurniss
Copy link
Collaborator

The deprecation guide says Ember.assign is not available

where does it say that?

@xg-wang
Copy link
Member Author

xg-wang commented Oct 21, 2018

@nlfurniss Sorry, I meant Ember <= 2.4

@nlfurniss
Copy link
Collaborator

Why do we want to cover back to 2.3?

@xg-wang
Copy link
Member Author

xg-wang commented Oct 21, 2018

The compatible versions were not specified explicitly. But I think it would be nice to have for user to know about and mention what are the versions we drop support in next release.

It was when removing

// This allows this mixin to be backward compatible with Ember < 2.5.
const combineObjs = (assign || merge);

I wanted to verify the oldest ember version we are actually supporting.

@rwjblue
Copy link
Member

rwjblue commented Oct 21, 2018

ember-assign-polyfill specifically exists for this reason

@rwjblue
Copy link
Member

rwjblue commented Oct 21, 2018

However, we should strongly consider officially dropping support for Ember < 2.16...

@xg-wang xg-wang force-pushed the upgrade branch 3 times, most recently from ac97312 to 23e0450 Compare October 23, 2018 15:36
- Ember.Logger(RFC297)
- Ember.merge(RFC340)

Drop support for ember<2.16

Use whatwg-fetch instead of forked version. Changes to match spec:
- unsupported body type convert to string rather than throw exception
- credentials default changed from 'omit' to 'same-origin'
@xg-wang xg-wang merged commit d7bb5af into ember-cli:master Oct 23, 2018
@xg-wang xg-wang deleted the upgrade branch October 23, 2018 16:42
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.

3 participants