Skip to content

Releases: strophe/strophejs

3.0.1 (2024-08-15)

15 Aug 06:59
v3.0.1
Compare
Choose a tag to compare
  • Bugfix: Package path . is not exported from package
  • #708 Properly set exports value in package.json
  • #710 Fix types minor errors
  • #711 Error with Builder.up depending on context
  • #712 fix: export node and default modules
  • #715 Fix the error when the attrs field is null

Dependency updates:

  • Bump @rollup/plugin-commonjs from 24.1.0 to 26.0.1
  • Bump @xmldom/xmldom from 0.8.8 to 0.8.10
  • Bump prettier from 2.8.8 to 3.3.3
  • Bump sinon from 15.0.4 to 18.0.0

3.0.0 (2024-05-07)

07 May 12:05
v3.0.0
Compare
Choose a tag to compare
  • #704 Cannot use with NodeJS
  • #706 TypeError when receiving a stream:error IQ message

Out of an abundance of caution, making a major version bump, since there was
some internal refactoring of the Strophe files to remove circular
dependencies. So certain deep imports used by integrators might no longer work.
Instead of deep imports, everything should be imported from strophe.js.

For example:

import { Strophe, $build, stx } from strophe.js;

2.0.0 (2024-02-21)

21 Feb 18:16
v2.0.0
Compare
Choose a tag to compare
  • Type checking via TypeScript and JSDoc typing annotations
  • Types definitions are now generated and placed in ./dist/types/.
  • Remove the deprecated matchBare option for Strophe.Handler. Use matchBareFromJid instead.
  • Add the ability to create stanzas via a tagged template literal (stx).
  • Bugfix: Ignore unknown SCRAM attributes instead of aborting the connection

v1.6.2

23 Jun 07:30
v1.6.2
Compare
Choose a tag to compare
  • #613 TypeError: XHTML.validTag is not a function
  • Re-add NodeJS support and add the ability to run tests on NodeJS to avoid regressions

v1.6.1

15 May 08:50
v1.6.1
Compare
Choose a tag to compare
  • #602 Websocket connection times out instead of being disconnected

v1.6.0

29 Oct 06:37
v1.6.0
Compare
Choose a tag to compare
  • #314 Support for SCRAM-SHA-256 and SCRAM-SHA-512 authentication
  • Update various 3rd party dependencies

v1.5.0

28 Apr 21:16
v1.5.0
Compare
Choose a tag to compare
  • Add an automatic fallback handler for unhandled IQ "set" and "get" stanzas
    that returns an IQ error with service-unavailable.
  • Update various 3rd party dependencies
  • #390 Replace deprecated String.prototype.substr()
  • #418 BOSH fix: mark first request dead when second is done

Version 1.4.4 - 2022-01-21

21 Jan 19:03
v1.4.4
Compare
Choose a tag to compare

#388 Properly import xmldom

Version 1.4.3 - 2021-12-16

16 Dec 16:01
v1.4.3
Compare
Choose a tag to compare
  • Update xmldom to version 0.7.5
  • Add disconnection_timeout setting: an optional timeout in milliseconds before _doDisconnect is called.
  • Update ws optional dependency to fix security issue websockets/ws@00c425e

Release 1.4.2 (2021-04-28)

28 Apr 14:16
v1.4.2
Compare
Choose a tag to compare
  • Update optional NodeJS-specific dependency xmldom to version 0.5.0 which includes a security fix.
  • #369 Add clientChallenge SASL mechanism method to avoid having to monkey patch onChallenge,
    which prevents reconnection when using SCRAM-SHA1.