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.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
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
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
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 nowwsUri
when passingwsServers
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
(nowstatusCode
),reason_phrase
(reasonPhrase
), and most arguments passed within aparams
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 fromevents
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 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
instanceId
andregId
- 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