Avatar for the strawberry-graphql user
strawberry-graphql
strawberry
BlogDocsChangelog

Performance History

Latest Results

[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
GabrielTDS-dev:feat/support-for-typeddicts
3 days ago
docs: added release
Akay7:testClientVerboseMessaages
5 days ago
deps(python)(deps-dev): bump the all-dependencies group with 5 updates Bumps the all-dependencies group with 5 updates: | Package | From | To | | --- | --- | --- | | [python-multipart](https://github.com/Kludex/python-multipart) | `0.0.28` | `0.0.29` | | [uvicorn](https://github.com/Kludex/uvicorn) | `0.46.0` | `0.47.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.15.12` | `0.15.13` | | [pytest-codspeed](https://github.com/CodSpeedHQ/pytest-codspeed) | `4.5.0` | `5.0.2` | | [inline-snapshot](https://github.com/15r10nk/inline-snapshot) | `0.32.7` | `0.33.0` | Updates `python-multipart` from 0.0.28 to 0.0.29 - [Release notes](https://github.com/Kludex/python-multipart/releases) - [Changelog](https://github.com/Kludex/python-multipart/blob/main/CHANGELOG.md) - [Commits](https://github.com/Kludex/python-multipart/compare/0.0.28...0.0.29) Updates `uvicorn` from 0.46.0 to 0.47.0 - [Release notes](https://github.com/Kludex/uvicorn/releases) - [Changelog](https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md) - [Commits](https://github.com/Kludex/uvicorn/compare/0.46.0...0.47.0) Updates `ruff` from 0.15.12 to 0.15.13 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.15.12...0.15.13) Updates `pytest-codspeed` from 4.5.0 to 5.0.2 - [Release notes](https://github.com/CodSpeedHQ/pytest-codspeed/releases) - [Changelog](https://github.com/CodSpeedHQ/pytest-codspeed/blob/master/CHANGELOG.md) - [Commits](https://github.com/CodSpeedHQ/pytest-codspeed/compare/v4.5.0...v5.0.2) Updates `inline-snapshot` from 0.32.7 to 0.33.0 - [Release notes](https://github.com/15r10nk/inline-snapshot/releases) - [Changelog](https://github.com/15r10nk/inline-snapshot/blob/main/CHANGELOG.md) - [Commits](https://github.com/15r10nk/inline-snapshot/compare/0.32.7...0.33.0) --- updated-dependencies: - dependency-name: python-multipart dependency-version: 0.0.29 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: uvicorn dependency-version: 0.47.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: ruff dependency-version: 0.15.13 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: pytest-codspeed dependency-version: 5.0.2 dependency-type: direct:development update-type: version-update:semver-major dependency-group: all-dependencies - dependency-name: inline-snapshot dependency-version: 0.33.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/uv/all-dependencies-7f4d06df63
6 days ago
feat: support extension factories and deprecate instance-passing (#4392) * fix: support extension factories and deprecate instance-passing Schema extensions can now be passed as a factory callable, and the schema constructs a fresh extension per request. Passing instances is deprecated (type-rejected, runtime-tolerated with copy + DeprecationWarning). Fix #4369 * fix: address PR review feedback on factory pattern - Share ParserCache/ValidationCache LRU caches at module level keyed by maxsize so factory-created fresh instances still benefit from caching (greptile P1, copilot) - Materialize self.extensions to a tuple in Schema.__init__ so generators don't get consumed by the deprecation check (sourcery, copilot) - Compute deprecation-warning stacklevel dynamically so the federation Schema subclass attributes the warning to user code (greptile P2) - Call super().__init__() from Apollo and ApolloFederation tracing extensions to keep base-class invariants (sourcery) - Rename test_factory_called_once_per_request to test_class_constructed_per_request and add a real factory test (copilot) - Add federation-stacklevel and generator regression tests - Clarify docs that factories returning shared singletons leak state * refactor: drop test-only indirection in cache extensions - Remove _wrapped_parse and _wrapped_validate; tests already clear _caches between runs and @patch is in scope when the cache wrapper is built, so the wrapper captures the patched function directly. - Move sys/pathlib imports to module top-level in schema.py, cache the strawberry root path in a module constant. * refactor: use Path.is_relative_to for stacklevel root check * fix: drop instance copy and dynamic stacklevel per review - Stop shallow-copying deprecated instances in get_extensions; pass them through as-is. The DeprecationWarning is still emitted at Schema.__init__ and RELEASE.md/docs now make migration the explicit expected path. (patrick) - Remove the _find_user_stacklevel helper and use stacklevel=2 for the deprecation warning. The federation-stacklevel regression test is dropped along with it. (patrick) * refactor: inline _sync/_async_extensions properties and tighten release notes - Drop _sync_extensions / _async_extensions; call get_extensions(...) directly at the three sync/async/subscribe sites. The properties only existed for the previous cached path. - Rewrite RELEASE.md to lead with the API change + example, then the deprecation. Keep the runtime-instance caveat explicit. * refactor: address remaining open review threads - Cache wrappers: drop the manual _caches dict in favor of @cache on _get_parse_cache / _get_validate_cache (arfey). Tests use cache_clear() instead of dict.clear(). - ParserCache / ValidationCache docstrings: make the shared-across- schemas behavior explicit (arfey). - docs/custom-extensions: drop the stale `extensions_results` suggestion (extensions_results is request-scoped, not for cross- request state), add imports to the example, and rewrite the em- dash paragraphs (copilot). - test_isolation: call super().__init__() in the helper extensions (github-code-quality). * add RELEASE.md
main
11 days ago
add RELEASE.md
fix/4369-extensions-factory-pattern
11 days ago

Latest Branches

CodSpeed Performance Gauge
0%
Feat: Support for TypedDicts#4431
3 days ago
107c6c3
GabrielTDS-dev:feat/support-for-typeddicts
CodSpeed Performance Gauge
0%
8 days ago
55359bb
Akay7:testClientVerboseMessaages
CodSpeed Performance Gauge
0%
deps(python)(deps-dev): bump the all-dependencies group with 5 updates#4429
6 days ago
056b76d
dependabot/uv/all-dependencies-7f4d06df63
© 2026 CodSpeed Technology
Home Terms Privacy Docs