GraphQL Laravel 4.0.0 released
Since 3.1.0 we've had a lot of contributions, some are breaking changes with semver thus we start off with a new major version 🎉
Although past released already were, 4.0.0 is now officially compatible with the latest and greatest PHP 7.4 release.
Added
- Allow passing through an instance of a
Field
#521 / georgeboot - Add the ability to alias query and mutations arguments as well as input objects #517 / crissi
- Classes can now be injected in the Resolve method from the query/mutation similarly to Laravel controller methods #520 / crissi
Fixed
- Fix validation rules for non-null list of non-null objects #511 / crissi
- Add morph type to returned models #503 / crissi
- Querying same field multiple times causes an error (e.g. via fragments) #537 / edgarsn
- Fixed the custom query not being handled by interface's relations #486 / EdwinDayot
Changed
- Switch Code Style handling from StyleCI to PHP-CS Fixer #502 / crissi
- Implemented ClientAware interface on integrated exceptions #530 / georgeboot
- More control over validation through optional user-generated validator by introducing
getValidator()
#531 / mailspice