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 unhandledIndexError, which propagated out ofparse()andgraphql_sync(). It is now reported as aGraphQLSyntaxErrorwith the same message as in GraphQL.js. Thanks to @Hama1cco for reporting this issue. - On Python 3.14,
graphql_sync()andexecute_sync()withcheck_sync=Trueraised aRuntimeErrorabout 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.