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

Restore support for Ember 2.x #331

Merged
merged 2 commits into from
Feb 10, 2021
Merged

Restore support for Ember 2.x #331

merged 2 commits into from
Feb 10, 2021

Conversation

mixonic
Copy link
Contributor

@mixonic mixonic commented Feb 10, 2021

master of the vertical-collection repo had some Ember-pre-3.x
compatibility stuff removed back in 2019. For example:

Restore one of those changes.

@mixonic mixonic changed the title Kick off 2.0-beta Restore support for Ember 2.x Feb 10, 2021
@mixonic mixonic force-pushed the mixonic/ember-2.x branch 4 times, most recently from 2a44e88 to 5526996 Compare February 10, 2021 19:31
`master` of the vertical-collection repo had some Ember-pre-3.x
compatibility stuff removed back in 2019. For example:

* 011d9a4

Restore one of those changes.
@mixonic
Copy link
Contributor Author

mixonic commented Feb 10, 2021

As @rwwagner90 reviewed #321 he noted that the test suite was not running for Ember 2.x. I replied that it seemed like the 2.x test suite was just broken, indeed master generally is in a poor state.

Despite there being some 1.13 compatibility code we found and dropped as part of #321, there was also an earlier effort to drop some compatibility code from master, for example in #289 (as pointed out by @rwwagner90 over DM). Based on us still finding compat code on master, I had presumed that master still should support 2.x, but I was wrong!

In this PR I've restored the Ember 2.x compatibility code and massaged the ember try config until we have a suite passing through all of 2.x.

},
dependencies: {
'ember-compatibility-helpers': '1.2.1'
Copy link
Member

Choose a reason for hiding this comment

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

Do we need this in ember-try since it's a dependency of the addon already now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is required. I confirmed it by dropping it locally and running the try config.

The dependency in the package.json is ^1.2.1, where this is 1.2.1. Wait wait, I agree, the resolutions should take care of that, however practically it doesn't do the trick on its own.

@mixonic mixonic merged commit 293076c into 2.0-beta Feb 10, 2021
@mixonic mixonic deleted the mixonic/ember-2.x branch February 10, 2021 19:58
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