Update dependency graphql to v2.5.16 #2238
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.0.32→2.5.16Release Notes
rmosolgo/graphql-ruby (graphql)
v2.5.16Compare Source
Bug fixes
fiber-storage: properly include dependency on Ruby < 3.2 #5484legacy_invalid_empty_selections_on_union_with_typewarning #5481v2.5.15Compare Source
New features
DetailedTrace: add separate spans for debug-only.inspectcalls, supportdebug: falseconfig #5477required:validator: Raise a developer error when allone_of:options are hidden, supportallow_all_hidden: trueto allow this case #5474GraphQL::Testing::MockActionCable: added to support testing ActionCableSubscriptions #5482legacy_invalid_empty_selections_on_union_with_type: new method added for better metadata about legacy behavior #5480Bug fixes
dataexists for execution errors #5452fiber-storageon Ruby 3.2+ #5456preload: truewhen Rails.env.staging? #5409v2.5.14Compare Source
Bug fixes
v2.5.13Compare Source
New features
visibility_profile: ...#5439Bug fixes
v2.5.12Compare Source
New features
load_application_object_failedas public #5426v2.5.11Compare Source
Bug fixes
.authorized?uses Dataloader #5400v2.5.10Compare Source
New features
.freeze_schemafor minimal Ractor support #5370Bug fixes
preload: true#5386.possible_types: don't return interfaces in this list #5395dataload_association: fix loading associations with different scopes on the same object #5398v2.5.9Compare Source
New features
Bug fixes
loads:: fix typechecking of Interfaceloads:values #5379v2.5.8Compare Source
New features
Bug fixes
loadable?#5355v2.5.7Compare Source
Bug fixes
PerfettoTrace: Handle non-ascii strings #5351Partial: Add#selected_operation_nameto supportGraphQL::Current#5353v2.5.6Compare Source
New features
Query#run_partialsfor running sub-trees of valid queries #5183v2.5.5Compare Source
Bug fixes
::Railsdoesn't have.env#5339ActiveSupport::Notifications: fix fiber resume without previous event #5335ruby-head#5342v2.5.4Compare Source
Bug fixes
ActiveRecordSource: Support composite primary keys #5330ActiveRecordAssociationSource: Support has_many associations #5331Context#pathmethod (use#current_pathinstead) #5332v2.5.3Compare Source
Deprecations
Schema.allow_legacy_invalid_return_type_conflictsfor migration support. #4351Schema.allow_legacy_invalid_empty_selections_on_unionfor migration support #5322Schema.complexity_cost_calculation_modefor migration support. #4843New features
AlwaysVisible: improve speed (usingSchema::Visibility) #5326null#5301v2.5.2Compare Source
New features
deprecation_reason#5320Bug fixes
prepare:method configs #5321v2.5.1Compare Source
Bug fixes
v2.5.0Compare Source
Breaking changes
prepare_spanhook now receives an execution-related object instead of a hash of keywords. #5298New features
v2.4.17Compare Source
v2.4.16Compare Source
New features
Bug fixes
v2.4.15Compare Source
New features
Schema.from_definition: support custom base type classes #5282Schema.from_definition: support type extensions #5281Bug fixes
GraphQL::ExecutionErrorfromresolve_type#5274run_graphql_field: fix when.authorized?calls Dataloader #5289def prepareis present #5285v2.4.14Compare Source
Bug fixes
v2.4.13Compare Source
v2.4.12Compare Source
Breaking changes
InvalidNullError#valuewhich is alwaysnil#5256New features
validate_timeoutis 3 seconds by default #5258Bug fixes
graphql_name#5260v2.4.11Compare Source
Breaking changes
value_methods(true)to your base enum class to opt back in. #5255New features
InvalidNullError: Improve default handling to add path and locations #5257DetailedTrace: Add a sampling profiler for creating detailed traces #5244Bug fixes
InvalidNullError: useGraphQL::Erroras a base class #5248v2.4.10Compare Source
New features
Bug fixes
NewRelicTrace: don't double-count time waiting on Dataloader fibersVisibility: properly use configured contexts for visibility profiles #5235Enum: reduce needlessvalue_methodwarnings #5230 #5220Backtrace: fix error handling withrescue_from#5227v2.4.9Compare Source
New features
Bug fixes
required: { one_of: [ ... ] }v2.4.8Compare Source
New features
write_subscriptionwithinresolve#5142Bug fixes
Tracingclasses #5190v2.4.7Compare Source
Bug fixes
require "ostruct"in ActionCableSubscriptions #5184v2.4.6Compare Source
Bug fixes
config.before_eager_loadhook for better integration #5182loads:: Check possible types forloads:-only unions #5180v2.4.5Compare Source
Breaking changes
.eager_load!for better boot performance. #5178New features
autoload ...for many constants. #5178#deconstruct_keys) #5170Bug fixes
Fiber[...]for internal state instead ofThread.current#5176-is encountered #5115v2.4.4Compare Source
sync#5161v2.4.3Compare Source
Bug fixes
.argumentswhen they raised aGraphQL::ExecutionError#5155Schema.types#5157v2.4.2Compare Source
Bug fixes
v2.4.1Compare Source
New features
Bug fixes
v2.4.0Compare Source
Deprecations
visible?now requiresuse GraphQL::Schema::Visibilityoruse GraphQL::Schema::Wardenin your schema definition #5123New features
DidYouMeanis available #4966GraphQL::Schema::Visibility#4919v2.3.22Compare Source
v2.3.21Compare Source
v2.3.20Compare Source
Bug fixes
objectIdarguments #5124v2.3.19Compare Source
New features
fiber_limit:option #5132Bug fixes
one_of:error message #5130Query#lookaheadwhen no operation is selected #5129v2.3.18Compare Source
Bug fixes
trace_withis used aftertrace_class#5118v2.3.17Compare Source
Bug fixes
InvalidNullError#inspect#5103v2.3.16Compare Source
Bug fixes
FieldTypeInBlockfor single-line classes #5098context[:current_field]to testing helpers #5096v2.3.15Compare Source
New features
comment("...")for annotating SDL #5067tokens_countmethod #5066validate_timeoutto be reset #5062Bug fixes
Language.escape_single_quoted_newlines#5095# frozen_string_literal: trueto base resolver #5092GraphQL::ExecutionErrorwhen loading arguments during analysis #5071superv2.3.14Compare Source
Bug fixes
v2.3.13Compare Source
New features
EnumValue#authorized?during execution #5058Subset: support lazy-loading root types and field return types (not documented yet) #5055, #5054Bug fixes
nilif null value is permitted for incoming lists #5048Mutation#ready?dataloader cache in multiplexes #5059v2.3.12Compare Source
Bug fixes
fiber-storagedependency for Ruby < 3.2 supportv2.3.11Compare Source
New features
GraphQL::Currentoffers globally-available methods for runtime metadata #5034Schema::Subset(not production-ready yet, though) #5018 #5039Bug fixes
Node#lineandNode#colwhen nodes are created by manually #5047interpreter?,using_ast_analysis?andnew_connections?flag methods #5039.compare_by_identityusages #5037v2.3.10Compare Source
Bug fixes
v2.3.9Compare Source
Bug fixes
subscriptionTypein introspection #5019v2.3.8Compare Source
New features
all: { ... }validator #5013Query#typesfor future type filtering improvements #4998default_broadcast(true)option for Connection and Edge types #5012Bug fixes
InvalidTypeError#5003previous_tokenandToken#5015v2.3.7Compare Source
Bug fixes
v2.3.6Compare Source
New features
GraphQL::Analysis(GraphQL::Analysis::ASTstill works, too) #4996directive ...configurations #4995Bug fixes
AsyncDataloader: Copy Fiber-local variables into Async tasks #4994Dataloader: properly batchfetchcalls withloads:arguments that call Dataloader sources during.authorized?#4997v2.3.5Compare Source
Breaking changes
load_*implementations in arguments -- this could break calls tosuperif you have redefined this method in subclasses #4978Schema.possible_typesandSchema.references_tonow use type classes as keys instead of type names (Strings). You can create a new Hash with the old structure using.transform_keys(&:graphql_name). #4986 #4971Bug fixes
type,extend) #4987ruby2_keywordsusage #4989v2.3.4Compare Source
New features
Bug fixes
Query#fingerprint: handlenilquery strings like""#4963Language::Nodes: support marshalling parsed ASTs #4959v2.3.3Compare Source
New features
count_introspection:option #4939Bug fixes
Nodes#lineandNodes#col#4949v2.3.2Compare Source
Bug fixes
objectIdarguments #5124v2.3.1Compare Source
New features
fiber_limit:option #5132Bug fixes
one_of:error message #5130Query#lookaheadwhen no operation is selected #5129v2.3.0Compare Source
Breaking Changes
orphan_types: Only object types are accepted here; other types may be added to the schema throughextra_typesinstead. #4869GraphQL::Language.escape_single_quoted_newline(query_str)if you need to transform incoming query strings #4834Deprecations
.tracer(...)is deprecated, use.trace_with(...)instead, using trace modules (https://graphql-ruby.org/queries/tracing.html) #4878Bug fixes
v2.2.17Compare Source
v2.2.16Compare Source
v2.2.15Compare Source
v2.2.14Compare Source
Bug fixes
v2.2.13Compare Source
Bug fixes
:defaulttrace class is added, merge already-configured trace modules into it #4875v2.2.12Compare Source
Deprecations
Schema.{query|mutation|subscription}_execution_strategymethods are deprecated without replacement #4867Breaking Changes
hasNextPagereturningfalsewhen nofirstis given (previously changed in 2.2.6) #4866Bug fixes
contextwhen fetching argument forloads: ...#4870v2.2.11Compare Source
New features
Bug fixes
v2.2.10Compare Source
New features
Bug fixes
v2.2.9Compare Source
New features
totalCount), not as if they were evaluated for each item in the list #4842ActiveRecord::Relations given to.trigger#4840Bug fixes
complexity ...to connection fields #4841falsefor#authorized?#4839v2.2.8Compare Source
New features
"errors"before"data", as recommended by the GraphQL spec #4823Bug fixes
nil(test environments) #4828v2.2.7Compare Source
Deprecations
.resolvedataloader requests (use.loadinstead) #4807error_bubbling(true), no replacement. Please open an issue if you need this option. #4813Bug fixes
raccdependency #4814backtrace: truewhen used with@deferand batch-loaded lists #4815v2.2.6Compare Source
Deprecations
instrument(:query | :multiplex, ...)was deprecated, use atrace_withmodule instead. #4771PlatformTracingclasses are deprecated, use aPlatformTracemodule instead #4779New features
FieldUsageanalyzer: returns aused_deprecated_enum_values: ...array in its result Hash #4805validate_timeoutapplies to query analysis as well as static validation #4800SentryTraceis added for instrumenting with Sentry #4775Bug fixes
FieldUsageanalyzer: properly find deprecated arguments in non-null input objects #4805span_typesetter withspansetter #4776nullvalues #4799hasNextPagewhenmax_page_sizeis set #4780v2.2.5Compare Source
Bug fixes
type#4772v2.2.4Compare Source
Bug fixes
all?to check classes directly #4760v2.2.3Compare Source
Bug fixes
suspendedFibers #4754v2.2.2Compare Source
Bug fixes
Fiber#transfersupport because Ruby's control flow is unpredictable (#4748, #4752, #4743)v2.2.1Compare Source
Bug fixes
v2.2.0Compare Source
Breaking changes
loads:now requires a schema'sself.resolve_typemethod to be implemented so that loaded objects can be verified to be of the expected type #4678graphql/c_parserstill does.)New features
GraphQL::Dataloader::AsyncDataloader: a Dataloader class that uses theasyncgem to run I/O from fields and Dataloader sources in parallel #4727run_graphql_field: a helper method for running fields in tests #4732v2.1.15Compare Source
v2.1.13[Compare Source](https://redirect.github.com/rmosolgo/graphql-ruby
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.