Releases · webonyx/graphql-php
v15.31.4
Changed
- Prioritize count error over null error in
@oneOfcoercion #1891
v15.31.3
Fixed
- Apply per-schema built-in scalar overrides without
assertValid()#1886
v15.31.2
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
typesconfig ortypeLoader, without global side effects #1869 - Add
Type::builtInScalars()andType::BUILT_IN_SCALAR_NAMESaligning with GraphQL spec terminology #1869 - Add
Directive::builtInDirectives()andDirective::isBuiltInDirective()aligning with GraphQL spec terminology #1869
Deprecated
- Deprecate
Type::overrideStandardTypes()in favor of per-schema scalar overrides #1869 - Deprecate
Type::getStandardTypes()in favor ofType::builtInScalars()#1869 - Deprecate
Type::STANDARD_TYPE_NAMESin favor ofType::BUILT_IN_SCALAR_NAMES#1869 - Deprecate
Directive::getInternalDirectives()in favor ofDirective::builtInDirectives()#1869 - Deprecate
Directive::isSpecifiedDirective()in favor ofDirective::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_arrayandinstanceofchecks #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
$resultinReferenceExecutor#1780