---
title: "graphql 2.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each graphql release removed, renamed or changed: 28 breaking changes in 12 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/graphql
last_updated: 2026-12-04
---

# 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

Latest version `2.6.16`. [Source repository](https://github.com/rmosolgo/graphql-ruby)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 1 breaking change in 1 version.
- From [0.6.0](#v-0-6-0) to [2.0.0](#v-2-0-0): 27 breaking changes in 11 versions.

## graphql 2.0.0 breaking changes

graphql 2.0.0, released February 9, 2022: 1 breaking change.

- **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](https://github.com/rmosolgo/graphql-ruby/blob/v2.0.0/CHANGELOG.md)

## graphql 1.0.0 breaking changes

graphql 1.0.0, released October 25, 2016: 5 breaking changes.

- **Removed** `BaseConnection.connection_for_items`  

BaseConnection.connection_for_items was removed. Use BaseConnection#connection_for_nodes instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v1.0.0/CHANGELOG.md)
- **Removed** `BaseConnection.object`  

BaseConnection#object was removed. Use BaseConnection#nodes instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v1.0.0/CHANGELOG.md)
- **Removed** `GraphQL.ObjectType.UnresolvedTypeError`  

GraphQL::ObjectType::UnresolvedTypeError was removed. Use GraphQL::UnresolvedTypeError instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v1.0.0/CHANGELOG.md)
- **Removed** `validate`  

The validate: false option was removed from Schema.execute because it did not work anyway. Remove it from calls. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v1.0.0/CHANGELOG.md)
- **Signature changed** `Schema.new`  

Schema.new no longer takes initialization options. Use Schema.define instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v1.0.0/CHANGELOG.md)

## graphql 0.19.0 breaking changes

graphql 0.19.0, released September 30, 2016: 4 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](https://github.com/rmosolgo/graphql-ruby/blob/v0.19.0/CHANGELOG.md)
- **Removed** `Schema.node_identification`  

Define object_from_id and id_from_object in your Schema.define block instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.19.0/CHANGELOG.md)
- **Removed** `type_from_object`  

Define resolve_type in your schema to return the type definition for an object. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.19.0/CHANGELOG.md)
- **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](https://github.com/rmosolgo/graphql-ruby/blob/v0.19.0/CHANGELOG.md)

## graphql 0.18.0 breaking changes

graphql 0.18.0, released August 4, 2016: 1 breaking change.

- **Removed** `graphql-relay`  

The graphql-relay gem has been merged into graphql. Remove graphql-relay from your Gemfile and use graphql instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.18.0/CHANGELOG.md)

## graphql 0.17.0 breaking changes

graphql 0.17.0, released July 21, 2016: 4 breaking changes.

- **Removed** `InternalRepresentation.Node.definition`  

The #definition method is gone; use node.definitions.values.first instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.17.0/CHANGELOG.md)
- **Removed** `InternalRepresentation.Node.on_types`  

The #on_types method is gone; use node.definitions.keys instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.17.0/CHANGELOG.md)
- **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](https://github.com/rmosolgo/graphql-ruby/blob/v0.17.0/CHANGELOG.md)
- **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](https://github.com/rmosolgo/graphql-ruby/blob/v0.17.0/CHANGELOG.md)

## graphql 0.16.0 breaking changes

graphql 0.16.0, released July 14, 2016: 1 breaking change.

- **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](https://github.com/rmosolgo/graphql-ruby/blob/v0.16.0/CHANGELOG.md)

## Older versions

6 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### graphql 0.15.0 breaking changes

graphql 0.15.0, released June 11, 2016: 1 breaking change.

- **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](https://github.com/rmosolgo/graphql-ruby/blob/v0.15.0/CHANGELOG.md)

### graphql 0.13.0 breaking changes

graphql 0.13.0, released April 29, 2016: 1 breaking change.

- **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](https://github.com/rmosolgo/graphql-ruby/blob/v0.13.0/CHANGELOG.md)

### graphql 0.12.0 breaking changes

graphql 0.12.0, released March 21, 2016: 4 breaking changes.

- **Removed** `GraphQL.Query.DEFAULT_RESOLVE`  

GraphQL::Query::DEFAULT_RESOLVE was removed. GraphQL::Field#resolve now handles that behavior. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.12.0/CHANGELOG.md)
- **Renamed** `GraphQL.DefinitionConfig`  

GraphQL::DefinitionConfig was replaced by GraphQL::Define. Update code that references the old name to use GraphQL::Define. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.12.0/CHANGELOG.md)

And 2 more in this version.

### graphql 0.11.0 breaking changes

graphql 0.11.0, released February 28, 2016: 3 breaking changes.

- **Removed** `GraphQL.parse`  

The as: keyword for parsing partial queries was removed from GraphQL.parse. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.11.0/CHANGELOG.md)
- **Removed** `GraphQL.Query.BaseExecution`  

GraphQL::Query::BaseExecution was removed; extend SerialExecution instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.11.0/CHANGELOG.md)

And 1 more in this version.

### graphql 0.8.0 breaking changes

graphql 0.8.0, released September 5, 2015: 2 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](https://github.com/rmosolgo/graphql-ruby/blob/v0.8.0/CHANGELOG.md)
- **Behavior changed**  

Code that defined duplicate type names will now raise instead of continuing. Rename one of the conflicting types. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.8.0/CHANGELOG.md)

### graphql 0.6.0 breaking changes

graphql 0.6.0, released August 15, 2015: 1 breaking change.

- **Removed** `new { |obj, types, fields, args| }`  

The deprecated .new block form for defining types was removed; use .define instead. [github.com](https://github.com/rmosolgo/graphql-ruby/blob/v0.6.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
