Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdmnd committed Nov 18, 2016
1 parent b1e4bea commit e14ff41
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 165 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
## [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:
``` javascript
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](https://github.com/deepstreamIO/deepstream.io/issues/408)
- We now depend only on browser/node.js WebSockets, removing support for TCP and engine.io
- Support for webRTC has been removed

## [1.1.1] - 2016-09-30

### Bug Fixes
Expand Down

0 comments on commit e14ff41

Please sign in to comment.