- Jingle sessions now queue local actions to allow safer handling of WebRTC peer connection objects.
- Changed package name from
stanza.io
tostanza
. - The new website URL is https://stanzajs.org
- Renamed
muc:affiliation
event tomuc:other
- Converted to ES modules, using Typescript compiler for downleveling.
- Moved stanza definitions back from
jxt-xmpp
, obsoleting bothjxt-xmpp
andjxt-xmpp-types
. - Replaced use of
request
andxhr
withcross-fetch
. - SASL mech implementations now live inside
stanza.io
. - Moved host-meta fetching logic into
stanza.io
. - Moved
xmpp-jid
implementation back intostanza.io
, obsoletingxmpp-jid
. - Use
ws
module instead offaye-websocket
. - Dropped support of old, pre-RFC XMPP-over-WebSocket.
- Moved
jingle
implementation back intostanza.io
.
- Fixed CSI namespace to use
urn:xmpp:csi:0
- Added support for XEP-0333 Chat Markers
-
Breaking Changes
-
Removed
client.call()
See the jingle-interop-demos for how to recreate the behaviour by working directly with the jingle.js and localmedia libraries.
var localMedia = require('localmedia'); localMedia.start(); //... var sess = client.jingle.createMediaSession(peerJID); sess.addStream(localMedia.localStream); sess.start();
-
client.jingle
was updated to ajingle.js v1.0
instance.The method
client.jingle.startLocalMedia()
has been removed, in favor of using the localmedia module instead (which is not bundled instanza.io
).
-