Skip to content

build(deps): bump strawberry-graphql from 0.156.1 to 0.164.0 in /sdk/python - #234

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdk/python/strawberry-graphql-0.164.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdk/python/strawberry-graphql-0.164.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 15, 2023

Copy link
Copy Markdown

Bumps strawberry-graphql from 0.156.1 to 0.164.0.

Release notes

Sourced from strawberry-graphql's releases.

🍓 0.164.0

This release introduces a breaking change to make pydantic default behavior consistent with normal strawberry types. This changes the schema generated for pydantic types, that are required, and have default values. Previously pydantic type with a default, would get converted to a strawberry type that is not required. This is now fixed, and the schema will now correctly show the type as required.

import pydantic
import strawberry
class UserPydantic(pydantic.BaseModel):
name: str = "James"
@​strawberry.experimental.pydantic.type(UserPydantic, all_fields=True)
class User:
...
@​strawberry.type
class Query:
a: User = strawberry.field()
@strawberry.field
def a(self) -> User:
    return User()

The schema is now

type Query {
  a: User!
}

type User { name: String! // String! rather than String previously }

Releases contributed by @​thejaminator via #2623

🍓 0.163.2

This release covers an edge case where the following would not give a nice error.

some_field: "Union[list[str], SomeType]]"

Fixes #2591

Releases contributed by @​nrbnlulu via #2593

... (truncated)

Changelog

Sourced from strawberry-graphql's changelog.

0.164.0 - 2023-03-14

This release introduces a breaking change to make pydantic default behavior consistent with normal strawberry types. This changes the schema generated for pydantic types, that are required, and have default values. Previously pydantic type with a default, would get converted to a strawberry type that is not required. This is now fixed, and the schema will now correctly show the type as required.

import pydantic
import strawberry
class UserPydantic(pydantic.BaseModel):
name: str = "James"
@​strawberry.experimental.pydantic.type(UserPydantic, all_fields=True)
class User:
...
@​strawberry.type
class Query:
a: User = strawberry.field()
@strawberry.field
def a(self) -> User:
    return User()

The schema is now

type Query {
  a: User!
}

type User { name: String! // String! rather than String previously }

Contributed by James Chua via [PR #2623](strawberry-graphql/strawberry#2623)

0.163.2 - 2023-03-14

This release covers an edge case where the following would not give a nice error.

some_field: "Union[list[str], SomeType]]"
</tr></table> 

... (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 @github

dependabot Bot commented on behalf of github Mar 15, 2023

Copy link
Copy Markdown
Author

The following labels could not be found: kind/dependencies, sdk/python.

@dependabot @github

dependabot Bot commented on behalf of github Mar 20, 2023

Copy link
Copy Markdown
Author

Superseded by #242.

@dependabot dependabot Bot closed this Mar 20, 2023
@dependabot
dependabot Bot deleted the dependabot/pip/sdk/python/strawberry-graphql-0.164.0 branch March 20, 2023 18:19
vito added a commit that referenced this pull request Mar 13, 2026
Implement the Workspace git commit spec: replace the old apply
(unstaged write) and commit (patch-based plumbing) with a two-step
stage + commit workflow. Stage captures user unstaged changes, resets
to clean state, exports the changeset diff, stages precisely the
affected paths, then restores user changes as unstaged via the
temp-commit technique from container-use PR #234. Commit simply
runs git commit on whatever is staged.

Signed-off-by: Alex Suraci <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants