Build(deps): Bump strawberry-graphql[fastapi] from 0.237.3 to 0.239.1
Bumps strawberry-graphql[fastapi] from 0.237.3 to 0.239.1.
Release notes
Sourced from strawberry-graphql[fastapi]'s releases.
🍓 0.239.1This 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.0This release adds support for multipart subscriptions in almost all[^1] 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.
[^1]: Flask, Chalice and the sync Django integration don't support this.
Releases contributed by
@patrick91
via #3076
🍓 0.238.1Fix an issue where
StrawberryResolver.is_async
was returningFalse
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 withinspect.iscoroutinefunction
instead ofasyncio.iscoroutinefunction
Releases contributed by
@shmoon-kr
via #3599
🍓 0.238.0This 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
Changelog
Sourced from strawberry-graphql[fastapi]'s changelog.
0.239.1 - 2024-09-02
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.
Contributed by Patrick Arminio via [PR #3610](strawberry-graphql/strawberry#3610)
0.239.0 - 2024-08-31
This release adds support for multipart subscriptions in almost all[^1] 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.
[^1]: Flask, Chalice and the sync Django integration don't support this.
Contributed by Patrick Arminio via [PR #3076](strawberry-graphql/strawberry#3076)
0.238.1 - 2024-08-30
Fix an issue where
StrawberryResolver.is_async
was returningFalse
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 withinspect.iscoroutinefunction
instead ofasyncio.iscoroutinefunction
Contributed by Hyun S. Moon via [PR #3599](strawberry-graphql/strawberry#3599)
0.238.0 - 2024-08-30
... (truncated)
Commits
-
54b8a49
Release🍓 0.239.1 -
a51d09c
Fix status code for multipart subscriptions (#3610) -
98b8563
Fix doc format -
27aa88f
Remove TWEET.md -
048a3de
Release🍓 0.239.0 -
68296e0
Add support for multipart subscriptions (#3076) -
08db7f7
Release🍓 0.238.1 -
b1e4371
Use the correct iscoroutinefunction function for python 3.12+ (#3599) -
e9a0f13
Release🍓 0.238.0 -
70c958c
Remove starlite (#3609) - Additional commits viewable in compare view