Skip to content

Releases: slicknode/graphql-query-complexity

v0.6.0

25 May 18:06
Compare
Choose a tag to compare

Breaking

  • The previously deprecated legacyEstimator and the fieldConfigEstimator were removed in favor of the fieldExtensionsEstimator. Adding support for GraphQL v15 made this necessary (see #30).
  • The estimator option is now required when configuring the validation rule.

New Features

  • Support for graphql-js v15 #30

Fixes

  • Improved TS types #28

Thanks to @rh389, @wSedlacek

v0.5.0

17 Apr 20:02
Compare
Choose a tag to compare

New Features

  • Add support for multi-query documents and calculating the complexity for a single operation #22
  • Add support for @skip and @include directives #23

v0.4.1

21 Oct 02:22
Compare
Choose a tag to compare

Bigfix release:

  • Skip complexity calculation by directiveEstimator when astNode is undefined #21

v0.4.0

06 Oct 14:17
Compare
Choose a tag to compare
  • Added field extensions estimator #19
  • fieldConfigEstimator is now deprecated in favor of fieldExtensionsEstimator

v0.3.0

18 May 12:19
Compare
Choose a tag to compare

#16 Calculate query complexity outside of validation context

v0.2.3

14 Feb 13:30
Compare
Choose a tag to compare

Fixes #15

v0.2.2

09 Oct 19:32
Compare
Choose a tag to compare

Allow graphql-js version ^0.13

v0.2.1

09 Oct 18:15
Compare
Choose a tag to compare

Add support for graphql-js version 14.