Skip to content

0.322.0

Choose a tag to compare

@botberry botberry released this 18 Jul 10:36
6ed1df5

This release adds a cleaner extension API by removing the deprecated Extension
import alias from strawberry.extensions. The alias was deprecated in
0.160.0;
import SchemaExtension instead.

Migration guide

Before (deprecated):

from strawberry.extensions import Extension


class MyExtension(Extension): ...

After:

from strawberry.extensions import SchemaExtension


class MyExtension(SchemaExtension): ...

This release was contributed by @Ckk3 in #4210

Additional contributors: @patrick91, @github-actions[bot]