Skip to content

Releases: webonyx/graphql-php

v0.13.0

27 Nov 10:44

Choose a tag to compare

This release brings several breaking changes. Please refer to the UPGRADE document for details.

New features and notable changes:

  • PHP version required: 7.1+
  • Spec compliance: error category and extensions are displayed under extensions key when using default formatting (#389)
  • New experimental executor with improved performance (#314).
    It is a one-line switch: GraphQL::useExperimentalExecutor(). Please try it and post your feedback in #397 (as it may become the default one in future)
  • Ported extendSchema from the reference implementation under GraphQL\Utils\SchemaExtender (#362)
  • Added ability to override standard types via GraphQL::overrideStandardTypes(array $types) (#401)
  • Added flag Debug::RETHROW_UNSAFE_EXCEPTIONS which would only rethrow app-specific exceptions (#337)
  • Several classes were renamed (see UPGRADE.md)
  • Schema Validation improvements

v0.12.6

02 Sep 15:04

Choose a tag to compare

  • Bugfix: Call to a member function getLocation() on null (#336)
  • Fixed several errors discovered by static analysis (#329)

v0.12.5

03 Aug 14:08

Choose a tag to compare

  • Execution performance optimization for lists

v0.12.4

07 Jul 21:46

Choose a tag to compare

  • Allow stringeable objects to be serialized by StringType (#303)

v0.12.3

07 Jul 15:49

Choose a tag to compare

  • StandardServer: add support for the multipart/form-data content type (#300)

v0.12.2

25 Jun 17:00

Choose a tag to compare

  • SchemaPrinter: Use multi-line block for trailing quote (#294)

v0.12.1

23 Jun 04:40
89369fd

Choose a tag to compare

  • Fixed bug in validation rule OverlappingFieldsCanBeMerged (#292)
  • Added one more breaking change note in UPGRADE.md (#291)
  • Spec compliance: remove data entry from response on top-level error (#281)

v0.12.0

27 May 12:44

Choose a tag to compare

  • RFC: Block String (multi-line strings via triple-quote """string""")
  • GraphQL Schema SDL: Descriptions as strings (including multi-line)
  • Changed minimum required PHP version to 5.6

Improvements:

  • Allow extending GraphQL errors with additional properties
  • Fixed parsing of default values in Schema SDL
  • Handling several more cases in findBreakingChanges
  • StandardServer: expect operationName (instead of operation) in input

Big thanks to @danez for contributions in this release.

v0.11.6

17 Apr 10:49

Choose a tag to compare

  • Switched to MIT License
  • Restored noLocation option for parser
  • Several minor bugfixes and improvements

v0.11.5

12 Dec 09:04

Choose a tag to compare

  • Allow objects with __toString in IDType (see #210)