Skip to content

Commit

Permalink
Release 🍓 0.93.16
Browse files Browse the repository at this point in the history
  • Loading branch information
botberry committed Jan 4, 2022
1 parent e51e8ef commit 7bee794
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 21 deletions.
25 changes: 25 additions & 0 deletions 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
--------------------

Expand Down
20 changes: 0 additions & 20 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.93.15"
version = "0.93.16"
description = "A library for creating GraphQL APIs"
authors = ["Patrick Arminio <patrick.arminio@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit 7bee794

Please sign in to comment.