Ariadne 0.15
· 2 min read
Ariadne 0.15 is out!
This release updates GraphQL Core compatibility to version 3.2 and Starlette to versions 0.18 and 0.19. It also brings bunch of bug fixes and small improvements to the library contributed by the community. ❤️
With this release we are also dropping support for Python 3.6, which reached end of support as of 23 December 2021.
Changelog
- Updated
graphql-corerequirement to 3.2.0. - Bumped
starlettesupported versions to 0.18 and 0.19. - Drop Python 3.6 support.
- Added basic support for
OPTIONSHTTP request. - Refactor
ariadne.asgi.GraphQLto make it easier to customize JSON response. - Added
trace_default_resolvertoApolloTracingExtensionthat enables tracing for default resolvers. - Fixed
make_federated_schemaerror when custom directive in schema has description. - Moved
set_default_enum_values_on_schema,validate_schema_enum_valuesandtype_implements_interfaceto public API. - Changed
graphql_syncto useexecute_syncinstead ofexecute. - Added
on_operationhook toariadne.asgi.GraphQLthat's called when individual subscription operation is started. - Added
on_completehook toariadne.asgi.GraphQLthat's called when individual subscription operation is completed. - Updated
on_disconnecthook so its called in Webhook handler'sfinallyclause, making it called in more situations. - Marked
Extension,ExtensionSyncandSchemaBindableprotocols as@runtime_checkable. - Renamed
parenttoobjinApolloTracingandOpenTracingextensions so arg name won't cause conflict when custom resolver hasparentarg.