Skip to content

Releases: php-graphql/type-system-contracts

15.5.0

23 Apr 10:53
6a2f4b5
Compare
Choose a tag to compare

Upgrade to GraphQL JS Specification (v15.5)

  • Added InterfacesAwareInterface into InterfaceTypeInterface
    • Added method InterfaceTypeInterface::getInterface(string): ?InterfaceTypeInterface
    • Added method InterfaceTypeInterface::hasInterface(string): bool
    • Added method InterfaceTypeInterface::getInterfaces(): iterable<string, InterfaceTypeInterface>
  • Added specifiedByUrl(): ?string method into ScalarTypeInterface (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 into SchemaInterface
    • Added method SchemaInterface::getDescription(): ?string
  • Added DeprecationAwareInterface into ArgumentInterface
    • Added method ArgumentInterface::getDeprecationReason(): ?string
  • Added DeprecationAwareInterface into InputFieldInterface
    • Added method InputFieldInterface::getDeprecationReason(): ?string

Other Improvements

  • vimeo/psalm dependecy has been actualized
  • sensiolabs/security-checker dependency has been replaced to roave/security-advisories

14.0.0

11 Nov 11:42
c221958
Compare
Choose a tag to compare
14.0.0 Pre-release
Pre-release

A set of type system interfaces that correspond to the reference GraphQL JS 14.0 implementation