A simple, intuitive, and powerful JavaScript signaling library
MIT License
Bot releases are visible (Hide)
Published by egreenmachine about 5 years ago
Changes
Published by james-criscuolo about 5 years ago
Changes
Published by james-criscuolo about 5 years ago
The 0.15.x release is a backwards compatible drop-in replacement for 0.14.x.
The 0.15.x release introduces a "new" API and deprecates the "legacy" API in 0.14.x.
The 0.15.x release is intended to facilitate migration from the legacy API to the new API.
The 0.15.x release contains both the new API and the legacy API, but the two are not compatible. That is, you may use one or the other but cannot "mix" the usage of the two. For example, a Session created with the legacy API is not compatible with a Session in the new API.
The legacy API will be removed in 0.16.x in favor of the new API.
It's important to note that we are considering the new API to be in the beta state for 0.15.x. While the heavy majority of breaking changes are covered, we are not ruling out making breaking changes in patch versions for the new API, until the 0.16.0 release. This will be covered in the release notes, as always.
To begin moving to the new API, please see our migration document. The largest use cases are covered, and as 0.15.x continues we plan to complete all sections. We've also updated our documentation to be auto-generated from the code, the new docs folder will now be home to the most up to date documentation. Our website will be updated to reflect this over the lifetime of 0.15.x. We also have some more changes planned before 0.16.0, you can see them in our roadmap. The biggest planned changes:
The Simple API will be transitioned to be backed by the new API. Simple will be a bit more flexible at that point, likely being enough for more users than before.
With 0.16.0, we will stop distributing our webpack bundles with the npm release. Taking its place will be an es6-module capable build, next to the currently default typescript build, which targets es5
.
a new demo phone
Published by james-criscuolo over 5 years ago
Fixes
0.14.5
, check for window must be typeof window !== "undefined"
@types/nodes
to devDependencyPublished by james-criscuolo over 5 years ago
Fixes
importHelpers
to dedupe code, tslib
was a required dependency. If that was not in your own project, sip.js
would break your build. This has been rectified, and tslib
is now a dependency of sip.js
.PublishContext
now cleans up its event listenersTransport
now rejects if it fails immediatelyglobal
was used in a handful of places)Published by james-criscuolo over 5 years ago
Fixes
Published by james-criscuolo over 5 years ago
Fixes
usePreloadedRoute
was partially removed in version 0.11.0, and didn't work prior to that, it was re-added as an option and fixed.fromUri
to invite as a string (as it was typed) would not work, this was fixed and it can now be passed as a URI
as well.Published by james-criscuolo over 5 years ago
This release is primarily refactoring in preparation for the upcoming new public facing API, and is planned to be the last before the new API is introduced. There are no breaking changes.
Fixes
ts-pegjs
updated to work with optimize:size
, so reduce bundle size by 10%Published by james-criscuolo over 5 years ago
Fixes
UA.stop()
Published by james-criscuolo over 5 years ago
In this release significant and substantial portions of the “core library code”
have been replaced, however an attempt was made to alter little to none of the
existing public facing API. The rewrite changes the internal architecture of the
library and is a precursor to addressing long standing issues which will entail
introducing a new public API in the near future.
Breaking Changes: Nothing public API-facing
In short, the new core code replaces all the dialog, UAC core, and UAS core
related implementation in the library as well has the internal implementations
of all the Context classes as well as Session, Subscription, and UA classes.
If you are utilizing properties or methods not documented as part of the
public API, there have been significant “internal changes” as follows...
Removed completely
Modified significantly
Benefits
Published by egreenmachine over 5 years ago
Fixes
Published by james-criscuolo over 5 years ago
Fixes
0.14.0
release.Published by james-criscuolo over 5 years ago
Fixes
Published by james-criscuolo over 5 years ago
Fixes
Published by james-criscuolo over 5 years ago
Fixes
Published by james-criscuolo over 5 years ago
Fixes
A few default settings of options
objects were left off of the sessionDescriptionHandler, those cases should new be fixed.
Published by james-criscuolo over 5 years ago
Fixes
Published by james-criscuolo over 5 years ago
Fixes
stop
does not have an error on non-chrome browsersPackaging
Published by james-criscuolo over 5 years ago
This release converts the entire library to TypeScript, but attempts to do so with extremely little change to our public-facing API.
Changes
ws_uri
is now wsUri
when passing wsServers
with weights to the Web Transport.status_code
(now statusCode
), reason_phrase
(reasonPhrase
), and most arguments passed within a params
property (less common).types
folder when possible.EventEmitter
wrapper has been removed. It's been deprecated for several versions. Use the EventEmitter from events
instead.NameAddrHeader.parse
is now Grammar.nameAddrHeaderParse
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.
Published by egreenmachine almost 6 years ago
SIP INFO
.instanceId
and regId
Utils.Promise
and promisucous with native promiseUtils
bind
with fat arrow functions in the Web Session Description HandlerNOTIFY
messages more descriptiveconnecting
event to Websocket Transportdisconnecting
eventenvironment
referencessipfrag
messages