Skip to content

Commit

Permalink
Release 🍓 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
botberry committed Jul 16, 2019
1 parent ad850a0 commit 8e5e0f9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
CHANGELOG
=========

0.13.0 - 2019-07-16
-------------------

This release adds field support for permissions

```python
import strawberry

from strawberry.permission import BasePermission

class IsAdmin(BasePermission):
message = "You are not authorized"

def has_permission(self, info):
return False

@strawberry.type
class Query:
@strawberry.field(permisson_classes=[IsAdmin])
def hello(self, info) -> str:
return "Hello"
```

0.12.0 - 2019-06-25
-------------------

Expand Down
21 changes: 0 additions & 21 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.12.0"
version = "0.13.0"
description = "A library for creating GraphQL APIs"
authors = ["Patrick Arminio <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 8e5e0f9

Please sign in to comment.