Skip to content

Releases: graphql-python/graphene-django

v2.10.0

09 May 11:39
Compare
Choose a tag to compare

New features

  • Disable system checks for graphql_schema management command (#939)
  • Convert nullable BooleanField to nullable Boolean field (#777)
  • Improve DjangoListField (#929)
  • Allow defining fields as an empty list (#871)

Bugfixes

  • Switch operation_name to operationName in GraphQLTestCase (#936)
  • GraphQlView: Do not 'instantiate_middleware' if middleware is already a MiddlewareManager (#952)

Huge thanks to @millar, @noelleleigh, @ganwell, @jckw and @msimon for helping!

Full changelog: v2.9.1...v2.10.0

v2.9.1

12 Apr 19:03
e1cfc0a
Compare
Choose a tag to compare

Bugfixes

  • Fix error with DjangoModelFormMutation (#915)

Full changelog: v2.9.0...v2.9.1

v2.9.0

13 Mar 10:20
150008a
Compare
Choose a tag to compare

New features

  • Add options to override how Django Choice fields are converted to Enums (#860)
  • Detect schema export format from output file path (to support exporting .graphql files) (#868)

Bugfixes

  • Allow string references in DjangoListField (#885)
  • Use actual root/variables/context args of the execute method (#878)
  • Include form data in DjangoFormMutation responses (#811)
  • Exclude read_only fields from input in DRF mutation (#882)
  • Fix a typo in the warning (#884)
  • Use to_representation in favor of get_attribute (#848)

Huge thanks to @B4rtware, @fulaphex, @knabben, @protasovse, @GeyseR and @rip-the-jacker for helping!

Full changelog: v2.8.2...v2.9.0

v2.8.2

17 Feb 11:10
11dafd4
Compare
Choose a tag to compare

Bugfixes

  • Check exclude fields correctly (#873)
  • Adding support for disabling enum creation on SerializerMutation (#851)
  • Allow for easier template overrides in graphiql (#863)

Huge thanks to @benhowes and @leewardbound for helping!

Full changelog: v2.8.1...v2.8.2

v2.8.1

07 Feb 10:03
f3f0608
Compare
Choose a tag to compare

Bugfixes

  • Raise exception early if DjangoModelFormMutation doesn't find a model type (#839)
  • Resolve django translation deprecation warnings (#847)
  • Resolve django encoding deprecation warnings (#853)
  • Fix force_str deprecation warning (#858)
  • Only warn don't throw if a field doesn't exist on the Django model (#862)

Huge thanks to @luto and @zhelyabuzhsky for helping!

Full changelog: v2.8.0...v2.8.1

v2.8.0

31 Dec 14:36
Compare
Choose a tag to compare

Changelog

New features

  • Add headers arg to GraphQLTestCase.query (#827)
  • Read csrftoken from DOM if no cookie is set in graphiql browser (#826)
  • Add support for partial updates when using Django Rest Framework serializers (#731)
  • Raise exceptions if fields defined in Meta.fields and Meta.exclude on DjangoObjectType don't exist (#842)

Full changelog: v2.7.1...v2.8.0

v2.7.1

29 Nov 09:14
374d8a8
Compare
Choose a tag to compare

Changelog

Bugfixes

  • Keep original queryset on DjangoFilterConnectionField (#816)

Full changelog: v2.7.0...v2.7.1

v2.7.0

28 Nov 19:27
e82a2d7
Compare
Choose a tag to compare

Changelog

New features

  • Support for Django v3 (#793)

Bugfixes

  • Fix bug with django filter lookup expressions (#805)
  • Fix multiple bugs with the DjangoConnectionField not supporting annotations (#796)

Full changelog: v2.6.0...v2.7.0

v2.6.0

22 Sep 20:22
5068ea0
Compare
Choose a tag to compare

Changelog

Another release before v3. Fingers crossed we'll get v3 out soon!

New features

  • Extend DjangoListField to use model queryset if none defined (#732)
  • Convert DRF ChoiceField to Enum (#537)
  • Adds variables arg to GraphQLTestCase.query (#699)

Bugfixes

  • Handle isnull filters differently (#753)
  • Pin higher version of graphene for proper graphql-core version r… (#768)

Full changelog: v2.5.0...v2.6.0

v2.5.0

10 Aug 10:56
87aebdb
Compare
Choose a tag to compare

Changelog

Squeezing in another release before v3. Mostly bug fixes but also a change to the parts that are required in DjangoConnectionField and DjangoFilterConnectionField which might require a schema update.

New features

  • Set converted Django connections to required (#610)

Bugfixes

  • Fix choices enum: if field can be blank then it isn't required (#714)
  • Check for filters defined on base filterset classes (#730)
  • Make DjangoDebugContext wait for nested fields (#591)

Full changelog: v2.4.0...v2.5.0