-
-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into add_http_extensions
- Loading branch information
Showing
250 changed files
with
4,008 additions
and
1,922 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: 0.236.0 Breaking Changes | ||
slug: breaking-changes/0.236.0 | ||
--- | ||
|
||
# v0.236.0 changes some of the imports | ||
|
||
This release changes the location of some files in the codebase, this is to make | ||
the codebase more organized and easier to navigate. | ||
|
||
Technically most of these changes should not affect you, but if you were | ||
importing some of the files directly you will need to update the imports. | ||
|
||
We created a codemod to help you with that, feel free to try and submit bugs if | ||
we missed something. | ||
|
||
```bash | ||
strawberry upgrade update-imports | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[tool.poetry] | ||
name = "strawberry-graphql" | ||
packages = [ { include = "strawberry" } ] | ||
version = "0.235.2" | ||
version = "0.236.2" | ||
description = "A library for creating GraphQL APIs" | ||
authors = ["Patrick Arminio <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -68,7 +68,7 @@ asgiref = "^3.2" | |
ddtrace = ">=1.6.4" | ||
email-validator = {version = ">=1.1.3,<3.0.0", optional = false} | ||
freezegun = "^1.2.1" | ||
libcst = {version = ">=0.4.7", optional = false} | ||
libcst = {version = ">=1.0.0", optional = false} | ||
MarkupSafe = "2.1.3" | ||
nox = "^2023.4.22" | ||
nox-poetry = "^1.0.3" | ||
|
@@ -235,9 +235,6 @@ ignore = [ | |
"S102", | ||
"S104", | ||
"S324", | ||
# maybe we can enable this in future | ||
# we'd want to have consistent docstrings in future | ||
"D", | ||
"ANN101", # missing annotation for self? | ||
# definitely enable these, maybe not in tests | ||
"ANN102", | ||
|
@@ -351,6 +348,17 @@ ignore = [ | |
"FIX001", | ||
"FIX002", | ||
"FA100", | ||
|
||
# Docstrings, maybe to enable later | ||
"D100", | ||
"D101", | ||
"D102", | ||
"D103", | ||
"D104", | ||
"D105", | ||
"D106", | ||
"D107", | ||
"D412", | ||
] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
|
@@ -370,6 +378,7 @@ ignore = [ | |
"S603", | ||
"S607", | ||
"B018", | ||
"D", | ||
] | ||
"strawberry/extensions/tracing/__init__.py" = ["TCH004"] | ||
"tests/http/clients/__init__.py" = ["F401"] | ||
|
@@ -384,3 +393,6 @@ exclude =[ | |
'tests/codegen/snapshots/', | ||
'tests/cli/snapshots/' | ||
] | ||
|
||
[tool.ruff.lint.pydocstyle] | ||
convention = "google" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,6 @@ async def request( | |
) | ||
|
||
return response | ||
|
||
|
||
__all__ = ["GraphQLTestClient"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.