Skip to content

Releases: onsip/SIP.js

0.13.8

22 Apr 18:46
Compare
Choose a tag to compare

Fixes

  • PR #679: Fix from tag on CANCEL requests. Fix typings in Subscription.ts.
  • PR #669: Fix Route header in 2XX ACK.
  • PR #668: Move to compiler generated types.
  • PR #667: Escape URI component in Refer-To.
  • PR #665: Do not use for in on arrays.

0.13.7

25 Mar 19:07
Compare
Choose a tag to compare

Fixes

  • PR #658: More transport types and fixing a case where no transport was set when end of wsServers is hit.
  • PR #662: Transactions rewrite. A lot of changes, but we believe all changes to be internal. There were some other fixes in this PR, please go to the link for more info. This is in anticipation of some public API changes, which would initiate a 0.14.0 release.
  • PR #661: Some logger types/cleanup
  • Issue #663: back to underscore_variable for a grammar object, fixes some REFER handling.

0.13.6

01 Mar 17:09
Compare
Choose a tag to compare

Fixes

  • parse was removed from URI in 0.13.0, but the type still had it. Please user Grammar.URIParse now.
  • receiving an Invite with replaces is now fixed

0.13.5

12 Feb 19:38
Compare
Choose a tag to compare

Fixes

  • Fixed DTMF via INFO packet when you were the UAS (the less common case).

0.13.4

12 Feb 14:32
Compare
Choose a tag to compare

Fixes

  • After the fat arrow notation update, one of the trickier uses of this needed a bind

0.13.3

08 Feb 14:34
Compare
Choose a tag to compare

Fixes
A few default settings of options objects were left off of the sessionDescriptionHandler, those cases should new be fixed.

0.13.2

07 Feb 14:54
Compare
Choose a tag to compare

Fixes

  • There were more cases where binds were missing, those are now fixed, and bind has been removed in favor of fat arrow notation where possible.

0.13.1

05 Feb 14:43
Compare
Choose a tag to compare

Fixes

  • Add a bind to environListener so stop does not have an error on non-chrome browsers

Packaging

  • We are no longer testing our library on Node 6, and our build process will no longer work with Node 6. We expect the library to work on Node 6, but will not guarantee that moving forward.

0.13.0

31 Jan 19:04
Compare
Choose a tag to compare

This release converts the entire library to TypeScript, but attempts to do so with extremely little change to our public-facing API.

Changes

  • Breaking Change: ws_uri is now wsUri when passing wsServers with weights to the Web Transport.
  • Breaking Change: All options arguments now require camelCase variables instead of underscore_variables. In your code, look for status_code (now statusCode), reason_phrase (reasonPhrase), and most arguments passed within a params property (less common).
  • The library is now fully typed and written in TypeScript, and uses the types in the types folder when possible.
  • The library is now written with ES Modules instead of IIFE.
  • our EventEmitter wrapper has been removed. It's been deprecated for several versions. Use the EventEmitter from events instead.
  • React SessionDescriptionHandler updated to use MediaDevices.getUserMedia instead of getUserMedia.
  • Most internal use of underscored_variables has been converted to camelCase.
  • Internal: NameAddrHeader.parse is now Grammar.nameAddrHeaderParse
  • Internal URI.parse is now Grammar.URIParse

Known Issue: We've grown in size slightly, 25kb more when minified. This is due to an issue with ts-pegjs, which we have an issue and pull request open with to resolve.

0.12.0

17 Dec 21:13
Compare
Choose a tag to compare

Changes

  • Add Typescript Types
  • Inband DTMF is no longer "beta" feature. Default is still SIP INFO.
  • Remove support for underscored config options
  • Move registration options into their own config section
  • Better support for instanceId and regId
  • Add support registration contact header params
  • Deprecated support for custom authentication factories
  • Remove support for bower
  • Update Authors
  • Replace Utils.Promise and promisucous with native promise
  • Remove unused Utils
  • Replace all instances of bind with fat arrow functions in the Web Session Description Handler
  • Log SDP after modifiers have run before setting it on the PeerConnection to help debug media issues
  • Make refer NOTIFY messages more descriptive
  • Add connecting event to Websocket Transport
  • Do not eat errors from the SDH
  • Websocket transport emits disconnecting event
  • Remove global environment references

Packaging

  • Update dependencies
  • Use typescript compiler
  • Better packaging for Node.js which includes unbundled files

Fixes

  • Fix edge cases related to unexpected Websocket disconnects
  • Fix Grammar for sipfrag messages
  • Register expires can be 0
  • Fix connection timeout issue where connection promise could be hanging and Transport be left in an unusable state
  • Websocket disconnect default code is now 1000
  • Prevent processing multiple ACK's with SDP