Skip to content

Releases: MrThearMan/graphene-django-query-optimizer

Release 0.4.1

21 Mar 17:37
Compare
Choose a tag to compare

What's Changed

Features

  • Add MultiField and aliases parameter to AnnotatedField #85

Automated


Full Changelog: v0.4.0...v0.4.1

Release 0.4.0

17 Mar 12:21
Compare
Choose a tag to compare

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: v0.3.5...v0.4.0

Release 0.3.5

15 Mar 08:20
Compare
Choose a tag to compare

What's Changed

Fixes

  • Allow resolvers defined on the object type (e.g. resolve_{name}) to override the RelatedField default resolvers

Full Changelog: v0.3.4...v0.3.5

Release 0.3.4

13 Mar 13:07
Compare
Choose a tag to compare

What's Changed

Fixes

  • Narrow down optimization error correction further - it should now only apply for the compiler, and other errors will still raise

Full Changelog: v0.3.3...v0.3.4

Release 0.3.3

13 Mar 12:41
Compare
Choose a tag to compare

What's Changed

Fixed

  • Fix too broad optimization error correction.

Full Changelog: v0.3.2...v0.3.3

Release 0.3.2

13 Mar 11:51
Compare
Choose a tag to compare

What's Changed

Features

  • Add setting ALLOW_CONNECTION_AS_DEFAULT_NESTED_TO_MANY_FIELD for allowing connection fields as default fields for nested to-many related entities. Setting is False by default, meaning all nested to-many related entities will use DjangoListField. This doesn't prevent using DjangoConnectionField manually on ObjectTypes.

Full Changelog: v0.3.1...v0.3.2

Release 0.3.1

13 Mar 07:49
Compare
Choose a tag to compare

What's Changed

Features

  • Run filter_queryset after filterset filtering

Fixes

  • Fixed resolver hints sometime not being found from resolvers

Automated


Full Changelog: v0.3.0...v0.3.1

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