Releases: MrThearMan/graphene-django-query-optimizer
Releases · MrThearMan/graphene-django-query-optimizer
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
Release 0.6.3
What's Changed
Features
- Add parent ref to optimizer
- Fix issue with promoting
select_related
toprefetch_related
in nested optimizers.
Full Changelog: v0.6.2...v0.6.3
Release 0.6.2
What's Changed
- Run pre-compilation checks for all
select_related
optimizers.
Full Changelog: v0.6.1...v0.6.2
Release 0.6.1
What's Changed
Features
- Adds a pre-resolving field which can be used to optimize fields that require arguments.
- Adds a pre-compilation hook to object types for mofidying optimizer contents manually before optimization happens.
Automated
- Bump the python-dependencies group with 2 updates by @dependabot in #108
Full Changelog: v0.6.0...v0.6.1
Release 0.6.0
What's Changed
Features
- Support swapping implementations of
OptimizationCompiler
,QueryOptimizer
,FilterInfoCompiler
, andFieldSelectionCompiler
by subclassing them. This makes the library code use whatever subclass has been most recently created for these classes, which can be used to modify specific parts of them without rewriting large parts of the library that use those classes.
Full Changelog: v0.5.4...v0.6.0
Release 0.5.4
What's Changed
Features
- Correctly optimize queries where the same field is defined mutiple times with different subfields
Automated
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #106
- Bump the python-dependencies group with 3 updates by @dependabot in #104
- Bump MrThearMan/CI from 0.4.9 to 0.4.11 in the github-actions-dependencies group by @dependabot in #105
- Bump the python-dependencies group with 2 updates by @dependabot in #107
Full Changelog: v0.5.3...v0.5.4
v0.5.3
What's Changed
Features
- Don't throw error on zero offset to connection field
Full Changelog: v0.5.2...v0.5.3
Release 0.5.2
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 #92
- Bump the python-dependencies group with 3 updates by @dependabot in #94
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #93
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #95
Full Changelog: v0.5.1...v0.5.2