graphql-php

PHP implementation of the GraphQL specification based on the reference implementation in JavaScript

MIT License

Downloads
51.8M
Stars
4.6K
Committers
136

Bot releases are hidden (Show)

graphql-php - v14.11.6

Published by spawnia over 2 years ago

Fixed

  • Fix validation of modified sparse ASTs
graphql-php - v14.11.5

Published by spawnia over 2 years ago

Fixed

  • Fix extend() to preserve repeatable (#931)
graphql-php - v14.11.4

Published by spawnia over 2 years ago

Fixed

  • Fix repeatable directive validation for AST
graphql-php - v14.11.3

Published by spawnia almost 3 years ago

Fixed

  • Fix compatibility of more methods with native return type in PHP 8.1
graphql-php - v14.11.2

Published by spawnia almost 3 years ago

Fixed

  • Support non-JSON ServerRequestInterface
graphql-php - v14.11.1

Published by spawnia almost 3 years ago

Fixed

  • Fix compatibility of methods with native return type in PHP 8.1
graphql-php - v14.11.0

Published by spawnia almost 3 years ago

Feat:

  • Allow field definitions to be defined as any iterable, not just array
graphql-php - v14.10.0

Published by spawnia almost 3 years ago

Feat:

  • Make IntType constants MAX_INT and MIN_INT public
graphql-php - v14.9.0

Published by spawnia over 3 years ago

Feat:

  • Add support for type config decorator in SchemaExtender
graphql-php - v14.8.0

Published by spawnia over 3 years ago

Feat:

  • Implement GraphQL\Utils\AST::getOperationAST()
graphql-php - v14.7.0

Published by spawnia over 3 years ago

Feat:

  • Allow providing field definitions as a callable and resolve them lazily
graphql-php - v14.6.4

Published by spawnia over 3 years ago

Fix:

  • Avoid crashing in QueryPlan when __typename is used in the query
graphql-php - v14.6.3

Published by spawnia over 3 years ago

Refactoring:

  • Improve performance of subtype checks
graphql-php - v14.6.2

Published by spawnia over 3 years ago

Fix:

  • Fix overly eager validation of repeatable directive usage
graphql-php - v14.6.1

Published by spawnia over 3 years ago

Fix:

  • Add fallback for directive.isRepeatable in BuildClientSchema
graphql-php - v14.6.0

Published by spawnia over 3 years ago

Feat:

  • Open ReferenceExecutor for extending
graphql-php - v14.5.1

Published by spawnia over 3 years ago

Fix:

  • Fix Input Object field shortcut definition with callable (#773)
graphql-php - v14.5.0

Published by vladar over 3 years ago

Feat:

  • Implement support for interfaces implementing interfaces (#740), huge kudos to @Kingdutch

Deprecates:

  • Constant BreakingChangeFinder::BREAKING_CHANGE_INTERFACE_REMOVED_FROM_OBJECT.
    Use BreakingChangeFinder::BREAKING_CHANGE_IMPLEMENTED_INTERFACE_REMOVED instead.
    Constant value also changed from INTERFACE_REMOVED_FROM_OBJECT to IMPLEMENTED_INTERFACE_REMOVED.

  • Constant BreakingChangeFinder::DANGEROUS_CHANGE_INTERFACE_ADDED_TO_OBJECT
    Use DANGEROUS_CHANGE_IMPLEMENTED_INTERFACE_ADDED instead.
    Constant value also changed from INTERFACE_ADDED_TO_OBJECT to IMPLEMENTED_INTERFACE_ADDED.

Refactoring:

  • Reify AST node types and remove unneeded nullability (#751)
graphql-php - v14.4.1

Published by vladar over 3 years ago

Fix:

  • Allow pushing nodes to NodeList via []= (#767)
  • Fix signature of Error\FormattedError::prepareFormatter() to address PHP8 deprecation (#742)
  • Do not add errors key to result when errors discarded by custom error handler (#766)
graphql-php - v14.4.0

Published by vladar almost 4 years ago

  • Fixed SchemaPrinter so that it uses late static bindings when extended (#747)
  • Parse DirectiveDefinitionNode->locations as NodeList<NamedNode> (fixes AST::fromArray conversion) (#723)
  • Parse Parser::implementsInterfaces as NodeList<NamedTypeNode> (fixes AST::fromArray conversion)
  • Fix signature of Parser::unionMemberTypes to match actual NodeList<NamedTypeNode>
Package Rankings
Top 0.12% on Packagist.org
Top 6.72% on Proxy.golang.org
Badges
Extracted from project README
CI Coverage Status Latest Stable Version