Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Releases: graphql-elixir/graphql

0.3.2

09 Sep 04:49
Compare
Choose a tag to compare
  • 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

10 Jun 00:39
Compare
Choose a tag to compare

Bugfixes

  • Fix introspection to include Input types when input types are arguments to fields.

0.3.0

30 May 01:07
Compare
Choose a tag to compare
  • Enhancements
    • Directive support (@Skip and @include)
    • Validations now run on queries
      • Rule: Fields on correct type
      • Rule: No fragment cycles
      • Rule: Validate mandatory arguments
      • Rule: Unique operation names
  • 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
  • Note: the execute/5 signature will be changed to the execute_with_opts/3
    in a future version

0.2.0

19 Mar 02:09
Compare
Choose a tag to compare
  • 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

23 Jan 14:40
Compare
Choose a tag to compare
  • 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 in variables use string keyed maps rather than atoms because they are never cleaned up leading to potential DoS on user input

v0.1.0

23 Jan 14:08
Compare
Choose a tag to compare
  • 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 than of_type for now. This is for GraphiQL support but will fix this so it's snake case and munged automatically

v0.0.7

10 Dec 19:40
Compare
Choose a tag to compare
v0.0.7 Pre-release
Pre-release

Support {module, fun, args} style of resolve function

v0.0.6

02 Dec 22:46
Compare
Choose a tag to compare
v0.0.6 Pre-release
Pre-release
  • Improved query execution following the JS reference implementation
  • Better module layout

v0.0.5

02 Dec 22:47
Compare
Choose a tag to compare
v0.0.5 Pre-release
Pre-release
  • Improved docs
  • Refactored mix.exs