All notable changes to this project will be documented in this file.
- Field Model.field cannot be both deferred and traversed using select_related at the same time #5
- Allow subclass of DjangoCRUDObjectType #3
- Rename "equals" field in scalar filters to "exact", the SCALAR_FILTERS_ADD_EQUALS_FIELD setting params restores the field.
- Boolean filter is like scalar filters, the BOOLEAN_FILTER_USE_BOOLEAN_FIELD setting params restore Boolean field.
- DjangoGrapheneCRUD class has been renamed to DjangoCRUDObjectType, so the name "DjangoGrapheneCRUD" is deprecated.
- The methods before_xxx, after_xxx are deprecated. Use the methods mutate, create, update, delete
- Customization with django settings parameters
- Relay integration
- Possibility to extend connectionType
- Possibility of having a list field instead of a connection field
- Meta parameters for model validation
- FileField and ImageField support
- DEFAULT_CONNECTION_NODES_FIELD_NAME setting parameter for customizing the node field name in the default connection field
- FILE_TYPE_CONTENT_FIELD_ACTIVE setting parameter for activate/deactivate the content field in file type
- Add Case insensitive fields in StringFilter
- Add UUIDFilter
- Graphql type NodeType is renamed to Connection
- Graphql type MutationType is renamed to Mutation
- String ordering is Case insensitive
- OrderEnum for string ordering rename to orderStringEnum
- Remove ordering with many Relation
- Support multiple databases by dropping the transaction in mutations resolvers
- FIX delete field and disconnect field do not exist in updateNestedInput
- Normalize oderByInput with the other inputs, it is no longer a list of strings
- Need to use the resolver_hints decorator for the creation of computed fields
- Remove related_field in createNestedInput and updateNestedInput for ManyToOneRel, OnetoOneField and OnetoOneRel fields
- Improve sql performance with use only, select_related, prefetch_related
- Meta Parameter where_only_fields / where_exclude_fields, order_by_only_fields / order_by_exclude_fields
- add year, month, day, week_day parameters in the dateFilter
- add hour, minute, second parameters in the timeFilter
- FIX WhereInput does not use related_query_name
- FIX mutation errors are used by all exceptions without processing error messages, now only ValidationError with message processing
- FIX a complex query can return several same instance
- FIX the createdField does not apply where input
- "WhereWithOperatorsInput" merge to "WhereInput" and keep operators
- Upgrade graphene-django dependency version to >= 2.8.0
- Add django dependency to version >= 2.2
- Add getters 'WhereInputType', 'CreateInputType', UpdateInputType from 'GrapheneDjangoCrud' object
- Add possibility to extend the create and update input fields
- Add max_limit meta parameter for limit batchread request
- Improve the stability of the relationship mutations
- Replace all "WhereUniqueInput" to "WhereInput"
- Add "isnull" arg in "InputTypeFilter"
- FIX error mutation with related foreign key
- FIX manytomanyfield dont have BatchReadField args
- FIX bad attribute for the related field whose related_name is not specified
- FIX error in mutation resolver with foreignKeyField not null
- FIX "InputTypeFilter" of FloatField, Datefield and TimeField is not generated
- FIX do not apply the default ordering in batchread query
- FIX do not apply the filter of the get_queryset method in the nested batchread query
- FIX "where" argument of ReadField is not required
- GrapheneDjangoCrud class to transform django model to graphene type with crud field