Skip to content

v0.13.0

Compare
Choose a tag to compare
@leebyron leebyron released this 07 Feb 19:11
· 1634 commits to 16.x.x since this release

Breaking:

  • Updated to latest spec for SDL for multiple interface implementations (#1169)

    To continue to support the pre-spec variation, use parse(text, {allowLegacySDLImplementsInterfaces: true})

  • Internal module 'graphql/language/kinds' no longer directly exports enum values #1221

    Not that you were relying on internal modules, were you :)

New:

  • getDescription helper function is now exported (#1165)
  • Allows parsing pre-spec object type SDL with parse(text, {allowLegacySDLEmptyFields: true}) (#1171)
  • Add introspectionFromSchema utility function (#1187)
  • Add lexicographicSortSchema utility function (#1208) (#1220)
  • Allow use of legacy names during schema validation with {allowedLegacyNames: ['__badName']} (#1194)

Fixed:

  • Only trigger "one instance of graphql" error in DEV environments, removing false errors from minified bundles. (#1174)
  • Fix 'astFromValue' to correctly handle integers and strings (#1181)
  • Fix getTypeMap() not including input types used in directives (#1189)
  • Support executeSync with mutations. (#1198)
  • Fix block string printing edge cases (#1190, #1212)
  • Fix SourceLocation incorrect export causing rollup bundling to fail (#1210)
  • Preserve allowedLegacyNames when using extendSchema (#1226) (added since v0.13.0-rc.1)