forked from abourget/gevent-socketio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
66 lines (55 loc) · 3.15 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
New in 0.3.6 (since 0.3.5-rc3)
-----------------------------
* initialize() on Namespace objects, as well as Mixins (and all
descendants) is now called by the framework, with ``self`` as a
parameter.
* xhr-longpoll fixed for compat with gevent 1.0bX
* added a paster server integration , use with: egg:gevent-socketio#paster
New in 0.3.5-rc3 (since 0.3.5-rc2)
-----------------------------
* Compatibility with gevent 1.0
* Configurable json serialization
* Django server support
* Better jsonp support
New in 0.3.5-rc2 (since 0.3.5-rc1)
-----------------------------
* We echo the connect packet back to the client now
* namespace on handler is now called 'resource' to match node.js
* Even better flash policy support, well tested in IE
* Memory Leak Fixes
New in 0.3.5-rc1 (since 0.3.5-beta)
-----------------------------
* Better test coverage on packets and namespace
* recv_disconnect now works from heartbeats
* ACLs weren't being checked when events fired
* Handle decimals in messages now
* Flash policy server support was improved, now default to port 10843
New in 0.3.5-beta (since 0.3)
-----------------------------
* Official repository now on Github: https://github.com/abourget/gevent-socketio
* Official documentation now on ReadTheDocs: http://readthedocs.org/docs/gevent-socketio/en/latest/
* Largely improved documentation
* Added tests for packets, namespace and socket
* Added several examples (chatter2, testapp, chatter3, chatter4, cross-origin), fixed up the chat.py example.
* Added the ``initialize()`` method to namespaces.
* Added ``reset_acl()`` on namespaces.
* Renamed ``call_method`` to ``call_method_with_acl`` on namespaces.
* Added a Gunicorn worker (GeventSocketIOWorker) and docs
* Implemented the 'ack' callback functions, on both the Python and Javascript sides (when you emit with a callback function as the last argument in javascript, or with keyword ``callback=function`` in Python).
* Added support for disconnection clean-up (``disconnect()`` on namespaces)
* Added a ``session`` dict to both Socket and Namespace objects (a session is unique to a Socket, but provided on the Namespace for convenience), which can hold any session data.
* Improved the RoomsMixin, changed signature of the "emit_to_room" function.
* Improved the BroadcastMixin, implemented the broadcast_event_not_me()
* Added XHR access control headers on handshake
The new release is marked as beta, but is still pretty stable and can be used. All the major features are there, but we might want to change some small bits here and there, for clarity or conciseness.
New in 0.3 (since previous releases)
------------------------------------
* Implemented the Socket.IO 0.7+ protocol.
* Added namespaces and a way to catch events and dispatch them
* Added documentation
* Works on most web frameworks where very small integration is required
* ..woah, so much has changed..
Don't use pyramid_socketio anymore, as most of the concepts have been
moved to gevent-socketio. Instead of using the old django-socketio
package with single function dispatchs, use gevent-socketio directly.
See examples and documentation for integration.