All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add support for variables in query parameters. (Pull #176)
- Add official compatibility with Tartiflette 1.4.x. (Pull #153)
- Update dependency on Starlette to
0.16.*. (Pull #154) - Update httpx requirement to
0.19.*(Pull #159)
- Add official compatibility with Tartiflette 1.3.x. (Pull #132)
- Drop deprecated
mounthelpers module. Prefer using the mounting mechanism of your ASGI framework. (Pull #119)
- Update dependency on Starlette to
0.13.*. (Pull #106) - Convert internal modules to private naming. All public API should be accessed from the top-level
tartiflette_asgipackage. (Pull #117)
- Add compatibility with Starlette
0.13.*. (Pull #106)
- Add support for Tartiflette 1.2.x. (Pull #115)
- Fix GraphiQL subscriptions endpoint when using ASGI sub-mounting. (Pull #98)
- Fix protocol mismatch error when serving GraphiQL over HTTPS. (Pull #114)
- Requests containing malformed JSON now return a 400 Bad Request error response instead of 500 Internal Server Error. (Pull #81)
- Renamed project to
tartiflette-asgi.
- Add support for Tartiflette 1.x. (Pull #58)
- Officialize support for Python 3.8. (Pull #80)
- Drop support for Tartiflette 0.x. (Pull #58)
- Add support for Python 3.8. (Pull #55)
- Type annotations are now correctly detected by
mypy. (Pull #66) - Fix a bug that prevented the GraphiQL web interface from making queries when the application was mounted on a parent ASGI app. (Pull #51)
- Fixed a bug that prevented accessing the GraphiQL interface when subscriptions were not enabled.
- WebSocket subscriptions, configurable with the new
subscriptionsoption onTartifletteApp. - Pass extra context to resolvers using the new
contextoption onTartifletteApp.
- Support for Tartiflette 0.12.x.
- Add a
mountmodule with submounting helpers. - Add
mount.starlette().
- Due to the new engine cooking API in Tartiflette 0.12,
TartifletteAppnow includes a startup event handler responsible for building the GraphQL engine. If submounting, it must be registered on the parent ASGI app. Helpers in themountmodule take care of this for you.
- Drop support for Tartiflette 0.11.x and below.
- GraphiQL configuration via the
GraphiQLhelper. Options:path,default_query,default_headers,default_variables,template.
- Internal refactoring that leverages more of Starlette's capabilities.
- Documentation improvements.
- Support for
starlette>=0.12(previously>=0.12.0b3). - Tartiflette is now installed too when installing
tartiflette-asgi.
- The default
pathis now""(previously"/"). - The request is now accessible in the GraphQL context via
context["req"](previouslycontext["request"]). - If no error occurred, the
errorsfield is not present in the response anymore (previously wasNone).
- More robust URL matching on
TartifletteApp.
- Add missing
graphiql.htmlpackage asset.
Features:
TartifletteAppASGI application.- Built-in GraphiQL client.
Project-related additions:
- Package setup.
- Changelog.
- Contributing guide.
- README and documentation.