- Added
validation_rules
option to query executors as well as ASGI and WSGI apps and Django view that allow developers to include custom query validation logic in their APIs. - Added
introspection
option to ASGI and WSGI apps, allowing developers to disable GraphQL introspection on their server. - Added
validation.cost_validator
query validator that allows developers to limit maximum allowed query cost/complexity. - Removed default literal parser from
ScalarType
because GraphQL already provides one. - Added
extensions
andintrospection
configuration options to Django view. - Updated requirements list to require
graphql-core
3.