Skip to content

Conversation

j0k3r
Copy link
Contributor

@j0k3r j0k3r commented Sep 28, 2018

  • fix bad importer parser (use of fastXmlParser instead of parser)
  • fix indentation
  • remove the way to use parser.js directly from GitHub (it is served as text/plain and can't be parsed by browsers)

Also, please, please, 🙏, publish a changelog with breaking changes from one version to an other. Or maybe create an UPGRADE.md file to tell people how to upgrade from a previous major version.

It's still related to that issue #35

I spend few hours fixing code while uprgading from 2.8.3.

Some options got renamed (attrPrefix => attributeNamePrefix), some options disapear (like ignoreNonTextNodeAttr), etc.
Also validate() function does not return false but an object now.

- fix bad importer parser (use of `fastXmlParser` instead of `parser`)
- fix indentation
- remove the way to use `parser.js` directly from GitHub (it is served as `text/plain` and can't be parsed by browsers)
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.487% when pulling 9d55c56 on j0k3r:patch-1 into a5ee50a on NaturalIntelligence:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.487% when pulling 9d55c56 on j0k3r:patch-1 into a5ee50a on NaturalIntelligence:master.

@amitguptagwl
Copy link
Member

As I remember, I highlighted the broken changes on README.md and removed them after few months. But yes we can maintain UPGRADE.md to highlight such changes.

Applogies for your trouble.

@amitguptagwl amitguptagwl merged commit 6480455 into NaturalIntelligence:master Oct 13, 2018
@j0k3r j0k3r deleted the patch-1 branch October 13, 2018 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants