Releases: GraphQLSwift/GraphQL
2.2.1 - Avalanche Mountain
Adds a GraphQLRequest type
Merges: #97
2.2.0 - Chameleon Chords
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
This release bumps the swift-collections
dependency to 1.0.0
2.1.1 - Red Raven
2.1.0 - Hercules
2.0.0 - Magnificent Ram
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
- Removed
Runtime
dependency and useMirror
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
Merge pull request #78 from NeedleInAJayStack/fix/recursiveInputs
1.2.1 - Coffee Beans
Fix issue #79
1.2.0 - Marshall Royalties
Merge pull request #77 from NeedleInAJayStack/subscription