-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Downgrade ember-cli if ember-source <= 3.28 is gonna be used with ember-cli 5+ #192
base: master
Are you sure you want to change the base?
Conversation
👋 I think there may be some confusion about when this package is used; it is only used when packages use As an aside, v3.28 is no longer supported by Ember itself and I would personally recommend addon authors drop support. |
Hey @kategengler sorry I should have given you a heads-up on this, I'm working with @lolmaus on this and it's related to the work that we discussed regarding having I understand that this is targeting 3.28's incompatibility with ember-cli and that is quite an old version (and not supported any more) but this PR is only the first of many that we're going to open that will add different "rules" to the config as necessary 👍 |
Regarding the support of 3.28. An addon may be compatible with Ember 3.28, but a scenario targeting 3.28 is invalid by default, due to subdependency mismatch. I believe it's a huge bummer for all addons to claim incompatibility with a certain Ember version because of this reason alone, while they are compatible otherwise. On top of that, Embroider does support 3.28 in its test suite as an LTS. |
The comment about 3.28 was an aside because I personally believe our community spends too much effort on supporting very old versions, but my main point about this package only being used for We had briefly discussed this wanting to be a source of truth but I think I also mentioned it would be preferable to be more composable. I think it would be interesting if this package contained scenarios similar to the embroider scenarios that can be imported in the config and used or extended there. In that case, the config could do:
The passed in object would be deep-merged with the default version of that scenario. Some questions:
|
So first of all, i very much love your suggestion that this could provide the basis for "default versions" in an addon's actually ember-try config. This solves a huge problem in the community, and something that came up multiple times when I was pairing with @lolmaus about this: "How does this change actually fix the scenarios for ". I would like to separate that idea though as a "follow on" that we work on, because the main thrust of this PR from my perspective is to unblock ember-cli/ember-try#920 which needs this PR and the subsequent PRs that will be adding more rules for different packages (ember-qunit, ember-resolver, test-helpers, etc.) and I wouldn't want to block that effort on the design of this being Just Right™️ To answer your question |
I think it would make a lot more sense to unblock ember-cli/ember-try#920 the way an existing project would currently have to: by either changing the versions used for tests that use There are not many uses of versionCompatibility in the wild. I spot checked several addons that have it in their package.json but they also have |
This is continuation of #191 .
It's not a complete solution. Please consider it to be a first iteration.