Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump strawberry-graphql from 0.254.1 to 0.256.0 in /07_uns_graphql (#…
…1420) Bumps [strawberry-graphql](https://github.com/strawberry-graphql/strawberry) from 0.254.1 to 0.256.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/strawberry-graphql/strawberry/releases">strawberry-graphql's releases</a>.</em></p> <blockquote> <h2>🍓 0.256.0</h2> <p>This release drops support for Python 3.8, which reached its end-of-life (EOL) in October 2024. The minimum supported Python version is now 3.9.</p> <p>We strongly recommend upgrading to Python 3.9 or a newer version, as older versions are no longer maintained and may contain security vulnerabilities.</p> <p>Releases contributed by <a href="https://github.com/bellini666"><code>@bellini666</code></a> via <a href="https://redirect.github.com/strawberry-graphql/strawberry/issues/3730">#3730</a></p> <h2>🍓 0.255.0</h2> <p>This release adds support for making Relay connection optional, this is useful when you want to add permission classes to the connection and not fail the whole query if the user doesn't have permission to access the connection.</p> <p>Example:</p> <pre lang="python"><code>import strawberry from strawberry import relay from strawberry.permission import BasePermission <p>class IsAuthenticated(BasePermission): message = "User is not authenticated"</p> <pre><code># This method can also be async! def has_permission( self, source: typing.Any, info: strawberry.Info, **kwargs ) -&gt; bool: return False </code></pre> <p><a href="https://github.com/strawberry"><code>@strawberry</code></a>.type class Fruit(relay.Node): code: relay.NodeID[int] name: str weight: float</p> <pre><code>@classmethod def resolve_nodes( cls, *, info: strawberry.Info, node_ids: Iterable[str], ): return [] </code></pre> <p><a href="https://github.com/strawberry"><code>@strawberry</code></a>.type class Query: </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/strawberry-graphql/strawberry/blob/main/CHANGELOG.md">strawberry-graphql's changelog</a>.</em></p> <blockquote> <h2>0.256.0 - 2024-12-21</h2> <p>This release drops support for Python 3.8, which reached its end-of-life (EOL) in October 2024. The minimum supported Python version is now 3.9.</p> <p>We strongly recommend upgrading to Python 3.9 or a newer version, as older versions are no longer maintained and may contain security vulnerabilities.</p> <p>Contributed by <a href="https://github.com/bellini666">Thiago Bellini Ribeiro</a> via [PR <a href="https://redirect.github.com/strawberry-graphql/strawberry/issues/3730">#3730</a>](<a href="https://redirect.github.com/strawberry-graphql/strawberry/pull/3730/">strawberry-graphql/strawberry#3730</a>)</p> <h2>0.255.0 - 2024-12-20</h2> <p>This release adds support for making Relay connection optional, this is useful when you want to add permission classes to the connection and not fail the whole query if the user doesn't have permission to access the connection.</p> <p>Example:</p> <pre lang="python"><code>import strawberry from strawberry import relay from strawberry.permission import BasePermission <p>class IsAuthenticated(BasePermission): message = "User is not authenticated"</p> <pre><code># This method can also be async! def has_permission( self, source: typing.Any, info: strawberry.Info, **kwargs ) -&gt; bool: return False </code></pre> <p><a href="https://github.com/strawberry"><code>@strawberry</code></a>.type class Fruit(relay.Node): code: relay.NodeID[int] name: str weight: float</p> <pre><code>@classmethod def resolve_nodes( cls, *, info: strawberry.Info, node_ids: Iterable[str], ): </code></pre> <p></tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/strawberry-graphql/strawberry/commit/d9831309371a655b0ae244ba12e1b875a8dfff3e"><code>d983130</code></a> Release 🍓 0.256.0</li> <li><a href="https://github.com/strawberry-graphql/strawberry/commit/5c6f3670df90f460d6a183cb9495dff150656412"><code>5c6f367</code></a> feat: drop support for Python 3.8 (<a href="https://redirect.github.com/strawberry-graphql/strawberry/issues/3730">#3730</a>)</li> <li><a href="https://github.com/strawberry-graphql/strawberry/commit/0981661d0f3480372018a5d42cf65daa98b617a5"><code>0981661</code></a> Release 🍓 0.255.0</li> <li><a href="https://github.com/strawberry-graphql/strawberry/commit/8a8e3aa8de30ed09ce108d59bdbd851dfc8390fd"><code>8a8e3aa</code></a> Add support for optional connections (<a href="https://redirect.github.com/strawberry-graphql/strawberry/issues/3707">#3707</a>)</li> <li>See full diff in <a href="https://github.com/strawberry-graphql/strawberry/compare/0.254.1...0.256.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=strawberry-graphql&package-manager=pip&previous-version=0.254.1&new-version=0.256.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information