Skip to content

Latest commit

 

History

History
378 lines (220 loc) · 16.5 KB

CHANGELOG.md

File metadata and controls

378 lines (220 loc) · 16.5 KB

1.5.4 (2024-05-14)

Bug Fixes

1.5.3 (2024-05-11)

Bug Fixes

1.5.2 (2023-12-05)

Bug Fixes

1.5.1 (2023-09-23)

Bug Fixes

  • convert Blobs to ArrayBuffers during .send() (95bb0f7), closes #1137
  • convert Blobs to ArrayBuffers during .send() (#1142) (094f849)

1.5.0 (2023-09-03)

Bug Fixes

  • datachannel: sending order is now preserved correctly (#1038) (0fb6179), closes #746
  • deps: update dependency @swc/helpers to ^0.4.0 (a7de8b7)
  • deps: update dependency cbor-x to v1.5.4 (c1f04ec)
  • deps: update dependency eventemitter3 to v5 (caf01c6)
  • deps: update dependency peerjs-js-binarypack to v1.0.2 (7452e75)
  • deps: update dependency webrtc-adapter to v8 (431f00b)
  • deps: update dependency webrtc-adapter to v8.2.2 (62402fc)
  • deps: update dependency webrtc-adapter to v8.2.3 (963455e)
  • MediaConnection: close event is fired on remote Peer (0836356), closes #636 #1089 #1032 #832 #780 #653
  • npm audit: Updates all dependencies that cause npm audit to issue a warning (6ef5707)

Features

  • .type property on Errors emitted from connections (#1126) (debe7a6)
  • PeerError from connections (ad3a0cb)
  • DataConnection: handle close messages and flush option (6ca38d3), closes #982
  • MediaChannel: Add experimental willCloseOnRemote event to MediaConnection. (ed84829)
  • MsgPack/Cbor serialization (fcffbf2)
  • MsgPack/Cbor serialization (#1120) (4367256), closes #611

1.4.7 (2022-08-09)

Bug Fixes

  • browser-bundle: Leaked private functions in the global scope (857d425), closes #989

1.4.6 (2022-05-25)

Bug Fixes

  • typings: MediaConnection.answer() doesn’t need a stream anymore, thanks @matallui! (666dcd9)
  • typings: much stronger event typings for DataConnection,MediaConnection (0c96603)

Performance Improvements

  • turn: reduce turn server count (8816f54)

1.4.5 (2022-05-24)

Bug Fixes

  • referrerPolicy: you can now set a custom referrerPolicy for api requests (c0ba9e4), closes #955
  • typings: add missing type exports (#959) (3c915d5), closes #961

1.4.4 (2022-05-13)

Bug Fixes

  • CRA@4: import hack (41c3ba7), closes #954
  • source maps: enable source map inlining (97a724b)

1.4.3 (2022-05-13)

Bug Fixes

1.4.2 (2022-05-12)

Bug Fixes

  • bundler import: enable module target (b5beec4), closes #761

1.4.1 (2022-05-11)

Bug Fixes

  • old bundlers: include support for Node 10 (EOL since 2021-04-01) / old bundlers (c0f4648), closes #952

1.4.0 (2022-05-10)

Bug Fixes

  • add changelog and npm version to the repo (d5bd955)
  • add token to PeerJSOption type definition (e7675e1)
  • websocket connection string (82b8c71)

Features

Performance Improvements

  • turn: lower TURN-latency due to more local servers (a412ea4)

1.3.2 (2021-03-11)

  • fixed issues #800, #803 in PR #806, thanks @jordanaustin
  • updated devDeps: typescript to 4.2

1.3.1 (2020-07-11)

  • fixed: map file resolving
  • removed: @types/webrtc because it contains in ts dom lib.

1.3.0 (2020-07-03)

  • changed: don't close the Connection if iceConnectionState changed to disconnected

1.2.0 (2019-12-24)

  • added: ability to change json stringify / json parse methods for DataConnection #592

  • removed: peerBrowser field from dataConnection because unused

  • fixed: lastServerId and reconnect #580 #534 #265

1.1.0 (2019-09-16)

  • removed: deprecated RtpDataChannels and DtlsSrtpKeyAgreement options

  • removed: grunt from deps, upgrade deps versions

  • removed: Reliable dep because modern browsers supports RTCDataChannel.ordered property

  • added: TURN server to default config

  • fixed: emit error message, then destroy/disconnect when error occurred

  • fixed: use peerjs-js-binarypack instead of js-binarypack

  • fixed: sending large files via DataConnection #121

1.0.4 (2019-08-31)

  • fixed: 'close' event for DataConnection #568

1.0.3 (2019-08-21)

  • add pingInterval option

1.0.2 (2019-07-20)

Bug Fixes

  • fixed: memory leak in DataConnection #556
  • fixed: missing sdpMid in IceServer #550

Other

  • updated: old @types/webrtc dependency #549

1.0.1 (2019-07-09)

Bug Fixes

  • fixed: readyState of undefined #520
  • fixed: call sdpTransform in Answer #524
  • fixed: sdpTransform does not apply to makeAnswer SDP #523

1.0.0 (2019-04-10)

Refactoring

Almost all project was refactored!!!

  • removed: xhr long-pooling #506
  • changed: fetch api instead of xhr

Features

  • added: heartbeat #502

Bug Fixes

  • fixed: destroy RTCPeerConnection #513
  • fixed: MediaStream memory leak #514

0.3.18 (2018-10-30)

Features

  • typescript: First commit (0c77a5b)

0.3.16 (2018-08-21)

Bug Fixes

Version 0.3.14

  • Patch for #246, which started as of Chrome 38.

Version 0.3.11 (28 Sep 2014)

  • Browserify build system

Version 0.3.10 (29 Aug 2014)

  • Fixed a bug where disconnected would be emitted for XHR requests that were aborted on purpose.

Version 0.3.9 (11 July 2014)

  • Allow an external adapter to be used (for RTCPeerConnection and such). (Thanks, @khankuan!)
  • Fixed a bug where _chunkedData was not being cleared recursively, causing memory to be eaten up unnecessarily. (Thanks, @UnsungHero97!)
  • Added peer.reconnect(), which allows a peer to reconnect to the signalling server with the same ID it had before after it has been disconnected. (Thanks, @jure, for the amazing input :)!)
  • Added previously-missing error types, such as webrtc, network, and peer-unavailable error types. (Thanks, @mmis1000 for reporting!)
  • Fixed a bug where the peer would infinitely attempt to start XHR streaming when there is no network connection available. Now, the peer will simply emit a network error and disconnect. (Thanks, @UnsungHero97 for reporting!)

Version 0.3.8 beta (18 Mar 2014)

  • The following changes are only compatible with PeerServer 0.2.4.
  • Added the ability to specify a custom path when connecting to a self-hosted PeerServer.
  • Added the ability to retrieve a list of all peers connected to the server.

Version 0.3.7 beta (23 Dec 2013)

  • Chrome 31+/Firefox 27+ DataConnection interop for files.
  • Deprecate binary-utf8 in favor of faster support for UTF8 in the regular binary serialization.
  • Fix invalid-key error message.

Version 0.3.6 beta (3 Dec 2013)

  • Workaround for hitting Chrome 31+ buffer limit.
  • Add .bufferSize to DataConnection to indicate the size of the buffer queue.
  • Add .dataChannel to DataConnection as an alias for ._dc, which contains the RTCDataChannel object associated with the DataConnection.
  • Update BinaryPack dependency.

Version 0.3.5 beta (26 Nov 2013)

  • Fix bug where chunks were being emitted.

Version 0.3.4 beta (11 Nov 2013)

  • Fix file transfer issue in Chrome by chunking for data over 120KB.
  • Use binary data when possible.
  • Update BinaryPack dependency to fix inefficiencies.

Version 0.3.3 beta (2 Nov 2013)

  • Fix exceptions when peer emits errors upon creation
  • Remove extra commas

Version 0.3.2 beta (25 Oct 2013)

  • Use SCTP in Chrome 31+.
  • Work around Chrome 31+ tab crash. The crashes were due to Chrome's lack of support for the maxRetransmits parameter for modifying SDP.
  • Fix exceptions in Chrome 29 and below.
  • DataChannels are unreliable by default in Chrome 30 and below. In setting reliable to true, the reliable shim is used only in Chrome 30 and below.

Version 0.3.1 beta (19 Oct 2013)

  • Updated docs and examples for TURN server usage
  • Fixed global variable leak
  • DataConnections now have reliable: false by default. This will switch to on when reliable: true works in more browsers

Version 0.3.0 beta (20 Sept 2013)

Highlights

  • Support for WebRTC video and audio streams in both Firefox and Chrome.
  • Add util.supports.[FEATURE] flags, which represent the WebRTC features supported by your browser.
  • Breaking: Deprecate current Peer#connections format. Connections will no longer be keyed by label and will instead be in a list.

Other changes

  • Breaking: Deprecate Peer.browser in favor of util.browser.
  • Additional logging levels (warnings, errors, all).
  • Additional logging functionality (logFunction).
  • SSL option now in config rather than automatic.

Version 0.2.8 (1 July 2013)

  • Fix bug, no error on Firefox 24 due to missing error callback.
  • TLS secure PeerServers now supported.
  • Updated version of Reliable shim.

Version 0.2.7 (28 May 2013)

  • Fix bug, no error when .disconnect called in before socket connection established.
  • Fix bug, failure to enter debug mode when aborting because browser not supported.

Version 0.2.6 (2 May 2013)

  • Peer.browser to check browser type.
  • Update Reliable library and fix Reliable functionality in Chrome.

Version 0.2.5 (24 Apr 2013)

  • Firefox compatibility for Firefox Nightly.
  • Misc bug fixes.

Version 0.2.1 (3 Apr 2013)

  • Warning: this build changes the error of type peer-destroyed to server-disconnected.
  • Firefox compatibility. - Pushed back due to volatility of Firefox Nightly DataChannel APIs.
  • Browser detection added. If an incompatible browser is detected, the browser-incompatible error is emitted from the Peer.
  • Added a .disconnect() method to Peer, which can be called to close connections to the PeerServer (but not any active DataConnections).

Version 0.2.0 (24 Mar 2013)

  • Warning: this build introduces the following API changes that may break existing code.
    • peer.connections is no longer a hash mapping peer IDs to connections.
    • Connections no longer emit errors from PeerConnection; PeerConnection errors are now forwarded to the Peer object.
  • Add support for multiple DataConnections with different labels.
  • Update Reliable version to support faster file transfer.
  • Fix bug where using XHR streaming to broker a connection occasionally fails.

Version 0.1.7 (6 Mar 2013)

  • Add experimental reliable messaging option. See documentation.
  • Fix bug where the ID /GET request was cached and so two Peers created simultaneously would get the same ID: See issue.
  • Add support for relative hostname. See documentation.