Releases · webonyx/graphql-php

v15.31.4

Changed

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

v15.31.3

Fixed

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

v15.31.2

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

Fixed

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

v15.31.0

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

Fixed

  • Use PHP 7.4 compatible syntax in attribute classes #1847

v15.30.1

Changed

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

v15.30.0

Added

  • Add support for adding description to schema #1834

v15.29.4

Fixed

  • Fix query complexity for fragments defined after operations #1826

v15.29.3

Changed

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