Skip to content

Releases: graph-gophers/graphql-go

v1.8.0

09 Sep 11:37
58b43ee
Compare
Choose a tag to compare

What's Changed

  • Add DecodeSelectedFieldArgs to decode argument values for any nested selected field path directly from a resolver context. Enables reflection-free multi-level prefetching / batching (e.g. Category → Products → Reviews) that only loads requested branches, mitigating N+1 query problem even with pagination & filters by @pavelnikolov in #684
  • Updated Go version in the go.mod file to 1.24 to be one minor version less than the latest Go release.

Full Changelog: v1.7.2...v1.8.0

If this release helps you, please consider becoming a sponsor ❤️

v1.7.2

02 Sep 09:34
17f2cd7
Compare
Choose a tag to compare

What's Changed

  • [BUGFIX] Fix checksum mismatch between direct git access and golang proxy for v1.7.1. This version contains identical functionality to v1.7.1 but with proper tag creation to ensure consistent checksums across all proxy configurations by @pavelnikolov in #683

Full Changelog: v1.7.1...v1.7.2

v1.7.1

27 Aug 12:28
ae5f988
Compare
Choose a tag to compare

What's Changed

  • [BUGFIX] Reject object, interface, and input object type definitions that declare zero fields/input values (spec compliance) by @pavelnikolov in #676
  • [IMPROVEMENT] Optimize overlapping field validation to avoid quadratic memory blowups on large sibling field lists by @pavelnikolov in #678
  • [IMPROVEMENT] SelectedFieldNames now returns dot-delimited nested field paths (e.g. products, products.id, products.category, products.category.id). Intermediate container object/list paths are included so resolvers can check for both a branch (products.category) and its leaves (products.category.id). HasSelectedField and SortedSelectedFieldNames operate on these paths. This aligns behavior with typical resolver projection needs and fixes missing nested selections by @pavelnikolov in #680

Full Changelog: v1.7.0...v1.7.1

v1.7.0

19 Aug 13:21
434d06d
Compare
Choose a tag to compare

What's Changed

Important

The default branch of the repository is now main. The previous default branch (i.e. master) is still present but will not be updated anymore.

Full Changelog: v1.6.0...v1.7.0

v1.6.0

22 Feb 12:02
92eac66
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.0...v1.6.0

v1.5.0

19 Dec 10:05
3951ad4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.0...v1.5.0

v1.4.0

10 Apr 22:26
24abfa5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.4.0

Release v1.3.0

18 Jan 21:27
eae31ca
Compare
Choose a tag to compare
  • [FEATURE] Support custom panic handler #468
  • [TESTS] Add more tests for variable validation #470
  • [FEATURE] Support interfaces implementing interfaces #471
  • [BUG] Support parsing nanoseconds time properly #486
  • [BUG] Fix a bug in maxDepth fragment spread logic #492

Release v1.2.0

13 Sep 21:40
5457f60
Compare
Choose a tag to compare
  • [FEATURE] Accept custom JSON scalar value as resolver argument (#467)

Release v1.1.0

30 Apr 21:19
4378f8e
Compare
Choose a tag to compare
  • [FEATURE] Add types package #437
  • [FEATURE] Expose packer.Unmarshaler as decode.Unmarshaler to the public #450
  • [FEATURE] Add location fields to type definitions #454
  • [FEATURE] errors.Errorf preserves original error similar to fmt.Errorf #456
  • [BUGFIX] Fix duplicated __typename in response (fixes #369) #443