Releases: strophe/strophejs
Releases · strophe/strophejs
3.0.1 (2024-08-15)
- 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)
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)
- Type checking via TypeScript and JSDoc typing annotations
- Types definitions are now generated and placed in
./dist/types/
. - Remove the deprecated
matchBare
option forStrophe.Handler
. UsematchBareFromJid
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
v1.6.1
v1.6.0
v1.5.0
Version 1.4.4 - 2022-01-21
#388 Properly import xmldom
Version 1.4.3 - 2021-12-16
- 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)
- 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 patchonChallenge
,
which prevents reconnection when using SCRAM-SHA1.