Graphene-django-cud

Latest version: v0.13.0

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

Scan your dependencies

Page 1 of 9

0.13.0

* Add support for field name mappings.
* Add `use_id_suffixes_for_fk` and `use_id_suffixes_for_m2m` settings for quick addition of `_id` suffixes to foreign
keys and `_ids` for many to many fields.
* Added the options `GRAPHENE_DJANGO_CUD_USE_ID_SUFFIXES_FOR_FK` and `GRAPHENE_DJANGO_CUD_USE_ID_SUFFIXES_FOR_M2M` to
enable these settings globally.

0.12.0

* More documentation improvements (Plebbimon).
* Add "before_create_obj" hook, that allows to hook into the creation of an object before it is saved to the database (
hansegucker).
* Update `dismabiguate_id` to handle UUIDs (M69k65y).

0.11.1

* Make required_fields and optional_fields handle None values more gracefully.
* Remove mutable default arguments for auto_context_fields

0.11.0

* Fix graphene-django 3.x compatibility issues (thanks sjdemartini, wito-alex).
* Improve documentation (thanks sjdemartini, Plebbimon).
* Add `perform_delete` override to `DjangoDeleteMutation` (thanks calummackervoy). This allows for better soft deletes.
* Add `get_return_id` override to `DjangoBatchDeleteMutation`, enabling ID overwrites (thanks rymanso).
* Fix compatability issues with custom pks (thanks NwawelAIroume).
* Bump some package versions.
* Some general project and file clean up.
* Remove debug prints. Pardon all the mlogs.

0.10.0

* Put `select_for_update` behind a new option `use_select_for_update`, which is enabled by default.
* Rename `only_fields` -> `fields` and `exclude_fields` -> `exclude`. Alias the old names but add deprecation warnings.
* Make the library graphene(-django) 3.x compatible.
* Respect required_fields in Patch and BatchPatch mutations (thanks mbuvarp).

0.9.1

* Improve atomicity of patch/update-calls (thanks keithhackbarth)
* Improve documentation
* Security-critical package updates

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.