Skip to content

Releases: gmac/graphql-stitching-ruby

Send consistent documents + refactors

04 Jun 02:15
08094c1
Compare
Choose a tag to compare

Rounds up several overdue refactors on library internals, including #134, #136, and #137.

⚠️ Minor breaking changes:

  • Regenerate supergraph SDL dumps and increment query plan caching keys while upgrading (#134).
  • Rename Supergraph.boundaries calls to Supergraph.resolvers (#136).

Better support for merged types without resolvers

31 May 13:03
c593a75
Compare
Choose a tag to compare

Improved handling of resolver types

07 Apr 04:52
72c9fe1
Compare
Choose a tag to compare
  • #130: Fixes abstract resolver definitions passing through Supergraph import/export. Thanks @thomasmarshall.
  • #131: Improvements to @stitch directive resolver mappings:
    • Multiple arguments attempt to match by name to the key used.
    • Abstract resolvers may specify a typeName to target specific types with specific keys.

GraphQL v2.3.0 compatibility

06 Apr 02:20
159eafc
Compare
Choose a tag to compare

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.