Releases: xmppjs/ltx
Releases · xmppjs/ltx
v3.0.0
Breaking changes
- Minimum supported Node.js version
12.4
- Does not export a browser bundle anymore - use rollup, browserify, webpack, ...
- Re-written with modern JavaScript, use babel if you need to target old JavaScript environments such as Internet Explorer
- parsers,
Element
andDOMElement
are now classes - Remove
clone
,nameEquals
,attrsEquals
,childrenEquals
,equals
fromElement
- Remove
toJSON
fromElement
- now available asJSONify
- Remove default export
New features
Element
gains methodsappend
andprepend
- In additional to commonjs in
lib
ltx is available as modules insrc
- should be transparent
Fixes
- Fix
createElement
to behave like React's - Fix
element.toString()
andstringify
behaving differently