Releases: slicknode/graphql-query-complexity
Releases · slicknode/graphql-query-complexity
v0.6.0
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
Thanks to @rh389, @wSedlacek
v0.5.0
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
Bigfix release:
- Skip complexity calculation by directiveEstimator when astNode is undefined #21
v0.4.0
- Added field extensions estimator #19
fieldConfigEstimator
is now deprecated in favor of fieldExtensionsEstimator
v0.3.0
#16 Calculate query complexity outside of validation context
v0.2.2
Allow graphql-js version ^0.13
v0.2.1
Add support for graphql-js
version 14.