diff --git a/CHANGELOG.md b/CHANGELOG.md index 30c2b0c3ee..3f45b5fa66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,31 @@ CHANGELOG ========= +0.93.16 - 2022-01-04 +-------------------- + +Add support for piping `StrawberryUnion` and `None` when annotating types. + +For example: +```python +@strawberry.type +class Cat: + name: str + +@strawberry.type +class Dog: + name: str + +Animal = strawberry.union("Animal", (Cat, Dog)) + +@strawberry.type +class Query: + animal: Animal | None # This line no longer triggers a TypeError +``` + +Contributed by [Yossi Rozantsev](https://github.com/Apakottur) [PR #1540](https://github.com/strawberry-graphql/strawberry/pull/1540/) + + 0.93.15 - 2022-01-04 -------------------- diff --git a/RELEASE.md b/RELEASE.md deleted file mode 100644 index 1ffa3ada57..0000000000 --- a/RELEASE.md +++ /dev/null @@ -1,20 +0,0 @@ -Release type: patch - -Add support for piping `StrawberryUnion` and `None` when annotating types. - -For example: -```python -@strawberry.type -class Cat: - name: str - -@strawberry.type -class Dog: - name: str - -Animal = strawberry.union("Animal", (Cat, Dog)) - -@strawberry.type -class Query: - animal: Animal | None # This line no longer triggers a TypeError -``` diff --git a/pyproject.toml b/pyproject.toml index 428599acf3..495b2c2bd6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "strawberry-graphql" packages = [ { include = "strawberry" } ] -version = "0.93.15" +version = "0.93.16" description = "A library for creating GraphQL APIs" authors = ["Patrick Arminio "] license = "MIT"