Skip to content

Releases: xmldom/xmldom

0.9.0-beta.11

30 Jul 08:14
0.9.0-beta.11
6ca5743
Compare
Choose a tag to compare
0.9.0-beta.11 Pre-release
Pre-release

Commits

Fixed

  • report more non well-formed cases #519 / #45 / #125 / #467
    BREAKING-CHANGE: Reports more not well-formed documents as fatalError
    and drop broken support for optional and unclosed tags in HTML.

Other

  • Translate/drop non English comments #518
  • use node v16 for development #517

Thank you, @brodybits, @cbettinger, @josecarlosrx, for your contributions

0.9.0-beta.10

19 Jul 19:05
0.9.0-beta.10
1f882d7
Compare
Choose a tag to compare
0.9.0-beta.10 Pre-release
Pre-release

Commits

Fixed

  • dom: prevent iteration over deleted items #514/ #499

Chore

  • use prettier plugin for jsdoc #513

Thank you, @qtow, @shunkica, @homer0, for your contributions

0.8.10

19 Jul 18:33
0.8.10
252395e
Compare
Choose a tag to compare

Commits

Fixed

  • dom: prevent iteration over deleted items #514/ #499

Thank you, @qtow, for your contributions

0.7.13

19 Jul 18:27
0.7.13
282f0ad
Compare
Choose a tag to compare

Commits

Fixed

  • dom: prevent iteration over deleted items #514/ #499

Thank you, @qtow, for your contributions

0.9.0-beta.9

13 Jul 03:13
0.9.0-beta.9
48953f6
Compare
Choose a tag to compare
0.9.0-beta.9 Pre-release
Pre-release

Commits

Fixed

  • Set nodeName property in ProcessingInstruction #509 / #505
  • preserve DOCTYPE internal subset #498 / #497 / #117
    BREAKING CHANGES: Many documents that were previously accepted by xmldom, esecially non well-formed ones are no longer accepted. Some issues that were formerly reported as errors are now a fatalError.
  • DOMParser: Align parseFromString errors with specs #454

Chore

  • stop running mutation tests using stryker #496
  • make toErrorSnapshot windows compatible #503

Thank you, @cjbarth, @shunkica, @pmahend1, @niklasl, for your contributions

0.8.9

13 Jul 02:47
0.8.9
b87f2bd
Compare
Choose a tag to compare

Commits

Fixed

  • Set nodeName property in ProcessingInstruction #509 / #505

Thank you, @cjbarth, for your contributions

0.7.12

13 Jul 02:39
0.7.12
f3c7be3
Compare
Choose a tag to compare

Commits

Fixed

  • Set nodeName property in ProcessingInstruction #509 / #505

Thank you, @cjbarth, for your contributions

0.9.0-beta.8

11 Jun 14:47
0.9.0-beta.8
b4441ee
Compare
Choose a tag to compare
0.9.0-beta.8 Pre-release
Pre-release

Commits

Fixed

  • Throw DOMException when calling removeChild with invalid parameter #494 / #135

BREAKING CHANGE: Previously it was possible (but not documented) to call Node.removeChild with any node in the tree,
and with certain exceptions, it would work. This is no longer the case: calling Node.removeChild with an argument that is not a direct child of the node that it is called from, will throw a NotFoundError DOMException, as it is described by the specs.

Thank you, @noseworthy, @davidmc24, for your contributions

0.9.0-beta.7

09 Jun 13:03
0.9.0-beta.7
2db14b9
Compare
Choose a tag to compare
0.9.0-beta.7 Pre-release
Pre-release

Commits

Feature

  • Add compareDocumentPosition method from level 3 spec. #488

Fixed

  • getAttribute and getAttributeNS should return null (#477) #46
  • several issues in NamedNodeMap and Element (#482) #46
  • properly parse closing where the last attribute has no value #485 / #486
  • extend list of HTML entities #489

BREAKING CHANGE: Iteration over attributes now happens in the right order and non-existing attributes now return null instead of undefined. THe same is true for the namepsaceURI and prefix of Attr nodes.
All of the changes are fixing misalignment with the DOM specs, so if you expected it to work as specified,
nothing should break for you.

Chore

  • update multiple devDependencies
  • Configure jest (correctly) and wallaby #481 / #483

Thank you, @bulandent, @zorkow, for your contributions

0.8.8

30 May 19:06
0.8.8
a26058a
Compare
Choose a tag to compare

Commits

Fixed

  • extend list of HTML entities #489

Thank you, @zorkow, for your contributions