Skip to content

v0.10.0

Compare
Choose a tag to compare
@wincent wincent released this 25 May 21:34
· 1981 commits to 16.x.x since this release

New

  • isValidValue() and isValidLiteral() added to Scalar and enum types (#861).
  • You can now set a custom default field resolver (#865).
  • graphql() may now take a Source object, in addition to the existing support for string (#866).
  • graphql() may now take an object with named parameters (#867).
  • Partial support for GraphQL subscriptions (#846, #868) (Not yet ready for production use).

Breaking

  • Spec compliance: forbid duplicate type definitions (#744).
  • Spec compliance: disallow inappropriate coercion of non-Int values to Int (#837).

Fixes

  • Ensure GraphQLError stack trace includes error message (#718).
  • Fix input coercion to allow null-valued Enums as arguments (#848).
  • Fix for fields that are JavaScript keywords (#864).
  • Compatibility with Flow v0.47.0 (#878).