-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
27f7834
commit 08f7989
Showing
1 changed file
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,31 @@ | ||
# [Unreleased] | ||
## Fixed | ||
# Unreleased | ||
|
||
## Fixes | ||
|
||
## Enhancements/Features | ||
- Added support for context manager API | ||
now you can use the client with context manager API, like so: | ||
```python | ||
with GraphQLClient("ws://localhost/graphql") as client: | ||
client.subscribe(...) | ||
``` | ||
|
||
|
||
# 0.1.1 | ||
|
||
## Fixes | ||
- fixed: when stop_subscribe was called it would stop the receive thread, so further subscription would not work | ||
- fixed: if more than operations were scheduled, the correct callback might not receive the correct data | ||
- refactor: use a separate thread all the time to continously receive data from the server and put it on queues | ||
- refactor: use separate queues for each operation to properly keep track of incoming and data and who it is meant for | ||
- other misc improvements | ||
- Removing sleep, the `conn.recv` call is blocking | ||
- Added `graphql-ws` subprotocol header to help with some WSS connections | ||
|
||
## Enhancements/Features | ||
- UUIDv4 for generating operation IDs (#16) | ||
- Added tests | ||
|
||
|
||
# 0.1.0 | ||
- basic working of GraphQL over Websocket (Apollo) protocol |