Releases: graphql-python/graphql-core
v3.1.0b0
First beta release of GraphQL-core 3.1, based on GraphQL.js v15.0.0rc1.
In addition to incorporating the latest changes from GraphQL.js (see the list of changes in GraphQL.js v15.0.0a1, v15.0.0a2 and v15.0.0rc1), this release also contains the following improvements and changes:
- Change: Use
Undefined
instead ofINVALID
which is now deprecated (#77) - Use explicit
Optional
type on arguments (#76) - Remove unnecessary result type annotation from
__init__
methods (python/mypy#5677) - Better docstring for
ast_from_value
- Better docstring for
lexicographic_sort_schema
(#75) - Fixed a minor issue when coverting lists in
ast_from_value()
- Fixed a minor issue with
MapAsyncIterator.athrow()
- Improved test coverage (trying to reach 100% for final release)
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.
v3.0.3
v3.0.2
Patch release of GraphQL-core 3, based on GraphQL.js v14.6.0.
This is essentially the same as version 3.0.1 except for one minor change:
- Added the missing validation rules that could not be imported from the
graphql
andgraphql.validation
packages.
Some requirements have also been updated, and we officially support Python 3.8 now.
v3.0.1
Patch release of GraphQL-core 3, based on GraphQL.js v14.5.8.
This is essentially the same as version 3.0.0 except for one minor change:
- The
utilities.get_introspection_query
module has been renamed back toutilities.introspection_query
, since that was the name used in GraphQL.js v14.5.8 - renaming the module will be postponed to a version that replicates GraphQL.js v15.0.0.
Note that the introspection_query
constant was already deprecated in v14 and had not been ported to graphql-core, like some other deprecated features.
v3.0.0
Final release of GraphQL-core 3, based on GraphQL.js v14.5.8.
GraphQL-core 3 is the successor to both GraphQL-core 2 and GraphQL-core-next.
In addition to porting the minor changes in GraphQL.js since v14.5.6, this release also contains the following improvements:
- GraphQL-core 3 now officially supports Python 3.8
- Use mypy 0.750 and the new semantic analyzer (#67)
- Fix for possible sort errors in
build_response()
(#68) - Document the differences between GraphQL-core 3 and GraphQL.js (#24)
See also the changes in v3.0.0b0 and v3.0.0b1.
Contributors to this release were:
Thanks to everyone who sent bug reports or pull requests.
v3.0.0b1
Second beta release of GraphQL-core 3, based on GraphQL.js v14.5.6.
GraphQL-core 3 is the successor to both GraphQL-core 2 and GraphQL-core-next.
In addition to incorporating the latest changes from GraphQL.js (see particularly the list of changes in GraphQL.js v14.5.5), this release also contains the following improvements and changes:
- Changes:
format_error
now returns locations as a list of dicts (#62) - Bugs: Detect args passed to directive without args (#63)
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 release.
v3.0.0b0
First beta release of GraphQL-core 3, based on GraphQL.js v14.5.0.
GraphQL-core 3 is the successor to both GraphQL-core 2 and GraphQL-core-next.
In addition to incorporating the latest changes from GraphQL.js (see particularly the list of changes in GraphQL.js v14.5.0), this release also contains the following improvements and changes:
- Features: Support using lazy descriptions for GraphQL types (#58)
- Performance: Add pytest-benchmark and port the benchmarks from GraphQL.js (#55)
- Performance: Use identity instead of hash for caching subfields in collect_subfields (#56)
- Changes: Use FrozenLists in AST nodes (#45)
- Changes: Changed
is_nullish()
to make it play nice with numpy arrays (#60) - Bugs: Fixed issue #43 with getting
parse_literal
viato_kwargs()
- Bugs: Fix hash method for AST nodes (#45)
- Docs: Fix typo in docs for using SDL (#48)
- Docs: Update installation instructions (#50)
- Docs: Run all code snippets as part of the test suite
- Polish: Run type check also for functions without type annotations
Contributors to this release were:
@Cito, @CorrosiveKid, @delyanr, @ktosiek, @mvanlonden, @qqi0O0, @thomascobb
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 release.
v1.1.1
Bugfix release of GraphQL-core-next, based on GraphQL.js v14.4.0.
This release fixes a problem with getting parse_literal
via to_kwargs()
(#43).
Future versions of GraphQL-core-next will be released as GraphQL-core version 3 and up.
GraphQL-core-next has been discontinued as separate distribution.
v1.1.0
Public release of GraphQL-core-next, based on GraphQL.js v14.4.0.
In addition to incorporating the latest changes from GraphQL.js
(see particularly the list of changes in GraphQL.js v14.4.0),
this release also contains the following improvements and changes:
- Made GraphQLError hashable (#35)
- Fixed online documentation for GraphQLError
- Support transformation of argument names (#41)
- Support value transformation of input object types (#42)
- Support custom type map reducers in GraphQLSchema
- Allow comments on the last line of the query (#39)
Future versions of GraphQL-core-next will be released as GraphQL-core version 3 and up.
GraphQL-core-next has been discontinued as separate distribution.