Releases: colyseus/colyseus.js
Releases · colyseus/colyseus.js
0.7.0
Compatible with [email protected]
0.7.0-alpha.5
- use
localStorage
instead of cookie to store the client id (colyseusid
) - pass the client id in the query string for the server.
0.7.0-alpha.4
0.7.0-alpha.3
Fix triggering onOpen
signal if cookie is already set.
0.7.0-alpha.1
Alpha version compatible with new clustered environment (server 0.5.x
)
- New
Connection
class, which is used both inClient
andRoom
. - Joining a room result in a new WebSocket connection.
0.6.0
0.6.0-alpha.3
Improved error handling. The client can now handle server-side Room#onJoin
errors in the room's onError
signal.
room.onError.add(function(message) {
console.log("error ocurred in the server:", message);
})
0.6.0-alpha.2
Using delta-listener v1.1.0
New feature: add fallback state change listener.
room.state.listen((path: string[], operation: string, value: any) => {
console.log("unhandled: ", path, operation, value);
});
0.6.0-alpha.0
using new patch handling system (https://github.com/endel/delta-listener)