Skip to content

The Serializer and deprecation removal

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 17 Aug 09:25
· 1258 commits to main since this release
5.0.0-beta.0
448f556
Mark Type Count Packages
Breaking changes 19 *, core, graphql, graphql-printer
Features 4 graphql, graphql-printer, serializer
Performance Improvements 1 graphql
Miscellaneous 3 *, graphql, migrator, testing
Code Refactoring 15 *, core, graphql, graphql-printer

All packages

Miscellaneous

  • Drop symfony/*:<6.3 support (b67103e) ☣

Code Refactoring

Package core

Code Refactoring

  • Translator will not implement Illuminate\Contracts\Translation\Translator (to have stricter typehints) (e63d70d) ☣

Package graphql

Features

  • BuilderInfoProvider::getBuilderInfo() can return null (748b56e) ☣
  • GraphQLAssertions::useGraphQLSchema() will support DocumentAST too (ba97bb2) ☣

Performance Improvements

  • AstManipulator::getDirectives(), AstManipulator::getDirective() (381fce4)

Miscellaneous

  • Minimal version of nuwave/lighthouse set to ^6.5.0 (required for dynamic manipulator directives) (7954646)

Code Refactoring

  • AstManipulator more methods, deprecated methods removal and fixes (9b62997) ☣
  • Deprecated assertions removal (GraphQLAssertions::assertDefaultGraphQLSchemaEquals(), GraphQLAssertions::getGraphQLSchema(), GraphQLAssertions::useDefaultGraphQLSchema(), GraphQLAssertions::getDefaultGraphQLSchema(), GraphQLAssertions::printGraphQLSchema(), GraphQLAssertions::printGraphQLSchemaType(), GraphQLAssertions::printDefaultGraphQLSchema(), GraphQLAssertions::getGraphQLSchemaPrinter(), SchemaBuilderWrapper::default()) (9519a8c) ☣
  • GraphQLAssertions::assertCurrentGraphQLSchemaEquals() => GraphQLAssertions::assertGraphQLSchemaEquals(), GraphQLAssertions::getCurrentGraphQLSchema() => GraphQLAssertions::getGraphQLSchema() (1b0543e) ☣
  • HandlerDirective::getDirectives() removed (not used anymore) (aacd7b1) ☣
  • Removed GraphQLAssertions::assertGraphQLSchemaEquals() (c6b5fba) ☣
  • Removed Operator::getDirectiveName() (not needed/used anymore) (85ecda3) ☣
  • Removed Operator::getFieldDirective() (not needed/used anymore) (83db54a) ☣
  • TypeDefinition::getTypeDefinitionNode() => TypeDefinition::getTypeDefinition() (83fe3f7) ☣
  • WithBuilderInfo::getBuilderInfo() will accept any Node (a4dcdbe) ☣

Package graphql-printer

Features

  • Added Printer::print(), Printer::export(), Printer::getSchema(), Printer::setSchema() (#78, a28167b) ☣

Code Refactoring

  • Dead code removal (TypeUnsupported, LastDragon_ru\LaraASP\GraphQLPrinter\Testing\Package\TestSettings) (67ab470) ☣
  • Deprecate Printer methods removal (Printer::printSchema(), Printer::printSchemaType(), Printer::printType(), Printer::getLevel(), Printer::setLevel()) (#78, 19bc16e) ☣
  • Deprecated assertions removal (GraphQLAssertions::assertGraphQLSchemaEquals(), GraphQLAssertions::assertGraphQLSchemaTypeEquals(), GraphQLAssertions::assertGraphQLTypeEquals(), GraphQLAssertions::assertGraphQLNodeEquals(), GraphQLAssertions::printGraphQLSchema(), GraphQLAssertions::printGraphQLSchemaType(), GraphQLAssertions::printGraphQLType(), GraphQLAssertions::printGraphQLNode(), GraphQLAssertions::getGraphQLSchemaPrinter(), GraphQLExpectedNode, GraphQLExpectedType) (53cf4c2) ☣
  • Removed deprecated GraphQLAssertions::getGraphQLSchema(), GraphQLExpectedSchema (3b27a92) ☣

Package migrator

Miscellaneous

  • Drop doctrine/dbal v2 support (3996086)

Package serializer

Features

Package testing

Miscellaneous

  • Drop doctrine/dbal v2 support (3996086)