Skip to content

Commit

Permalink
Release 🍓 0.97.0
Browse files Browse the repository at this point in the history
  • Loading branch information
botberry committed Feb 17, 2022
1 parent f5a2afd commit f2cc503
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 23 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
CHANGELOG
=========

0.97.0 - 2022-02-17
-------------------

Support "void" functions

It is now possible to have a resolver that returns "None". Strawberry will automatically assign the new `Void` scalar in the schema
and will always send `null` in the response

## Exampe

```python
@strawberry.type
class Mutation:
@strawberry.field
def do_something(self, arg: int) -> None:
return
```
results in this schema:
```grapqhl
type Mutation {
doSomething(arg: Int!): Void
}
```

Contributed by [Paulo Costa](https://github.com/paulo-raca) [PR #1648](https://github.com/strawberry-graphql/strawberry/pull/1648/)


0.96.0 - 2022-02-07
-------------------

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

This file was deleted.

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

0 comments on commit f2cc503

Please sign in to comment.