Skip to content

Update strawberry-graphql[channels] requirement from <=0.177.0 to <=0.205.0 in /caster-back#547

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/caster-back/main/strawberry-graphql-channels--lte-0.205.0
Closed

Update strawberry-graphql[channels] requirement from <=0.177.0 to <=0.205.0 in /caster-back#547
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/caster-back/main/strawberry-graphql-channels--lte-0.205.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2023

Updates the requirements on strawberry-graphql[channels] to permit the latest version.

Release notes

Sourced from strawberry-graphql[channels]'s releases.

🍓 0.205.0

strawberry codegen previously choked for inputs that used the strawberry.UNSET sentinal singleton value as a default. The intent here is to say that if a variable is not part of the request payload, then the UNSET default value will not be modified and the service code can then treat an unset value differently from a default value, etc.

For codegen, we treat the UNSET default value as a GraphQLNullValue. The .value property is the UNSET object in this case (instead of the usual None). In the built-in python code generator, this causes the client to generate an object with a None default. Custom client generators can sniff at this value and update their behavior.

Releases contributed by @​mgilson via #3050

Changelog

Sourced from strawberry-graphql[channels]'s changelog.

0.205.0 - 2023-08-24

strawberry codegen previously choked for inputs that used the strawberry.UNSET sentinal singleton value as a default. The intent here is to say that if a variable is not part of the request payload, then the UNSET default value will not be modified and the service code can then treat an unset value differently from a default value, etc.

For codegen, we treat the UNSET default value as a GraphQLNullValue. The .value property is the UNSET object in this case (instead of the usual None). In the built-in python code generator, this causes the client to generate an object with a None default. Custom client generators can sniff at this value and update their behavior.

Contributed by Matt Gilson via [PR #3050](strawberry-graphql/strawberry#3050)

0.204.0 - 2023-08-15

Adds a new flag to export-schema command, --output, which allows the user to specify the output file. If unset (current behavior), the command will continue to print to stdout.

Contributed by Chris Hua via [PR #3033](strawberry-graphql/strawberry#3033)

0.203.3 - 2023-08-14

Mark pydantic constrained list test with need_pydantic_v1 since it is removed in pydantic V2

Contributed by tjeerddie via [PR #3034](strawberry-graphql/strawberry#3034)

0.203.2 - 2023-08-14

Enhancements:

  • Improved pydantic conversion compatibility with specialized list classes.
    • Modified StrawberryAnnotation._is_list to check if the annotation extends from the list type, enabling it to be considered a list.
    • in StrawberryAnnotation Moved the _is_list check before the _is_generic check in resolve to avoid unsupported error in _is_generic before it checked _is_list.

This enhancement enables the usage of constrained lists as class types and allows the creation of specialized lists. The following example demonstrates this feature:

import strawberry
from pydantic import BaseModel, ConstrainedList
</tr></table>

... (truncated)

Commits

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 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)

Updates the requirements on [strawberry-graphql[channels]](https://github.com/strawberry-graphql/strawberry) to permit the latest version.
- [Release notes](https://github.com/strawberry-graphql/strawberry/releases)
- [Changelog](https://github.com/strawberry-graphql/strawberry/blob/main/CHANGELOG.md)
- [Commits](strawberry-graphql/strawberry@0.5.6...0.205.0)

---
updated-dependencies:
- dependency-name: strawberry-graphql[channels]
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 1, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 19, 2023

Superseded by #574.

@dependabot dependabot bot closed this Sep 19, 2023
@dependabot dependabot bot deleted the dependabot/pip/caster-back/main/strawberry-graphql-channels--lte-0.205.0 branch September 19, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants