Skip to content

v3.2.13

Choose a tag to compare

@Cito Cito released this 27 Sep 12:23
· 520 commits to main since this release
0829d7a

Patch-release GraphQL-core v3.2.13, based on GraphQL.js v16.14.2.

This patch-release supports Python 3.7 to 3.15.

Bug fixes:

  • A string escape sequence truncated at the end of the input (e.g. "abc\, "\u, "\u00, or a truncated trailing surrogate) made the lexer raise an unhandled IndexError, which propagated out of parse() and graphql_sync(). It is now reported as a GraphQLSyntaxError with the same message as in GraphQL.js. Thanks to @Hama1cco for reporting this issue.
  • On Python 3.14, graphql_sync() and execute_sync() with check_sync=True raised a RuntimeError about a missing event loop instead of reporting that the execution failed to complete synchronously, when called outside of a running event loop.
  • assert_abstract_type() now properly reports "abstract type" instead of "composite type" in its error message.
  • The type hints for introspection results now use the upper case values for the kind of types that introspection actually returns.

Documentation:

  • The API documentation has been extended considerably, following the API docs added in GraphQL.js v16.14.2: all public functions, classes and attributes now have docstrings with documented parameters, return values and examples. The examples are run as doctests, so they are guaranteed to work.
  • Added missing public functions and classes to the documentation.

Other changes:

  • Added support for Python 3.15.
  • Updated development dependencies.

Thanks to @jkimbo for sponsoring this project.