Releases: php-graphql/type-system-contracts
Releases · php-graphql/type-system-contracts
15.5.0
Upgrade to GraphQL JS Specification (v15.5)
- Added
InterfacesAwareInterface
intoInterfaceTypeInterface
- Added method
InterfaceTypeInterface::getInterface(string): ?InterfaceTypeInterface
- Added method
InterfaceTypeInterface::hasInterface(string): bool
- Added method
InterfaceTypeInterface::getInterfaces(): iterable<string, InterfaceTypeInterface>
- Added method
- Added
specifiedByUrl(): ?string
method intoScalarTypeInterface
(see graphql/graphql-spec#635) - Method
DeprecationAwareInterface::isDeprecated()
marked as deprecated (will be removed in 16.*) - Method
SchemaInterface::isPossibleType(AbstractTypeInterface, ObjectTypeInterface): bool
marked as deprecated (will be removed in 16.*) - Added
SchemaInterface::isSubType(AbstractTypeInterface, ObjectTypeInterface|InterfaceTypeInterface): bool
method - Added
SchemaInterface::getImplementations(InterfaceTypeInterface): iterable<ObjectTypeInterface|InterfaceTypeInterface>
method - Added
DescriptionAwareInterface
intoSchemaInterface
- Added method
SchemaInterface::getDescription(): ?string
- Added method
- Added
DeprecationAwareInterface
intoArgumentInterface
- Added method
ArgumentInterface::getDeprecationReason(): ?string
- Added method
- Added
DeprecationAwareInterface
intoInputFieldInterface
- Added method
InputFieldInterface::getDeprecationReason(): ?string
- Added method
Other Improvements
vimeo/psalm
dependecy has been actualizedsensiolabs/security-checker
dependency has been replaced toroave/security-advisories
14.0.0
A set of type system interfaces that correspond to the reference GraphQL JS 14.0 implementation