Skip to content

Releases: webonyx/graphql-php

v14.6.3

10 May 15:31
Compare
Choose a tag to compare

Refactoring:

  • Improve performance of subtype checks

v14.6.2

23 Apr 09:27
bcbb692
Compare
Choose a tag to compare

Fix:

  • Fix overly eager validation of repeatable directive usage

v14.6.1

29 Mar 15:05
cb54f64
Compare
Choose a tag to compare

Fix:

  • Add fallback for directive.isRepeatable in BuildClientSchema

v14.6.0

29 Mar 11:46
fe227f1
Compare
Choose a tag to compare

Feat:

  • Open ReferenceExecutor for extending

v14.5.1

05 Feb 10:52
3af8b92
Compare
Choose a tag to compare

Fix:

  • Fix Input Object field shortcut definition with callable (#773)

v14.5.0

23 Jan 12:54
Compare
Choose a tag to compare

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)

v14.4.1

23 Jan 09:56
Compare
Choose a tag to compare

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)

v14.4.0

03 Dec 16:07
Compare
Choose a tag to compare
  • 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>

v14.3.0

23 Aug 11:53
Compare
Choose a tag to compare

New:

  • Allow typeLoader to return a type thunk (#687)

Fix:

  • Read getParsedBody() instead of getBody() when Request is ServerRequest (#715)
  • Fix default get/set behavior on InputObjectField and FieldDefinition (#716)

v14.2.0

14 Aug 08:55
Compare
Choose a tag to compare

Deprecates:

  • Public access to FieldDefinition::$type property (#702)

Fixes:

  • Fix validation for input field definition directives (#714)