Releases: graphql-python/graphql-core
v3.3.0a7
Alpha release GraphQL-core v3.3.0a7, based on GraphQL.js v17.0.0a3.
Notable improvements since the last alpha release:
- This release also supports Python 3.13
- New incremental response format using
id
andsubPath
and pending notifications - OneOf Input Objects via
@oneOf
directive - Speedup sorting and building/extending schema
- Support for fourfold nested lists in introspection
- Transform input objects used as default values (#206)
- Support deep copy of schema with directive with arg of custom type (#210)
- Allow injecting custom data to custom execution context (#226)
- ValidationAbortedError can now be imported (#227)
- Benchmarking with CodSpeed (#230)
Thanks again to the sponsors of this project, @patrick91, @jkimbo, @patrick91, @getsentry, and to @erikwrede, @menma1234, @patrick91, @rafalp and @trim21 for contributing to this release.
Sorry for lagging behind upstream a bit and not always responding as quickly as I want to.
v3.2.6
Patch-release GraphQL-core v3.2.6, based on GraphQL.js v16.8.2.
This patch-release supports Python 3.6 to 3.13. Notable fixes:
- Transform input objects used as default values (#206)
- Allow deep copy of schema with directive with args of custom type (#210)
Thanks to all who are sponsoring me (@Cito) for maintaining this project.
v3.2.5
v3.2.4
Patch-release GraphQL-core v3.2.4, based on GraphQL.js v16.8.2.
This patch-release supports Python 3.6 to 3.12 and includes these changes:
- Fix invalid
original_error
propagation in custom scalars - Fix performance degradation in
OverlappingFieldsCanBeMergedRule
- Support fourfold nested lists in introspection
- Avoid various deprecation warnings with newer Python versions
Thanks to all who are sponsoring me (@Cito) for maintaining this project.
v3.3.0a6
Alpha release GraphQL-core v3.3.0a6, based on GraphQL.js v17.0.0a2.
Changes:
- Support middlewares for subscriptions (#221)
- Introduce new IncrementalPublisher class from GraphQL.js v17.0.0a3
Thanks again to the sponsors of this project, @patrick91, @jkimbo, @codecov and @getsentry, and to @nrbnlulu for contributing to this release.
v3.3.0a5
Alpha release GraphQL-core v3.3.0a5, based on GraphQL.js v17.0.0a2.
This alpha release already includes a lot of the changes and fixes in GraphQL.js v17.0.0a3.
Thanks again to the sponsors of this project, @patrick91, @jkimbo, @sentry and @codecov, and to the contributors for this release, @fedirz and @yilinjuang.
v3.3.0a4
Alpha release GraphQL-core v3.3.0a4, based on GraphQL.js v17.0.0a2.
This alpha release officially supports Python 3.12, and comes with some fixes. It also includes some changes and fixes in GraphQL.js v17.0.0a3.
A big thank you goes to the sponsors of this project, @patrick91, @jkimbo, @sentry and @codecov, and to the contributors for this release, @evanmays and @mrtc0.
v3.3.0a3
Alpha release GraphQL-core v3.3.0a3, based on GraphQL.js v17.0.0a2.
This alpha release ports the remaining changes in GraphQL.js v17.0.0a2.
Particularly noteworthy are these new features:
- Reference implementation of defer and stream spec (graphql/graphql-spec#693)
- Client controlled nullability experiment implementation (graphql/graphql-spec#867)
- Limit max number of tokens in parser (graphql/graphql-js#3684)
There is also one breaking change:
- The
subscribe
function now stays synchronous when possible.
This change aligns the return types ofexecute
andsubscribe
(as well as thecreate_source_event_stream
function)
with respect to returning values or awaitables (graphql/graphql-js#3620).
This alpha release also contains the following changes and features:
Undefined
is not an exception any more (#187)- Optimized parallel execution when there is only one task (#190)
GraphQLInputFieldOutType
is now importable (#195)- Include name in representation of nodes (#198)
- Turn MapAsyncIterable into an AsyncGenerator (#199)
Big shoutout to all who are sponsoring me (@Cito), such as @indeedeng, @patrick91 and @jkimbo, and to all who contributed by reporting issues or sending PRs, such as @erikwrede, @ipeterov, @kevinvalk, @kristjanvalur, @LinuxIsCool, @QSHolzner and @rafalp.
v3.3.0a2
Alpha release GraphQL-core v3.3.0a2, still based on GraphQL.js v17.0.0a1.
This alpha release already ports some of the changes in GraphQL.js v17.0.0a2. There will be another alpha release with the remaining changes soon. This alpha release also adds the following new features:
Thanks to all who are sponsoring me (@Cito), particularly to Vendia for sponsoring the work on #173, and to others who contributed, particularly to @helderco for the suggestion to use type guards.
v3.3.0a1
Alpha release GraphQL-core v3.3.0a1, based on GraphQL.js v17.0.0a1.
This alpha release ports all of the changes in GraphQL.js v17.0.0a1.
Note that his means the removal of several functions that had been marked as deprecated before.
Other noteable changes:
- starting with this alpha release, Python 3.6 is no longer supported
- we use the new dependency groups feature of poetry (#177)
- support for setuptools has been removed, builds must be done with poetry (#178)
- we now use bugbear and bandit to detect possible security problems and code flaws
Thanks again to all who are sponsoring me (@Cito) and thereby motivated me to continue maintaining this project.