Skip to content

Releases: vektah/gqlparser

v2.3.0

26 Jan 13:56
f2612cc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.3.0

v2.2.0

13 Apr 06:30
@lwc lwc
7cc8073
Compare
Choose a tag to compare

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 for Is and As (#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

21 Sep 00:48
@lwc lwc
83ee611
Compare
Choose a tag to compare

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.

v2.0.1

16 Feb 23:12
Compare
Choose a tag to compare

Fixed

  • rewrite imports paths to maintain go modules compatibility 🙄

v2.0.0

16 Feb 22:42
f5ceb57
Compare
Choose a tag to compare

Changed

v1.3.1

08 Feb 06:15
c06d8e0
Compare
Choose a tag to compare

Fixed

  • Fix interface & union calculation when extending non existent types - #118

v1.3.0

08 Feb 04:47
Compare
Choose a tag to compare

Added

  • non existing types can be extended now - #116

Fixed

  • generated syntax when using multiple interfaces is now valid - #115

v1.2.1

07 Jan 04:55
1315dba
Compare
Choose a tag to compare

Added

  • descriptions blocks on generated schema directives - #114

v1.2.0

07 Nov 03:25
6b4a785
Compare
Choose a tag to compare

Added

  • Can now turn ast back into schema - #103
  • Can now fetch repeated directives - #106
  • Validate invalid enums in variables - #109

Fixed

  • Allow scalars to be nil - #104

v1.1.2

11 Mar 23:38
05741cd
Compare
Choose a tag to compare

Added

  • More schema validation for interfaces - #97