Skip to content

Releases: GraphQLSwift/GraphQL

2.4.1 - San Salvador

17 Aug 17:08
17b96ed
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.4.0...2.4.1

2.4.0 - Fairlight

15 Jul 16:17
ebd2ea4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.0...2.4.0

2.3.0 - Synkronized

14 Jul 23:06
3071750
Compare
Choose a tag to compare

This adds support for Swift concurrency by adding new top-level async public APIs and adds a Swift concurrency-based EventStream for subscriptions. This allows clients to use GraphQL subscriptions without coding custom EventStreams, which previously required drivers like GraphQLRxSwift.

Merges: #100

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