graphql-ruby-client
Advanced tools
Changelog
1.8.1 (1 June 2018)
GraphQL::ExecutionError.new
accepts an extensions:
option which will be merged into the "extensions"
key in that error's JSON #1552introspection?
#1535object
/context
in the upgrader instead of @object
/@context
#1529Changelog
1.8.0 (17 May 2018)
1.8.0
has been in prerelease for 6 months. See the prerelease changelog for change-by-change details. Here's a high-level changelog, followed by a detailed list of changes since the last prerelease.
GraphQL::Delegate
, a duplicate of Ruby's Forwardable
, was removed. Use Forwardable
instead, and update your Ruby if you're on 2.4.0
, due to a performance regression in Forwardable
in that version.MySchema.subscriptions.trigger
asserts that its inputs are valid arguments #1400. So if you were previously passing invalid options there, you'll get an error. Remove those options..execute(variables: ...)
and subscriptions.trigger
both accept Symbol-keyed hashesChangelog
1.7.12 (13 Feb 2018)
typed_children
should always return a Hash #1278Changelog
1.7.11 (13 Feb 2018)
irep_node.typed_children
on leaf nodes #1277Changelog
1.7.10 (13 Feb 2018)
{ }
) are invalid in the GraphQL spec, but were previously allowed by graphql-ruby. They now return a parse error. #1268Changelog
1.7.9 (1 Feb 2018)
context
to multiplex in Query#result
#1200Changelog
1.7.8 (11 Jan 2018)
Schema::Printer
to use Language::Printer
#1159ArgumentValue#default_used?
and Arguments#default_used?
#1152#inspect
for EnumType::UnresolvedValueError
#1179Changelog
1.7.7 (29 Nov 2017)
Schema#to_document
returns a Language::Nodes::Document
#1134trace_scalars
and trace: true|false
to monitoring #1103Tracing::DataDogPlatform
monitoring #1129rails g graphql:function
and :loader
#1127serializer:
option for ActionCableSubscriptions
#1085Schema.from_definition
#1135rails destroy graphql:mutation
#1119Changelog
1.7.6 (13 Nov 2017)
GraphQL::Subscriptions::Serialize
#1084Changelog
1.7.5 (7 Nov 2017)
Backtrace::InspectResult#inspect
to #inspect_result
#1022GlobalID
-compliant objects in Arrays and hashes #1030Subscriptions#build_id
helper #1046#non_null?
and #list?
helper methods to type objects #1054