Update dependency graphql to '~> 2.3.0'
This MR contains the following updates:
Package | Update | Change |
---|---|---|
graphql (source, changelog) | minor |
'~> 2.2.5' -> '~> 2.3.0'
|
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
rmosolgo/graphql-ruby (graphql)
v2.3.0
Breaking Changes
-
orphan_types
: Only object types are accepted here; other types may be added to the schema throughextra_types
instead. #4869 - Parser: line terminators are no longer allowed in single-quoted strings (as per the GraphQL spec). Escape newline characters instead; see
GraphQL::Language.escape_single_quoted_newline(query_str)
if you need to transform incoming query strings #4834
Deprecations
-
.tracer(...)
is deprecated, use.trace_with(...)
instead, using trace modules (https://graphql-ruby.org/queries/tracing.html) #4878
Bug fixes
- Parser: handle some escaped character edge cases according to the GraphQL spec #4824
- Analyzers: fix fragment skip/include tracking #4865
- Remove unused Context modules #4876
v2.2.14
Bug fixes
- Parser: properly handle stray hyphens in query strings #4879
v2.2.13
Bug fixes
- Tracing: when a new base
:default
trace class is added, merge already-configured trace modules into it #4875
v2.2.12
Deprecations
-
Schema.{query|mutation|subscription}_execution_strategy
methods are deprecated without replacement #4867
Breaking Changes
- Connections: Revert changes to
hasNextPage
returningfalse
when nofirst
is given (previously changed in 2.2.6) #4866
Bug fixes
- Complexity: handle unauthorized argument errors better #4868
- Pass
context
when fetching argument forloads: ...
#4870
v2.2.11
New features
- Sentry: support transaction names in tracing #4853
Bug fixes
- Tracing: handle unknown trace modes at runtime #4856
v2.2.10
New features
- Parser: support directives on variable definitions #4847
Bug fixes
- Fix compatibility with Ruby 3.4 #4846
- Tracing: Fix applying default options to non-default modes #4849, #4850
v2.2.9
New features
- Complexity: Treat custom Connection fields as metadata (like
totalCount
), not as if they were evaluated for each item in the list #4842 - Subscriptions: Serialize
ActiveRecord::Relation
s given to.trigger
#4840
Bug fixes
- Complexity: apply configured
complexity ...
to connection fields #4841 - Authorization: properly handle Resolver arguments that return
false
for#authorized?
#4839
v2.2.8
New features
- Responses have
"errors"
before"data"
, as recommended by the GraphQL spec #4823
Bug fixes
- Sentry: fix integration with other trace modules #4830
- Sentry: fix when child span is
nil
(test environments) #4828 - Remove needless Base64 backport #4820
- Fix module arrangement to support RDoc #4819
v2.2.7
Deprecations
- Deprecate returning
.resolve
dataloader requests (use.load
instead) #4807 - Deprecate
error_bubbling(true)
, no replacement. Please open an issue if you need this option. #4813
Bug fixes
- Remove unused
racc
dependency #4814 - Fix
backtrace: true
when used with@defer
and batch-loaded lists #4815 - Accept input objects when required arguments aren't provided but have default values #4811
v2.2.6
Deprecations
-
instrument(:query | :multiplex, ...)
was deprecated, use atrace_with
module instead. #4771 - Legacy
PlatformTracing
classes are deprecated, use aPlatformTrace
module instead #4779
New features
-
FieldUsage
analyzer: returns aused_deprecated_enum_values: ...
array in its result Hash #4805 -
validate_timeout
applies to query analysis as well as static validation #4800 -
SentryTrace
is added for instrumenting with Sentry #4775
Bug fixes
-
FieldUsage
analyzer: properly find deprecated arguments in non-null input objects #4805 - DataDog: replace usage of
span_type
setter withspan
setter #4776 - Fix coercion error handing with given
null
values #4799 - Raise a better error when variables are defined with non-input types #4791
- Fix
hasNextPage
whenmax_page_size
is set #4780
QA Notes
Documentation through code:
- https://github.com/rmosolgo/graphql-ruby/blob/master/lib/graphql/tracing/trace.rb
- https://github.com/rmosolgo/graphql-ruby/blob/master/lib/graphql/backtrace/trace.rb
QA LoggerTracer
by tailing log/graphql_json.log
.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Luke Duncalfe