Skip to content

Releases: gmac/graphql-stitching-ruby

Fix lower-level root queries

11 Feb 03:16
b61cb3b
Compare
Choose a tag to compare

Fixes a bug with collecting merged root query fields from lower-level tree positions.

Fix repathing of non-list errors

13 Jan 05:44
89d9cda
Compare
Choose a tag to compare

Fixes a bug with repathing non-list errors, per #117. Thanks to @shyouhei for the report.

Request overhaul + GraphQL multipart form uploads

29 Dec 04:58
8427951
Compare
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
Compare
Choose a tag to compare

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

Supergraph SDL

02 Dec 18:50
43dc887
Compare
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
Compare
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
Compare
Choose a tag to compare

Compose enum values by name

03 Nov 02:17
b5d213a
Compare
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
Compare
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
Compare
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 }
}