Changelog
- Updated
graphql-core
requirement to 3.2.0. - Bumped
starlette
supported versions to 0.18 and 0.19. - Drop Python 3.6 support.
- Added basic support for
OPTIONS
HTTP request. - Refactor
ariadne.asgi.GraphQL
to make it easier to customize JSON response. - Added
trace_default_resolver
toApolloTracingExtension
that enables tracing for default resolvers. - Fixed
make_federated_schema
error when custom directive in schema has description. - Moved
set_default_enum_values_on_schema
,validate_schema_enum_values
andtype_implements_interface
to public API. - Changed
graphql_sync
to useexecute_sync
instead ofexecute
. - Added
on_operation
hook toariadne.asgi.GraphQL
that's called when individual subscription operation is started. - Added
on_complete
hook toariadne.asgi.GraphQL
that's called when individual subscription operation is completed. - Updated
on_disconnect
hook so its called in Webhook handler'sfinally
clause, making it called in more situations. - Marked
Extension
,ExtensionSync
andSchemaBindable
protocols as@runtime_checkable
. - Renamed
parent
toobj
inApolloTracing
andOpenTracing
extensions so arg name won't cause conflict when custom resolver hasparent
arg.