oozcitak / xmlbuilder-js

An XML builder for node.js
MIT License
917 stars 108 forks source link

Breaking Changes from 9.0.7 to 10.0.0? #179

Closed ctaepper closed 6 years ago

ctaepper commented 6 years ago

I can't see any breaking changes between those versions in the changelogs or git commits. Would you please enlighten me?

oozcitak commented 6 years ago

Exception messages are changed to provide better debug info. For example: Missing CDATA text became Missing CDATA text. parent: <root>. This has the potential to break code depending on the content of error messages, though the chances of someone writing such code should be low (e.g. catch(error) { if(error == "...") doSomething(); }). I am adding the same explanation to the changelog now.

ctaepper commented 6 years ago

thanks for fast response!