Skip to content

Releases: MrThearMan/graphene-django-query-optimizer

Release 0.8.2

20 Jun 09:36
Compare
Choose a tag to compare

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


Full Changelog: v0.8.1...v0.8.2

Release 0.8.1

17 Jun 18:27
Compare
Choose a tag to compare

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


Full Changelog: v0.8.0...v0.8.1

Release 0.8.0

01 Jun 05:22
Compare
Choose a tag to compare

What's Changed

  • Refactor the internals of the QueryOptimizer class.
  • Change pre_compilation_hook to pre_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

31 May 10:22
Compare
Choose a tag to compare

What's Changed

  • Add helpers for dealing with child optimizers

Full Changelog: v0.7.1...v0.7.2

Release 0.7.1

31 May 09:35
Compare
Choose a tag to compare

What's Changed

Fixes

  • Make args on ManuallyOptimizedField optional, and do not require them for the optimization method.

Full Changelog: v0.7.0...v0.7.1

Release 0.7.0

31 May 08:40
Compare
Choose a tag to compare

What's Changed

Features

  • Replaces PreResolvingField with ManuallyOptimizedField. 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


Full Changelog: v0.6.3...v0.7.0

Release 0.6.3

27 May 10:16
Compare
Choose a tag to compare

What's Changed

Features

  • Add parent ref to optimizer
  • Fix issue with promoting select_related to prefetch_related in nested optimizers.

Full Changelog: v0.6.2...v0.6.3

Release 0.6.2

27 May 07:58
Compare
Choose a tag to compare

What's Changed

  • Run pre-compilation checks for all select_related optimizers.

Full Changelog: v0.6.1...v0.6.2

Release 0.6.1

27 May 07:09
Compare
Choose a tag to compare

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


Full Changelog: v0.6.0...v0.6.1

Release 0.6.0

24 May 17:24
Compare
Choose a tag to compare

What's Changed

Features

  • Support swapping implementations of OptimizationCompiler, QueryOptimizer, FilterInfoCompiler, and FieldSelectionCompiler 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