Strawberry-graphql

Latest version: v0.263.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 125 of 133

0.20.3

Not secure
-------------------

Improve datetime, date and time types conversion. Removes aniso dependency
and also adds support for python types, so now we can do use python datetime's types
instead of our custom scalar types.

0.20.2

Not secure
-------------------

0.20.1

Not secure
-------------------

Fix directives bugs:

- Fix autogenerated `return` argument bug

- Fix include and skip failure bug

0.20.0

Not secure
-------------------

This release improves support for permissions (it is a breaking change).
Now you will receive the source and the arguments in the `has_permission` method,
so you can run more complex permission checks. It also allows to use permissions
on fields, here's an example:


python
import strawberry

from strawberry.permission import BasePermission


class IsAdmin(BasePermission):
message = "You are not authorized"

def has_permission(self, source, info):
return source.name.lower() == "Patrick" or _is_admin(info)


strawberry.type
class User:
name: str
email: str = strawberry.field(permission_classes=[IsAdmin])


strawberry.type
class Query:
strawberry.field(permission_classes=[IsAdmin])
def user(self, info) -> str:
return User(name="Patrick", email="exampleemail.com")

0.19.1

Not secure
-------------------

This releases removes support for async resolver in django
as they causes issues when accessing the databases.

0.19.0

Not secure
-------------------

This release improves support for django and asgi integration.

It allows to use async resolvers when using django. It also changes the status
code from 400 to 200 even if there are errors this makes it possible to still
use other fields even if one raised an error.

We also moved strawberry.contrib.django to strawberry.django, so if you're using
the django view make sure you update the paths.

Page 125 of 133

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.