Releases: strawberry-graphql/strawberry-django
Releases · strawberry-graphql/strawberry-django
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
DjangoCursorConnectiontype. 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:
ListConnectionWithTotalCountgot renamed toDjangoListConnectionstrawberry_django.filtergot 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
Release 0.57.1
What's Changed
- Improve fallback primary key ordering unit tests by @SupImDos in #716
- Fix unnecessary window pagination being used by @diesieben07 in #719
Full Changelog: v0.57.0...v0.57.1
Release 0.57.0
What's Changed
Full Changelog: v0.56.0...v0.57.0
Release 0.56.0
What's Changed
- Add support for the the general
Geometrytype by @shmoon-kr in #709
New Contributors
- @shmoon-kr made their first contribution in #709
Full Changelog: v0.55.2...v0.56.0
Release 0.55.2
What's Changed
- Move
django-tree-queriesdependency to dev (it was wrongly added to main dependencies) (fec457e)
Full Changelog: v0.55.1...v0.55.2
Release 0.55.1
What's Changed
- docs: fix inverted link tags by @pbratkowski in #692
- docs: fix typo by @ticosax in #696
- fix: omit TestClient from pytest's test discovery by @pbratkowski in #694
- fix(optimizer): Avoid merging prefetches when using aliases by @bellini666 in #698
New Contributors
- @pbratkowski made their first contribution in #692
- @ticosax made their first contribution in #696
Full Changelog: v0.55.0...v0.55.1