(DEPRECATED) ASGI support for the Tartiflette Python GraphQL engine
Project description
DEPRECATED
This project was renamed to tartiflette-asgi
.
Changelog
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.
Unreleased
0.6.1 - 2019-10-27
This is a tombstone release.
- Renamed to
tartiflette-asgi
.
0.6.0 - 2019-10-18
Added
- Add support for Tartiflette 1.x. (Pull #58)
- Officialize support for Python 3.8. (Pull #80)
Removed
- Drop support for Tartiflette 0.x. (Pull #58)
0.5.2 - 2019-10-09
Added
- Add support for Python 3.8. (Pull #55)
Fixed
- 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)
0.5.1 - 2019-07-16
Fixed
- Fixed a bug that prevented accessing the GraphiQL interface when subscriptions were not enabled.
0.5.0 - 2019-07-12
Added
- WebSocket subscriptions, configurable with the new
subscriptions
option onTartifletteApp
. - Pass extra context to resolvers using the new
context
option onTartifletteApp
.
0.4.0 - 2019-07-04
Added
- Support for Tartiflette 0.12.x.
- Add a
mount
module with submounting helpers. - Add
mount.starlette()
.
Changed
- Due to the new engine cooking API in Tartiflette 0.12,
TartifletteApp
now includes a startup event handler responsible for building the GraphQL engine. If submounting, it must be registered on the parent ASGI app. Helpers in themount
module take care of this for you.
Removed
- Drop support for Tartiflette 0.11.x and below.
0.3.0 - 2019-07-03
Added
- GraphiQL configuration via the
GraphiQL
helper. Options:path
,default_query
,default_headers
,default_variables
,template
.
Changed
- Internal refactoring that leverages more of Starlette's capabilities.
- Documentation improvements.
0.2.0 - 2019-06-10
Added
- Support for
starlette>=0.12
(previously>=0.12.0b3
). - Tartiflette is now installed too when installing
tartiflette-starlette
.
Changed
- The default
path
is now""
(previously"/"
). - The request is now accessible in the GraphQL context via
context["req"]
(previouslycontext["request"]
). - If no error occurred, the
errors
field is not present in the response anymore (previously wasNone
).
Fixed
- More robust URL matching on
TartifletteApp
.
0.1.1 - 2019-04-28
Fixed
- Add missing
graphiql.html
package asset.
0.1.0 - 2019-04-26
Added
Features:
TartifletteApp
ASGI application.- Built-in GraphiQL client.
Project-related additions:
- Package setup.
- Changelog.
- Contributing guide.
- README and documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tartiflette-starlette-0.6.1.tar.gz
.
File metadata
- Download URL: tartiflette-starlette-0.6.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f40f8602b672237dcf3e3eb76e9087a3fd9b10921e30ef44a767035536f8345 |
|
MD5 | 80101da8e9aab8ae9ed5fafbb1bf5d05 |
|
BLAKE2b-256 | 8e5b41de95bdee2628faac5de3e8ad360d78caac25acc8f871cec337e23ea652 |
File details
Details for the file tartiflette_starlette-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: tartiflette_starlette-0.6.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ef24c46e8ce970be6fb38037b4ac1ed7f4f172b6b4a07f6e44cca7a43053ef8 |
|
MD5 | afa69944c115df03d83774d562800237 |
|
BLAKE2b-256 | 21329122d1bc416366c0e5ea50d302cc28ed80fea40cfe97995215daacc23bfa |