graphql-ruby-client
Advanced tools
Changelog
1.12.1 (25 January 2021)
GraphQL::Dataloader
: properly support selections with multiple fields #3297Changelog
1.12.0 (20 January 2021)
GraphQL::Schema
defaults to GraphQL::Execution::Interpreter
, GraphQL::Analysis::AST
, GraphQL::Pagination::Connections
, and GraphQL::Execution::Errors
. (#3145) To get the previous (deprecated) behaviors:
# Revert to deprecated execution behaviors:
use GraphQL::Execution::Execute
use GraphQL::Analysis
# Disable the new connection implementation:
self.connections = nil
GraphQL::Execution::Interpreter::Arguments
instances are frozen (#3138). (Usually, GraphQL code doesn't interact with these objects, but they're used some places under the hood.)
GraphQL::Dataloader
for batch-loading data #3264Changelog
1.11.10 (5 Nov 2021)
Schema.max_validation_errors
at query runtime #3690Changelog
1.11.9 (1 Nov 2021)
Schema.max_validation_errors(val)
limits the number of errors that can be added during static validation #3675Changelog
1.11.8 (12 Feb 2021)
Schema.possible_types(t)
for object types #3172Changelog
1.11.7 (18 January 2021)
Incoming integer values are properly bound (as per the spec) #3206 To continue receiving out-of-bound integer values, add this to your schema's def self.type_error(err, ctx)
hook:
def self.type_error(err, ctx)
if err.is_a?(GraphQL::IntegerDecodingError)
return err.integer_value # return it anyways, since this is how graphql-ruby used to work
end
# ...
end
GraphQL::UnauthorizedError
in interpreter in from arguments #3276input:
argument #3141Float
graphql type for ActiveRecord decimal columns #3246Changelog
1.11.6 (29 October 2020)
FieldExtension: pass extended values instead of originals to after_resolve
#3168
global_id_field
macro #3196graphql_name
in UnauthorizedError
default message (fixes #3174) #3176UniqueWithinType
) #3179.valid_isolated_input?
on parsed schemas (fixes #3181) #3182RangeAdd
to use new connections when available #3195Changelog
1.11.5 (30 September 2020)
inline_variables: false
option and add #redact_argument_value?
and #redacted_argument_value
hooks #3167current_{path,field,arguments,object}
in query.context
#3139. The values at these keys change while the query is running.use(..., namespace: "...")
for running multiple schemas in the same application #3076deprecation_reason:
to arguments #3015.empty?
instead of .length.zero?
in lexer #3134RawValue
in ConnectionExtension #3122Changelog
1.11.4 (24 August 2020)
node_nullable
option for edge_type
#3083SystemStackError
s during validation #3107require 'digest/sha2'
for fingerprint #3103GraphQL::Query::Context#dig
#3090AppOpticsTracing
with latest changes in PlatformTracing
#3097GraphQL::Query::Context#fetch
#3081Changelog
1.11.3 (13 August 2020)
required
and default_value
argument behaviour change in 1.11.2 since it was not spec compliant #3066Mutation
instances after they're loaded #3073