Skip to content

Releases: mirumee/ariadne-codegen

0.5

05 Apr 10:15
a9ddc44
Compare
Choose a tag to compare
0.5

CHANGELOG

  • Added generation of GraphQL schema's Python representation.
  • Fixed annotations for lists.
  • Fixed support of custom operation types names.
  • Unlocked versions of black, isort, autoflake and dev dependencies
  • Added remote_schema_verify_ssl option.
  • Changed how default values for inputs are generated to handle potential cycles.
  • Fixed BaseModel incorrectly calling parse and serialize methods on entire list instead of its items for List[Scalar].

0.4

20 Mar 10:34
Compare
Choose a tag to compare
0.4

CHANGELOG

  • Fixed generating models from interfaces with inline fragments.
  • Added default None values for generated methods optional arguments.
  • Added basic plugin system.
  • Added InitFileGenerator, EnumsGenerator, ClientGenerator and ArgumentsGenerator plugin hooks.
  • Added InputTypesGenerator and ResultTypesGenerator plugin hooks.
  • Added ScalarsDefinitionsGenerator and PackageGenerator plugin hooks.
  • Added support for [tool.ariadne-codegen] section key. Deprecated [ariadne-codegen].
  • Added support for environment variables to remote schema headers values.
  • Added --config argument to ariadne-codegen script, to support reading configuration from custom path.

0.3

21 Feb 12:42
Compare
Choose a tag to compare
0.3

CHANGELOG

  • Changed generated code to pass mypy --strict.
  • Changed base clients to get full url from user.
  • Added support for custom scalars.

0.2.1

13 Feb 13:12
Compare
Choose a tag to compare

CHANGELOG

  • Fixed incorrectly raised exception when using custom scalar as query argument type.

0.2

02 Feb 15:09
Compare
Choose a tag to compare
0.2

This release brings support for remote schemas to the Ariadne Codegen and adds headers option to default Client, so workaround is no longer needed for it.

CHANGELOG

  • Added remote_schema_url and remote_schema_headers settings to support reading remote schemas.
  • Added headers argument to __init__ methods of BaseClient and AsyncBaseClient.

0.1

01 Feb 15:46
Compare
Choose a tag to compare
0.1

First release of Ariadne Codegen 🎉

Ariadne Codegen automates the process of writing GraphQL client boilerplate code, generating it from GraphQL operations instead.

It's already being used internally at Mirumee to implement services for our customers that integrate with Saleor, buts this is the time we are sharing it with the world!