Skip to content

Commit 35a6310

Browse files
committed
Release 🍓 0.311.1
1 parent 7f90200 commit 35a6310

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

CHANGELOG.md

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

4+
0.311.1 - 2026-03-10
5+
--------------------
6+
7+
This release fixes an `InvalidStateError` crash in the DataLoader when a batch
8+
load function raises an exception and some futures in the batch have already been
9+
cancelled (e.g. due to client disconnection).
10+
11+
The error handler in `dispatch_batch` now skips cancelled futures before calling
12+
`set_exception`, matching the guard that already exists in the success path
13+
(added in #2339).
14+
15+
Contributed by [Ben XO](https://github.com/ben-xo) via [PR #4300](https://github.com/strawberry-graphql/strawberry/pull/4300/)
16+
17+
418
0.311.0 - 2026-03-08
519
--------------------
620

RELEASE.md

Lines changed: 0 additions & 9 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.311.0"
3+
version = "0.311.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)