From fa772229414832210be71cbdd85410ff9a2a3cce Mon Sep 17 00:00:00 2001 From: Steven Klaiber-Noble Date: Wed, 25 Feb 2026 13:30:24 -0800 Subject: [PATCH 1/2] Support graphql 2.5.x and bump to 1.4.4 Relaxes the graphql runtime constraint to allow 2.5.x, updates the lockfile resolution to graphql 2.5.20, and bumps the gem version for release. Made-with: Cursor --- Gemfile.lock | 13 ++++++++----- fragment-dev.gemspec | 2 +- lib/fragment_client/version.rb | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 87f6967..908cb7b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - fragment-dev (1.4.3) - graphql (>= 2.2.5, < 2.5.0) + fragment-dev (1.4.4) + graphql (>= 2.2.5, < 3.0) graphql-client (~> 0.23.0) sorbet-runtime (~> 0.5) @@ -25,7 +25,7 @@ GEM addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) ast (2.4.2) - base64 (0.2.0) + base64 (0.3.0) benchmark (0.4.0) bigdecimal (3.1.9) coderay (1.1.3) @@ -41,8 +41,11 @@ GEM ffi-compiler (1.3.2) ffi (>= 1.15.5) rake - graphql (2.2.17) + fiber-storage (1.0.1) + graphql (2.5.20) base64 + fiber-storage + logger graphql-client (0.23.0) activesupport (>= 3.0) graphql (>= 1.13.0) @@ -184,4 +187,4 @@ DEPENDENCIES webmock BUNDLED WITH - 2.6.2 + 2.6.7 diff --git a/fragment-dev.gemspec b/fragment-dev.gemspec index a08d644..4e030f0 100644 --- a/fragment-dev.gemspec +++ b/fragment-dev.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |s| s.summary = 'the ruby fragment client sdk' s.homepage = 'https://fragment.dev' s.license = 'Apache-2.0' - s.add_runtime_dependency 'graphql', '>= 2.2.5', '< 2.5.0' + s.add_runtime_dependency 'graphql', '>= 2.2.5', '< 3.0' s.add_runtime_dependency 'graphql-client', '~> 0.23.0' s.add_runtime_dependency 'sorbet-runtime', '~> 0.5' end diff --git a/lib/fragment_client/version.rb b/lib/fragment_client/version.rb index 8e2f75d..2a1f732 100644 --- a/lib/fragment_client/version.rb +++ b/lib/fragment_client/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module FragmentSDK - VERSION = '1.4.3' + VERSION = '1.4.4' end From 005e3639c0e037b6a76deac95f654598259cce01 Mon Sep 17 00:00:00 2001 From: Steven Klaiber-Noble Date: Wed, 25 Feb 2026 13:32:08 -0800 Subject: [PATCH 2/2] Update schema for graphql 2.5 introspection order Regenerates fragment.schema.json so the schema check is stable when running graphql:update_schema with graphql 2.5.x. Made-with: Cursor --- lib/fragment.schema.json | 60 ++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/lib/fragment.schema.json b/lib/fragment.schema.json index 7558e7a..96449d9 100644 --- a/lib/fragment.schema.json +++ b/lib/fragment.schema.json @@ -16887,6 +16887,28 @@ } ], "directives": [ + { + "name": "deprecated", + "description": "Marks an element of a GraphQL schema as no longer supported.", + "locations": [ + "FIELD_DEFINITION", + "ENUM_VALUE", + "ARGUMENT_DEFINITION", + "INPUT_FIELD_DEFINITION" + ], + "args": [ + { + "name": "reason", + "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": "\"No longer supported\"" + } + ] + }, { "name": "include", "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", @@ -16912,6 +16934,14 @@ } ] }, + { + "name": "oneOf", + "description": "Requires that exactly one field must be supplied and that field must not be `null`.", + "locations": [ + "INPUT_OBJECT" + ], + "args": [] + }, { "name": "skip", "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", @@ -16937,36 +16967,6 @@ } ] }, - { - "name": "deprecated", - "description": "Marks an element of a GraphQL schema as no longer supported.", - "locations": [ - "FIELD_DEFINITION", - "ENUM_VALUE", - "ARGUMENT_DEFINITION", - "INPUT_FIELD_DEFINITION" - ], - "args": [ - { - "name": "reason", - "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": "\"No longer supported\"" - } - ] - }, - { - "name": "oneOf", - "description": "Requires that exactly one field must be supplied and that field must not be `null`.", - "locations": [ - "INPUT_OBJECT" - ], - "args": [] - }, { "name": "specifiedBy", "description": "Exposes a URL that specifies the behavior of this scalar.",