Skip to content

Releases: strawberry-graphql/strawberry-django

Release 0.61.0

08 Jun 09:50
4609ae3

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

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

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

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

Choose a tag to compare

What's Changed

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

Release 0.57.1

22 Mar 11:18
6fe362b

Choose a tag to compare

What's Changed

Full Changelog: v0.57.0...v0.57.1

Release 0.57.0

02 Mar 11:59
25db851

Choose a tag to compare

What's Changed

Full Changelog: v0.56.0...v0.57.0

Release 0.56.0

16 Feb 10:24
dad9316

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.55.2...v0.56.0

Release 0.55.2

12 Feb 16:44
95dc43b

Choose a tag to compare

What's Changed

  • Move django-tree-queries dependency to dev (it was wrongly added to main dependencies) (fec457e)

Full Changelog: v0.55.1...v0.55.2

Release 0.55.1

26 Jan 11:28
c1c8595

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.55.0...v0.55.1