glesys / butler-graphql

An opinionated GraphQL package for Laravel.
MIT License
34 stars 5 forks source link

build(deps): update webonyx/graphql-php requirement from ^0.13.4 to ^0.13.4 || ^14.0.0 #37

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Updates the requirements on webonyx/graphql-php to permit the latest version.

Release notes

Sourced from webonyx/graphql-php's releases.

v14.3.0

New:

  • Allow typeLoader to return a type thunk (#687)

Fix:

  • Read getParsedBody() instead of getBody() when Request is ServerRequest (#715)
  • Fix default get/set behavior on InputObjectField and FieldDefinition (#716)
Changelog

Sourced from webonyx/graphql-php's changelog.

v14.3.0

Feat:

  • Allow typeLoader to return a type thunk (#687)

Fix:

  • Read getParsedBody() instead of getBody() when Request is ServerRequest (#715)
  • Fix default get/set behavior on InputObjectField and FieldDefinition (#716)

v14.2.0

Deprecates:

  • Public access to FieldDefinition::$type property (#702)

Fixes:

  • Fix validation for input field definition directives (#714)

v14.1.1

Fixes:

  • Handle nullable DirectiveNode#astNode in SchemaValidationContext (#708)

v14.1.0

New:

  • Add partial parse functions for const variants (#693)

Fixes:

  • Differentiate between client-safe and non-client-safe errors in scalar validation (#706)
  • Proper type hints for IntValueNode (#691)

Refactoring:

  • Ensure NamedTypeNode::$name is always a NameNode (#695)
  • Visitor: simplify getVisitFn (#694)
  • Replace function calls with type casts (#692)
  • Fix "only booleans are allowed" errors (#659)

v14.0.2

  • Optimize lazy types (#684)

v14.0.1

Bug fixes:

  • Fix for: Argument defaults with integer/float values crashes introspection query (#679)
  • Fix for "Invalid AST Node: false" error (#685)
  • Fix double Error wrapping when parsing variables (#688)

Refactoring:

... (truncated)

Commits
  • 4f34309 v14.3.0
  • ae3370a Fix default get/set behavior on InputObjectField and FieldDefinition (#716)
  • 521efa8 Read getParsedBody() instead of getBody() when Request is ServerRequest (#715)
  • c26756d Revert "move execution of lazy type to typeloader" (#687)
  • 3743d8e v14.2.0
  • 10522af Fix validation for input field definition directives (#714)
  • 5042bed Fix public types (#702)
  • d6fe861 v14.1.1
  • f0bcc74 Handle nullable DirectiveNode#astNode in SchemaValidationContext (#708)
  • c1e9c5e Switch to null-safe lazy initialization (#675)
  • Additional commits viewable in compare view


You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
wecc commented 3 years ago

I would like to check the breaking changes between v0.13 – v14 manually, let's not merge this until we're sure everything is good.

wecc commented 3 years ago

https://github.com/webonyx/graphql-php/blob/master/UPGRADE.md

brother commented 3 years ago

There need to be some test code changes before this can be merged as was pointed out by travis/phpunit.

23 occasions looking like this.

1) Butler\Graphql\Tests\HandlesGraphqlRequestsTest::test_resolvers

ErrorException: Experimental Executor is deprecated and will be removed in the next major version

/home/travis/build/glesys/butler-graphql/vendor/webonyx/graphql-php/src/GraphQL.php:339
/home/travis/build/glesys/butler-graphql/src/Concerns/HandlesGraphqlRequests.php:37
/home/travis/build/glesys/butler-graphql/tests/HandlesGraphqlRequestsTest.php:28
wecc commented 3 years ago

This has been resolved in #38, closing.

dependabot[bot] commented 3 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.