Skip to content

Releases: gmac/graphql-stitching-ruby

Request overhaul + GraphQL multipart form uploads

29 Dec 04:58
8427951

Choose a tag to compare

Large refactor to center operations around the stitching Request object. This enabled support for GraphQL multipart form uploads (thanks @mikeharty), and prepares for other contextual schema possibilities. Review #108 for a complete list of changes.

⚠️ Minor breaking change

Arguments for Executable.call have changed. The method signature is now:

Executable.call(request, document, variables)
  • request is now the first argument.
  • former context argument has been removed in favor of request.context.
  • former location argument has been removed without replacement, as executables should have implicit awareness of their assigned target.

GraphQL 2.2 compatibility

26 Dec 19:55

Choose a tag to compare

Updates the definition of Field nodes to match GraphQL v2.2.

Supergraph SDL

02 Dec 18:50
43dc887

Choose a tag to compare

⚠️ Minor breaking changes

New SDL export format for Supergraph, and change in client caching hook arguments. See release notes for migration steps:

Fix error propagation

29 Nov 04:11
9f08a00

Choose a tag to compare

  • Fixes propagation of single errors, per #93. Thanks @shyouhei for the report.
  • Simplifies request string handling, and adds normalized_string and normalized_digest options.

Variables preparation fix

19 Nov 15:03

Choose a tag to compare

Compose enum values by name

03 Nov 02:17
b5d213a

Choose a tag to compare

Fixes an issue with composing enum values by GraphQL name rather than by their mapped values. Thanks to @mikeharty for the report.

Compose argument default values

02 Nov 12:08
23a2cf1

Choose a tag to compare

Adds argument default values into schema composition. Thanks @mikeharty for the report.

Passthrough operation directives

16 Oct 12:35
28da01a

Choose a tag to compare

Adds passthrough of operation-level directives into all subgraph executions. Ex:

query @inContext(lang: "FR") {
  getFromA # << query @inContext(lang: "FR") { getFromA }
  getFromB # << query @inContext(lang: "FR") { getFromB }
}

GraphQL Ruby 2.1.1 compatibility

07 Oct 11:28
e5d3a16

Choose a tag to compare

Fixes for a subtle change in GraphQL Ruby’s language printer and releases several recent library refactors.

Support Federation entities merging

01 Aug 12:45
9ff3197

Choose a tag to compare

Version 1 stable release. Adds support for a subset of the Apollo Federation specification.