Skip to content

Latest commit

 

History

History
779 lines (521 loc) · 76.4 KB

CHANGES.md

File metadata and controls

779 lines (521 loc) · 76.4 KB

python-engineio change log

Release 4.9.1 - 2024-05-18

  • Fix inverted shutdown logic in async service task #354 (commit)
  • More robust WebSocket close detection in the sync client #346 (commit)
  • Option to disable routing in ASGIApp #345 (commit) (thanks Rodja Trappe!)

Release 4.9.0 - 2024-02-05

  • More robust handling of polling disconnects #254 (commit)
  • Clearer client logs after disconnect #342 (commit)

Release 4.8.2 - 2024-01-06

  • Combine ssl_verify with other SSL options (commit) (thanks Simon Fonteneau!)
  • Hold references to background tasks to avoid garbage collection (commit)
  • Clearer documentation for the max_http_buffer_size argument (commit)

Release 4.8.1 - 2023-12-28

Release 4.8.0 - 2023-10-14

Release 4.7.1 - 2023-09-12

  • Replace gevent-websocket with simple-websocket when using gevent (commit)
  • Catch and log all errors that occur in event handlers (commit)
  • Use daemon threads for background tasks also in the threaded client (commit)
  • Silence exception on websocket exit when using uWSGI #330 (commit)

Release 4.7.0 - 2023-09-03

  • Added send_packet() method (commit)
  • Fixed race condition when lots of connections are ended at the same time #328 (commit)
  • Workaround for strange memory leak in Eventlet's Thread class #328 (commit)
  • Use daemon threads for background tasks in threading mode (commit)
  • Upgrade to pypy-3.9 in unit tests (commit)

Release 4.6.1 - 2023-08-23

  • Fix double close of websockets in ASGI adapter #327 (commit)

Release 4.6.0 - 2023-08-21

  • Improvements in the connection rejected flow (commit)
  • Better handling of Gunicorn threaded worker (commit)
  • shutdown() method for the Engine.IO server (commit)

Release 4.5.1 - 2023-07-06

  • Restore support for old versions of eventlet #321 (commit)

Release 4.5.0 - 2023-07-05

  • Configure eventlet's websocket max frame length #319 (commit)
  • Remove old Python 2 syntax in super() calls (commit)

Release 4.4.1 - 2023-04-19

  • Prevent crash when closing simple-websocket connection #311 (commit)
  • Fix server/client mixup in client docstrings #312 (commit) (thanks Sasja!)

Release 4.4.0 - 2023-03-16

  • Allow configuring underlying websocket connection with custom options #293 (commit) (thanks Bruce Yu!)
  • Cancel all running tasks in async SIGINT handler #306 (commit)
  • Handle unexpected WebSocket close frames sent by server #292 (commit)
  • Close aiohttp session after a failed connection #307 (commit)
  • Catch IOErrors from uWSGI and explicitly close the driver #301 (commit) (thanks June Oh!)
  • Recommend ASGI integration for Sanic in Documentation (commit)
  • Fix documentation for max_http_buffer_size #310 (commit) (thanks Lawrence Ong!)
  • Add Python 3.11 to builds (commit)

Release 4.3.4 - 2022-08-03

  • Let companion ASGI app handle lifespan events #287 (commit)
  • Use configured request timeout when making a WebSocket connection #286 (commit) (thanks jpfarias!)

Release 4.3.3 - 2022-07-04

  • Handle ASGI lifespan when running with a secondary ASGI app #284 (commit) (thanks mozartilize!)
  • Update deprecated usage of asyncio.wait() #281 (commit) (thanks Ben Beasley!)
  • Better handling of queued WebSocket messages in uWSGI #256 (commit)
  • Gracefully fail to decode empty packets #269 (commit)
  • Only attempt to set an async signal handler once #276 (commit)

Release 4.3.2 - 2022-04-24

  • Option to use a callable for cors_allowed_origins #264 (commit)
  • Close aiohttp session when disconnecting #272 (commit)
  • Remove 3.6 and pypy-3.6 builds, add 3.10 and pypy-3.8 (commit)

Release 4.3.1 - 2022-01-11

  • Fix support for Sanic v21.9.0 and up (commit) (thanks 13g10n!)
  • Include example code in flake8 pass (commit)
  • Remove unused __version__ constant #262 (commit 1 commit 2)

Release 4.3.0 - 2021-10-26

  • Backward incompatible change: Reject websocket messages larger than max_http_buffer_size #260 (commit)
  • Enable or disable specific transports #259 (commit) (thanks Maciej Szeptuch!)
  • Option to disable the SIGINT handler in the client (commit)
  • Support binary packets with zero length #257 (commit)
  • Improve documentation on start_background_task() function (commit)
  • Remove unsanitized client input from error messages #250 (commit) (thanks André Carvalho!)
  • Use plaintext Content-Type when using polling #248 (commit) (thanks Tobias!)
  • Return better error messages for client connection errors #243 (commit)
  • Reuse the aiohttp client session on reconnects #226 (commit)

Release 4.2.1 - 2021-08-02

  • Support setting socketio_path to the root URL #242 (commit)
  • Use the gevent selector to avoid 1024 file handle limitation of select#228 (commit)
  • Pass reason when closing a WebSocket connection (commit)
  • Improved project structure (commit)
  • Remove executable permissions from files that lack shebang lines #240 (commit) (thanks Ben Beasley!)

Release 4.2.0 - 2021-05-15

  • WebSocket support for threading mode (commit)
  • Fixed CORS handling of scheme proxy server header #1501 (commit)
  • Correct handling of static files when secondary WSGI/ASGI app is set #653 (commit)
  • Remove outdated binary argument from example code (commit)
  • Added Open Collective funding option (commit)

Release 4.1.0 - 2021-04-15

  • Change pingTimeout to 20 seconds to match JavaScript's Socket.IO 4.x releases (commit)
  • Configure the JSON decoder for safer parsing (commit) (thanks Onno Kortmann)
  • Remove obsolete 'mock' dependency #218 (commit) (thanks Michał Górny!)

Release 4.0.1 - 2021-03-10

  • Support for client to verify server with custom CA bundle (commit) (thanks Brandon Hastings!)
  • Report missing websocket client as an error in log #557 (commit)
  • Remove asyncio client delay before attempting reconnection #622 (commit)
  • Fix error handling for ASGI WebSocket errors #210 (commit)
  • Fix logging of missing sid #1472 (commit)
  • Change deprecated body_bytes in sanic to body #207 (commit) (thanks Alison Almeida!)
  • Remove references to Python 3.5 in the documentation #211 (commit)
  • Added performance testing scripts (commit)

Release 4.0.0 - 2020-12-07

  • Implementation of the Engine.IO v4 protocol revision
    • v4 protocol: ping/ping reversal in the server (commit)
    • v4 protocol: ping/ping reversal in the client (commit)
    • v4 protocol: change max http buffer size to 1MB (commit)
    • v4 protocol: do not set the io cookie by default (commit)
    • v4 protocol: use EIO=4 in connection URL (commit)
    • v4 protocol: new payload separator (commit)
    • v4 protocol: new binary encoding format (commit)
  • Use a sid generator algorithm similar to JavaScript's version of Socket.IO (commit)
  • Ignore case when comparing transport argument against 'HTTP_UPGRADE' header (commit) (thanks Matthew Barry!)
  • Remove dependency on the six package (commit)

Release 3.14.2 - 2020-11-30

  • Log first occurrence of bad request errors at level ERROR for higher visibility (commit)

Release 3.14.1 - 2020-11-28

  • Catch more connection exceptions in the asyncio client #561 (commit)
  • Revert "On Windows use SIGBREAK to break client" since the fix was not effective (commit)

Release 3.14.0 - 2020-11-28

  • Reject incorrect Engine.IO protocol versions (commit)
  • Accept an initialized requests or aiohttp session object (commit)
  • Handle ping interval and timeout given as strings #201 (commit) (thanks Akash Vibhute!)
  • Handle websocket connections without upgrade header #72 (commit)
  • Catch broken pipes and OS errors in websocket thread #177 (commit)
  • Expose ASGI scope in connect environ #192 (commit) (thanks Korijn van Golen!)
  • Emit ASGI lifespan shutdown event #200 (commit)
  • Add option to set cookie SameSite and Secure settings. (commit) (thanks Billy Felton!)
  • Stop event loop when client is interrupted with Ctrl-C #197 (commit)
  • Do not try to install signal handler if unsupported #199 (commit) (thanks Philippe!)
  • On Windows use SIGBREAK to break client #570 (commit)
  • Client: handle error responses with invalid JSON #553 (commit)
  • Added troubleshooting section to the documentation (commit)
  • Move builds to GitHub actions (commit)

Release 3.13.2 - 2020-08-18

  • Improved signal handler for the async client #523 (commit)
  • Add SameSite attribute to Socket.IO cookie #1344 (commit)
  • Handle GeneratorExit exception appropriately #182 (commit) (thanks PaulWasTaken!)
  • Simplify asserts in unit tests (commit)
  • Use pytest as test runner (commit)

Release 3.13.1 - 2020-07-02

  • Fix KeyError during WebSocket disconnection in AsyncServer #179 (commit)

Release 3.13.0 - 2020-05-23

  • Support direct WebSocket connections in ASGI server (commit)
  • ASGI startup and shutdown lifespan handlers #169 (commit) (thanks avi!)
  • Improved handling of rejected connections (commit)
  • Make client disconnects more robust #417 (commit)
  • End WebSocket connection gracefully when user is intentionally disconnected #168 (commit) (thanks Mohammad Almoghrabi!)
  • Enable locking in websocket-client package #170 (commit)
  • Correctly parse cookies with a "=" in their values #175 (commit) (thanks Ignacio Pascual!)
  • Removed references to Python 2.7 in the documentation (commit)

Release 3.12.1 - 2020-03-17

  • Asyncio client: correctly update cookie jar #166 (commit)

Release 3.12.0 - 2020-03-14

  • Correct handling of cookies in the client #162 (commit)
  • Fixed infrequent race condition when upgrading from polling to WebSocket #160 (commit)
  • Only add signal handler when client is created in main thread #163 (commit)
  • More robust handling of a closing connection #164 (commit)
  • More accurate logging documentation #158 (commit)

Release 3.11.2 - 2020-01-03

  • Last version to support Python 2
  • Detect unreported websocket closures in asyncio client #401 (commit)
  • Initialize aiohttp when client connects directly through websocket #152 (commit)
  • Initialize the client's SIGINT signal handler only if a client is created #147 (commit)
  • Add better exception handling for errors thrown by the websocket-client package #155 (commit) (thanks Adam Grant!)
  • Missing timeout when closing websocket client connection #148 (commit)

Release 3.11.1 - 2019-12-10

  • Reset event when it is reused after a reconnect #153 (commit)

Release 3.11.0 - 2019-12-07

  • Use aiohttp's WebSocket client #324 (commit)
  • Support user created loops on the asyncio client #1065 (commit)
  • Fix occasional server disconnect crashes #146 (commit) (thanks Dominik Winecki!)
  • Use X-Forwarded headers if present to verify origin (commit)
  • Support async make_response function in ASGI driver #145 (commit)
  • Support not having a sigint handler #143 (commit) (thanks Robin Christine Burr!)
  • Fix websocket exception handling on python2.7 #149 (commit) (thanks Payton Yao!)

Release 3.10.0 - 2019-10-22

  • Added support for SSL connection to unverified host in the client. #137 (commit) (thanks sgaron-cse!)
  • Performance improvements in parsing long-polling payloads (commit)
  • Prevent heavy CPU usage when decoding payloads (commit)
  • Handle case where no original SIGINT handler existed and call signal.… #140 (commit) (thanks Robin Christine Burr!)
  • Accept any 2xx response as valid in the client #331 (commit)
  • Avoid loop without yield when sockets are >60 #138 (commit) (thanks Gawen Arab!)
  • Configurable ping interval grace period #134 (commit)

Release 3.9.3 - 2019-08-05

  • Apply timeouts to all HTTP requests sent from the client #127 (commit)
  • Shutdown non responding websocket connections in the client #326 (commit)
  • Catch OSError exceptions from websockets package #328 (commit)

Release 3.9.2 - 2019-08-03

  • Skip CORS headers when origin is not given by client #131 (commit)
  • Add async_handlers sub-package to setup.py (commit)

Release 3.9.1 - 2019-08-02

Release 3.9.0 - 2019-07-29

  • Address potential websocket cross-origin attacks #128 (commit)
  • Documentation for the Same Origin security policy (commit)
  • Remove tests from built package #124 (commit) (thanks Pablo Escodebar!)

Release 3.8.2 - 2019-06-29

  • Correctly autodetect asgi async mode #122 (commit)
  • Omit response when asyncio websocket ends #120 (commit)
  • Improved ocumentation on user session behavior on disconnections (commit)
  • Correct spelling mistakes in documentation #119 (commit) (thanks Edward Betts!)

Release 3.8.1 - 2019-06-08

  • Optimization to static file serving (commit)
  • Do not reset connection when packet queue timeouts #110 (commit) (thanks Victor Moyano!)

Release 3.8.0 - 2019-06-03

  • Much more flexible support for static files in the server (commit, commit)
  • Correctly handle rejected websocket connections in Tornado #114 (commit)

Release 3.7.0 - 2019-05-29

  • Add JSONP support in the server #98 (commit) (thanks StoneMoe!)
  • Send binary packets as such in the sync client #112 (commit)
  • Handle CLOSE packet in the client #100 (commit)
  • Document how to access the sid for the connection (commit)

Release 3.6.0 - 2019-05-25

  • Tornado 6 support (commit) (thanks Michel Llorens!)
  • added note on CORS support for sanic (commit)
  • added python 3.7 build (commit)
  • auto-generate change log during release (commit)
  • added change log (commit)
  • helper release script (commit)

Release 3.5.2 - 2019-05-19

  • migrate to ASGI3 #108 (commit) (thanks Florimond Manca!)
  • updated asgi examples to latest uvicorn (commit)
  • remove security alert in requirements (commit)
  • removed unused arguments and methods (commit)

Release 3.5.1 - 2019-04-07

  • Downgrade log levels in some areas #103 (commit) (thanks Aaron Bach!)
  • capture timeouts and other exceptions from requests (commit)

Release 3.5.0 - 2019-03-16

  • not necessary to hold the packet queue when upgrading (commit)
  • add link to stack overflow for questions (commit)
  • pep8 fixes for previous commit (commit)
  • Use the correct text type for upgrade probes in both Python 2 and 3 #101 #265. (commit) (thanks Sam Brightman!)

Release 3.4.4 - 2019-03-14

  • Pass cookies to websocket connection creation (commit) (thanks Adrien Gavignet!)
  • close the aiohttp client to prevent exit warnings (commit)
  • readme fixes (commit)

Release 3.4.3 - 2019-02-20

  • exit service task if event loop is closed (commit)
  • more tornado fixes (commit)

Release 3.4.2 - 2019-02-19

  • added missing await in tornado driver (commit)

Release 3.4.1 - 2019-02-16

  • check for origin in Tornado's WebSocket handler (commit)

Release 3.4.0 - 2019-02-15

  • replace urllib3 with requests to get cookie support (commit)

Release 3.3.2 - 2019-02-12

  • reset sid after a disconnect (commit)
  • uniform service task cancellation (commit)
  • Fix hang on KeyboardInterrupt when running with asyncio. #95 (commit) (thanks Ingmar Steen!)

Release 3.3.1 - 2019-02-09

  • better error handling during websocket connection handshake (commit)
  • more places where connection shouldn't be reset too quickly (commit)

Release 3.3.0 - 2019-01-23

  • do not reset connection when ping loop exits (commit)

Release 3.2.3 - 2019-01-12

  • never import invalid async drivers (commit)

Release 3.2.2 - 2019-01-10

Release 3.2.1 - 2019-01-09

  • add a grace period of 5 seconds to ping timeout (commit)
  • do not use six in setup.py (commit)
  • minor refactor of clients for consistency with servers (commit)
  • minor refactor of the async drivers (commit)

Release 3.2.0 - 2019-01-03

  • unit test reorganization (commit)
  • do not block upgrades with high packet traffic #16 (commit)
  • user session documentation (commit)
  • remove python 3.4 from builds (commit)
  • user sessions (commit)

Release 3.1.2 - 2018-12-22

  • fixed dependency (commit)
  • small documentation updates (commit)

Release 3.1.1 - 2018-12-20

  • bug fixes on handling of timeouts in the client (commit)
  • make ping loop task more responsive to cancellation (commit)
  • correct handling of disconnect event (commit)
  • make unit tests compatible with python 3.5 (commit)
  • do not drop extra packets included in first response (commit)

Release 3.1.0 - 2018-12-14

  • initial Engine.IO client implementation
  • client examples (commit)
  • pass custom headers in client connection requests (commit)
  • restructure async drivers into a subpackage (commit)
  • documentation updates (commit)

Release 3.0.0 - 2018-12-01

  • ASGI support
  • support serving static files in wsgi and asgi middlewares (commit)
  • refactor wsgi and asgi middlewares (commit)
  • minor documentation fixes (commit)
  • reorganized documentation (commit)

Release 2.3.2 - 2018-10-09

  • address potential lock of the service thread (commit)
  • graceful exit for service task (commit)

Release 2.3.1 - 2018-09-30

  • updated requirements file (commit)
  • more fixes towards cleaning up abruptly disconnected clients (commit)

Release 2.3.0 - 2018-09-23

  • Actively monitor clients for disconnections (commit)
  • parse integer packets as strings #75 (commit)
  • missing unit test (commit)
  • add Python 3.7 to build (commit)
  • removed unused import (commit)
  • Tornado docs (commit)

Release 2.2.0 - 2018-06-28

Release 2.1.1 - 2018-05-12

Release 2.1.0 - 2018-04-27

  • basic support for cors allowed headers (commit)
  • add pypy3 target to travis builds (commit)
  • respond to CORS preflight requests #630 (commit)

Release 2.0.4 - 2018-03-13

Release 2.0.3 - 2018-03-06

  • more aiohttp unit test fixes (commit)
  • fix aiohttp unit test (commit)
  • support for aiohttp 3.x (commit)

Release 2.0.2 - 2018-01-04

  • fix documentation builds (commit)
  • Suppress "socket is closed" stack trace from logs #57 (commit)
  • Reraise exceptions in a Py2/Py3 compatible way #58 (commit)

Release 2.0.1 - 2017-11-21

  • Fixed poll() method to always empty the queue #589 (commit)

Release 2.0.0 - 2017-11-19

  • remove double-utf8 encoding hack this hack that made some incorrectly encoded packets sent by the JS socket.io 1.x clients does not always work, and is not needed anymore since the 2.x clients have been fixed. (commit)
  • Documented protocol defaults (commit)

Release 1.7.0 - 2017-07-02

  • cleaner disconnecting of polling clients (commit)
  • Support async_handlers option for the asyncio server #95 (commit)

Release 1.6.1 - 2017-06-27

  • Tolerate errors when cleaning up a task cancellation #110 (commit)

Release 1.6.0 - 2017-06-23

  • better error handling strategy #49 (again and hopefully better) (commit)
  • Reraise app exceptions with the correct traceback #49 (commit)

Release 1.5.4 - 2017-05-30

  • Workaround to prevent the "exception never retrieved" asyncio bug #48 (commit)

Release 1.5.3 - 2017-05-29

  • Handle buggy and correct encodings for engine.io unicode packets #102 (commit)

Release 1.5.2 - 2017-05-16

  • be a bit more forgiving with socket timeouts (commit)

Release 1.5.1 - 2017-05-09

Release 1.5.0 - 2017-05-09

  • another fix in the lost connection detection logic (commit)
  • detect lost connections (asyncio) (commit)
  • detect lost connections (eventlet/gevent) (commit)

Release 1.4.0 - 2017-04-21

  • properly handle crashes in connect/disconnect handlers (commit)
  • invoke disconnect handler when websocket handler crashes (commit)
  • invoke disconnect handler when application handler crashes (commit)

Release 1.3.2 - 2017-04-09

  • Accept leading and trailing slashes in engineio_path #83 (commit)
  • Use custom exceptions for internal errors #44 (commit)
  • Fix sanic url parsing #43 According to sanic docs, request.url already contains query string, so adding it results in data corruption. This fix worked for me. #42 (commit) (thanks Семён Марьясин!)
  • fixed aiohttp unit test (commit)

Release 1.3.1 - 2017-03-22

  • Do not depends on SERVER_SOFTWARE constant from aiohttp #86 (commit)
  • proper handling of closed sockets (commit)
  • use Python 3.6 for docs build (commit)
  • release 1.3.0 (commit)
  • Better handling of close packets from the client #41 (commit)
  • rename async to _async to avoid conflicts #36 (commit)
  • websocket support for sanic (commit)

Release 1.2.4 - 2017-03-02

  • Use non-blocking reads for uwsgi websocket handles #417 (commit)
  • handle unexpected disconnects from uwsgi websocket (commit)

Release 1.2.3 - 2017-02-22

  • Use correct key name for ACCEPT_ENCODING header #39 (commit)

Release 1.2.2 - 2017-02-15

  • updated examples readme (commit)
  • Fix crash on invalid packet type. Add test #37 (commit) (thanks Dmitry Voronin!)
  • minor updates to sanic examples (commit)
  • sanic examples (commit)
  • sanic support (long-polling only) (commit)
  • updated documentation logo (commit)
  • ensure iscoroutinefunction works well for mocks (commit)
  • updated requirement files for examples (commit)

Release 1.2.1 - 2017-02-11

  • various minor improvements for asyncio support (commit)
  • Fixed asyncio example code #35 (commit)

Release 1.2.0 - 2017-02-09

  • minor documentation updates (commit)
  • async socket unit tests (commit)
  • more asyncio unit tests (commit)
  • catch cancelled tasks due to client leaving (commit)
  • some initial async server unit tests (commit)
  • asyncio documentation (commit)
  • reorganized examples (commit)
  • Preliminary asyncio support! Yay! (commit)

Release 1.1.2 - 2017-01-30

Release 1.1.1 - 2017-01-23

  • Use text/plain content type for base64 encoded responses #33 (commit)
  • removed py33 from tests, added py36 (commit)
  • additional fix regarding bytearray support (commit)
  • Merge branch 'wwqgtxx-patch-1' (commit)
  • allow binary packets to be given as bytearrays (commit) (thanks wwqgtxx!)

Release 1.1.0 - 2016-11-27

  • Prevent recursive disconnect handlers #329 (commit)

Release 1.0.4 - 2016-11-26

  • Use a statically allocated logger by default (commit)
  • fix unit test to work on python 2.7 (commit)

Release 1.0.3 - 2016-09-05

  • workaround double utf-8 encode bug in javascript client #315 (commit)
  • upgrade to a more recent engineio.js for the examples (commit)
  • do not close a socket that is already closed #312 (commit)

Release 1.0.2 - 2016-09-04

  • add version to package (commit)

Release 1.0.1 - 2016-09-01

  • corrected logic that selects gevent_uwsgi as async mode #28 (commit)
  • documentation fixes (commit)

Release 1.0.0 - 2016-08-26

  • updated Server class docstring (commit)
  • added async_handlers option to server (commit)
  • documentation for new gevent_uwsgi async_mode (commit)
  • add unit test for complete code coverage (commit)
  • Merge branch 'efficiosoft-uwsgi-gevent-support' (commit)
  • Added websocket support for uWSGI with gevent (commit) (thanks Robert Schindler!)
  • minor updates to readme file (commit)

Release 0.9.2 - 2016-06-28

  • minor comment additions to examples (commit)
  • async message events, sleep function, better client timeout Several improvements in this commit: 1. Message event handlers are invoked in a thread so that they are non-blocking. 2. Added a sleep function that is generic across async modes. 3. The timeout to declare a client gone has been extended to match the ping timeout setting. (commit)

Release 0.9.1 - 2016-05-15

  • do not crash if recipient of a message is gone (commit)

Release 0.9.0 - 2016-03-06

  • Correct generation of binary xhr2 packets (commit)
  • Do not write binary packets to the log (commit)
  • Hopefully addressed some tests that fail intermittently on travis (commit)

Release 0.8.8 - 2016-02-21

  • Dispose of disconnected sockets (commit)
  • disable imports warning in flake8 (commit)

Release 0.8.7 - 2016-01-26

Release 0.8.6 - 2016-01-10

  • Graceful failure when websocket is request and the async mode does not support it (commit)

Release 0.8.5 - 2016-01-02

  • additional eventlet unit test (commit)
  • Update tests to correspond with flake8 (commit) (thanks Artemiy Rodionov!)
  • Fix eventlet wsgi websocket call return #12 (commit) (thanks Artemiy Rodionov!)

Release 0.8.4 - 2015-12-18

  • Revert "_websocket_handler waits on writer even after the socket is closed" #11 (commit)

Release 0.8.3 - 2015-12-14

  • _websocket_handler waits on writer even after the socket is closed This patch wakes up the writer with a null message when the socket gets closed (commit) (thanks Babu Shanmugam!)

Release 0.8.2 - 2015-12-13

  • Runtime error when websocket is missing from environment (commit)

Release 0.8.1 - 2015-12-03

  • fix python 3.5 build (commit)
  • tolerate payloads in UPGRADE packet #7 (commit)

Release 0.8.0 - 2015-11-21

  • expose start_background_thread() as a public method (commit)
  • Added python 3.5 to the tox build (commit)

Release 0.7.2 - 2015-11-04

  • Correctly end eventlet's websocket connection See miguelgrinberg/flask-socketio#167 for the problem this fixes. (commit)

Release 0.7.1 - 2015-10-19

  • More robust handling of the upgrade exchange (commit)

Release 0.7.0 - 2015-10-17

  • Add kwargs to server constructor (commit)

Release 0.6.9 - 2015-10-16

  • Give eventlet access to the socket when running under gunicorn (commit)

Release 0.6.8 - 2015-10-07

  • Raise a runtime error when gevent-websocket's custom server is not used (commit)

Release 0.6.7 - 2015-09-26

  • Better handling of connection state (commit)
  • Small improvements to example apps (commit)
  • Correctly set state of socket connected directly with websocket transport (commit)
  • Add wrapper to create threads compatible with the selected async mode (commit)

Release 0.6.6 - 2015-09-06

  • Accept direct websocket connections (commit)
  • Fix executable bit, once again (commit)

Release 0.6.5 - 2015-09-02

  • Added transport() method (commit)

Release 0.6.4 - 2015-09-01

  • Preserve exception in case it is lost before it is re-reaised (commit)
  • Added a port of the "latency" example from the official Javascript client (commit)
  • Allow application to provide a custom JSON encoder/decoder. (commit)

Release 0.6.3 - 2015-08-30

  • added b64 unit tests (commit)
  • Added b64 checks and encoding during initial connect #4 (commit) (thanks Myles Ringle!)

Release 0.6.2 - 2015-08-23

  • Improved handling of logging (commit)
  • Make gevent websocket optional in example app (commit)

Release 0.6.1 - 2015-08-20

  • Make gevent thread arguments optional (commit)

Release 0.6.0 - 2015-08-20

  • Add WebSocket support for gevent (Idea derived from pull request #1 by @drdaeman) (commit)
  • Made parsing of HTTP connection header more robust (commit)
  • Refactored the three async modes as separate modules for greater flexibility (Idea derived from pull request #1 by @drdaeman) (commit)
  • Fix executable bit on several files (commit)

Release 0.5.1 - 2015-08-17

  • Correct handling of CORS origin header (commit)
  • minor improvements to the example application (commit)
  • documentation improvements (commit)

Release 0.5.0 - 2015-08-04

  • Support for gevent and threading in addition to eventlet. Also improved example application. (commit)

Release 0.4.0 - 2015-08-03

  • ensure all HTTP response payloads are returned as bytes (commit)
  • Added robustness when dealing with disconnected clients (commit)
  • removed assert_called_once from tests (commit)
  • Added logging for websocket upgrade (commit)
  • Fixed incorrect unit test (commit)
  • rename close() to disconnect() for consistency (commit)

Release 0.3.1 - 2015-07-04

  • Switch README to rst format (commit)
  • minor documentation and code fixes (commit)

Release 0.3.0 - 2015-07-04

  • Better support for unicode in Python 2 (commit)
  • allow connect event handler to send data to client (commit)

Release 0.2.0 - 2015-06-29

  • Added non-decorator format for Server.on() (commit)
  • declared vendered js file (commit)
  • Added pypy to travis builds (commit)
  • minor documentation updates (commit)
  • Initial commit (commit)
  • initial version (commit)