Releases: bhovhannes/junit-report-merger
Releases · bhovhannes/junit-report-merger
Add TS typings
v2.1.0
What's new ?
- Added onFileMatched option to
mergeFilesfunction. - CLI now outputs number of processed files upon completion.
Commits
- feat: add onFileMatched option to mergeFiles api 84c1e4c
fast-glob dependency update
What's new ?
- fix(deps): update dependency fast-glob to v3.2.5 d59c0e2
- docs: add installation section (closes #69) d93ebf0
Internals
- chore(deps): update dependency husky to v4.3.8 541823a
- chore(deps): update dependency husky to v4.3.7 e1b0789
- chore(deps): bump node-notifier from 8.0.0 to 8.0.1 (#66) 2c0aba8
- chore(deps): update actions/setup-node action to v2 (#65) 65f9d2d
- chore(deps): update dependency husky to v4.3.6 (#64) c3fdf90
Changed parser to xmlbuilder2
What's new ?
Internals
XML parser/serializer library changed from xmldom to xmlbuilder2.
xmldomwas source of issue #59, and has no options for fixing that issue.xmlbuilder2is faster thanxmldom, is maintained better and is successor of extremely popularxmlbuilderpackage. Also, it is more standard compliant
Breaking changes
There are no breaking changes in both package api and cli, however:
- xml parser switch may affect contents of combined xml
xmlbuilder2does not support xml version 1.1, sojunit-report-mergerwon't be able to process xml files with version 1.1 anymore. To my knowledge no tools use xml version 1.1 in their test reports, so this should not affect people.
Added cli (called jrm) and glob support
What's new ?
Features
- Added CLI (called
jrm). See CLI section for more info. - All api methods now support both callback-style and promise-based style.
Loveasync/await? You will be fine! Forced to pass Node callbacks around? No problem, all api methods accept callbacks as well. - Added glob support for
mergeFilesapi method.
Glob matching is powered by fast-glob.
SeemergeFilesfor more info and usage examples. - Updated supported Node.js versions to 10, 12 and 14.
Package may work on other versions, but we run tests only for Node 10, 12 and 14. For other versions you are on your own.
Internals
- Switched to Jest
- Increased test coverage
- Switched to GitHub actions
- Rewrote whole code in modern JavaScript
- Added Prettier
Breaking changes
There are no breaking changes, however the whole code has been rewritten in modern JavaScript.
As a result we dropped support for Node 6 and 8.