Skip to content

Latest commit

 

History

History
193 lines (107 loc) · 4.02 KB

File metadata and controls

193 lines (107 loc) · 4.02 KB

Changelog

Breaking changes & deprecations

New features

Bug fixes

0.10.1 (22 Oct 2015)

Breaking changes & deprecations

New features

Bug fixes

  • Properly merge fields on fragments within fragments
  • Properly delegate enumerable-ish methods on Arguments #56
  • Fix & refactor literal coersion & validation #53

0.10.0 (17 Oct 2015)

Breaking changes & deprecations

New features

  • Scalars can have distinct coerce_input and coerce_result methods #48
  • Operations don't require a name #54

Bug fixes

  • Big refactors and fixes to variables and arguments:
    • Correctly apply argument default values
    • Correctly apply variable default values
    • Raise at execution-time if non-null variables are missing
    • Incoming values are coerced to their proper types before execution

0.9.5 (1 Oct 2015)

Breaking changes & deprecations

New features

  • Add Schema#middleware to wrap field access
  • Add RescueMiddleware to handle errors during field execution
  • Add Schema::Printer for printing the schema definition #45

Bug fixes

0.9.4 (22 Sept 2015)

Breaking changes & deprecations

New features

  • Fields can return GraphQL::ExecutionErrors to add errors to the response

Bug fixes

  • Fix resolution of union types in some queries #41

0.9.3 (15 Sept 2015)

Breaking changes & deprecations

New features

  • Add Schema#execute shorthand for running queries
  • Merge identical fields in fragments so they're only resolved once #34
  • An error during parsing raises GraphQL::ParseError #33

Bug fixes

  • Find nested input types in TypeReducer #35
  • Find variable usages inside fragments during static validation

0.9.2, 0.9.1 (10 Sept 2015)

Breaking changes & deprecations

New features

Bug fixes

  • remove Celluloid dependency

0.9.0 (10 Sept 2015)

Breaking changes & deprecations

0.8.1 (10 Sept 2015)

Breaking changes & deprecations

New features

Bug fixes

0.8.0 (4 Sept 2015)

Breaking changes & deprecations

New features

  • Async field resolution with context.async { ... }
  • Access AST node during resolve with context.ast_node

Bug fixes

  • Fix for validating arguments returning up too soon
  • Raise if you try to define 2 types with the same name
  • Raise if you try to get a type by name but it doesn't exist

0.7.1 (27 Aug 2015)

Breaking changes & deprecations

New features

Bug fixes

  • Merge nested results from different fragments instead of using the latest one only

0.7.0 (26 Aug 2015)

Breaking changes & deprecations

  • Query keyword argument params: was removed, use variables: instead.

New features

Bug fixes

  • @skip has precedence over @include
  • Handle when DEFAULT_RESOVE returns nil

0.6.2 (20 Aug 2015)

Breaking changes & deprecations

New features

Bug fixes

  • Fix whitespace parsing in input objects

0.6.1 (16 Aug 2015)

Breaking changes & deprecations

New features

  • Parse UTF-8 characters & escaped characters

Bug fixes

  • Properly parse empty strings
  • Fix argument / variable compatibility validation

0.6.0 (14 Aug 2015)

Breaking changes & deprecations

  • Deprecate params option to Query#new in favor of variables
  • Deprecated .new { |obj, types, fields, args| } API was removed (use .define)

New features

  • Query#new accepts operation_name argument
  • InterfaceType and UnionType accept resolve_type configs

Bug fixes

  • Gracefully handle blank-string & whitespace-only queries
  • Handle lists in variable definitions and arguments
  • Handle non-null input types

0.5.0 (12 Aug 2015)

Breaking changes & deprecations

  • Deprecate definition API that yielded a bunch of helpers #18

New features

  • Add new definition API #18

Bug fixes