Skip to content

More `SchemaPrinter` improvements and fixes 🤗

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Jul 07:32
4.5.0
a172627

Deprecations

  • graphql: GraphQLAssertions::assertDefaultGraphQLSchemaEquals(), GraphQLAssertions::assertGraphQLSchemaEquals(), GraphQLAssertions::printDefaultGraphQLSchema() (596416a)
  • graphql: GraphQLAssertions::getGraphQLSchema() (1c73db1)
  • graphql: GraphQLAssertions::useDefaultGraphQLSchema(), SchemaBuilderWrapper::default() (10722ce)
  • graphql-printer: GraphQLAssertions::assertGraphQLSchemaEquals(), GraphQLAssertions::assertGraphQLSchemaTypeEquals(), GraphQLAssertions::assertGraphQLTypeEquals(), GraphQLAssertions::assertGraphQLNodeEquals(), GraphQLAssertions::printGraphQLSchema(), GraphQLAssertions::printGraphQLSchemaType(), GraphQLAssertions::printGraphQLNode(), GraphQLAssertions::getGraphQLSchemaPrinter(), GraphQLExpectedNode, GraphQLExpectedSchema, GraphQLExpectedType (#78, 107b77c)
  • graphql-printer: GraphQLAssertions::getGraphQLSchema() (f14e1c6)
  • graphql-printer: LastDragon_ru\LaraASP\GraphQLPrinter\Testing\Package\TestSettings (5dc69a9)

Features

  • graphql-printer: DefaultSettings will print all directives (2fd774c)
  • graphql-printer: Added Printer::print() and Printer::export() (#78, bc1c8d1)
  • graphql-printer: New assertion GraphQLAssertions::assertGraphQLNodeEquals() (0df00fc)
  • graphql-printer: New assertions: GraphQLAssertions::assertGraphQLPrintableEquals() and GraphQLAssertions::assertGraphQLExportableEquals() (22a5007)

Bug Fixes

  • graphql-printer: Printer::printType() and Printer::printNode() will not contain EOF (fa1d831)