Skip to content

Releases: mirumee/ariadne

Ariadne 0.14.0

24 Nov 13:19
Compare
Choose a tag to compare
  • Added on_connect and on_disconnect options to ariadne.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 of dict.
  • Removed ariadne.contrib.django. (Use ariadne_django instead).
  • Updated query cost validator to handle optional variables.

Ariadne 0.13.0

17 Mar 14:16
903d217
Compare
Choose a tag to compare
  • 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 and snake_case_fallback_resolvers.

Ariadne 0.12.0

04 Aug 15:24
Compare
Choose a tag to compare
  • 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 and introspection configuration options to Django view.
  • Updated requirements list to require graphql-core 3.

Ariadne 0.11.0

01 Apr 15:44
Compare
Choose a tag to compare

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 single request key.

Ariadne 0.10.0

11 Feb 17:21
8aec11d
Compare
Choose a tag to compare

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

11 Dec 17:44
Compare
Choose a tag to compare

0.9.0 (2019-12-11)

  • Updated graphql-core-next to graphql-core 3.

Ariadne 0.8.0

25 Nov 18:26
Compare
Choose a tag to compare

0.8.0 (2019-11-25)

  • Added recursive loading of GraphQL schema files from provided path.
  • Added support for passing multiple bindables as *args to make_executable_schema.
  • Updated Starlette dependency to 0.13.
  • Made python-multipart optional dependency for asgi-file-uploads.
  • Added Python 3.8 to officially supported versions.

Ariadne 0.7.0

04 Oct 09:53
Compare
Choose a tag to compare

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

12 Aug 15:05
Compare
Choose a tag to compare

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 the ariadne.asgi.GraphQL app.
  • Added convert_kwargs_to_snake_case utility decorator that recursively converts the case of arguments passed to resolver from camelCase to snake_case.
  • Removed default_resolver and replaced its uses in library with graphql.default_field_resolver.
  • Resolver returned by resolve_to util follows graphql.default_field_resolver behaviour and supports resolving to callables.
  • Added is_default_resolver utility for checking if resolver function is graphql.default_field_resolver, resolver created with resolve_to or alias.
  • Added ariadne.contrib.tracing package with ApolloTracingExtension and OpenTracingExtension 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

07 Jun 13:16
Compare
Choose a tag to compare

0.5.0 (2019-06-07)

  • Added support for file uploads.