Graphene-django-cud

Latest version: v0.11.1

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

Scan your dependencies

Page 1 of 8

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

0.9.0

* (BREAKING) Ensure inputs are sent to all after_mutate hooks.

0.8.1

* (BREAKING) DjangoDeleteMutation now returns three id fields: deletedId, deletedRawId and deletedInputId. The default behaviour of deletedId is now to return a global id if the associated model type has a GlobalIDField for the "id" field.

0.8.0

* Add customisation of resolving IDs via the resolve_id(s) methods (bjmc)
* Django model DecimalFields are now properly resolved to graphene.Decimal (sjdemartini)
* (BREAKING) Django fields with choices are now reused from the associated DjangoObjectType. This implies that the created GraphQL field no longer has an extra "Input" at the end of the name. (keithhackbarth)
* (BREAKING) Update DjangoBatch-mutations. All hooks now take an "input" parameter.
* Added after_update_obj hook for DjangoBatchPatchMutation and DjangoBatchUpdateMutation. This will be called after each object is updated.
* Added after_create_obj hook for DjangoBatchCreateMutation. This will be called after each object is created.

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.