Graphene-django-crud

Latest version: v2.0.0

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.0.0

- Upgrade dependency from graphene v2 to graphene v3

Breaking changed

- Removed subscriptions fields
- Simplification of the schema by leaving the parent field in the nestedCreateInput
- Create mutation payload for each mutation
- Rename "idFilter" to "IDfilter"

Added

- Nested updates [7](https://github.com/djipidi/graphene_django_crud/issues/7)
- create_only_fields, create_exclude_fields, create_extend_fields options in
DjangoCRUDObjectType
- update_only_fields, update_exclude_fields, update_extend_fields options in
DjangoCRUDObjectType
- create_mutation, update_mutation, delete_mutation options in
DjangoCRUDObjectType to enable/disable nested mutation
[10](https://github.com/djipidi/graphene_django_crud/issues/10)
- OrderStringEnum has state sensitive or case insensitive

1.3.4

Fixed

- Cryptic "not found" error if result not present in GraphQL
[8](https://github.com/djipidi/graphene_django_crud/issues/8)

1.3.3

Added

- add a setting that enables / disables converting fields with choices to enum
fields

1.3.2

Fixed

- Field Model.field cannot be both deferred and traversed using select_related
at the same time
[5](https://github.com/djipidi/graphene_django_crud/issues/5)

1.3.1

Fixed

- Allow subclass of DjangoCRUDObjectType
[3](https://github.com/djipidi/graphene_django_crud/issues/3)

1.3.0

Breaking changed

- 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.

Deprecation

- 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

Added

- 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

Changed

- Graphql type <typeName>NodeType is renamed to <typeName>Connection
- Graphql type <typeName>MutationType is renamed to <typeName>Mutation
- String ordering is Case insensitive
- OrderEnum for string ordering rename to orderStringEnum
- Remove ordering with many Relation

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.