Skip to content

Conversation

@daiaventureira
Copy link
Contributor

Changes

Bump graphql and graphql-client versions.

Why

In order to Bump the graphql version to the latest on Jobber, we have to update it at library_version_analysis first since it has a block that does not allow us to go over the version we have today.

@daiaventureira daiaventureira marked this pull request as ready for review April 8, 2024 18:15
spec.add_dependency "graphql", "~> 2.0.24"
spec.add_dependency "graphql-client", "~> 0.18"
spec.add_dependency "graphql", "~> 2"
spec.add_dependency "graphql-client", "~> 0.2"
Copy link
Contributor

@crpahl crpahl Apr 8, 2024

Choose a reason for hiding this comment

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

@daiaventureira This will actually need to be:

  spec.add_dependency "graphql-client", "~> 0.20"

Since there's a difference in semantic versioning betwween 0.2 and 0.20. Sorry I might have suggested 0.2.

@crpahl
Copy link
Contributor

crpahl commented Apr 8, 2024

cc @naarok

@naarok
Copy link
Contributor

naarok commented Apr 8, 2024

Provided changes suggested by @crpahl are done, I'm good with this.

@crpahl
Copy link
Contributor

crpahl commented Apr 8, 2024

@naarok Some specs were broken which @daiaventureira fixed as part of this PR. Any concerns with these changes? Also, is there anything else we should test other than running specs?

And to release a new version after this is merged, I'm guessing we still follow this?

To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

@naarok
Copy link
Contributor

naarok commented Apr 8, 2024

@crpahl hmm. This code is actually in an interim state between old way and rewrite. I’m gonna have to think about how to deploy a bit. I’ll make sure that happens tomorrow.

in fact it is probably best for me to take over completing this PR as well. I have time tomorrow for that.

@crpahl
Copy link
Contributor

crpahl commented Apr 8, 2024

@naarok Okay sounds good. Thanks John!

@naarok
Copy link
Contributor

naarok commented Apr 9, 2024

@daiaventureira @crpahl Happily, the code on master was in better state than I feared (except for those broken specs. Thanks for fixing them @daiaventureira )

As an FYI, those instructions for doing a new release were just from the generated template and not valid for this library as it is not pushed to RubyGems. I've removed them.

A new release requires us to bump the version number in this repo (and update the changelog). A 2nd PR will need to be done in JO to update the library there. I'll do that and pass on to you for review.

@naarok naarok merged commit ee06de7 into master Apr 9, 2024
@naarok naarok deleted the update-graphql-version branch April 9, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants