Releases: GraphQLSwift/GraphQL
2.4.1 - San Salvador
What's Changed
- Add working Linux tests by @adam-fowler in #81
- Adds usage guide in readme by @NeedleInAJayStack in #103
- Adds security and conduct details for sswg by @NeedleInAJayStack in #104
- Code safety improvements by @NeedleInAJayStack in #105
Full Changelog: 2.4.0...2.4.1
2.4.0 - Fairlight
What's Changed
- Fixing issues with ConcurrentEventStream from #101 by @d-exclaimation in #102
- Making validate with validation rules public by @d-exclaimation in #99
New Contributors
- @d-exclaimation made their first contribution in #102
Full Changelog: 2.3.0...2.4.0
2.3.0 - Synkronized
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
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