Skip to content

Releases: xmppjs/xmpp.js

v0.14.0

29 Oct 15:34
2d41854

Choose a tag to compare

smaller faster stronger 🪩

Highlights

Connection status is now more reliable and resumption can happen in an instant.

xmpp.js doesn't have any third party dependency anymore thanks to Node.js implementing missing APIs

Breaking Changes

  • Node.js 20.10 is the minimum required version
  • ported from commonjs to ESM
  • Drop IE support for the browser bundle
  • connection: disconnect and stop do not reset entity.jid to null anymore
  • connection: disconnect is now a public method that does what you would expect
  • sasl: PLAIN is not allowed on insecure connections by default

Changes

SASL 2 / Bind 2 / FAST are enabled in @xmpp/client

Fixes

  • Fix outgoing "filter" on middleware (#1004) - @singpolyma
  • middleware: Fix Incomming/OutgoingContext domain - @kizitorashiro
  • connection: Fix race condition when socket closes after timeout (#1048)
  • events: Ensure TimeoutError have a strack trace (#1079)

Other changes

  • Ported tests from Ava to Jest
  • Updated dependencies
  • Replace browserify with rollup

v0.13.6

06 Jul 16:26

Choose a tag to compare

What's Changed

Full Changelog: v0.13.5...v0.13.6

v0.13.5

11 Jun 10:08

Choose a tag to compare

Full Changelog: v0.13.4...v0.13.5

v0.13.2

11 Jun 10:09

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.13.1...v0.13.2

v0.13.1

13 Feb 20:25

Choose a tag to compare

Security fixes

Fixes

xmpp.js is now known to run on the Duktape JavaScript engine.

v0.13.0

28 Aug 07:52

Choose a tag to compare

New features:

  • sendMany allows sending multiple stanzas at once

Fixes:

  • Fix TLS 1.3 connection with Openfire - thanks @netmikey
  • Fix @xmpp/debug incorrectly adding xmlns

Also:

v0.12.1

22 Aug 10:59

Choose a tag to compare

Fixes

  • tls: Verify certificates - SECURITY FIX! c0ec39e
  • update dependencies
  • xml: Improve docmentation

v0.12.0

21 Dec 01:21

Choose a tag to compare

New features

  • connection: allow sending multiple stanzas #872

Fixes

  • connection: fix stop() triggering a unhandled rejection in some cases #871

v0.11.1

15 Feb 22:37

Choose a tag to compare

Fixes

  • stream-management: fix unrecoverable error #823

v0.11.0

14 Feb 10:05

Choose a tag to compare

Breaking changes:

  • emit error event before element error for stream errors #817

Fixes:

  • @xmpp/debug now properly hides component handshake content #821
  • correctly match stream errors of the form <error xmlns="http://etherx.jabber.org/streams"/>, not only <stream:error/> #817