-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update package.json for 1.17.3-beta and add peerDependencies #761
Conversation
@Silhouettes do I get it right that RN v0.19 will be ok and fully compatible with latest release of our plugin? |
@Silhouettes, looks good to me, but do I get it right it probably means that we have to update
|
@sergey-akhalkov no need to update
|
Thanks for the feedback. I've thought a bit more about the problem I am trying to solve here, and I no longer think we should do this. Basically, there are two types of users, and they should be both taken care of if we follow the semver standard and publish the breaking change as
Basically, we just need to uphold two invariants - that breaking changes in CodePush will be represented by a major version bump, and that the latest React Native version will always be supported by the latest CodePush version. Given that the above should just work, I think it makes less sense to tolerate the issues that might be introduced by using
If people have more thoughts here, I'm open to hear them! However, I need to publish |
Also in answer to your question @max-mironov - according to our compatibility table, this version should support 0.19. I'm not sure whether that is true or not as we haven't tested that version in a long time, but if it is not true, then I'm not suggesting that we should support that version - we would just update the compatibility table in that case. |
As we are about to publish a breaking change for RN 0.43, it might be good to start indicating our peerDependencies clearly so that users don't install mismatching RN and CodePush versions. Peer dependencies are documented here: https://nodejs.org/en/blog/npm/peer-dependencies/.
Note this range won't match
-rc
releases, but I think it should be okay in this case because all of the versions in thispeerDependencies
list have non-rc versions that people should be using.@sergey-akhalkov, @max-mironov, what do you think?