Releases: strawberry-graphql/strawberry-django
Releases · strawberry-graphql/strawberry-django
Release 0.65.1
What's changed
- fix(field): prevent early ImportError on Field.type to break (a353b4f)
Full Changelog: v0.65.0...v0.65.1
Release 0.65.0
What's Changed
Full Changelog: v0.64.0...v0.65.0
Release 0.64.0
Release 0.63.0
What's Changed
- fix: ensure dataclass's kwarg-only is specified to allow mixing fields (closes #768) by @axieum in #769
- fix: handle lazy filters and ordering in strawberry_django.connection by @rcybulski1122012 in #773
- docs: Fix minor typo "recommented". by @roelzkie15 in #775
- test: pytest-xdist for parallel testing by @roelzkie15 in #776
New Contributors
- @roelzkie15 made their first contribution in #775
- @rcybulski1122012 made their first contribution in #773
Full Changelog: v0.62.0...v0.63.0
Release 0.62.0
What's Changed
- delete unused filters for creating mutations by @star2000 in #761
- fix: fix filters using lazy annotations by @bellini666 in #765
- Add support for AND/OR filters to be lists by @soby in #762
New Contributors
Full Changelog: v0.61.0...v0.62.0
Release 0.61.0
What's Changed
- feat(security): disallow mutations without filters by @star2000 in #755
- fix(ordering): fix lazy types in ordering by @bellini666 in #759
Full Changelog: v0.60.0...v0.61.0
Release 0.60.0
What's Changed
- fix(optimizer): Pass accurate "info" parameter to PrefetchCallable and AnnotateCallable by @diesieben07 in #742
- feat: wrap resolvers in
django_resolver(...)
to ensure appropriate async/sync context by @axieum in #746
New Contributors
Full Changelog: v0.59.1...v0.60.0
Release 0.59.1
What's Changed
- fix: Fix "ordering" for connections and offset_paginated by @diesieben07 in #741
Full Changelog: v0.59.0...v0.59.1
Release 0.59.0
Highlights
This release brings some very interesting features, thanks to @diesieben07 🍓
- A new ordering type is now available, created using
@strawberry_django.order_type
. This type uses a list for specifying ordering criteria instead of an object, making it easier and more flexible to apply multiple orderings, ensuring they will keep their order. Check the ordering docs for more info on how to use it - Support for "true" cursor-based pagination in connections, using the new
DjangoCursorConnection
type. Check the relay docs for more info on how to use it
Also, to maintain consistency across the codebase, we have renamed several classes and functions. The old names are still available for import and use, making this a non-breaking change, but they are marked as deprecated and will eventually be removed in the future. The renames are as follows:
ListConnectionWithTotalCount
got renamed toDjangoListConnection
strawberry_django.filter
got renamed tostrawberry_django.filter_type
What's Changed
- feat: Add new ordering method allowing ordering by multiple fields by @diesieben07 in #679
- feat: Add support for "true" cursor based pagination in connections by @diesieben07 in #730
- refactor: rename ListConnectionWithTotalCount and filter for consistency by @bellini666 in #739
- fix: Fix duplicate LOOKUP_SEP being used when field hints are used with polymorphic queries by @diesieben07 in #736
- fix: Fix a minor typing issue by @diesieben07 in #738
- docs: Fix resolvers.md by @Hermotimos in #735
New Contributors
- @Hermotimos made their first contribution in #735
Full Changelog: v0.58.0...v0.59.0
Release 0.58.0
What's Changed
- feat: Official Django 5.2 support by @bellini666 in #728
- feat: Improve handling of polymorphism in the optimizer by @diesieben07 in #720
- fix: Compatibility with Django Debug Toolbar 5.1+ by @cpontvieux-systra in #725
- fix: Ensure max_results is consistently applied for connections by @Mapiarz in #727
- chore: Update mutations.py to expose the full_clean parameter by @keithhackbarth in #701
Full Changelog: v0.57.1...v0.58.0