The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
- Refactor the query conversion to string to separate the process of constructing a new query and adding a nested subfield
- Added support for MutationBuilder
- Removed EmptySelectionSetException being thrown from QueryBuilder if selection set is empty
- Removed support for GET requests by throwing exception when request type is set to GET
- Modified variable identification logic in string literals
- Added PHP8 support
- Updated Query class to allow for an alias
- Updated QueryBuilder class to allow for an alias
- Added ability to set request http method type in client
- Added Guzzle7 to composer.json
- Added PHP7.4 to travis test environments
- Removed empty braces added in the selection set when no fields are selected
- Added ability to inject and use PSR-18 compatible HTTP client in sending requests to GraphQL server
- Ability to create multiple queries in one object using Query class
- Ability to create multiple queries in one object using QueryBuilder class
- Support for passing guzzle httpOptions that overrides the authorizationHeaders
- Replaced all new line characters "\n" with PHP_EOL
- Support for inline fragments
- Variables support for queries and mutations
- Operation name during in queries
- Issue in mutation string generation when no selection set is provided
- Mutation class for running mutation operations
- Examples in the README for running
- Mutation operation
- Raw string queries
- New badges to README to show downloads count, license, and latest version
- Changelog
Client::runQuery
method now acceptsQueryBuilderInterface
as well asQuery
- Moved all schema generation logic to a separate repository
- Generate ArgumentsObject classes for all argument lists on fields
- Ability to override default schema writing director with a custom one
- Ability to generate classes with custom namespaces
- Pushed code coverage to 100%
- Refactored schema class generation mechanism to traverse the API schema from the root queryType
- Refactored QueryObject class to accommodate changes in the schema generation
- Removed arguments from QueryObject classes and moved them to ArgumentsObjects
- Modified how generation works to accommodate ArgumentsObjects nested within QueryObjects
- Added ArgumentsObject argument to all field selector methods
- Refactored Query class
- Added the ability to set Query object name to 'query'
- Query builder functionality
- Minimum PHP version form 7.2 to 7.1
- Throw QueryError on 400 response
- Throw QueryError in missing scenario (specifying result as array)
- composer.lock from version control
- Support for Travis CI
- Installation section to README
- Codacy support for analyzing code
- Raised code coverage
- Generator script to composer file to add it composer bin
- Upgraded to PHP7 (7.2 minimum version)
- Issue in README examples
- Issue in package root directory name
- Autoload issue in schema classes generation
- Issue in input object generation
- Generation of filters and arguments depending on type
- Input object setters for input object arguments
- Auto schema generation using GraphQL inspection ability
- Throw QueryError if syntax errors are detected by the GraphQL server
- Unit tests to cover basic functionality
- Ability to run raw string queries
- Set default content type
- String values do not get wrapped in quotations in the arguments construction
- Fixed issue in generating query when no arguments are provided
- Typo in namespace declaration
- Upgrade Guzzle from 5.x to 6.x
- First release