Releases: graphql-python/graphql-core
v3.2.11
Patch-release GraphQL-core v3.2.11, based on GraphQL.js v16.14.1.
This patch-release supports Python 3.7 to 3.14.
Notable changes:
- Allow configuration of the
ofTypeintrospection depth - Add support for directives on directive definitions
- Restore variable own-property checks in
value_from_ast - Remove unused variable-definition tracking in
ValuesOfCorrectTypeRule
Thanks to all who are sponsoring me (@Cito) for maintaining this project.
v3.2.10
Patch-release GraphQL-core v3.2.10, based on GraphQL.js v16.13.0.
This patch-release supports Python 3.7 to 3.14.
New features:
- Add support for schema coordinates (parsing and resolving)
- Support descriptions on executable definitions (e.g. variable definitions)
- Add a
max_coercion_errorsoption
Bug fixes:
- Fix incorrect validation errors when variable descriptions are used
- Don't add sibling errors after null propagation has occurred
- Remove erroneous
oneOfvalidation from the "values of correct type" rule - Validate that nullable variables aren't passed to
oneOfinput object fields (per spec) - Catch unhandled exceptions during abstract type resolution
Thanks to all who are sponsoring me (@Cito) for maintaining this project.
v3.2.9
Patch-release GraphQL-core v3.2.9, based on GraphQL.js v16.10.0.
This patch-release supports Python 3.7 to 3.14.
Notable changes:
- Fix
OverlappingFieldsCanBeMergedRuleto catch field-merge conflicts hidden behind nested fragments - Fix handling of empty selection sets
- Correctly type extensions in
GraphQLFormattedError - Add
kindto the introspection query/mutation/subscription root types - Expose
token_countonDocumentNode - Preserve schema and input-field properties (e.g. descriptions) when sorting
Thanks to @kathychurch and @arichberg for reporting the sorting issue.
Also thanks to all who are sponsoring me (@Cito) for maintaining this project.
v3.3.0a12
Alpha release GraphQL-core v3.3.0a12, based on GraphQL.js v17.0.0a7.
This patch-release supports Python 3.10 to 3.14.
Notable improvements since the last alpha release, in addition to the upstream improvements in v17.0.0.a7:
- Add serialization benchmark (#250)
- Use tuples instead of lists for all AST collection fields (#251)
- De-support Python 3.7 to 3.9 (#252)
- Make visitor immutable friendly (#253)
- Fix parser type safety for stricter AST types (#255)
- Convert AST nodes to frozen dataclasses (#256)
- Support custom async iterables (#258)
- Improve type hints using Self (#259)
Thanks to @jkimbo for sponsoring this project, and to @bellini666, @bigfootjon and @corydolphin for contributing to this release.
v3.2.8
Patch-release GraphQL-core v3.2.8, based on GraphQL.js v16.9.0.
This patch-release supports Python 3.7 to 3.14.
One change has been backported from the v3.3 branch:
- Require non-empty directive locations
Also, for backward compatibility, introspection.TypeResolvers is available again, as alias for TypeFields.
Thanks to all who are sponsoring me (@Cito) for maintaining this project.
v3.3.0a11
Alpha release GraphQL-core v3.3.0a11, based on GraphQL.js v17.0.0a5.
Notable improvements since the last alpha release:
- Python 3.14 is now officially supported
- Enum values, input fields and schemas now keep extensions on sorting (#245)
- Various refactorings and changes concerning
@deferand@stream - Early execution on incremental delivery is now disabled by default
- New recommended validation rule for max introspection depth
- GraphQLEnumType values can now be specified via a callable
Thanks to @jkimbo for sponsoring this project, and to @erikwrede for contributing to this release.
v3.2.7
Patch-release GraphQL-core v3.2.7, based on GraphQL.js v16.9.0.
This patch-release supports Python 3.7 to 3.14.
The following changes have been backported from the v3.3 branch:
- Keep extensions when sorting schemas
- Introduce "recommended" validation rules
- Implement OneOf Input Objects via @OneOf directive
- Values can now be passed to GraphQLEnumType as a thunk
- Solved issues with pickled schemas
Thanks to all who are sponsoring me (@Cito) for maintaining this project.
v3.3.0a10
Alpha release GraphQL-core v3.3.0a10, still based on GraphQL.js v17.0.0a3.
Notable improvements since the last alpha release:
- Fixed attribute error on exception with bad
source(#240) - Add
@oneOfsupport to introspection query (#241) - Use AnyIO instead of pytest-asyncio for running async tests (#242)
- introduced
GraphQLWrappedResultto avoid filtering in incremental delivery - Use uv instead of poetry as default packaging tool
- Some performance improvements and refactorings from upstream
- Various code cleanups
Thanks to @jkimbo for sponsoring this project, and to @agronholm, @erikwrede and @kimjh12 for contributing to this release.
v3.3.0a9
Alpha release GraphQL-core v3.3.0a9, based on GraphQL.js v17.0.0a3.
Notable improvements since the last alpha release:
- Allow nested defers at the same level
- Skip empty subsequent results
Thanks to @patrick91 and @jkimbo for sponsoring this project.
v3.3.0a8
Alpha release GraphQL-core v3.3.0a8, based on GraphQL.js v17.0.0a3.
Notable improvements since the last alpha release:
- Fix IntrospectionQuery type definition (#234)
- Cancel remaining fields on exceptions (#236 and #238)
- Cancel remaining list and iterator items on exceptions
- Cancel remaining type resolvers on exceptions
- Suppress records for deferred fragments that are completely empty
- Add support for @OneOf directives in print_schema
Thanks again to the sponsors of this project, @patrick91, @jkimbo, and to @erikwrede, @magikmark, @mgorven, @sobolevn and @willemt for contributing to this release.
Sorry for lagging behind upstream a bit and not always responding as quickly as I want to.