Skip to content

v2.0.0

Choose a tag to compare

@toverux toverux released this 28 May 23:08

<a name"2.0.0">

2.0.0 (2017-05-28)

Bug Fixes

  • sse_handler_middleware: detach event listener on connection close with once() (0fa831f5)

Features

  • *: add the sseHub() middleware and the Hub class (2e7e812f)
  • sse_middleware:
    • SSE functions are void now (1d6c99bd)
    • cleaner interface (req.sse becomes a collection of functions) (0ebcb3ca)

Breaking Changes

  • This is a breaking change in the public interface. Also, two interfaces (ISSECapableResponse and ISSEMiddlewareOptions) have been renamed (respectively ISseResponse and and ISseMiddlewareOptions)
    (0ebcb3ca)