Skip to content

Releases: glesys/butler-graphql

v6.0.0

12 May 07:25
c5e698a
Compare
Choose a tag to compare

Added

  • Handle Symfony\Component\HttpKernel\Exception\HttpException exceptions.

v5.1.0

29 Mar 13:46
bbbc921
Compare
Choose a tag to compare

Added

  • The new beforeExecutionHook hook lets your GraphQL controller (using the HandlesGraphqlRequests 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

11 Mar 09:35
761758a
Compare
Choose a tag to compare

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 of leinonen/php-dataloader. See UPGRADE.md for details on how to upgrade.

v4.0.0

10 Dec 10:59
6af401c
Compare
Choose a tag to compare

Added

  • Support PHP 8
  • In addition to schemaPath() it's now possible to override the schema() method. This can be useful if your GraphQL schema needs to be fetched from some other source than a file on disk. #33

Changed

v3.4.0

06 Oct 07:30
36ce3b3
Compare
Choose a tag to compare

Changed

  • Support Laravel 8.

v3.3.0

02 Oct 12:00
7f5db4b
Compare
Choose a tag to compare

Added

  • AssertsPromises trait, useful for testing data loaders.

Changed

  • Custom implementation of CacheMap with improved keys to prevent excessive looping.

v3.2.0

03 Aug 11:44
eb9f5dd
Compare
Choose a tag to compare

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.

v3.1.0

13 Mar 12:16
0d09af2
Compare
Choose a tag to compare

Changed

  • Require PHP 7.2.5.
  • Support Laravel 7.

v3.0.0

30 Jan 08:50
a68c247
Compare
Choose a tag to compare

Changed

  • BREAKING: Removes leading slashes in the default namespace configuration to better support dependency injection with the laravel container. #24

v2.2.0

12 Sep 11:56
8db5e52
Compare
Choose a tag to compare

Added

  • Support for shared data loaders when resolvers use the same underlying data.