Skip to content

Instantly share code, notes, and snippets.

@mayank
Created August 26, 2016 11:34
Show Gist options
  • Save mayank/3361f83c848a2a06e53b8cc6e3c45478 to your computer and use it in GitHub Desktop.
Save mayank/3361f83c848a2a06e53b8cc6e3c45478 to your computer and use it in GitHub Desktop.
A sample Change Log File

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
* gevent 1.0 bugfixes
* added a paster server integration , use with: egg:gevent-socketio#paster
* Fixed memory leak

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment