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.149.2 #389

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps strawberry-graphql from 0.133.5 to 0.149.2.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.149.2

This release fixes support for generics in arguments, see the following example:

T = TypeVar('T')

@​strawberry.type class Node(Generic[T]): @​strawberry.field def data(self, arg: T) -> T: # arg is also generic return arg

🍓 0.149.1

This release improves the performance of rich exceptions on custom scalars by changing how frames are fetched from the call stack. Before the change, custom scalars were using a CPU intensive call to the inspect module to fetch frame info which could lead to serious CPU spikes.

🍓 0.149.0

This release does some internal refactoring of the HTTP views, hopefully it doesn't affect anyone. It mostly changes the status codes returned in case of errors (e.g. bad JSON, missing queries and so on).

It also improves the testing, and adds an entirely new test suite for the HTTP views, this means in future we'll be able to keep all the HTTP views in sync feature-wise.

🍓 0.148.0

This release changes the get_context, get_root_value and process_result methods of the Flask async view to be async functions. This allows you to use async code in these methods.

🍓 0.147.0

This release introduces a encode_json method on all the HTTP integrations. This method allows to customize the encoding of the JSON response. By default we use json.dumps but you can override this method to use a different encoder.

It also deprecates json_encoder and json_dumps_params in the Django and Sanic views, encode_json should be used instead.

🍓 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.

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.149.2 - 2022-12-09

This release fixes support for generics in arguments, see the following example:

T = TypeVar('T')

@​strawberry.type class Node(Generic[T]): @​strawberry.field def data(self, arg: T) -> T: # arg is also generic return arg

Contributed by A. Coady via [PR #2316](strawberry-graphql/strawberry#2316)

0.149.1 - 2022-12-09

This release improves the performance of rich exceptions on custom scalars by changing how frames are fetched from the call stack. Before the change, custom scalars were using a CPU intensive call to the inspect module to fetch frame info which could lead to serious CPU spikes.

Contributed by Paulo Amaral via [PR #2390](strawberry-graphql/strawberry#2390)

0.149.0 - 2022-12-09

This release does some internal refactoring of the HTTP views, hopefully it doesn't affect anyone. It mostly changes the status codes returned in case of errors (e.g. bad JSON, missing queries and so on).

It also improves the testing, and adds an entirely new test suite for the HTTP views, this means in future we'll be able to keep all the HTTP views in sync feature-wise.

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

0.148.0 - 2022-12-08

This release changes the get_context, get_root_value and process_result methods of the Flask async view to be async functions. This allows you to use async code in these methods.

... (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 #390.