-
Notifications
You must be signed in to change notification settings - Fork 79
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
fix: specify dependency versions #35
fix: specify dependency versions #35
Conversation
a2edb3b
to
9e1eac8
Compare
19f5b99
to
53e0d84
Compare
@lennyburdette Any idea what the minimum version of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is technically going to be a breaking change, since it may require users to upgrade their versions of google-protobuf
and graphql
(and those upgrades may include breaking changes). I'd like to keep the required dependencies at the lowest reasonable versions. Personally, my company uses version 1.9.8 of grapqhl
and things are working well. Since graphql-ruby
sometimes introduces breaking changes in minor versions (and even patch versions), let's make it ~> 1.9.8
. Unless someone else has a lower version they can report success with.
I'd like to nail down a good range for google-protobuf
too. It seems like the gem uses traditional semantic versioning, so we may be OK with ~> 3.0
. @lennyburdette does that sound right?
Using |
53e0d84
to
fd956a6
Compare
@lennyburdette @rylanc I get what you say, but the PR came from a need: Version 3.6.0 clearly doesn't work
Version 3.7.0 and above seems to be good. So changed the minimum required version to 3.7.0 |
fd956a6
to
6f40f9a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. We'll need to set the version of google-protobuf
to ~> 3.7
instead of ~> 3.7.0
. If we leave the patch number, it means that 3.8 and above won't match. Also, it should mean that the Gemfile.lock
version is unchanged.
6f40f9a
to
4bcf196
Compare
@rylanc done |
# [1.0.0](v0.5.1...v1.0.0) (2019-12-09) ### Bug Fixes * specify dependency versions ([#35](#35)) ([0a29bb3](0a29bb3)) ### BREAKING CHANGES * Requires graphql ~> 1.9.8 and google-protobuf ~> 3.7
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
BREAKING CHANGE: Requires graphql ~> 1.9.8 and google-protobuf ~> 3.7
There is no version specified for the dependencies. This is unpleasant for those trying to integrate the gem with existing codebase. Even though the library is its early development stage it would be nice to at least specify requirements. Versions could be adjusted later on, but it's way easier to spot a problem that to see misleading
protobuf
errors.