Skip to content

Releases: GraphQLSwift/GraphQL

2.2.1 - Avalanche Mountain

03 Feb 16:46
283cc4d
Compare
Choose a tag to compare

Adds a GraphQLRequest type

Merges: #97

2.2.0 - Chameleon Chords

02 Feb 17:05
151c2f1
Compare
Choose a tag to compare

If you encode a GraphQLResult with an ordinary JSONEncoder, there are no guarantees that the field order will match the query, violating the GraphQL spec.

This adds a GraphQLJSONEncoder type that a client can use to ensure that order is preserved when a Map is encoded. It is exactly the same as Foundation's JSONEncoder, but uses OrderedDictionary everywhere Dictionary was used.

Merges: #94

2.1.2 - Palm Tree

28 Oct 00:03
588b7b4
Compare
Choose a tag to compare

This release bumps the swift-collections dependency to 1.0.0

2.1.1 - Red Raven

03 Oct 23:42
e383f79
Compare
Choose a tag to compare

This release adds a fix to differentiate explicit nulls from unprovided values in object variables and non-object arguments. It also fixes a bug with pre-validating argument inputs against their type. Finally, it adjusts Void() calls to () to support recent development toolchains.

Merges:

2.1.0 - Hercules

21 Sep 23:14
834e2cf
Compare
Choose a tag to compare

Adds support to differentiate between explicitly providing the literal value null and implicitly not providing a value at all within input objects, as described in the spec here and here.

2.0.0 - Magnificent Ram

17 Jun 16:36
e5de315
Compare
Choose a tag to compare

Fields in GraphQL responses now match the order in which they were listed in the query. This fixes #60. A dependency on Swift Collections was added.

While the changes are modest, it is marked as a major release because it changes the return type of the public executeFields method and public Map enum to be OrderedDictionary instead of Dictionary.

1.4.0 - Belfast

05 Jun 16:53
58788b8
Compare
Choose a tag to compare
  • Removed Runtime dependency and use Mirror for reflection calls
  • Fixed asserting when an object implements an interface with required field arguments
  • Added support for parsing null value literals

1.3.0 - Fly by Wire

12 May 17:24
7aa6430
Compare
Choose a tag to compare

Merge pull request #78 from NeedleInAJayStack/fix/recursiveInputs

1.2.1 - Coffee Beans

12 May 16:59
82081d1
Compare
Choose a tag to compare

1.2.0 - Marshall Royalties

05 Apr 22:24
abf41c2
Compare
Choose a tag to compare
Merge pull request #77 from NeedleInAJayStack/subscription