Releases: strawberry-graphql/strawberry-django
Releases · strawberry-graphql/strawberry-django
Release 0.10.7
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #291
- fix: pass **kwargs to the type's
get_queryset
when defined by @bellini666 in #295 - Fix missing model docstring crash by @Mapiarz in #297
- docs: update absolute path to relative in markdown file by @miyashiiii in #296
New Contributors
- @Mapiarz made their first contribution in #297
- @miyashiiii made their first contribution in #296
Full Changelog: v0.10.6...v0.10.7
Release 0.10.6
What's Changed
- Fixed typo dic by @selvarajrajkanna in #290
New Contributors
- @selvarajrajkanna made their first contribution in #290
Full Changelog: v0.10.5...v0.10.6
Release 0.10.5
What's Changed
- Handle Django GENERATE_ENUMS_FROM_CHOICES with strawberry.auto by @pcraciunoiu in #286
New Contributors
- @pcraciunoiu made their first contribution in #286
Full Changelog: v0.10.4...v0.10.5
Release 0.10.4
What's Changed
- docs: tweak links to work with non-root path for hosting by @DavidLemayian in #283
- Typo fix in documentation by @paltman in #285
- Remove usage of
concrete_of
by @patrick91 in #287
New Contributors
Full Changelog: v0.10.3...v0.10.4
Release 0.10.3
What's changed
- fix: make sure field_name overriding is not ignored when querying data (#282)
- fix: the type's queryset doesn't receive **kwarg
- fix: make sure the type's get_queryset gets called for resolved coroutines (#281)
- chore: expose missing input_mutation in init file
- docs: fix some documentation examples
Full Changelog: v0.10.2...v0.10.3
Release 0.10.2
What's Changed
- fix: reset annotation cache to fix some inheritance issues when using
strawberry>=0.192.2
by @bellini666 in #278
Full Changelog: v0.10.1...v0.10.2
Release 0.10.1
What's Changed
- fix: do not import anything from
strawberry.django
that is not in this lib by @bellini666 in #277
Full Changelog: v0.10.0...v0.10.1
Release 0.10.0
Highlights
This release is a major milestone for strawberry-django. Here are some of its highlights:
- The strawberry-django-plus lib was finally merged into this lib, meaning all the extra features it provides are available directly in here. strawberry-django-plus is being deprecated and the development of its features is going to continue here. Here is a quick summary of all the features ported from it:
- The query optimizer extension
- The relay integration (based on the new official relay support from strawberry)
- Enum integration with django-choices-field and auto generation from fields with choices
- Lots of improvements to mutations, allowing CUD mutations to handle nested creation/updating/etc
- The permissioned resolvers, designed as field extensions now instead of the custom schema directives it used
- All the API has been properly typed, meaning that type checkers should be able to properly validate calls to
strawberry_django.type(...)
/strawberry_django.field(...)
/etc - The docs have been updated with all the new features
- A major performance improvement: Due to all the refactoring and improvements, some personal benchmarks show a performance improvement of around 10x when comparing the
v0.9.5
and 8x when comparing tostrawberry-django-plus
Changes
- refactor!: overall revamp of the type/field code and typing improvements by @bellini666 in #265
- feat: relay integration by @bellini666 in #267
- feat: ModelProperty descriptor by @bellini666 in #268
- feat: query optimizer extension by @bellini666 in #271
- feat: enum integration by @bellini666 in #270
- feat: improved mutations by @bellini666 in #272
- feat: permissions extensions using the django's permissioning system by @bellini666 in #273
- docs: document all new features from this lib and improve existing ones by @bellini666 in #274
Full Changelog: v0.9.5...v0.10.0
Release 0.9.5
What's Changed
- add .DS_Store to gitignore by @capital-G in #248
- Add kwargs to the documentation about get_queryset by @cdroege in #250
- Update test matrix to include django 4.2 by @kwongtn in #253
- chore: migrate from flake8/isort to ruff by @bellini666 in #237
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #259
- add strawberry.relay tests, fix compatibility with relay, fix other issues by @devkral in #260
New Contributors
- @capital-G made their first contribution in #248
- @cdroege made their first contribution in #250
Full Changelog: v0.9.4...v0.9.5
Release 0.9.4
What's changed
- refactor: replace Extension by SchemaExtension as required by strawberry 0.160.0+
- fix: do not add filters to non list fields (thanks @g-as for reporting this regression)
Full Changelog: v0.9.3...v0.9.4