Releases: MrThearMan/graphene-django-query-optimizer
Releases · MrThearMan/graphene-django-query-optimizer
Release 0.9.0
What's Changed
Features
- Change the DjangoListField default fields to None (from "all") by @farcepest in #137
Automated
- Bump MrThearMan/CI from 0.4.11 to 0.4.12 in the github-actions-dependencies group by @dependabot in #122
- Bump tox from 4.15.1 to 4.16.0 in the python-dependencies group by @dependabot in #123
- Bump the python-dependencies group with 4 updates by @dependabot in #128
- Bump the python-dependencies group with 4 updates by @dependabot in #130
- Bump the python-dependencies group with 3 updates by @dependabot in #132
- Bump the python-dependencies group with 3 updates by @dependabot in #134
New Contributors
- @farcepest made their first contribution in #137
Full Changelog: v0.8.5...v0.9.0
Release 0.8.5
What's Changed
Fixes
- Fix an issue with filtering top-level queries with camelCased aliases.
Automated
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #120
- Bump the python-dependencies group with 2 updates by @dependabot in #119
Full Changelog: v0.8.4...v0.8.5
Release 0.8.4
What's Changed
Fixes
- Fix
swappable_by_subclassing
behavior when passing args to swapped class__init__
.
Automated
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #118
- Bump the python-dependencies group with 2 updates by @dependabot in #116
Full Changelog: v0.8.3...v0.8.4
Release 0.8.3
What's Changed
Fixes
- Changed from v0.8.2 -> Add PaginationArgs to request instead of calculated slice.
Full Changelog: v0.8.2...v0.8.3
Release 0.8.2
What's Changed
Features
- Add initial pagination infomation from connection fields to the request. This can be used if the queryset needs to be evaluated before the optimizer does.
Automated
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #115
Full Changelog: v0.8.1...v0.8.2
Release 0.8.1
What's Changed
Fixes
- Fix issues with aliasing the same nested list field with different filters. Previously, only the latter field's filters would be applied, and optimizations would not work as expected.
Automated
- Bump the python-dependencies group with 4 updates by @dependabot in #111
- Bump graphene-django from 3.2.1 to 3.2.2 in the python-dependencies group by @dependabot in #114
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #110
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #112
Full Changelog: v0.8.0...v0.8.1
Release 0.8.0
What's Changed
- Refactor the internals of the QueryOptimizer class.
- Change
pre_compilation_hook
topre_optimization_hook
and change its interface - Change the execution order of the optimization steps. Filterset filters are now run last, which gives them the opportunity to use information from joined models in the query (advanced feature, shouldn't affect regular use)
Full Changelog: v0.7.2...v0.8.0
Release 0.7.2
Release 0.7.1
What's Changed
Fixes
- Make
args
onManuallyOptimizedField
optional, and do not require them for the optimization method.
Full Changelog: v0.7.0...v0.7.1
Release 0.7.0
What's Changed
Features
- Replaces
PreResolvingField
withManuallyOptimizedField
. This field allows for fully custom optimization strategies. - Adds a
optimization_hook
method-hook that the optimizer looks for in ObjectType Fields. This method can be used to alter how custom fields behave with the optimizer.
Automated
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #109
Full Changelog: v0.6.3...v0.7.0