Skip to content

v1.3.0

Latest

Choose a tag to compare

@mathsgod mathsgod released this 26 May 05:21

What's Changed

Breaking Changes

  • Minimum PHP version bumped to 8.3+
  • ecodev/graphql-upload upgraded to v8 (PSR-15 middleware)
  • league/container upgraded to v5
  • symfony/cache upgraded to v7.4

New Features

  • operationName support in GraphQL requests
  • debug constructor option — adds stack trace to error responses via extensions.trace
  • executeGraphQLRequest() as a public method for direct PSR-7 request processing

Fixes & Improvements

  • Content-Type check before JSON decode (fixes multipart upload body parsing)
  • Error responses now follow the GraphQL spec: {"errors": [{"message": "..."}]}
  • All responses return HTTP 200 (GraphQL convention)
  • ContainerInterface / delegate() type issue resolved
  • Full type hints throughout Server.php
  • Controllers\\ namespace moved to autoload-dev

Tests

  • Added PHPUnit 12 test suite (8 tests)