Skip to content

Commit

Permalink
Release 🍓 0.222.0
Browse files Browse the repository at this point in the history
  • Loading branch information
botberry committed Mar 27, 2024
1 parent ac20ea8 commit 9ef6690
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 20 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,30 @@
CHANGELOG
=========

0.222.0 - 2024-03-27
--------------------

This release adds support for Apollo Federation v2.7 which includes the `@authenticated`, `@requiresScopes`, `@policy` directives, as well as the `label` argument for `@override`.
As usual, we have first class support for them in the `strawberry.federation` namespace, here's an example:

```python
from strawberry.federation.schema_directives import Override


@strawberry.federation.type(
authenticated=True,
policy=[["client", "poweruser"], ["admin"]],
requires_scopes=[["client", "poweruser"], ["admin"]],
)
class Product:
upc: str = strawberry.federation.field(
override=Override(override_from="mySubGraph", label="percent(1)")
)
```

Contributed by [Tyger Taco](https://github.com/TygerTaco) via [PR #3420](https://github.com/strawberry-graphql/strawberry/pull/3420/)


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

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

0 comments on commit 9ef6690

Please sign in to comment.