KundaPanda / strawberry-django-jwt

[UNMAINTAINED] JSON Web Token (JWT) authentication for Django with Strawberry GraphQL
MIT License
37 stars 15 forks source link

Bump strawberry-graphql from 0.133.5 to 0.146.0 #386

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps strawberry-graphql from 0.133.5 to 0.146.0.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.146.0

This release updates the Sanic integration and includes some breaking changes. You might need to update your code if you are customizing get_context or process_result

get_context

get_context now receives the request as the first argument and the response as the second argument.

process_result

process_result is now async and receives the request and the GraphQL execution result.

This change is needed to align all the HTTP integrations and reduce the amount of code needed to maintain. It also makes the errors consistent with other integrations.

It also brings a new feature and it allows to customize the HTTP status code by using info.context["response"].status_code = YOUR_CODE.

It also removes the upper bound on the Sanic version, so you can use the latest version of Sanic with Strawberry.

🍓 0.145.0

This release introduced improved errors! Now, when you have a syntax error in your code, you'll get a nice error message with a line number and a pointer to the exact location of the error. ✨

This is a huge improvement over the previous behavior, which was providing a stack trace with no clear indication of where the error was. 🙈

You can enable rich errors by installing Strawberry with the cli extra:

pip install strawberry-graphql[cli]

🍓 0.144.3

This release fixes an issue with type duplication of generics.

You can now use a lazy type with a generic even if the original type was already used with that generic in the schema.

Example:

@strawberry.type
class Query:
</tr></table> 

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.146.0 - 2022-12-05

This release updates the Sanic integration and includes some breaking changes. You might need to update your code if you are customizing get_context or process_result

get_context

get_context now receives the request as the first argument and the response as the second argument.

process_result

process_result is now async and receives the request and the GraphQL execution result.

This change is needed to align all the HTTP integrations and reduce the amount of code needed to maintain. It also makes the errors consistent with other integrations.

It also brings a new feature and it allows to customize the HTTP status code by using info.context["response"].status_code = YOUR_CODE.

It also removes the upper bound on the Sanic version, so you can use the latest version of Sanic with Strawberry.

Contributed by Patrick Arminio via [PR #2273](strawberry-graphql/strawberry#2273)

0.145.0 - 2022-12-04

This release introduced improved errors! Now, when you have a syntax error in your code, you'll get a nice error message with a line number and a pointer to the exact location of the error. ✨

This is a huge improvement over the previous behavior, which was providing a stack trace with no clear indication of where the error was. 🙈

You can enable rich errors by installing Strawberry with the cli extra:

pip install strawberry-graphql[cli]

Contributed by Patrick Arminio via [PR #2027](strawberry-graphql/strawberry#2027)

0.144.3 - 2022-12-04

... (truncated)

Commits


Dependabot compatibility score

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 commands and options
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 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)
dependabot[bot] commented 1 year ago

Superseded by #388.