Releases: vektah/gqlparser
Releases · vektah/gqlparser
v2.3.0
What's Changed
- make reproducable importer by @vvakame in #112
- Update prelude to match graphql_spec for @deprecated directive by @danielnovograd in #155
- Stop validator mutating the provided *Schema by @xzyfer in #158
- docs: Fix a few typos in the README by @enisdenjo in #174
- feat: do not mark __typename field as unknown in the schema validation by @damianopetrungaro in #172
- Fix: argument comparison between two sets of args by @jufemaiz in #170
- Add @SpecifiedBy directive declaration by @wilhelmeek in #168
- Fix for update by reference of default variable values by @aurelijusbanelis in #161
- Add release script by @StevenACoffman in #175
New Contributors
- @danielnovograd made their first contribution in #155
- @xzyfer made their first contribution in #158
- @enisdenjo made their first contribution in #174
- @damianopetrungaro made their first contribution in #172
- @jufemaiz made their first contribution in #170
- @wilhelmeek made their first contribution in #168
- @aurelijusbanelis made their first contribution in #161
- @StevenACoffman made their first contribution in #175
Full Changelog: v2.2.0...v2.3.0
v2.2.0
Added
- Support for directives on variable definitions (#135)
- Support for repeated directives, as per latest GraphQL spec (#148)
gqlerror.List
now meets the go 1.13 error interfaces forIs
andAs
(#147)- Support for coercing single value list inputs to lists of one element (#138)
- Support for VARIABLE_DEFINITION executable directive (#151)
Updated
- Improved formatting of block comments on args (#124)
- Aligned root type inference more closely to the spec (#144)
Fixed
- Ensure directives are only used in accordance with their definitions (#132) (#150)
- Fixed issue where default values were not considered when validating fields (#122)
Thanks to everyone who contributed to this release!
Error unwrapping
Updated
- GraphQL errors now satisfy the go 1.13 error unwrapping interface.
- This allows gqlgen to wrap all user errors at the point they returned to the runtime, allowing accurate GraphQL path information to be attached to the error.