Releases: graphql-python/graphene-django
v2.10.0
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
tooperationName
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
v2.9.0
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
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
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
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
v2.7.0
v2.6.0
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
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