Releases: coast-team/netflux
Releases · coast-team/netflux
v4.0.4
v4.0.3
v4.0.2
v4.0.1
v4.0.0
4.0.0 (2018-05-15)
Bug Fixes
- bot: check group key before join via bot (dda600d)
- bot: read bot url correctly (e2a9641)
- channel: initialize channel when invited by a bot (ac146b7)
- channel: initialize the correct peer id when internal (eb2f4f9)
- ChannelBuilder: identify the initiator with the right peer id (b8e53ba)
- FullMesh: circular dependency with WebChannel (aecf941)
- pendingRequest: unhandled Promise Rejection Warning (dae620f)
- send: set correct type of sending messages (c5c2b26)
Code Refactoring
- leaving: remove WebChannel.LEAVING and Signaling.CLOSING states (aaaf310)
- clean and move some code, rename some objects (564fde5)
Features
- bot: add leaveOnceAlone option (13fc4f0)
- bot: bot connects to the signaling server as any client does (3795779)
BREAKING CHANGES
- WebGroupBotServer is now Bot. WebGroupBotOptions is now BotOptions.
- bot: autoRejoin option default value for the bot is now true.
- leaving: WebChannelState.LEAVING and SignalingState.CLOSING no longer exist: WebChannel
state equals to LEFT after callingleave
method.
v3.0.0
3.0.0 (2018-02-28)
Bug Fixes
- Channel: set default id to 1 (28ae335)
- channelBuilder: add timeout to ChannelBuilder (4f08741)
- ChannelBuilder: make pingPongRequests flexible (68e815e)
- fullmesh: correctly add adjacentMembers (2c278e6)
- fullmesh: ghost members no longer present (50886e1)
- fullmesh: missing member join notification (e8b4b32)
- fullmesh: set joined and stable states pus other small bugs (342781c), closes #121
- fullmesh: set JOINED too early and add check for my ID in connectTo (427fcb8)
- fullmesh: simultaneous connection creation (15cecc8)
- fullmesh: start and stop intervals properly (123f81d)
- fullmesh: wait for connectTo to complete before request members (2a9c3c3)
- signaling: do not reinitialize missedHeartbeats value after closed (f02d16f)
- WebChannel: rejoin after Offline/Online events (aefb193)
- WebChannel: when merging two networks failed (197de15)
- WebRTCBuilder: add missing timeout for datachannel establishement (6bceae7)
Code Refactoring
- fullmesh: transform fullmesh to mostly fullmesh topology (31a2742)
- log: change logs logic (5920d65)
- log: define log level (787e19d)
- spec: change WebGroupOptions and remove closeSignaling and ping methods (b43a992)
Features
- signaling: tries all memebers on signaling before closing WebSocket (f057328)
- WebGroup: add LEAVING state (580eb53), closes #117
BREAKING CHANGES
- log: setLogLevel function works differently. LogLevel is one of the 7 values: DEBUG,
WEB_GROUP, WEBRTC, CHANNEL, TOPOLOGY, SIGNALING, CHANNEL_BUILDER. Values maybe combined together.
Each value enable log in associated module. - log: enableLog function became setLogLevel(level: LogLevel).
- spec: WebGroupOptions.iceServers replaced by rtcConfiguration.
WebGroupOptions.signalingURL replaced by signalingServer. WebGroup.closeSignaling and WebGroup.ping
no longer exist. - fullmesh: The SignalingState values are: [CONNECTING, CONNECTED, STABLE, CLOSED]. The
callback parameters for WebGroup#onMessage have changed (isBroadcast has been removed): (id: number,
msg: DataType).
v2.1.1
v2.1.0
2.1.0 (2017-12-20)
Bug Fixes
- browser: add webrtc-adapter polyfill for browsers (b611060)
- debug: set level property of the enableLog function optional (0d7ed24)
- node: does not include polyfills for browsers in node (a91c75e)
- pingpong: better ping/pong strategy with signaling (5f17f22)
- pingpong: ping/pong interval is now started for all connections (1eb0e4a)
- webrtc: properly detect failed channel establishment for some scenarios (9669f8a)
Features
- log: add level (debug or info) parameter for enableLog function (1c78600)
Performance Improvements
- heartbeat: start ping/pong on Topology level instead of Channel (1d3c7ba)