Snyk has created this PR to upgrade graphql-query-complexity from 0.2.3 to 0.11.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 13 versions ahead of your current version.
The recommended version was released 6 months ago, on 2021-11-08.
Handle complexity of abstract types (Union, Interface) by returning the maximum possible complexity for a field instead of the sum of the entire selection set, fixes #26
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.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Snyk has created this PR to upgrade graphql-query-complexity from 0.2.3 to 0.11.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: graphql-query-complexity
Breaking
New
Breaking:
getComplexity
now throws an error if the query complexity cannot be determined (invalid query, misconfiguration, etc.)Fixes:
New Features
createComplexityRule
named export to main packageFixes
Improvements
New Features
v0.7.2
Fixes
New Features
Breaking
legacyEstimator
and thefieldConfigEstimator
were removed in favor of thefieldExtensionsEstimator
. Adding support for GraphQL v15 made this necessary (see #30).estimator
option is now required when configuring the validation rule.New Features
Fixes
Thanks to @ rh389, @ wSedlacek
New Features
@ skip
and@ include
directives #23Commit messages
Package name: graphql-query-complexity
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs