Skip to content

Commit

Permalink
Release 🍓 0.221.1
Browse files Browse the repository at this point in the history
  • Loading branch information
botberry committed Mar 21, 2024
1 parent 2914950 commit ec4cf15
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 23 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,33 @@
CHANGELOG
=========

0.221.1 - 2024-03-21
--------------------

This release properly allows passing one argument to the `Info` class.

This is now fully supported:

```python
import strawberry

from typing import TypedDict


class Context(TypedDict):
user_id: str


@strawberry.type
class Query:
@strawberry.field
def info(self, info: strawberry.Info[Context]) -> str:
return info.context["user_id"]
```

Contributed by [Patrick Arminio](https://github.com/patrick91) via [PR #3419](https://github.com/strawberry-graphql/strawberry/pull/3419/)


0.221.0 - 2024-03-21
--------------------

Expand Down
22 changes: 0 additions & 22 deletions RELEASE.md

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,7 +1,7 @@
[tool.poetry]
name = "strawberry-graphql"
packages = [ { include = "strawberry" } ]
version = "0.221.0"
version = "0.221.1"
description = "A library for creating GraphQL APIs"
authors = ["Patrick Arminio <patrick.arminio@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit ec4cf15

Please sign in to comment.