Skip to content

v3.1.0

Choose a tag to compare

@exogen exogen released this 19 Oct 08:07
· 58 commits to master since this release

Changed

  • When a schema document passed to renderSchema() does not have a query type, objects, enums, scalars, or interfaces, the respective section is excluded from the output (instead of printing an empty section).

Added

  • A new diffSchema() function for obtaining only the added and updated types and fields between two schemas.
  • The programmatic Node API is now documented in the README.
  • A new renderSchema option unknownTypeURL was added. If a type name is being rendered and the type isn't in this schema for whatever reason (maybe it's rendering the result of diffSchema()), this is a fallback option to potentially point to another document containing the type.