Download Latest Version v0.14.0 source code.tar.gz (235.7 kB)
Email in envelope

Get an email when there's a new version of xmpp.js

Home / v0.14.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-10-29 1.6 kB
v0.14.0 source code.tar.gz 2025-10-29 235.7 kB
v0.14.0 source code.zip 2025-10-29 329.8 kB
Totals: 3 Items   567.1 kB 0

smaller faster stronger :mirror_ball:

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

  • stream-management: It will now request ACKs and timeout when appropriate - @singpolyma
  • Implement SASL2 - @singpolyma and @sonnyp
  • Implement Bind 2 - @singpolyma and @sonnyp
  • Implement FAST - @singpolyma and @sonnyp
  • Dependencies node-fetch, base-64 and ws removed
  • client: Answer to ping requests explicitely
  • connection: add isSecure method

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
Source: README.md, updated 2025-10-29