Sign in

Strawberry GraphQL

@strawberry.rocks
14 followers 4 following 71 posts
PostsRepliesMedia
Strawberry GraphQL @strawberry.rocks · 28/09/2026
Strawberry GraphQL Django 0.90.0 has been released! Add GeometryFilterLookup, which adds spatial lookups to the filters of GeoDjango geometry fields. When GeoDjango is installed, filters created with lookups=True use GeometryFilterLookup for geometry fields (PointField, PolygonField,...
000
Strawberry GraphQL @strawberry.rocks · 14/09/2026
Strawberry GraphQL Django 0.89.2 has been released! Fix nullable connections (e.g. when guarded by a permission extension) eagerly fetching the entire table before the connection applied its pagination. The return type is now unwrapped from StrawberryOptional/other containers so the queryset...
000
Strawberry GraphQL @strawberry.rocks · 14/09/2026
Strawberry GraphQL Django 0.89.1 has been released! Permission extensions are now fully compatible with strawberry-graphql >= 0.326.0, which enforces strict type uniqueness for custom schema directives during schema construction. Previously, DjangoPermissionExtension.schema_directive created...
000
Strawberry GraphQL @strawberry.rocks · 11/09/2026
Strawberry GraphQL Django 0.89.0 has been released! Require Strawberry GraphQL 0.322.2 or newer, which fixes Relay pagination when combining first with before. Update compatibility tests for the corrected pagination behavior and make schema comparisons independent of top-level definition...
000
Strawberry GraphQL @strawberry.rocks · 10/09/2026
Strawberry GraphQL 0.327.7 has been released! This release fixes unnecessary overhead when handling resolver results. Strawberry now does a little less work to check whether a result needs to be awaited. This small optimization works automatically with your existing synchronous and...
000
Strawberry GraphQL @strawberry.rocks · 10/09/2026
Strawberry GraphQL 0.327.6 has been released! This release fixes unnecessary whitespace in responses produced by Strawberry's shared default JSON encoders, reducing their size without changing decoded data. The encoders now omit spaces after commas and colons. This also applies to WebSocket...
000
Strawberry GraphQL @strawberry.rocks · 09/09/2026
Strawberry GraphQL 0.327.5 has been released! This release fixes Channels HTTP responses bypassing custom encode_json overrides. Both GraphQLHTTPConsumer and SyncGraphQLHTTPConsumer now use the encoding hook for single and batched JSON responses, including GraphQL errors. Bytes are sent...
000
Strawberry GraphQL @strawberry.rocks · 09/09/2026
Strawberry GraphQL Django 0.88.1 has been released! Permission extensions are now fully compatible with strawberry-graphql >= 0.326.0, which enforces strict type uniqueness for custom schema directives during schema construction. Previously, DjangoPermissionExtension.schema_directive created...
000
Strawberry GraphQL @strawberry.rocks · 08/09/2026
Strawberry GraphQL 0.327.4 has been released! This release fixes unnecessary allocation and enqueue overhead in DataLoader. Batch entries now use slotted dataclasses and avoid runtime generic construction. Batch selection also avoids repeated attribute lookups and length-method calls....
010
Strawberry GraphQL @strawberry.rocks · 08/09/2026
Strawberry GraphQL 0.327.3 has been released! This release fixes classification of built-in scalar and OneOf input errors. Strawberry now raises StrawberryInputCoercionError for these client input errors, allowing server-side error handling and monitoring to distinguish them from server...
001
Strawberry GraphQL @strawberry.rocks · 07/09/2026
Strawberry GraphQL 0.327.2 has been released! This release fixes the legacy graphql-ws protocol handler so that subscriptions which complete on their own (or fail before execution) release their slot on the connection. Previously, completed operations were kept in the handler's bookkeeping...
000
Strawberry GraphQL @strawberry.rocks · 07/09/2026
Strawberry GraphQL 0.327.1 has been released! This release adds continuous compatibility testing against the latest Strawberry Django release. Strawberry pull requests now run the complete Strawberry Django test suite using the proposed Strawberry changes.
000
Strawberry GraphQL @strawberry.rocks · 04/09/2026
Strawberry GraphQL 0.327.0 has been released! This release fixes a potential unbounded memory growth in the ParserCache and ValidationCache extensions. Both extensions previously defaulted to maxsize=None, which creates an unbounded functools.lru_cache. On a network-exposed endpoint with one...
000
Strawberry GraphQL @strawberry.rocks · 04/09/2026
Strawberry GraphQL 0.326.1 has been released! This release fixes a permission bypass (GHSA-pfvf-fwfp-25mp) where a custom permission could unintentionally authorize access to a protected field. When a permission's has_permission was a normal def that returned an awaitable (for example a...
000
Strawberry GraphQL @strawberry.rocks · 03/09/2026
Strawberry GraphQL 0.326.0 has been released! This release fixes introspection for custom schema directives. Schema directives attached to types, fields, arguments, and other schema elements now appear in standard GraphQL introspection. Schema explorers, IDEs, code generators, and other tools...
000
Strawberry GraphQL @strawberry.rocks · 03/09/2026
Strawberry GraphQL 0.325.0 has been released! This release adds richer verbose output to assert_no_errors. When GraphQL errors are detected, the assertion now includes full error details, making it easier to debug failing tests.
000
Strawberry GraphQL @strawberry.rocks · 02/09/2026
Strawberry GraphQL 0.324.5 has been released! This release fixes incorrect dataclass transform ordering metadata. Strawberry decorators now correctly declare that ordering methods are not generated by default, matching their runtime dataclass behavior and allowing custom ordering methods such...
000
Strawberry GraphQL @strawberry.rocks · 02/09/2026
Strawberry GraphQL Django 0.88.0 has been released! Allow mutations with Django error handling to return interfaces by expanding them to their concrete implementations.
000
Strawberry GraphQL @strawberry.rocks · 01/09/2026
Strawberry GraphQL 0.324.4 has been released! This release fixes argument handling for operation directive resolvers. Arguments passed to operation directives now use GraphQL's standard coercion before your resolver runs. Directive resolvers receive Python numeric values, Strawberry enum...
000
Strawberry GraphQL @strawberry.rocks · 01/09/2026
Strawberry GraphQL 0.324.3 has been released! This release fixes silently ignored strawberry.field() metadata in nested type annotations. Strawberry now raises a clear error when field metadata is placed below the class-field annotation, such as on a list item, and explains that it must be...
000
Strawberry GraphQL @strawberry.rocks · 31/08/2026
Strawberry GraphQL 0.324.2 has been released! This release fixes fields configured with strawberry.field() inside typing.Annotated. You can now use this syntax consistently on object types, input types, and interfaces, including in projects that use from future import annotations: from...
000
Strawberry GraphQL @strawberry.rocks · 31/08/2026
Strawberry GraphQL 0.324.1 has been released! This release adds support for the upcoming Python 3.15. Strawberry's test suite now runs on Python 3.15.
000
Strawberry GraphQL @strawberry.rocks · 27/08/2026
Strawberry GraphQL Django 0.87.1 has been released! Fix the query optimizer dropping a manually applied select_related from the only() mask when another field on the same model shares its name as a prefix without a boundary (e.g. company vs company_branch). This previously made Django raise...
000
Strawberry GraphQL @strawberry.rocks · 11/08/2026
Strawberry GraphQL 0.324.0 has been released! This release adds support for Django 6.0 and 6.1, and drops support for Django older than 5.2. Django 4.2, 5.0 and 5.1 have all reached end of life. Django 5.2 LTS is now the minimum supported version, and the test suite runs against Django 5.2,...
000
Strawberry GraphQL @strawberry.rocks · 07/08/2026
Strawberry GraphQL Django 0.87.0 has been released! Resolve prefetch-optimized nested connections on the event loop instead of paying a sync_to_async thread hop per parent node: the nested-connection default resolver, the queryset hook for prefetch-optimized querysets and totalCount served...
000
Strawberry GraphQL @strawberry.rocks · 04/08/2026
Strawberry GraphQL Django 0.86.8 has been released! The built-in toolbar script is now compatible with django-debug-toolbar 7.0.0, which renders the toolbar inside a shadow DOM by default. Previously, all DOM queries targeted #djDebug directly on the document, which broke under shadow DOM...
000
Strawberry GraphQL @strawberry.rocks · 03/08/2026
Strawberry GraphQL Django 0.86.7 has been released! Honor the DEFAULT_PK_FIELD_NAME setting (and per-field key_attr) when resolving existing instances in mutation inputs. Previously _parse_pk read the input value under key_attr but always looked the instance up by pk=, so relation inputs and...
010
Strawberry GraphQL @strawberry.rocks · 03/08/2026
Strawberry GraphQL Django 0.86.6 has been released! Fix an N+1 on totalCount of nested connections optimized by prefetching: parents whose prefetched first-page partition came back empty issued one COUNT(*) query each, even though an empty first page already proves the total count is 0.
000
Strawberry GraphQL @strawberry.rocks · 24/07/2026
Strawberry GraphQL 0.323.2 has been released! This release fixes an issue where MaskErrors leaked parsing and validation error details during synchronous execution. Synchronous execution now masks pre-execution errors consistently with asynchronous execution, including when ValidationCache is...
000
Strawberry GraphQL @strawberry.rocks · 23/07/2026
Strawberry GraphQL 0.323.1 has been released! This release fixes type checking for FastAPI GraphQLRouter subclasses that provide a custom context getter without explicit generic parameters. Bare subclasses now default to the context types supported by the FastAPI integration, so valid context...
000
Strawberry GraphQL @strawberry.rocks · 22/07/2026
Strawberry GraphQL 0.323.0 has been released! This release adds an on_stream_result hook to SchemaExtension for extension authors who need to inspect or mutate GraphQL results before they reach a streaming transport. The hook wraps subscription events and queries or mutations sent over...
030
Strawberry GraphQL @strawberry.rocks · 21/07/2026
Strawberry GraphQL 0.322.2 has been released! This release fixes a bug in Relay connection pagination where combining first with before returned the wrong slice of items — walking backward from the before cursor instead of taking the first first items among those before it, per the Relay...
010
Strawberry GraphQL @strawberry.rocks · 21/07/2026
Strawberry GraphQL 0.322.1 has been released! This release fixes the built-in UUID, Date, DateTime, and Time scalars to reject non-string variable values with a standard coercion error instead of raising an unhandled AttributeError/TypeError inside the parser. Previously a value like {"id":...
000
Strawberry GraphQL @strawberry.rocks · 20/07/2026
Strawberry GraphQL 0.322.0 has been released! This release adds a cleaner extension API by removing the deprecated Extension import alias from strawberry.extensions. The alias was deprecated in 0.160.0 (github.com/strawberry-...); import...
001
Strawberry GraphQL @strawberry.rocks · 20/07/2026
Strawberry GraphQL 0.321.1 has been released! This release adds precise type annotations for custom scalars: serialize, parse_value and parse_literal are now typed with graphql-core's GraphQLScalarSerializer, GraphQLScalarValueParser and GraphQLScalarLiteralParser aliases instead of bare...
000
Strawberry GraphQL @strawberry.rocks · 17/07/2026
Strawberry GraphQL Django 0.86.5 has been released! Document the Django validation cache extension and its Django cache backend options.
000
Strawberry GraphQL @strawberry.rocks · 14/07/2026
Strawberry GraphQL 0.321.0 has been released! This release adds configurable exception handlers that map Python exceptions to typed GraphQL union results. Most applications do not need to adopt this directly. It is primarily useful for integrations and framework-level helpers: for example,...
010
Strawberry GraphQL @strawberry.rocks · 09/07/2026
Strawberry GraphQL 0.320.4 has been released! This release fixes a PyCharm false positive where classes decorated with @strawberry.type and @strawberry.input reported "Unexpected argument" on their generated keyword constructors.
000
Strawberry GraphQL @strawberry.rocks · 08/07/2026
Strawberry GraphQL 0.320.3 has been released! This release fixes InputMutationExtension to unpack its generated input object into the resolver's individual keyword arguments before permission classes and other field extensions run. Previously, permission classes and field extensions on an...
000
Strawberry GraphQL @strawberry.rocks · 06/07/2026
Strawberry GraphQL 0.320.2 has been released! This release fixes a bug where print_schema would emit a type definition twice when the same type (for example an enum) was referenced both as a schema directive field and elsewhere in the schema. The duplicated definition produced invalid SDL that...
000
Strawberry GraphQL @strawberry.rocks · 02/07/2026
Strawberry GraphQL 0.320.1 has been released! This release fixes a bug in the Datadog extension where spans could be left open indefinitely when a GraphQL operation raised an exception. Strawberry now makes sure that the Datadog extension always closes spans, also in the case of exceptions.
000
Strawberry GraphQL @strawberry.rocks · 29/06/2026
Strawberry GraphQL 0.320.0 has been released! This release adds support for GraphQL subscriptions over Server-Sent Events (SSE), following the [GraphQL over SSE](github.com/enisdenjo/g...) protocol in "distinct connections mode". SSE is...
000
Strawberry GraphQL @strawberry.rocks · 23/06/2026
Strawberry GraphQL 0.319.0 has been released! This release adds `Schema.stream(...)`, a shared execution API for custom streaming integrations. `Schema.stream(...)` accepts queries, mutations and subscriptions and always returns an async sequence of results: a single `Execut...
011
Strawberry GraphQL @strawberry.rocks · 23/06/2026
Strawberry GraphQL Django 0.86.4 has been released! `@strawberry_django.type` types no longer overwrite `is_type_of` methods in superclasses. Instead, the superclass' result will be taken into account as well.
000
Strawberry GraphQL @strawberry.rocks · 22/06/2026
Strawberry GraphQL 0.318.1 has been released! This release fixes compatibility with graphql-core 3.3 release candidates. Strawberry now handles graphql-core's renamed custom executor hook and nullable AST argument and directive collections, so schemas using custom execution ...
010
Strawberry GraphQL @strawberry.rocks · 22/06/2026
Strawberry GraphQL 0.318.0 has been released! This release adds a shared internal HTTP stream transport for multipart subscription responses. Application behavior for multipart subscriptions is largely unchanged. The shared transport now owns multipart response headers, hear...
000
Strawberry GraphQL @strawberry.rocks · 19/06/2026
Strawberry GraphQL 0.317.2 has been released! This release fixes schema printing for input object defaults that explicitly set nullable fields to `null`. Strawberry now preserves explicit `None` values in printed nested input defaults, including fields set with `strawberry.S...
000
Strawberry GraphQL @strawberry.rocks · 18/06/2026
Strawberry GraphQL Django 0.86.3 has been released! Connection resolvers can now be annotated with a `QuerySet[Model]` return type instead of being forced to widen it to `Iterable[Model]`: ```python @strawberry_django.connection(DjangoCursorConnection[FruitType]) @staticmeth...
000
Strawberry GraphQL @strawberry.rocks · 18/06/2026
Strawberry GraphQL Django 0.86.2 has been released! Resolving a Relay node's `id` no longer goes through `sync_to_async` on every call. `resolve_id`/`resolve_id_attr` now read the primary key directly off the in-memory instance, removing an unnecessary thread hop (and context...
000
Strawberry GraphQL @strawberry.rocks · 17/06/2026
Strawberry GraphQL 0.317.1 has been released! Previously attributes which were not camelCase would be removed from field arguments for queries: ```python import strawberry @strawberry.input class Bar: a: str b: str some_values: list[str] | None = None @strawbe...
000