0.13.0
·
803 commits
to master
since this release
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.