Releases: MrThearMan/graphene-django-query-optimizer
Releases · MrThearMan/graphene-django-query-optimizer
Release 0.4.1
What's Changed
Features
- Add
MultiField
andaliases
parameter toAnnotatedField
#85
Automated
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #84
- Bump the python-dependencies group with 2 updates by @dependabot in #83
Full Changelog: v0.4.0...v0.4.1
Release 0.4.0
What's Changed
Features
- Replace
@required_annotations
withAnnotatedField
#77 - Replace
@required_fields
and@required_relations
with thefield_name
argument toRelatedField
,DjangoListField
, andDjangoConnectionField
#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
What's Changed
Fixes
- Allow resolvers defined on the object type (e.g.
resolve_{name}
) to override theRelatedField
default resolvers
Full Changelog: v0.3.4...v0.3.5
Release 0.3.4
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
Release 0.3.2
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 isFalse
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
What's Changed
Features
- Run
filter_queryset
after filterset filtering
Fixes
- Fixed resolver hints sometime not being found from resolvers
Automated
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #82
Full Changelog: v0.3.0...v0.3.1
Release 0.3.0
What's Changed
Fixes
- Fix issue with
DjangoConnectionField
pagination whenmax_size=None
#76 - Fix issue with nested
totalCount
if fieldmax_size=None
#76
Maintenance
- Refactor
OptimizationCompiler
by abstracting aGraphQLASTWalker
class. Use this to refactorget_filter_info
intoFilterInfoCompiler
.
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
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
What's Changed
Fixes
- Fix connection field
max_limit
not being respected for nested connections #76
Full Changelog: v0.2.9...v0.2.10