Releases: onsip/SIP.js
Releases · onsip/SIP.js
0.13.8
0.13.7
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.0release. - PR #661: Some logger types/cleanup
- Issue #663: back to underscore_variable for a grammar object, fixes some REFER handling.
0.13.6
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
Fixes
- Fixed DTMF via INFO packet when you were the UAS (the less common case).
0.13.4
Fixes
- After the fat arrow notation update, one of the trickier uses of this needed a bind
0.13.3
Fixes
A few default settings of options objects were left off of the sessionDescriptionHandler, those cases should new be fixed.
0.13.2
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
Fixes
- Add a bind to environListener so
stopdoes 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
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_uriis nowwsUriwhen passingwsServerswith 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(nowstatusCode),reason_phrase(reasonPhrase), and most arguments passed within aparamsproperty (less common). - The library is now fully typed and written in TypeScript, and uses the types in the
typesfolder when possible. - The library is now written with ES Modules instead of IIFE.
- our
EventEmitterwrapper has been removed. It's been deprecated for several versions. Use the EventEmitter fromeventsinstead. - React SessionDescriptionHandler updated to use MediaDevices.getUserMedia instead of getUserMedia.
- Most internal use of underscored_variables has been converted to camelCase.
- Internal:
NameAddrHeader.parseis nowGrammar.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
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
instanceIdandregId - Add support registration contact header params
- Deprecated support for custom authentication factories
- Remove support for bower
- Update Authors
- Replace
Utils.Promiseand promisucous with native promise - Remove unused
Utils - Replace all instances of
bindwith 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
NOTIFYmessages more descriptive - Add
connectingevent to Websocket Transport - Do not eat errors from the SDH
- Websocket transport emits
disconnectingevent - Remove global
environmentreferences
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
sipfragmessages - 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