-
Notifications
You must be signed in to change notification settings - Fork 439
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
Widen ember-get-config
dependency requirement (include v0.4 and v0.5)
#2242
Widen ember-get-config
dependency requirement (include v0.4 and v0.5)
#2242
Conversation
…l/ember global deprecation warnings
@rahulk94 the actual version should be determined by the consumer in the consuming app and restricting only to higher version of the addon makes it much harder to upgrade all the addons should any other addon use ember-get-config 0.2.* In fact, it's better to loosen such restrictions to broaden support ranges and not force uses to resort to resolutions. |
So are you saying that what is was before I think the key might have been the update to the |
Part of the problem here tbh is that
I would think that tightening restrictions makes sense when resolving deprecations though as you want to force people to use newer stuff? Or were you getting more at the fact that this should instead be now |
@rahulk94 I personally think this should be As an example, we are stuck on but in case any other dependency would restrict to E.g. if |
@SergeAstapov or @cah-briangantzler do either of you know how to trigger the CI builds on this project? I can bump and test it locally / integration test with an app but yea I'm not sure how the Travis builds are done here (or do we need to move to Actions since I heard Travis ain't free anymore or have significantly cut back on their free tier?) |
The travis builds no longer work. We are working on a PR to get the tests running using github actions. MirageJS is currently at
assuming we should be changing that to
as well |
Dam it Travis 😢 I thought that was the case. Sweet well I see you're doing some stuff in other PRs so I'll park this for the moment but ping me and I can rebase this work on to master after the GitHub actions work has been done @cah-briangantzler (or any sooner if you think it makes sense). Btw ty for taking ownership of this project (or well trying to 😁 ), very much appreciated. |
You going to be updating this PR to As of yet I still dont have the authority to publish (It was all automated via travis 😞 ), so this still may set a while. |
Yep I'll update it to this Edit: Done now |
Is this a breaking change? I have a friend with an app in 2.18 using mirage. If he is using ember-get-config as a transitive dependency, upgrading could get him 0.5.0 which states is dropped support for < 3.4 https://github.com/mansona/ember-get-config/releases/tag/v0.5.0 it would break his build. The fix is for them to add ember-get-config 0.4.0 or less to their package.json. But since it requires more than just an update to ember-cli-mirage, does this merged PR represent a breaking change when we do the next release? |
@cah-briangantzler it should not. the package manager should be able to properly resolve to the version of |
ember-get-config
dependency requirement
ember-get-config
dependency requirementember-get-config
dependency requirement (include v0.4 and v0.5)
This PR bumps the minimum required version of
ember-get-config
to 0.3.0. This is required as 0.2.4 uses ember-cli-babel@6 which throws deprecation warnings when consumers of this project use Ember 3.28 (didn't drill into which specific version adds this deprecation warning).This is the deprecation warning this PR fixes
There was some related conversation over on #2227 (comment) to this as well.
Functionally nothing should really change here besides ember-cli-mirage requiring a slightly newer version of the dependency but that was already an allowed one so not a biggie imo.