Skip to content

Releases: webonyx/graphql-php

v15.31.4

02 Apr 07:31

Choose a tag to compare

Changed

  • Prioritize count error over null error in @oneOf coercion #1891

v15.31.3

29 Mar 18:22

Choose a tag to compare

Fixed

  • Apply per-schema built-in scalar overrides without assertValid() #1886

v15.31.2

23 Mar 07:33

Choose a tag to compare

Changed

  • Exclusively support types for per-schema built-in scalar overrides, not typeLoader #1884

Fixed

  • Fix parseLiteral not called on per-schema built-in scalar overrides for inline arguments #1880

v15.31.1

16 Mar 15:32

Choose a tag to compare

Fixed

  • Fix variable validation and input coercion for per-schema scalar overrides #1876

v15.31.0

14 Mar 18:44
ef79ce1

Choose a tag to compare

Added

  • Support per-schema scalar overrides via types config or typeLoader, without global side effects #1869
  • Add Type::builtInScalars() and Type::BUILT_IN_SCALAR_NAMES aligning with GraphQL spec terminology #1869
  • Add Directive::builtInDirectives() and Directive::isBuiltInDirective() aligning with GraphQL spec terminology #1869

Deprecated

  • Deprecate Type::overrideStandardTypes() in favor of per-schema scalar overrides #1869
  • Deprecate Type::getStandardTypes() in favor of Type::builtInScalars() #1869
  • Deprecate Type::STANDARD_TYPE_NAMES in favor of Type::BUILT_IN_SCALAR_NAMES #1869
  • Deprecate Directive::getInternalDirectives() in favor of Directive::builtInDirectives() #1869
  • Deprecate Directive::isSpecifiedDirective() in favor of Directive::isBuiltInDirective() #1869

v15.30.2

05 Feb 16:04

Choose a tag to compare

Fixed

  • Use PHP 7.4 compatible syntax in attribute classes #1847

v15.30.1

29 Jan 15:14

Choose a tag to compare

Changed

  • Improve performance 6% by lessening is_array and instanceof checks #1845

v15.30.0

20 Jan 07:11

Choose a tag to compare

Added

  • Add support for adding description to schema #1834

v15.29.4

05 Jan 16:07

Choose a tag to compare

Fixed

  • Fix query complexity for fragments defined after operations #1826

v15.29.3

29 Dec 13:49

Choose a tag to compare

Changed

  • Remove pass-by-reference for $result in ReferenceExecutor #1780