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

Remove deprecations and drop support for Ember < 3.0 #1933

Merged
merged 19 commits into from
Nov 11, 2019
Merged

Remove deprecations and drop support for Ember < 3.0 #1933

merged 19 commits into from
Nov 11, 2019

Conversation

sdebarros
Copy link
Contributor

@sdebarros sdebarros commented Aug 23, 2019

This removes deprecated code as well as support for Ember < 3.0 in preparation for a major version release.

TODO

  • Remove synch store support code
  • Update README

@sdebarros sdebarros marked this pull request as ready for review October 28, 2019 16:06
@sdebarros sdebarros requested a review from marcoow October 28, 2019 16:06
Copy link
Member

@marcoow marcoow left a comment

Choose a reason for hiding this comment

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

Great work @sdebarros 👌

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
addon/mixins/data-adapter-mixin.js Outdated Show resolved Hide resolved
guides/upgrate-to-v2.md Outdated Show resolved Hide resolved
guides/upgrate-to-v2.md Outdated Show resolved Hide resolved
guides/upgrate-to-v2.md Outdated Show resolved Hide resolved
addon/mixins/data-adapter-mixin.js Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@marcoow
Copy link
Member

marcoow commented Oct 30, 2019

@sdebarros we should remove the old testing style as well - I'll create a PR deprecating that.

@sdebarros
Copy link
Contributor Author

@marcoow I think this is ready for a second review, especially from f04d66d onward.

Copy link
Member

@marcoow marcoow left a comment

Choose a reason for hiding this comment

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

This looks very good - only a few small things missing

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated
});
});
```

If you're an `ember-mocha` user, we can recommend to check out this
[example from the test suite of ember-simple-auth itself](https://github.com/simplabs/ember-simple-auth/blob/master/tests/acceptance/authentication-test.js).

Copy link
Member

Choose a reason for hiding this comment

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

We should also remove information on the old testing API from the README: https://github.com/simplabs/ember-simple-auth#ember-cli-qunit-410-and-earlier

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

since we're removing the old info, we should also change the intro to the now only section on testing: https://github.com/simplabs/ember-simple-auth#ember-cli-qunit-420-and-greater-or-ember-qunit-320-and-greater I guess we can simply remove most of that intro.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll update the intro. I think we should still mention the dependency on ember-cli-qunit 4.2+, seems like ember-cli 3.0 was still using a lower version. Not sure if there's still people with that version, but just in case.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, that makes sense 👍

@marcoow marcoow merged commit d2149f0 into mainmatter:master Nov 11, 2019
@sdebarros sdebarros deleted the remove-deprecations branch November 12, 2019 09:46
@marcoow marcoow changed the title Remove deprecations Remove deprecations and drop support for Ember < 3.0 Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants