NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #2017 most downloaded on Packagist
This bundle provides tools to build a GraphQL server in your Symfony App.
Latest stable
v1.10.0
Last release 7 months ago
13 Apr 2026
Release timing varies
gaps range from 8 days to 8 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
112 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
[Security]Fix field access seemingly random behavior, data leaked to unauthorized users (#387, #389)
Fix (#385) generated type class loader
Add config option to disable introspection query
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Wrapped complex expressions inside parenthesis to enforce operator priority
Apply patch to remove Symfony 4.1 deprecation message
Fix #354 argument wrapper with access
Make the projet a little more Symfony 4.1 ready
webonyx/graphql-php 0.12 (#335)bug #297 Fix FluentResolver when tagging two services with same class name
bug #297 Fix FluentResolver when tagging two services with same class name
Move GraphIQL to dedicated bundle (#225, #251)
Thanks again to contributors (@renatomefi, @Kocal, @ruudk, @mcg-web, @casskir and @tristanbes)
[Security]Fix field access seemingly random behavior, data leaked to unauthorized users (#387, #389)
Wrapped complex expressions inside parenthesis to enforce operator priority
Fixed #301 compile cache warmup on initialization with Symfony 4+
Fix debug:graphql command when auto discovers types
debug:graphql command when auto discovers typesuse ParserInterface in GraphController constructor instead of parser classes
Move Aliased to dedicated compiler pass
Add inheritance exception mapping option
RequestExecutor lazily (#212)Add inheritance exception mapping option
Documentation (#227, #229, #231)
Refactor Commands to be services
RequestExecutor lazily (#212)[Security]Fix field access seemingly random behavior, data leaked to unauthorized users (#387, #389)
Fix debug:graphql command when auto discovers types
debug:graphql command when auto discovers typesFix some weird behaviors when parsing empty config files
cast to array the result of parsing yml and xml.
Protect against duplicate mapping file
Remove autowiring deprecation warning
Optimize types config files auto discover configuration
webonyx/graphql-php#v0.10Replace Symfony MapClassLoader for Composer ClassLoader on TypeGenerator
symfony/class-loader dependency is now explicit
Use Schema TypeLoader / Lazy resolver solution loader
Add some alias to expression language functions
webonyx/graphql-php#v0.10Support environment variables for max depth and query complexity
Allows env vars for security query sections
Replaced hard-coding absolute path by __DIR__
__DIR__ (#168)Add GraphQL native UserError to white list
InvariantViolation from white list because this could lead to security issues (see here)Fix error handler to white list GraphQL\Error\InvariantViolation
GraphQL\Error\InvariantViolation (#157)Add builder classes as container resources
Remove sf Toolbar updates when using GraphiQL
Remove expression language parser deprecation message for sf >= 3.2
Fix request with empty variables json string
graphql:dump-schema command (#119, #126 )Changed deprecation deadline (builder rename and field builder short syntax)
Fixed the bug while using resolveField (see #109).
ResolveField is set as fields default resolver if not set then remove resolveField to keep "access" feature (using configuration).
Removed some promise useless generated code
Changed deprecation deadline (builder rename and field builder short syntax)
# v0.7.0 (2017-02-08) ## TODO
Used log level to differentiate UserError from UserWarning
No empty body accepted for json request parser
Thank you to @adri for the contribution
Thank you to @adri for the contribution (#64)
When writing resolvers for mutations or queries I often convert exceptions from the business layer into errors or warnings visible to the GraphQL API user. A mutation resolver can look like this:
public function someMutation($someId)
{
try {
// do something
} catch (SomethingWentWrong $e) {
throw new UserError($e->getMessage());
} catch (AnotherError $e) {
throw new UserError($e->getMessage());
} catch (ShouldNotHappen $e) {
throw new UserError($e->getMessage());
} catch (\InvalidArgumentException $e) {
throw new UserError($e->getMessage());
}
}
Doing this manually for all mutations adds some bloat. This is the same for REST APIs which is why FOSRestBundle added the exception configuration.
fix some deprecated error "PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_Test…
#54:
GraphiQL (#59):
Deprecated field and args builder like a service
# v0.3.0 (2016-04-20) - Fix mutation access control - Locked webonyx/graphql 0.6.0 - ...
# v0.2.0 (2016-04-10) ## TODO
Default resolver now retrieve property values using the symfony PropertyAccess component.
The error message Access denied to this field will be display in case a user trying to access a non authorized field.
Access denied to this field will be display in case a user trying to access a non authorized field.access on field using builder.hasAnyPermissionNothing published for this version
One column per quarter.