Skip to content

v0.11.0

Compare
Choose a tag to compare
@wincent wincent released this 25 Aug 20:26
· 1858 commits to 16.x.x since this release

Breaking

  • The subscribe() function now returns a Promise of either an AsyncIterator or ExecutionResult to better distinguish between initialization errors and publish errors; previously it just returned an AsyncIterator (#918).

Spec compliance

  • Passing an array in place of a String input throws an error instead of silently coercing (#925).

Fixes

  • Directive descriptions are preserved through calls to extendSchema() (#961).

Changes

  • The ExecutionArgs type is now exported (#988).
  • Adding a type to a union or a value to an enum are now reported as "dangerous" changes (#991).