Releases: flaviusone/coverage-diff
Releases · flaviusone/coverage-diff
v3.2.0
Feat
- Add a new option customFormatter to generate a custom result based on the coverage diff. #37 (@fallemand)
v3.1.0
Feat
- Adds
newFileCoverageThreshold
config option #28 . This is useful when you want to enforce a higher coverage threshold on new files, but not force a high threshold on existing files. (@NickBolles)
Minor
- Adds an indicator to the report for new files. #28 (@NickBolles)
v3.0.0
v2.0.0
Breaking
- removed
deprecatedCoverageDecreaseThreshold
- Updates markdown-table to v2 (might change output style).
- Emits ES2021 instead of es5.
- Removed
I
from the beginning of all ts interfaces.
Minor
- Updates all dev dependencies.
- Migrated CI from deprecated Travis.
- Minor code cleanup.
v1.6.1
v1.6.0
Feature:
- Add current coverage alongside diff to file information in table
v1.5.2
Fix:
- Fix typo in
coverageDecreaseThreshold
option. KeptcoverageDecreaseTreshold
for backwards compatibility.
v1.5.1
Fix:
- Only check files that changed coverage.
v1.5.0
Features
- Added two new optional parameters:
coverageThreshold
Fail coverage check if per-file coverage is lower. Defaults to 100%coverageDecreaseTreshold
Fail coverage check if per-file coverage decrease is lower. Defaults to 0% decrease.
Fixes
- Fixed common types not being included in build. It seems that by design TS doesn't emit .d.ts files
v1.4.1
Minor
- Don't regress on total decrease