Graphene-django-query-optimizer

Latest version: v0.5.2

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

Scan your dependencies

Page 1 of 8

0.5.2

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed

Features

* Add a `get_field_selections` function for parsing field selections from query.

Automated

* Bump the python-dependencies group with 2 updates by dependabot in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/92
* Bump the python-dependencies group with 3 updates by dependabot in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/94
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/93
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/95

---

**Full Changelog**: https://github.com/MrThearMan/graphene-django-query-optimizer/compare/v0.5.1...v0.5.2

0.5.1

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed

Features

* Add support for optimizing `GenericRelation`s & `GenericForeignKey`s 66
* Does not fully support nested relations in `GenericForeignKey`s, as those would require [GenericPrefetch](https://docs.djangoproject.com/en/5.0/ref/contrib/contenttypes/#genericprefetch) from Django 5.0.

---

**Full Changelog**: https://github.com/MrThearMan/graphene-django-query-optimizer/compare/v0.5.0...v0.5.1

0.5.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed

Features

* Removes the entire caching mechanism, rely entirely on queryset caching. Solves 86. Some API changes to `RelatedField`.

Automated

* Bump the python-dependencies group with 2 updates by dependabot in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/90
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/91

---

**Full Changelog**: https://github.com/MrThearMan/graphene-django-query-optimizer/compare/v0.4.2...v0.5.0

0.4.2

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed

Fixes

* Fixes issues with "alternate fields" queries together with their "original field" causing one of the results to have duplicate rows 87

Maintenance

* Refactor testing setup

Automated

* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/89
* Bump the python-dependencies group with 2 updates by dependabot in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/88

---

**Full Changelog**: https://github.com/MrThearMan/graphene-django-query-optimizer/compare/v0.4.1...v0.4.2

0.4.1

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed

Features

* Add `MultiField` and `aliases` parameter to `AnnotatedField` 85

Automated

* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/84
* Bump the python-dependencies group with 2 updates by dependabot in https://github.com/MrThearMan/graphene-django-query-optimizer/pull/83

---

**Full Changelog**: https://github.com/MrThearMan/graphene-django-query-optimizer/compare/v0.4.0...v0.4.1

0.4.0

What's Changed

Features

* Replace `required_annotations` with `AnnotatedField` 77
* Replace `required_fields` and `required_relations` with the `field_name` argument to `RelatedField`, `DjangoListField`, and `DjangoConnectionField` 77

Fixes

* Fix nested many-to-many related relay connection fields returning duplicate values, as well as limiting not working correctly 80

Maintenance

* Simplify caching functions
* Add select related before prefetches in optimizer

---

**Full Changelog**: https://github.com/MrThearMan/graphene-django-query-optimizer/compare/v0.3.5...v0.4.0

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.