graphql breaking changes
graphql 2.0.0 (February 9, 2022) is its newest release with breaking changes. The first: Many legacy code components removed in 2.0.0 in graphql 2.0.0. Every breaking API change we have recorded in graphql on RubyGems: 28 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.6.16. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 1.0.0 to 2.0.0: 1 breaking change in 1 version.
- From 0.6.0 to 2.0.0: 27 breaking changes in 11 versions.
graphql 2.0.0 breaking changes
- Removed
Many legacy components were removed in 2.0.0, so remaining references to them raise name errors. Find and update those references; the removed components are listed in issue #3729. github.com
graphql 1.0.0 breaking changes
- Removed
BaseConnection.connection_for_items
BaseConnection.connection_for_items was removed. Use BaseConnection#connection_for_nodes instead. github.com - Removed
BaseConnection.object
BaseConnection#object was removed. Use BaseConnection#nodes instead. github.com - Removed
GraphQL.ObjectType.UnresolvedTypeError
GraphQL::ObjectType::UnresolvedTypeError was removed. Use GraphQL::UnresolvedTypeError instead. github.com - Removed
validate
The validate: false option was removed from Schema.execute because it did not work anyway. Remove it from calls. github.com - Signature changed
Schema.new
Schema.new no longer takes initialization options. Use Schema.define instead. github.com
graphql 0.19.0 breaking changes
- Removed
GraphQL.Relay.GlobalNodeIdentification
Relay's Node interface and node field now live in GraphQL::Relay::Node. Use GraphQL::Relay::Node.field and GraphQL::Relay::Node.interface in your schema, and define the id hooks on GraphQL::Schema. github.com - Removed
Schema.node_identification
Define object_from_id and id_from_object in your Schema.define block instead. github.com - Removed
type_from_object
Define resolve_type in your schema to return the type definition for an object. github.com - Default changed
default_value
Enums with custom values and custom scalars must now pass the application value as default_value. Use the type's coerce_input method if you cannot change the default. github.com
graphql 0.18.0 breaking changes
- Removed
graphql-relay
The graphql-relay gem has been merged into graphql. Remove graphql-relay from your Gemfile and use graphql instead. github.com
graphql 0.17.0 breaking changes
- Removed
InternalRepresentation.Node.definition
The #definition method is gone; use node.definitions.values.first instead. github.com - Removed
InternalRepresentation.Node.on_types
The #on_types method is gone; use node.definitions.keys instead. github.com - Behavior changed
InternalRepresentation.Node.definition_name
On field nodes, #definition_name returns the field name while #name may return an alias; check code relying on the old behavior. github.com - Behavior changed
InternalRepresentation.Node.definitions
#definitions returns {type => field} pairs for possible fields on the node, which changes its shape for existing callers. github.com
graphql 0.16.0 breaking changes
- Behavior changed
GraphQL.Query.SerialExecution
GraphQL::Query::SerialExecution now iterates over a tree of GraphQL::InternalRepresentation::Node objects instead of an AST (GraphQL::Language::Nodes::Document). The author says this likely breaks nothing, but code that inspects the AST... github.com
Older versions
6 older versions, each with its first changes. Sign up to see every change
Show 6 older versions
graphql 0.15.0 breaking changes
- Removed
debug
The debug: option is gone and all errors are now propagated. Remove any debug: option from your code and handle errors that now propagate. github.com
graphql 0.13.0 breaking changes
- Behavior changed
GraphQL.Schema.new
Object types not reachable from the schema's root types are no longer added implicitly. Pass every such type in the types: option of GraphQL::Schema.new. github.com
graphql 0.12.0 breaking changes
- Removed
GraphQL.Query.DEFAULT_RESOLVE
GraphQL::Query::DEFAULT_RESOLVE was removed. GraphQL::Field#resolve now handles that behavior. github.com - Renamed
GraphQL.DefinitionConfig
GraphQL::DefinitionConfig was replaced by GraphQL::Define. Update code that references the old name to use GraphQL::Define. github.com
And 2 more in this version.
graphql 0.11.0 breaking changes
- Removed
GraphQL.parse
The as: keyword for parsing partial queries was removed from GraphQL.parse. github.com - Removed
GraphQL.Query.BaseExecution
GraphQL::Query::BaseExecution was removed; extend SerialExecution instead. github.com
And 1 more in this version.
graphql 0.8.0 breaking changes
- Behavior changed
Code that expected nil when a type name does not exist will now raise an error. Check that the type exists before looking it up. github.com - Behavior changed
Code that defined duplicate type names will now raise instead of continuing. Rename one of the conflicting types. github.com
graphql 0.6.0 breaking changes
- Removed
new { |obj, types, fields, args| }
The deprecated .new block form for defining types was removed; use .define instead. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.