pypi strawberry-graphql 0.293.0
🍓 0.293.0

latest release: 0.294.0
7 hours ago

Remove deprecated channel_listen method from the Channels integration, deprecated since 0.193.0.

Migration guide

Before (deprecated):

async for message in info.context["ws"].channel_listen("my_channel"):
    yield Message(message=message["text"])

After:

async with info.context["ws"].listen_to_channel("my_channel") as listener:
    async for message in listener:
        yield Message(message=message["text"])

Releases contributed by @Ckk3 via #4216

Don't miss a new strawberry-graphql release

NewReleases is sending notifications on new releases.