Releases: strawberry-graphql/strawberry-django
Releases · strawberry-graphql/strawberry-django
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
Release 0.9.3
What's Changed
- Update test django version from 4.2a1 to 4.2b1 by @kwongtn in #241
- feature: backporting django-debug-toolbar from strawberry-django-plus by @frleb in #239
- refactor: do not insert
pk
arguments inside non root fields by @bellini666 in #246
New Contributors
- @frleb made their first contribution in #239
Full Changelog: v0.9.2...v0.9.3
Release 0.9.2
What's changed
- chore: do not limit django/strawberry upper bound versions
Full Changelog: v0.9.1...v0.9.2
Release 0.9.1
What's Changed
- Add django 4.0,4.2 to tests & updated minor versions by @kwongtn in #228
- Fix private field handling by @devkral in #231
Full Changelog: v0.9...v0.9.1
Release 0.9
What's Changed
- fix(typo): Fix typo in table of contents by @rennerocha in #216
- removed
django-filter
from pyproject.toml, added tests matrix by @nrbnlulu in #219 - Add actionlint for GitHub Actions files by @kwongtn in #221
- Fix django version matrix. by @nrbnlulu in #222
- Geos fields query & mutation support by @kwongtn in #213
- Started docs for query by @ccsv in #147
New Contributors
- @rennerocha made their first contribution in #216
Full Changelog: v0.8.2...v0.9