Skip to content

Releases: MrThearMan/graphene-django-query-optimizer

Release 0.3.0

11 Mar 21:54
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fix issue with DjangoConnectionField pagination when max_size=None #76
  • Fix issue with nested totalCount if field max_size=None #76

Maintenance

  • Refactor OptimizationCompiler by abstracting a GraphQLASTWalker class. Use this to refactor get_filter_info into FilterInfoCompiler.

Automated

  • Bump the python-dependencies group with 6 updates by @dependabot in #78

Full Changelog: v0.2.11...v0.3.0

Release 0.2.11

09 Mar 14:44
Compare
Choose a tag to compare

What's Changed

Features

  • Add option to hint required relations for a custom field #77

Fixes

  • Find resolver hints from graphene field resolvers as well, not just scalars resolvers #77

Full Changelog: v0.2.10...v0.2.11

Release 0.2.10

09 Mar 13:03
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fix connection field max_limit not being respected for nested connections #76

Full Changelog: v0.2.9...v0.2.10

Release 0.2.9

09 Mar 11:27
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fix nested pagination last filter not working correctly #75

Full Changelog: v0.2.8...v0.2.9

Release 0.2.8

07 Mar 20:39
Compare
Choose a tag to compare

What's Changed

Fixes

  • Do not run filters for relay.Node fields. Fixes bug with id filters #74

Full Changelog: v0.2.7...v0.2.8

Release 0.2.7

07 Mar 06:58
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fix prefetch querysets not generating correctly for forward many-to-many fields #73
  • Don't annotate total count to prefetched querysets if not selected in query (for performance reasons) #72

Full Changelog: v0.2.6...v0.2.7

Release 0.2.6

06 Mar 19:56
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fix total_count / connection.length for nested connection fields #72

Full Changelog: v0.2.5...v0.2.6

Release 0.2.5

06 Mar 08:33
Compare
Choose a tag to compare

What's changed?

Features

  • Add support for finding filtering arguments from fragment spreads and inline fragments

Fixes

  • Fix bug where defining connection-specific fields before edges would cause filter argument compiling to crash #72
  • Fix bug where defining cursor before node in connection fields would stop optimization compiler from gathering optimizations further

Full Changelog: v0.2.4...v0.2.5

Release 0.2.4

05 Mar 20:58
Compare
Choose a tag to compare

Support optimizing reverse many-related fields wihtout related_name

Full Changelog: v0.2.3...v0.2.4

Release 0.2.3

05 Mar 14:04
Compare
Choose a tag to compare

What's Changed

Fixes

  • Make caching process more optimized by not using filter info. Create used filterset classes during object type creation to speed up get_filter_info calls when they are needed.

Automated

  • Bump the python-dependencies group with 2 updates by @dependabot in #69

Full Changelog: v0.2.2...v0.2.3