Skip to content

Commit dc33640

Browse files
committed
Release 🍓 0.277.0
1 parent bb81384 commit dc33640

File tree

3 files changed

+29
-24
lines changed

3 files changed

+29
-24
lines changed

CHANGELOG.md

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

4+
0.277.0 - 2025-07-18
5+
--------------------
6+
7+
This release adds experimental support for GraphQL's `@defer` and `@stream` directives, enabling incremental delivery of response data.
8+
9+
Note: this only works when using Strawberry with `graphql-core>=3.3.0a9`.
10+
11+
## Features
12+
13+
- **`@defer` directive**: Allows fields to be resolved asynchronously and delivered incrementally
14+
- **`@stream` directive**: Enables streaming of list fields using the new `strawberry.Streamable` type
15+
- **`strawberry.Streamable[T]`**: A new generic type for defining streamable fields that work with `@stream`
16+
17+
## Configuration
18+
19+
To enable these experimental features, configure your schema with:
20+
21+
```python
22+
from strawberry.schema.config import StrawberryConfig
23+
24+
schema = strawberry.Schema(
25+
query=Query, config=StrawberryConfig(enable_experimental_incremental_execution=True)
26+
)
27+
```
28+
29+
Contributed by [Patrick Arminio](https://github.com/patrick91) via [PR #3819](https://github.com/strawberry-graphql/strawberry/pull/3819/)
30+
31+
432
0.276.2 - 2025-07-18
533
--------------------
634

RELEASE.md

Lines changed: 0 additions & 23 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.276.2"
3+
version = "0.277.0"
44
description = "A library for creating GraphQL APIs"
55
authors = [{ name = "Patrick Arminio", email = "[email protected]" }]
66
license = { text = "MIT" }

0 commit comments

Comments
 (0)