This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
Releases: graphql-elixir/graphql
Releases · graphql-elixir/graphql
0.3.2
- Enhancements
- Future support for deferred resolvers
- GraphQL IDL compiler
- Bugfixes
- Validate operation name matches an operation
- Resolve no longer fails when it cannot find a matching function
- Fix 1.3 warnings
Thanks @freshtonic, @aweiker and @seanabrahams for contributing!
0.3.1
Bugfixes
- Fix introspection to include Input types when input types are arguments to fields.
0.3.0
- Enhancements
- Bugfixes
- Allow default values to get assigned correctly when a query defines
an enum variable with a default - Query can take an optional Enum argument and correctly fall back if
that value is not specified
- Allow default values to get assigned correctly when a query defines
- Note: the
execute/5
signature will be changed to theexecute_with_opts/3
in a future version
0.2.0
- Enhancements
- Interface, Union and Input type support
- Types can be referenced in schemas using modules or atoms
- Require Elixir 1.2 and above
- Bugfixes
- Resolve now accepts a map with string keys
- Duplicate field definitions handled correctly (required for Relay support)
v0.1.1
- Add a JSON type for database fields which contain arbitrary JSON data
- Fixed bug where error messages might be duplicated
Breaking changes:
execute
and passed invariables
use string keyed maps rather than atoms because they are never cleaned up leading to potential DoS on user input
v0.1.0
- Types supported
- GraphiQL support now available in
plug_graphql
using introspection
Breaking changes:
- Use
%String{}
,%Int{}
, etc for types in schemas rather than plain strings - Use
ofType
rather thanof_type
for now. This is for GraphiQL support but will fix this so it's snake case and munged automatically