Skip to content

Release 0.10.0

Compare
Choose a tag to compare
@bellini666 bellini666 released this 05 Jul 14:44
· 454 commits to main since this release
486323f

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 to strawberry-django-plus

Changes

Full Changelog: v0.9.5...v0.10.0