Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 1, 2023

Bumps webonyx/graphql-php from 14.11.8 to 15.2.1.

Release notes

Sourced from webonyx/graphql-php's releases.

v15.2.1

Fixed

  • Initialize directives and arguments in Node with empty NodeList

v15.2.0

Changed

  • Improve validation messages for type definitions

v15.1.0

Added

  • Add additional sorting options to SchemaPrinter

v15.0.3

Fixed

  • Fix QueryPlan for union types

Changed

  • Improve QueryPlan performance

v15.0.2

Fixed

  • Fix QueryPlan when querying __typename on a union type

v15.0.1

Fixed

  • Fix printing of single line descriptions with backslashes

Changed

  • Print long argument lists on multiple lines
  • Print space between object value brackets

v15.0.0

Changed

  • PHP version required: 7.4+
  • Propagate error message and stack trace for why leaf value serialization failed
  • Do not throw client safe Error when failing to serialize an Enum type
  • Use native PHP types for properties of Type and its subclasses
  • Throw SerializationError over client safe Error when failing to serialize leaf types
  • Move debug entries in errors under extensions key
  • Use native PHP types wherever possible
  • Always throw RequestError with useful message when clients provide an invalid JSON body

... (truncated)

Changelog

Sourced from webonyx/graphql-php's changelog.

v15.2.1

Fixed

  • Initialize directives and arguments in Node with empty NodeList

v15.2.0

Changed

  • Improve validation messages for type definitions

v15.1.0

Added

  • Add additional sorting options to SchemaPrinter

v15.0.3

Fixed

  • Fix QueryPlan for union types

Changed

  • Improve QueryPlan performance

v15.0.2

Fixed

  • Fix QueryPlan when querying __typename on a union type

v15.0.1

Fixed

  • Fix printing of single line descriptions with backslashes

Changed

  • Print long argument lists on multiple lines
  • Print space between object value brackets

v15.0.0

Changed

  • PHP version required: 7.4+

... (truncated)

Upgrade guide

Sourced from webonyx/graphql-php's upgrade guide.

v14.x.x > v15.x.x

BREAKING: Removed error extension field category

The formatting of errors that implement the ClientAware interface no longer contains the key category. This includes both built-in and user-defined errors.

throw new \GraphQL\Error\Error('msg');

Formatting before the change:

'errors' => [
    [
        'message' => 'msg',
        'extensions' => [
            'category' => 'graphql',
        ],
    ],
]

After the change:

'errors' => [
    [
        'message' => 'msg',
    ],
]

The method ClientAware::getCategory() was removed, you may also remove it from your implementations:

use GraphQL\Error\ClientAware;
class MyException extends \Exception implements ClientAware
{
public function isClientSafe(): bool
{
return true;
}

public function getCategory(): string
{

  return 'my-category';


}
</tr></table>

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [webonyx/graphql-php](https://github.com/webonyx/graphql-php) from 14.11.8 to 15.2.1.
- [Release notes](https://github.com/webonyx/graphql-php/releases)
- [Changelog](https://github.com/webonyx/graphql-php/blob/master/CHANGELOG.md)
- [Upgrade guide](https://github.com/webonyx/graphql-php/blob/master/UPGRADE.md)
- [Commits](webonyx/graphql-php@v14.11.8...v15.2.1)

---
updated-dependencies:
- dependency-name: webonyx/graphql-php
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants