Releases: mirumee/ariadne
Releases · mirumee/ariadne
Ariadne 0.14.0
- Added
on_connect
andon_disconnect
options toariadne.asgi.GraphQL
, enabling developers to run additional initialization and cleanup for websocket connections. - Updated Starlette dependency to 0.17.1.
- Added support for multiple keys for GraphQL federations.
- Made
Query
type optional in federated schemas. - Updated default resolvers to test for
Mapping
instead ofdict
. - Removed
ariadne.contrib.django
. (Use ariadne_django instead). - Updated query cost validator to handle optional variables.
Ariadne 0.13.0
- Updated
graphQL-core
requirement to 3.1.3. - Added support for Python 3.9.
- Added support for using nested variables as cost multipliers in the query price validator.
None
is now correctly returned instead of{"__typename": typename}
within federation.- Fixed some surprising behaviors in
convert_kwargs_to_snake_case
andsnake_case_fallback_resolvers
.
Ariadne 0.12.0
- 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.
Ariadne 0.11.0
0.11.0 (2020-04-01)
- Fixed
convert_kwargs_to_snake_case
utility so it also converts the case in lists items. - Removed support for sending queries and mutations via WebSocket.
- Freezed
graphql-core
dependency at version 3.0.3. - Unified default
info.context
value for WSGI to be dict with singlerequest
key.
Ariadne 0.10.0
0.10.0 (2020-02-11)
- Added support for
Apollo Federation
. - Added the ability to send queries to the same channel as the subscription via WebSocket.
Ariadne 0.9.0
0.9.0 (2019-12-11)
- Updated
graphql-core-next
tographql-core
3.
Ariadne 0.8.0
0.8.0 (2019-11-25)
- Added recursive loading of GraphQL schema files from provided path.
- Added support for passing multiple bindables as
*args
tomake_executable_schema
. - Updated Starlette dependency to 0.13.
- Made
python-multipart
optional dependency forasgi-file-uploads
. - Added Python 3.8 to officially supported versions.
Ariadne 0.7.0
0.7.0 (2019-10-03)
- Added support for custom schema directives.
- Added support for synchronous extensions and synchronous versions of ApolloTracing and OpenTracing extensions.
- Added context argument to has_errors and format hooks.
Ariadne 0.6.0
0.6.0
- Updated
graphql-core-next
to 1.1.1 which has feature parity with GraphQL.js 14.4.0. - Added basic extensions system to the
ariadne.graphql.graphql
. Currently only available in theariadne.asgi.GraphQL
app. - Added
convert_kwargs_to_snake_case
utility decorator that recursively converts the case of arguments passed to resolver fromcamelCase
tosnake_case
. - Removed
default_resolver
and replaced its uses in library withgraphql.default_field_resolver
. - Resolver returned by
resolve_to
util followsgraphql.default_field_resolver
behaviour and supports resolving to callables. - Added
is_default_resolver
utility for checking if resolver function isgraphql.default_field_resolver
, resolver created withresolve_to
oralias
. - Added
ariadne.contrib.tracing
package withApolloTracingExtension
andOpenTracingExtension
GraphQL extensions for adding Apollo tracing and OpenTracing monitoring to the API (ASGI only). - Updated ASGI app disconnection handler to also check client connection state.
- Fixed ASGI app
context_value
option support for async callables. - Updated
middleware
option implementation in ASGI and WSGI apps to accept list of middleware functions or callable returning those. - Moved error formatting utils (
get_formatted_error_context
,get_formatted_error_traceback
,unwrap_graphql_error
) to public API.
Ariadne 0.5.0
0.5.0 (2019-06-07)
- Added support for file uploads.