Changelog of @hackage/socket-io 1.2.0

1.2.0

  • Change appendDisconnectHandler to work in the EventHandler monad. This allows you to broadcast messages to other clients when a socket disconnects. The chat example has been updated to broadcast a "user left" message to demonstrate this.

    Thanks to Kayo Phoenix (@katyo) for the majority of this work!

1.1.1

  • Build with engine-io 1.2

1.1.0

  • When building an initial routing table, you now have access to the Socket.

  • engineIOSocket lets you access the underlying engine-io Socket for a Socket.io session.

1.0.1

  • Increase upper-bound of engine-io to <1.2

1.0.0

  • Initial implementation