Skip to content

v2.0.0

Compare
Choose a tag to compare
@jdmnd jdmnd released this 18 Nov 17:26
· 675 commits to master since this release

[2.0.0] - 2016-11-18

Features

  • Added support for the deepstream presence API, enabling querying and
    subscribing to who is online within a cluster. For example:

    ds.presence.getAll((users) => {
      users.forEach((username) => {
        console.log(`${username} is online`)
      })
    })
    
    ds.presence.subscribe((username, loggedIn) => {
      if (loggedIn) {
        console.log(`${username} has logged in`)
      } else {
        console.log(`${username} has logged out`)
      }
    })

Enhancements

  • Added heartbeats over WebSocket connection
  • Presence has been added to query and subscribe to who is online with the cluster
  • E2E tests refactored

Breaking Changes

  • Supports deepstream.io v2.0.0+ only
  • Changed format of RPC request ACK messages to be more consistent with the rest of the specs
    #408
  • We now depend only on browser/node.js WebSockets, removing support for TCP and engine.io
  • Support for webRTC has been removed