Releases: glesys/butler-graphql
Releases · glesys/butler-graphql
v6.0.0
v5.1.0
Added
- The new
beforeExecutionHook
hook lets your GraphQL controller (using theHandlesGraphqlRequests
trait) inspect the schema and query before entering the execution phase.
Fixed
- Upgrade graham-campbell/testbench@^5.6 because of breaking change in
GrahamCampbell\TestBench\AbstractPackageTestCase
.
v5.0.0
Changed
- BREAKING: Strict check for expected value in
assertPromiseFulfills
. - BREAKING: Improved performance when using data loaders with a tailored implementation based on
amphp/amp
instead ofleinonen/php-dataloader
. See UPGRADE.md for details on how to upgrade.
v4.0.0
Added
- Support PHP 8
- In addition to
schemaPath()
it's now possible to override theschema()
method. This can be useful if your GraphQL schema needs to be fetched from some other source than a file on disk. #33
Changed
- BREAKING: Upgrade to webonyx/[email protected]. See https://github.com/webonyx/graphql-php/blob/v14.3.0/UPGRADE.md for breaking changes.
v3.4.0
v3.3.0
v3.2.0
Added
- Union support 🎉. Types are resolved using the same technique as for interfaces:
$source['__typename']
,$source->__typename
,Parent@resolveTypeForField()
(Query@resolveType
for queries and mutations) or class base name.
Fixed
- Don't recursively convert Collection to array in DataLoader.