Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update graphql 2.1.6 → 2.2.13 (minor) #340

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Mar 12, 2024

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ graphql (2.1.6 → 2.2.13) · Repo · Changelog

Release Notes

2.2.9 (from changelog)

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

2.2.8 (from changelog)

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

2.2.7 (from changelog)

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

2.2.6 (from changelog)

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

2.2.5 (from changelog)

Bug fixes

  • Parser: fix enum values named type #4772
  • GraphQL::Deprecation: remove this unused helper module #4769

2.2.4 (from changelog)

Bug fixes

  • AsyncDataloader: don't resolve fields with event loop #4757
  • Parser: properly parse some fields and args named after keywords #4759
  • Performance: use all? to check classes directly #4760

2.2.3 (from changelog)

Bug fixes

  • AsyncDataloader: avoid leftover suspended Fibers #4754
  • Generators: fix path and constant name of BaseResolver #4755

2.2.2 (from changelog)

Bug fixes

  • Dataloader: remove Fiber#transfer support because Ruby's control flow is unpredictable (#4748, #4752, #4743)
  • Parser: fix handling of single-token document
  • QueryComplexity: improve performance

2.2.1 (from changelog)

Bug fixes

  • AsyncDataloader: re-raise errors from fields and sources #4736
  • Parser: fix parsing directives on interfaces in SDL #4738

2.2.0 (from changelog)

Breaking changes

  • loads: now requires a schema's self.resolve_type method to be implemented so that loaded objects can be verified to be of the expected type #4678

New features

  • GraphQL::Dataloader::AsyncDataloader: a Dataloader class that uses the async gem to run I/O from fields and Dataloader sources in parallel #4727
  • Parser: use a heavily-optimized lexer and a hand-written parser for better performance #4718
  • run_graphql_field: a helper method for running fields in tests #4732

2.1.8 (from changelog)

New features

  • Rails generators: generate a base resolver class by default #4513
  • Dataloader: add some support for transfer-based Fiber schedulers, simplify algorithm #4625 #4729
  • prepare: check for the named method on the argument owner, too #4717

2.1.7 (from changelog)

New features

  • Make NullContext inherit from Context, to make typechecking easier #4709
  • Accept a custom Schema.query_class to use for executing queries #4679

Bug fixes

  • Default reauthorize_scoped_objects to false #4720
  • Fix subscriptions.trigger with custom enum values #4713
  • Fix backtrace: true with GraphQL-Pro @defer #4708
  • Omit to_h from Input Object validation error message #4701
  • When trimming whitespace from block strings, remove first and last lines that contain only whitespace #4704

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

🆕 base64 (added, 0.2.0)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Mar 12, 2024
Copy link

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (b80ceab) to head (29f5d3e).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #340   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           45        45           
  Lines          616       616           
=========================================
  Hits           616       616           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor Author

depfu bot commented Mar 19, 2024

Closed in favor of #343.

@depfu depfu bot closed this Mar 19, 2024
@depfu depfu bot deleted the depfu/update/graphql-2.2.13 branch March 19, 2024 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants