graphql v1.0.0 Release Notes
Release Date: 2016-10-25 // over 7 years ago-
๐ฅ Breaking changes
- ๐
validate: false
option removed fromSchema.execute
(it didn't work anyways) #338 - ๐ Some deprecated methods were removed: #349
BaseConnection#object
was removed, useBaseConnection#nodes
BaseConnection.connection_for_items
was removed, useBaseConnection#connection_for_nodes
- Two-argument resolve functions for
Relay::Mutation
s are not supported, use three arguments instead:(root_obj, input, ctx)
Schema.new
no longer accepts initialization options, useSchema.define
insteadGraphQL::ObjectType::UnresolvedTypeError
was removed, useGraphQL::UnresolvedTypeError
instead
- โก๏ธ Fragment type conditions should be parsed as
TypeName
nodes, not strings. (Users ofgraphql-libgraphqlparser
should update to1.0.0
of that gem.) #342
๐ New Features
- Set
ast_node
andirep_node
on query context before sending it to middleware #348 - Enum values can be extended with
.define
#341
๐ Bug Fixes
- ๐
Use
RelationConnection
for Rails 3 relations (which also extendArray
) #343 - ๐ Fix schema printout when arguments have comments #335
- ๐