Releases: strawberry-graphql/strawberry
🍓 0.239.2
🍓 0.239.1
This release fixes an issue with the http multipart subscription where the
status code would be returned as None
, instead of 200.
We also took the opportunity to update the internals to better support
additional protocols in future.
Releases contributed by @patrick91 via #3610
🍓 0.239.0
This release adds support for multipart subscriptions in almost all1 of our
http integrations!
Multipart subcriptions
are a new protocol from Apollo GraphQL, built on the
Incremental Delivery over HTTP spec,
which is also used for @defer
and @stream
.
The main advantage of this protocol is that when using the Apollo Client
libraries you don't need to install any additional dependency, but in future
this feature should make it easier for us to implement @defer
and @stream
Also, this means that you don't need to use Django Channels for subscription,
since this protocol is based on HTTP we don't need to use websockets.
Releases contributed by @patrick91 via #3076
-
Flask, Chalice and the sync Django integration don't support this. ↩
🍓 0.238.1
Fix an issue where StrawberryResolver.is_async
was returning False
for a
function decorated with asgiref's @sync_to_async
.
The root cause is that in python >= 3.12 coroutine functions are market using
inspect.markcoroutinefunction
, which should be checked with
inspect.iscoroutinefunction
instead of asyncio.iscoroutinefunction
Releases contributed by @shmoon-kr via #3599
🍓 0.238.0
This release removes the integration of Starlite, as it
has been deprecated since 11 May 2024.
If you are using Starlite, please consider migrating to Litestar (https://litestar.dev) or another alternative.
Releases contributed by @patrick91 via #3609