Skip to content

Releases: strawberry-graphql/strawberry-django

Release 0.65.1

26 Jul 10:55
375fa40
Compare
Choose a tag to compare

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

20 Jul 08:38
f228320
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.64.0...v0.65.0

Release 0.64.0

19 Jul 11:16
3cf0e74
Compare
Choose a tag to compare

What's changed

  • feat: bump minimum Strawberry version to 0.276.2

Full Changelog: v0.63.0...v0.64.0

Release 0.63.0

16 Jul 11:54
a5c5277
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.62.0...v0.63.0

Release 0.62.0

16 Jun 17:24
6a0005d
Compare
Choose a tag to compare

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

  • @soby made their first contribution in #762

Full Changelog: v0.61.0...v0.62.0

Release 0.61.0

08 Jun 09:50
4609ae3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.60.0...v0.61.0

Release 0.60.0

24 May 10:02
a3da538
Compare
Choose a tag to compare

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

06 May 07:30
38e6305
Compare
Choose a tag to compare

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

30 Apr 19:48
97e370e
Compare
Choose a tag to compare

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 to DjangoListConnection
  • strawberry_django.filter got renamed to strawberry_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

Full Changelog: v0.58.0...v0.59.0

Release 0.58.0

04 Apr 16:02
8898175
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.57.1...v0.58.0