Releases: graphql-python/graphql-core
v3.1.5
Patch release GraphQL-core v3.1.5, based on GraphQL.js v15.4.0.
This release includes the following changes and imrovements:
- Default
parse_literal
of GraphQLScalarType now handles variables build_ast_schema
now matches order of default types and directives- Return formatted errors in formatted execution result (fixes #129)
- The
is_deprecated
property is now deprecated itself - Input fields and arguments can now be marked as deprecated
- Handle case when MapAsyncIterator is cancelled (#131)
- Improve return type for complete_list_value (#132)
- Replace resolved types in lexicographic schema sort
EventEmitter
helper class has been replaces bySimplePubSub
print_ast
now breaks arguments over multiple lines
Special thanks to @cancan101, @mlorenzana, @wuyuanyi135 for contributing.
v3.1.4
v3.1.3
Patch release GraphQL-core v3.1.3, based on GraphQL.js v15.2.0.
This release includes the following improvements:
- Python 3.9 is now officially suported by GraphQL-core.
build_schema
: allow to reference introspection types- Custom validation rules for "no schema introspection" and "no deprecated"
- Added
execute_sync()
as synchronous version ofexecute()
- Support deep copy of GraphQL schema (#100)
build_ast_schema
now sets internal enum values (#111)- Do not double-wrap resolver errors any more (#106)
- Use newer Sphinx version, fix for various autodoc issues (#104)
- Fix example in docstring of GraphQLUnionType (#105)
- Let default resolver check for Mapping instead of dict (#102)
Thanks to everyone who helped with their feedback, particularly
@berekuk, @charmasaur, @Checho3388, @jstlaurent and @pmantica1.
v3.1.2
Patch release GraphQL-core v3.1.2, based on GraphQL.js v15.1.0.
This release includes the following improvements:
- Added @SpecifiedBy directive
- Extended type definitions (#89)
- Enum type for visitor return values (#96)
- Visitors can now use class and static methods
- Lists in AST nodes are not optional any more (#98)
Thanks to everyone who helped with their feedback.
v3.1.1
Bugfix release GraphQL-core v3.1.1, based on GraphQL.js v15.0.0.
The following issues are fixed in this release:
- Fixed rendering of ReST in docstring (#84, #85, #86, #87)
- Added type hint to default_field_resolver (#88)
- Fixed memoization of collect_subfields (#91)
- Fixed method name in Visitor docstring (#92)
Contributors to this release were:
@Cito, @hoefling, @nawatts, @rafalp
Thanks to everyone who helped by sending bug reports or pull requests.
v3.0.5
Bugfix release GraphQL-core v3.0.5, based on GraphQL.js v14.6.0.
The following issues are fixed in this release:
- Added type hint to default_field_resolver (#88)
- Fixed memoization of collect_subfields (#91)
- Fixed method name in Visitor docstring (#92)
Contributors to this release were:
@Cito, @hoefling, @nawatts, @rafalp
Thanks to everyone who helped by sending bug reports or pull requests.
v3.1.0
v3.0.4
Patch release of GraphQL-core 3, based on GraphQL.js v14.6.0.
The primary fix is the new repository address github.com/graphql-python/graphql-core in the meta data.
v3.1.0b2
Third beta release of GraphQL-core 3.1, based on GraphQL.js v15.0.0rc2.
In addition to incorporating the latest changes from the master branch of GraphQL.js, this release also contains the following improvements:
- Increased performance by using a faster
isawaitable()
function (#54). - Nodes and some other objects are now extensible and weak-referencable (#82).
We also renamed the repository on GitHub from graphql-python/graphql-core-next to graphql-python/graphql-core.
Contributors to this release were:
@Cito, @astronouth7303, @Hellzed and @qeternity
Thanks to everybody who contributed by sending bug reports or pull requests. Please continue to report any problems you find in this beta release, so that these can be fixed in the final v3.1 release.
v3.1.0b1
Second beta release of GraphQL-core 3.1, based on GraphQL.js v15.0.0rc2.
In addition to incorporating the latest changes in GraphQL.js v15.0.0rc2, this release also contains the following improvements and changes:
- Following a change in GraphQL.js to keep the order of user provided types, the type map reducer for the GraphQLSchema has been removed.
- We now support inheritance when evaluating the
__typename
attribute (#25). - FieldNodes and InputValueNodes are now only DefinitionNodes, not TypeDefinitionNodes.
- The test suite now has 100% coverage, and less coverage will count as failure.
Contributors to this release were:
Thanks to everybody who contributed by sending bug reports or pull requests. Please continue to report any problems you find in this beta release, so that these can be fixed in the final v3.1 release.