Skip to content

Commit 79e77bb

Browse files
committed
Release 🍓 0.310.1
1 parent 91a58d7 commit 79e77bb

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
CHANGELOG
22
=========
33

4+
0.310.1 - 2026-03-08
5+
--------------------
6+
7+
Fix sync execution crash with graphql-core 3.3 where `execute_sync()` would return a coroutine
8+
instead of an `ExecutionResult`, causing `RuntimeError: There is no current event loop`,
9+
because graphql-core 3.3's `is_async_iterable` default treats objects with `__aiter__`
10+
(like Django QuerySets) as async iterables.
11+
12+
Now passes `is_async_iterable=lambda _x: False` during sync execution to prevent this.
13+
14+
Note: graphql-core >= 3.3.0a12 is now the minimum required version for the 3.3.x series.
15+
16+
Contributed by [Thiago Bellini Ribeiro](https://github.com/bellini666) via [PR #4267](https://github.com/strawberry-graphql/strawberry/pull/4267/)
17+
18+
419
0.310.0 - 2026-03-08
520
--------------------
621

RELEASE.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "strawberry-graphql"
3-
version = "0.310.0"
3+
version = "0.310.1"
44
description = "A library for creating GraphQL APIs"
55
authors = [{ name = "Patrick Arminio", email = "patrick.arminio@gmail.com" }]
66
license = { text = "MIT" }

0 commit comments

Comments
 (0)