Skip to content

Releases: coast-team/netflux

v4.0.4

24 May 08:00
Compare
Choose a tag to compare

4.0.4 (2018-05-24)

Bug Fixes

  • bot: apply previous fix to the right place (87dec1c)
  • bot: take into account only the last part of the route for bot URL (ce81818)

v4.0.3

23 May 08:32
Compare
Choose a tag to compare

4.0.3 (2018-05-23)

Bug Fixes

  • channelbuilder: use correct wcId when joining via bot (6a51f31)

v4.0.2

17 May 14:50
Compare
Choose a tag to compare

4.0.2 (2018-05-17)

Bug Fixes

  • typings: add missing TextDecodeOptions declarations (5edf30f)

v4.0.1

17 May 13:53
Compare
Choose a tag to compare

4.0.1 (2018-05-17)

Bug Fixes

  • log: setLogLevel accepts correct arguments as described in doc (f42b9b4)
  • typings: include declarations for TextEncoder/TextDecoder API for TypeScript < 2.8 (308d95b)

v4.0.0

15 May 11:46
Compare
Choose a tag to compare

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 calling leave method.

v3.0.0

28 Feb 12:23
Compare
Choose a tag to compare

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

11 Jan 16:09
Compare
Choose a tag to compare

2.1.1 (2018-01-11)

Bug Fixes

  • webrtc: add connection timeout (13c591d)
  • websocket: close connection when connection timeout (f245d72)
  • websocket: increase timeout up to 10 seconds (98eddb1)

v2.1.0

20 Dec 10:42
Compare
Choose a tag to compare

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)

v2.0.3

22 Nov 09:51
Compare
Choose a tag to compare

2.0.3 (2017-11-22)

Bug Fixes

  • build: generate missing build for published version (ec54d58)

v2.0.2

14 Nov 13:27
Compare
Choose a tag to compare

2.0.2 (2017-11-14)

Bug Fixes

  • build: fully esm build for browser and nodejs (7c642a0)

BREAKING CHANGES: build consumption

  • browser: package.json#browser property is now pointing to ES module build for browser and not UMD build. UMD build is still available in dist/netflux.umd.js.