Skip to content

Lighthouse v6 support 🤡

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Apr 09:21
4.0.0
4c298a1
☣ Breaking changes

Lighthouse v5 and Laravel v8 is not supported anymore, if you need it please use the previous version. If you use published config for graphql package, you need to remove enums section from it.

Features

  • Laravel v8 is not supported anymore. (#61, 8721b8f) ☣
  • Removed deprecated custom Enum implementation, please use native PHP enums instead (ee17557) ☣
  • graphql: TypeDefinition::getTypeDefinitionNode() can also return GraphQL\Type\Definition\Type&GraphQL\Type\Definition\NamedType (03e39ed) ☣
  • graphql: Available operators can be defined inside schema (#28, #63, 5da6ba5) ☣
  • graphql: Better detection of Builder type (c3ffa70)
  • graphql: Interfaces can be used as type for @searchBy/@sortBy (#62, 43234b5) ☣
  • graphql-printer: Directives added via extend will be printed too (6257da1)
  • graphql-printer, graphql: Switched to webonyx/graphql-php:^15.2.4 and nuwave/lighthouse:^6.0.0 (bd30fb0) ☣

Bug Fixes

  • graphql: InputObject::isFieldConvertable() will return false for fields with arguments (6a50ea3)

Code Refactoring

  • core: Removed deprecated ProviderWithCommands (10d6506) ☣
  • graphql: Operator::isBuilderSupported() will accept class-string instead of object (5d8f71d) ☣