graphql-php

PHP implementation of the GraphQL specification based on the reference implementation in JavaScript

MIT License

Downloads
51.8M
Stars
4.6K
Committers
136

Bot releases are visible (Hide)

graphql-php - v0.9.9

Published by vladar over 7 years ago

  • Bugfix: throw UserError vs InvariantViolationError for errors caused by client (see #123)
graphql-php - v0.9.8

Published by vladar over 7 years ago

  • Bugfix: use directives when calculating query complexity (see #113)
  • Bugfix: AST\Node::__toString() will convert node to array recursively to encode to json without errors
graphql-php - v0.9.7

Published by vladar over 7 years ago

  • Bugfix: ResolveInfo::getFieldSelection() now correctly merges fragment selections (see #98)
graphql-php - v0.9.6

Published by vladar over 7 years ago

  • Bugfix: ResolveInfo::getFieldSelection() now respects inline fragments
graphql-php - v0.9.5

Published by vladar over 7 years ago

  • Fixed SyncPromiseAdapter::all() to not change the order of arrays (see #92)
graphql-php - v0.9.4

Published by vladar over 7 years ago

  • Tools to help building schema out of Schema definition language as well as printing existing schema in Schema definition language (see #91)
graphql-php - v0.9.3

Published by vladar over 7 years ago

  • Fixed Utils::assign() bug related to detecting missing required keys (see #89)
graphql-php - v0.9.2

Published by vladar over 7 years ago

  • Schema Definition Language: element descriptions can be set through comments (see #88)
graphql-php - v0.9.1

Published by vladar over 7 years ago

  • Fixed: GraphQL\Server now properly sets promise adapter before executing query
graphql-php - v0.9.0

Published by vladar almost 8 years ago

  • Deferred resolvers (see #66)
  • New Facade class with fluid interface: GraphQL\Server (see #82)
  • Experimental: ability to load types in Schema lazily via custom TypeResolutionStrategy (see #69)
graphql-php - v0.8.0

Published by vladar almost 8 years ago

This release brings several minor breaking changes. Please refer to UPGRADE document for details.

Changelog:

  • Support for null value (as required by latest GraphQL spec)
  • Shorthand definitions for field and argument types (#47)
  • path entry in errors produced by resolvers for better debugging
  • resolveType for interface/union is now allowed to return string name of type
  • Ability to omit name when extending type class (vs defining inline)
  • Spec compliance improvements
  • New docs and examples
graphql-php - v0.7.2

Published by vladar about 8 years ago

  • Fixed introspection query error with deprecated directive fields (#51). This error only affected users wih old js clients.
graphql-php - v0.7.1

Published by vladar about 8 years ago

  • Fixed "Fatal Error after last commit" #49
  • Fixed PHP notice for deprecated schema constructors
  • Improved UPGRADE docs
graphql-php - v0.7.0

Published by vladar about 8 years ago

This release corresponds to graphql April 2016 spec updates. It brings several minor breaking changes. Please refer to UPGRADE document for details.

Note:
This release has fatal error in non-dev environment (see #49), so it is not recommended for use. Use v0.7.1+

graphql-php - v0.6.4

Published by mcg-web over 8 years ago

  • Removed memoization on executor resolveField (see #43)
graphql-php - v0.6.3

Published by vladar over 8 years ago

  • Fixed ResolveInfo::getFieldSelection() when using multiple fragments #39
graphql-php - v0.6.2

Published by vladar over 8 years ago

Added ExecutionResult $extensions to follow https://facebook.github.io/graphql/#sec-Response-Format (see #37)

graphql-php - v0.6.1

Published by vladar over 8 years ago

  • Optimized implementation to interfaces using lazy loader.
  • Union types now accepting callback
graphql-php - v0.6.0

Published by vladar over 8 years ago

  • Complexity and Depth Query Security
  • Add accessors to ease rules management
  • Replace self by static on public methods to help extending DocumentValidator class
  • Use PSR-4 Autoloader
graphql-php - v0.5.9

Published by vladar over 8 years ago

#30 Fixed recursion bug in ResolveInfo::getFieldSelection()

Package Rankings
Top 0.12% on Packagist.org
Top 6.72% on Proxy.golang.org
Badges
Extracted from project README
CI Coverage Status Latest Stable Version