Skip to content

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

Compare Source

Breaking Changes
  • orphan_types: Only object types are accepted here; other types may be added to the schema through extra_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
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

Compare Source

Bug fixes
  • Parser: properly handle stray hyphens in query strings #​4879

v2.2.13

Compare Source

Bug fixes
  • Tracing: when a new base :default trace class is added, merge already-configured trace modules into it #​4875

v2.2.12

Compare Source

Deprecations
  • Schema.{query|mutation|subscription}_execution_strategy methods are deprecated without replacement #​4867
Breaking Changes
  • Connections: Revert changes to hasNextPage returning false when no first is given (previously changed in 2.2.6) #​4866
Bug fixes
  • Complexity: handle unauthorized argument errors better #​4868
  • Pass context when fetching argument for loads: ... #​4870

v2.2.11

Compare Source

New features
  • Sentry: support transaction names in tracing #​4853
Bug fixes
  • Tracing: handle unknown trace modes at runtime #​4856

v2.2.10

Compare Source

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

Compare Source

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::Relations 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

Compare Source

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

Compare Source

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

Compare Source

Deprecations
  • instrument(:query | :multiplex, ...) was deprecated, use a trace_with module instead. #​4771
  • Legacy PlatformTracing classes are deprecated, use a PlatformTrace module instead #​4779
New features
  • FieldUsage analyzer: returns a used_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 with span 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 when max_page_size is set #​4780

QA Notes

Documentation through code:

QA LoggerTracer by tailing log/graphql_json.log.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Luke Duncalfe

Merge request reports