Releases: strophe/strophejs
Releases · strophe/strophejs
3.1.0 - (2024-12-16)
- Security Fix: Escape values passed to the
stx
tagged template literal - Allow
Stanza
andBuilder
objects to be passed as values thestx
. - Avoid inserting commas when nesting array values in
stx
templates. - Replace xmldom with jsdom.
- Remove deprecated
abab
package - Make sure
ConnectionOptions
type is exportable - fix: invert default and types exports
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